aboutsummaryrefslogtreecommitdiff
path: root/Examples/Tests/Langmuir/inputs.2d.rz
blob: 70850eea619af3e6e407db20af4965271ec9374d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Maximum number of time steps
max_step = 100

# number of grid points
amr.n_cell = 64 64

# Maximum allowable size of each subdomain in the problem domain;
#    this is used to decompose the domain for parallel calculations.
amr.max_grid_size = 32
amr.blocking_factor = 32 32

# Maximum level in hierarchy (for now must be 0, i.e., one level in total)
amr.max_level = 0

amr.plot_int = 1   # How often to write plotfiles.  "<= 0" means no plotfiles.

# Geometry
geometry.coord_sys = 1        # 1: RZ
geometry.is_periodic = 0 1
geometry.prob_lo = 0.e0 -2e-05  # physical domain, rmin zmin
geometry.prob_hi = 2e-05 2e-05  #                  rmax zmax

# Verbosity
warpx.verbose = 1
warpx.do_moving_window = 0
warpx.moving_window_dir = z
warpx.moving_window_v = 0.0 # in units of the speed of light

# Algorithms
algo.current_deposition = direct
interpolation.nox = 1
interpolation.noy = 1
interpolation.noz = 1

# CFL
warpx.cfl = 1.0

particles.nspecies = 1
particles.species_names = electrons

electrons.charge = -q_e
electrons.mass = m_e
electrons.injection_style = "NUniformPerCell"
electrons.num_particles_per_cell_each_dim = 2 1 2

electrons.zmax = 0.0

electrons.profile = constant
electrons.density = 1.e25  # number of electrons per m^3

electrons.momentum_distribution_type = "constant"
electrons.ux = 0.0
electrons.uy = 0.0
electrons.uz = 0.1
electrons.radially_weighted = true # Only true is supported