blob: e5e722aa761938500c62062b1298a6fc683d4f5b (
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
56
57
58
|
# Maximum number of time steps: command-line argument
# number of grid points: command-line argument
# Maximum allowable size of each subdomain in the problem domain;
# this is used to decompose the domain for parallel calculations.
amr.max_grid_size = 64
# Maximum level in hierarchy (for now must be 0, i.e., one level in total)
amr.max_level = 0
# Geometry
geometry.dims = 3
geometry.prob_lo = -20.e-6 -20.e-6 -20.e-6 # physical domain
geometry.prob_hi = 20.e-6 20.e-6 20.e-6
# Boundaries
boundary.field_lo = pec pec periodic
boundary.field_hi = pec pec periodic
boundary.particle_lo = absorbing absorbing periodic
boundary.particle_hi = absorbing absorbing periodic
# Verbosity
warpx.verbose = 1
algo.particle_shape = 3
# CFL
warpx.cfl = 1.0
particles.species_names = electrons ions
electrons.charge = -q_e
electrons.mass = m_e
electrons.injection_style = "NUniformPerCell"
electrons.num_particles_per_cell_each_dim = 2 2 4
electrons.profile = constant
electrons.density = 1.e20 # number of electrons per m^3
electrons.momentum_distribution_type = "gaussian"
electrons.ux_th = 0.01
electrons.uy_th = 0.01
electrons.uz_th = 0.01
electrons.ux_m = 0.
electrons.uy_m = 0.
electrons.uz_m = 0.
ions.charge = q_e
ions.mass = m_p
ions.injection_style = "NUniformPerCell"
ions.num_particles_per_cell_each_dim = 2 2 4
ions.profile = constant
ions.density = 1.e20 # number of electrons per m^3
ions.momentum_distribution_type = "gaussian"
ions.ux_th = 0.01
ions.uy_th = 0.01
ions.uz_th = 0.01
ions.ux_m = 0.
ions.uy_m = 0.
ions.uz_m = 0.
|