aboutsummaryrefslogtreecommitdiff
path: root/Examples/Modules/laser_injection/inputs_1d_rt
blob: bc42389f701ba7394c70eae09c3517fb68be181f (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
# Maximum number of time steps
max_step = 240

# number of grid points
amr.n_cell =  352

# 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

# Geometry
geometry.dims = 1
geometry.prob_lo     = -15.e-6    # physical domain
geometry.prob_hi     =  15.e-6

boundary.field_lo = pec
boundary.field_hi = pec

warpx.serialize_initial_conditions = 1

# Verbosity
warpx.verbose = 1

# Algorithms
algo.current_deposition = esirkepov
warpx.use_filter = 0

# CFL
warpx.cfl = 0.9

# Order of particle shape factors
algo.particle_shape = 1

# Laser
lasers.names        = laser1
laser1.profile      = Gaussian
laser1.position     = 0.e-6  0.e-6  0.e-6 # This point is on the laser plane
laser1.direction    = 0.  0.  1.           # The plane normal direction
laser1.polarization = 1. 1.  0.           # The main polarization vector
laser1.e_max        = 4.e12                # Maximum amplitude of the laser field (in V/m)
laser1.wavelength   = 1.0e-6               # The wavelength of the laser (in meters)
laser1.profile_waist = 5.e-6               # The waist of the laser (in meters)
laser1.profile_duration = 10.e-15          # The duration of the laser (in seconds)
laser1.profile_t_peak = 24.e-15            # The time at which the laser reaches its peak (in seconds)
laser1.profile_focal_distance = 13.109e-6  # Focal distance from the antenna (in meters)
                                           #     With this focal distance the laser is at focus
                                           #     at the end of the simulation.

# Diagnostics
diagnostics.diags_names = diag1 openpmd
diag1.intervals = 20
diag1.diag_type = Full

openpmd.intervals = 20
openpmd.diag_type = Full
openpmd.format = openpmd

# 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
warpx.start_moving_window_step = 20
warpx.end_moving_window_step = 200