blob: b76b61168bc2f6f86cadb87afdb0e272280d7183 (
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
|
#################################
####### GENERAL PARAMETERS ######
#################################
max_step = 10
amr.n_cell = 64 32 32
amr.max_grid_size = 32
amr.blocking_factor = 16
amr.max_level = 0
geometry.coord_sys = 0 # 0: Cartesian
geometry.is_periodic = 1 1 1 # Is periodic?
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
#################################
############ NUMERICS ###########
#################################
warpx.serialize_ics = 1
warpx.verbose = 1
warpx.cfl = 1.0
#################################
############ PLASMA #############
#################################
particles.species_names = electrons
electrons.species_type = electron
electrons.injection_style = "NUniformPerCell"
electrons.num_particles_per_cell_each_dim = 1 1 2
electrons.profile = constant
electrons.density = 1.e25 # number of electrons per m^3
electrons.momentum_distribution_type = "gaussian"
electrons.ux_th = 0.01 # uth the std of the (unitless) momentum
electrons.uy_th = 0.01 # uth the std of the (unitless) momentum
electrons.uz_th = 0.01 # uth the std of the (unitless) momentum
# Diagnostics
diagnostics.diags_names = diag1 chk
diag1.intervals = 4
diag1.diag_type = Full
diag1.electrons.variables = ux uy uz w
chk.intervals = 6
chk.diag_type = Full
chk.format = checkpoint
|