aboutsummaryrefslogtreecommitdiff
path: root/Examples/Tests/laser_injection_from_file/inputs.1d_boost_test
blob: adfde81953155f760254b5e3eea2ca6866d93993 (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
#################################
####### GENERAL PARAMETERS ######
#################################
stop_time = 2.45e-12
amr.n_cell = 1024
amr.max_grid_size = 512
amr.blocking_factor = 32
amr.max_level = 0
geometry.dims = 1
geometry.prob_lo     = -25.e-6   # physical domain
geometry.prob_hi     =  25.e-6
warpx.verbose = 1
warpx.serialize_initial_conditions = 1

# Boost parameters
warpx.gamma_boost = 10
warpx.boost_direction = z
warpx.do_moving_window = 1
warpx.moving_window_dir = z
warpx.moving_window_v = 1.0

#################################
####### Boundary condition ######
#################################
boundary.field_lo = pec
boundary.field_hi = pec

#################################
############ NUMERICS ###########
#################################
warpx.cfl = 0.98
warpx.use_filter = 0
algo.maxwell_solver = ckc
algo.load_balance_intervals = -1

# Order of particle shape factors
algo.particle_shape = 3

#################################
############# LASER #############
#################################
lasers.names        = lasy_laser
lasy_laser.position     = 0. 0. 0. # This point is on the laser plane
lasy_laser.direction    = 0. 0. 1.     # The plane normal direction
lasy_laser.polarization = 0. 1. 0.     # The main polarization vector
lasy_laser.e_max        = 1.e14        # Maximum amplitude of the laser field (in V/m)
lasy_laser.wavelength = 1.0e-6         # The wavelength of the laser (in meters)
lasy_laser.profile      = from_file
lasy_laser.time_chunk_size = 50
lasy_laser.lasy_file_name = "gaussianlaser3d_00000.h5"
lasy_laser.delay = 0.0

# Diagnostics
diagnostics.diags_names = diag1

diag1.fields_to_plot = Ex Ey Ez Bx Bz jx jy jz
diag1.diag_type = BackTransformed
diag1.dt_snapshots_lab = 10.e-14
diag1.num_snapshots_lab = 2