aboutsummaryrefslogtreecommitdiff
path: root/Tools/performance_tests/automated_test_4_labdiags_2ppc
blob: 54512001c80c70bac83959585bff63bc28f4a670 (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 = 100

# number of grid points
amr.n_cell =   64 64 512

# 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

# Maximum level in hierarchy (for now must be 0, i.e., one level in total)
amr.max_level = 0
amr.plot_int = 10   # How often to write plotfiles.  "<= 0" means no plotfiles.
amr.check_int = 10

# Geometry
geometry.coord_sys   = 0                  # 0: Cartesian
geometry.is_periodic = 1     1     0      # Is periodic?
geometry.prob_lo     = -150.e-6   -150.e-6   -0.6e-3    # physical domain
geometry.prob_hi     =  150.e-6    150.e-6    0.

# Verbosity
warpx.verbose = 1

# Algorithms
algo.current_deposition = 2
algo.charge_deposition = 0
algo.field_gathering = 0
algo.particle_pusher = 0

# Numerics
interpolation.nox = 3
interpolation.noy = 3
interpolation.noz = 3
warpx.use_filter = 1
warpx.cfl = 1.0
warpx.do_pml = 0

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

# Boosted frame
warpx.gamma_boost = 15.
warpx.boost_direction = z

# Diagnostics
warpx.do_boosted_frame_diagnostic = 1
warpx.num_snapshots_lab = 20
warpx.dt_snapshots_lab = 7.0e-14

# Particle Injection
warpx.do_plasma_injection = 1
warpx.num_injected_species = 2
warpx.injected_plasma_species = 0 1

# Species
particles.nspecies = 2
particles.species_names = electrons ions

electrons.charge = -q_e
electrons.mass = m_e
electrons.injection_style = "NUniformPerCell"
electrons.xmin = -150.e-6
electrons.xmax =  150.e-6
electrons.ymin = -150.e-6
electrons.ymax =  150.e-6
electrons.zmin =   0.e-6
electrons.num_particles_per_cell_each_dim = 1 1 1
electrons.profile = constant
electrons.density = 1.
electrons.momentum_distribution_type = "constant"

ions.charge = q_e
ions.mass = m_p
ions.injection_style = "NUniformPerCell"
ions.xmin = -150.e-6
ions.xmax =  150.e-6
ions.ymin = -150.e-6
ions.ymax =  150.e-6
ions.zmin =   0.e-6
ions.num_particles_per_cell_each_dim = 1 1 1
ions.profile = constant
ions.density = 1.
ions.momentum_distribution_type = "constant"

# Laser
warpx.use_laser = 1
laser.profile      = Gaussian
laser.position     = 0. 0. -1.e-6 # This point is on the laser plane
laser.direction    = 0. 0. 1.    # The plane normal direction
laser.polarization = 1. 0. 0.    # The main polarization vector
laser.e_max        = 8.e12       # Maximum amplitude of the laser field (in V/m)
laser.profile_waist = 5.e-5      # The waist of the laser (in meters)
laser.profile_duration = 16.7e-15  # The duration of the laser (in seconds)
laser.profile_t_peak = 33.4e-15   # The time at which the laser reaches its peak (in seconds)
laser.profile_focal_distance = 0.e-6  # Focal distance from the antenna (in meters)
laser.wavelength = 0.8e-6         # The wavelength of the laser (in meters)