aboutsummaryrefslogtreecommitdiff
path: root/Examples/Physics_applications/laser_acceleration/inputs_3d.rt
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/Physics_applications/laser_acceleration/inputs_3d.rt')
-rw-r--r--Examples/Physics_applications/laser_acceleration/inputs_3d.rt70
1 files changed, 70 insertions, 0 deletions
diff --git a/Examples/Physics_applications/laser_acceleration/inputs_3d.rt b/Examples/Physics_applications/laser_acceleration/inputs_3d.rt
new file mode 100644
index 000000000..017b82962
--- /dev/null
+++ b/Examples/Physics_applications/laser_acceleration/inputs_3d.rt
@@ -0,0 +1,70 @@
+#################################
+####### GENERAL PARAMETERS ######
+#################################
+max_step = 1000
+amr.n_cell = 64 64 512
+amr.max_grid_size = 64 # maximum size of each AMReX box, used to decompose the domain
+amr.blocking_factor = 32 # minimum size of each AMReX box, used to decompose the domain
+amr.plot_int = 100
+geometry.coord_sys = 0 # 0: Cartesian
+geometry.is_periodic = 1 1 0 # Is periodic?
+geometry.prob_lo = -30.e-6 -30.e-6 -56.e-6 # physical domain
+geometry.prob_hi = 30.e-6 30.e-6 12.e-6
+amr.max_level = 0 # Maximum level in hierarchy (1 might be unstable, >1 is not supported)
+# warpx.fine_tag_lo = -5.e-6 -5.e-6 -50.e-6
+# warpx.fine_tag_hi = 5.e-6 5.e-6 -30.e-6
+
+#################################
+############ NUMERICS ###########
+#################################
+interpolation.nox = 3 # Particle interpolation order. Must be the same in x, y, and z
+interpolation.noy = 3
+interpolation.noz = 3
+warpx.verbose = 1
+warpx.do_dive_cleaning = 0
+warpx.plot_raw_fields = 1
+warpx.plot_raw_fields_guards = 1
+# warpx.plot_finepatch = 1
+# warpx.plot_crsepatch = 1
+warpx.use_filter = 1
+warpx.cfl = 1. # if 1., the time step is set to its CFL limit
+warpx.do_pml = 0 # use Perfectly Matched Layer as boundary condition
+warpx.do_moving_window = 1
+warpx.moving_window_dir = z # Only z is supported for the moment
+warpx.moving_window_v = 1.0 # units of speed of light
+
+#################################
+############ PLASMA #############
+#################################
+particles.nspecies = 1 # number of species
+particles.species_names = electrons
+
+electrons.charge = -q_e
+electrons.mass = m_e
+electrons.injection_style = "NUniformPerCell"
+electrons.num_particles_per_cell_each_dim = 1 1 1
+electrons.xmin = -20.e-6
+electrons.xmax = 20.e-6
+electrons.ymin = -20.e-6
+electrons.ymax = 20.e-6
+electrons.zmin = 10.e-6
+electrons.profile = constant
+electrons.density = 2.e23 # number of electrons per m^3
+electrons.momentum_distribution_type = "constant"
+electrons.do_continuous_injection = 1
+
+#################################
+############ PLASMA #############
+#################################
+lasers.nlasers = 1
+lasers.names = laser1
+laser1.profile = Gaussian
+laser1.position = 0. 0. 9.e-6 # This point is on the laser plane
+laser1.direction = 0. 0. 1. # The plane normal direction
+laser1.polarization = 0. 1. 0. # The main polarization vector
+laser1.e_max = 16.e12 # Maximum amplitude of the laser field (in V/m)
+laser1.profile_waist = 5.e-6 # The waist of the laser (in m)
+laser1.profile_duration = 15.e-15 # The duration of the laser (in s)
+laser1.profile_t_peak = 30.e-15 # Time at which the laser reaches its peak (in s)
+laser1.profile_focal_distance = 100.e-6 # Focal distance from the antenna (in m)
+laser1.wavelength = 0.8e-6 # The wavelength of the laser (in m)