aboutsummaryrefslogtreecommitdiff
path: root/Examples/Modules/gaussian_beam/inputs
blob: 46cd785f2b9aef08d3087524bc8fb9245c05c27e (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# Maximum number of time steps
max_step = 1000

# number of grid points
amr.n_cell = 32 32 32

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

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

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

# Geometry
geometry.coord_sys   = 0                  # 0: Cartesian
geometry.is_periodic = 1     1     0      # Is periodic?
geometry.prob_lo     = -2.   -2.   -2.    # physical domain
geometry.prob_hi     =  2.    2.    2.

# Verbosity
warpx.verbose = 1

# Algorithms

# interpolation
interpolation.nox = 3
interpolation.noy = 3
interpolation.noz = 3

# CFL
warpx.cfl = 1.0

# Information about the particle species
particles.nspecies = 2
particles.species_names = electrons protons

#
# The electron species information
#

electrons.charge = -q_e
electrons.mass = m_e
electrons.injection_style = "gaussian_beam"
electrons.x_rms = 0.25
electrons.y_rms = 0.25
electrons.z_rms = 0.25
electrons.x_m = 0.
electrons.y_m = 0.
electrons.z_m = 0.
electrons.npart = 32768
electrons.q_tot = -8.010883097437485e-07

electrons.profile = "constant"
electrons.density = 1
electrons.momentum_distribution_type = "radial_expansion"
electrons.u_over_r = -0.04

electrons.xmin = -2
electrons.xmax =  2
electrons.ymin = -2
electrons.ymax =  2
electrons.zmin = -2
electrons.zmax =  2

#
# The proton species information
#

protons.charge = q_e
protons.mass = m_p
protons.injection_style = "gaussian_beam"
protons.x_rms = 0.25
protons.y_rms = 0.25
protons.z_rms = 0.25
protons.x_m = 0.
protons.y_m = 0.
protons.z_m = 0.
protons.npart = 32768
protons.q_tot = 8.010883097437485e-07

protons.profile = "constant"
protons.density = 1
protons.momentum_distribution_type = "radial_expansion"
protons.u_over_r = 0.

protons.xmin = -2
protons.xmax =  2
protons.ymin = -2
protons.ymax =  2
protons.zmin = -2
protons.zmax =  2

warpx.do_pml = 0

# Moving window
warpx.do_moving_window = 0
warpx.moving_window_dir = z
warpx.moving_window_v = 1.0 # in units of the speed of light