aboutsummaryrefslogtreecommitdiff
path: root/Examples/Physics_applications/laser_acceleration/inputs.2d.boost
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/Physics_applications/laser_acceleration/inputs.2d.boost')
-rw-r--r--Examples/Physics_applications/laser_acceleration/inputs.2d.boost28
1 files changed, 13 insertions, 15 deletions
diff --git a/Examples/Physics_applications/laser_acceleration/inputs.2d.boost b/Examples/Physics_applications/laser_acceleration/inputs.2d.boost
index e07e3a87a..3b452851e 100644
--- a/Examples/Physics_applications/laser_acceleration/inputs.2d.boost
+++ b/Examples/Physics_applications/laser_acceleration/inputs.2d.boost
@@ -48,12 +48,6 @@ warpx.dt_snapshots_lab = 1.6678204759907604e-12
#################################
############ PLASMA #############
#################################
-my_constants.zmax = 30.e-2
-my_constants.rc = 50.e-6
-my_constants.rmax = 110.e-6
-my_constants.n0 = 3.5e24
-my_constants.kp = 353352.
-
particles.nspecies = 3
particles.species_names = electrons ions beam
particles.use_fdtd_nci_corr = 1
@@ -66,10 +60,12 @@ electrons.num_particles_per_cell_each_dim = 1 1
electrons.momentum_distribution_type = "gaussian"
electrons.xmin = -120.e-6
electrons.xmax = 120.e-6
-electrons.zmin = 0.e-6
-electrons.zmax = .003
-electrons.profile = "parse_density_function"
-electrons.density_function(x,y,z) = "((x**2+y**2)<rmax**2)*n0*(1+4*(x**2+y**2)/(kp**2*rc**4))"
+electrons.zmin = 0.5e-3
+electrons.zmax = .0035
+electrons.profile = "predefined"
+electrons.predefined_profile_name = "parabolic_channel"
+# predefined_profile_params = z_start ramp_up plateau ramp_down rc n0
+electrons.predefined_profile_params = .5e-3 .5e-3 2.e-3 .5e-3 50.e-6 3.5e24
ions.charge = q_e
ions.mass = m_p
@@ -78,10 +74,12 @@ ions.num_particles_per_cell_each_dim = 1 1
ions.momentum_distribution_type = "gaussian"
ions.xmin = -120.e-6
ions.xmax = 120.e-6
-ions.zmin = 0.
-ions.zmax = .003
-ions.profile = "parse_density_function"
-ions.density_function(x,y,z) = "((x**2+y**2)<rmax**2)*n0*(1+4*(x**2+y**2)/(kp**2*rc**4))"
+ions.zmin = 0.5e-3
+ions.zmax = .0035
+ions.profile = "predefined"
+ions.predefined_profile_name = "parabolic_channel"
+# predefined_profile_params = z_start ramp_up plateau ramp_down rc n0
+ions.predefined_profile_params = .5e-3 .5e-3 2.e-3 .5e-3 50.e-6 3.5e24
beam.charge = -q_e
beam.mass = m_e
@@ -126,5 +124,5 @@ laser1.e_max = 2.e12 # Maximum amplitude of the laser field (in V/m
laser1.profile_waist = 45.e-6 # The waist of the laser (in meters)
laser1.profile_duration = 20.e-15 # The duration of the laser (in seconds)
laser1.profile_t_peak = 40.e-15 # The time at which the laser reaches its peak (in seconds)
-laser1.profile_focal_distance = 0.e-6 # Focal distance from the antenna (in meters)
+laser1.profile_focal_distance = 0.5e-3 # Focal distance from the antenna (in meters)
laser1.wavelength = 0.81e-6 # The wavelength of the laser (in meters)