aboutsummaryrefslogtreecommitdiff
path: root/Example/laser_injection/inputs.2d.rt
blob: 49961166f25d79679ed8966ce64e78cfee16b300 (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
# Maximum number of time steps
max_step = 100

# number of grid points
amr.n_cell =  240 64

# 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.coord_sys   = 0                     # 0: Cartesian
geometry.is_periodic = 0           1         # Is periodic?
geometry.prob_lo     = -12.e-6    -20.e-6    # physical domain
geometry.prob_hi     =  12.e-6	   20.e-6

warpx.serialize_ics = 1

# Verbosity
warpx.verbose = 1

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

# CFL
warpx.cfl = 1.0

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

# I/O
amr.plot_int = 20

warpx.do_pml = 0

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

# Remove species
particles.nspecies = 0