diff options
Diffstat (limited to 'Examples/Physics_applications')
3 files changed, 15 insertions, 10 deletions
diff --git a/Examples/Physics_applications/laser_acceleration/inputs.2d.boost b/Examples/Physics_applications/laser_acceleration/inputs.2d.boost index 5fe4bfcf6..a6d45426a 100644 --- a/Examples/Physics_applications/laser_acceleration/inputs.2d.boost +++ b/Examples/Physics_applications/laser_acceleration/inputs.2d.boost @@ -1,8 +1,8 @@ ################################# ######### BOX PARAMETERS ######## ################################# -max_step = 1000 -# stop_time = 1.9e-12 +# max_step = 2700 +stop_time = 1.9e-12 amr.n_cell = 128 1024 amr.max_grid_size = 64 amr.blocking_factor = 32 @@ -20,6 +20,8 @@ geometry.prob_hi = 128.e-6 0.96e-6 warpx.verbose = 1 amrex.v = 1 algo.current_deposition = direct +algo.charge_deposition = standard +algo.field_gathering = standard algo.particle_pusher = vay algo.maxwell_fdtd_solver = ckc interpolation.nox = 3 @@ -37,12 +39,11 @@ warpx.serialize_ics = 1 ################################# ####### BOOST PARAMETERS ######## ################################# -warpx.gamma_boost = 30. +warpx.gamma_boost = 10. warpx.boost_direction = z warpx.do_boosted_frame_diagnostic = 1 warpx.num_snapshots_lab = 7 warpx.dt_snapshots_lab = 1.6678204759907604e-12 -warpx.boosted_frame_diag_fields = Ex Ez By jz ################################# ############ PLASMA ############# @@ -60,11 +61,11 @@ electrons.momentum_distribution_type = "gaussian" electrons.xmin = -120.e-6 electrons.xmax = 120.e-6 electrons.zmin = 0.5e-3 -electrons.zmax = 1. +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.5e25 +electrons.predefined_profile_params = .5e-3 .5e-3 2.e-3 .5e-3 50.e-6 3.5e24 electrons.do_continuous_injection = 1 ions.charge = q_e @@ -75,11 +76,11 @@ ions.momentum_distribution_type = "gaussian" ions.xmin = -120.e-6 ions.xmax = 120.e-6 ions.zmin = 0.5e-3 -ions.zmax = 1. +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.5e25 +ions.predefined_profile_params = .5e-3 .5e-3 2.e-3 .5e-3 50.e-6 3.5e24 ions.do_continuous_injection = 1 beam.charge = -q_e diff --git a/Examples/Physics_applications/uniform_plasma/inputs.2d b/Examples/Physics_applications/uniform_plasma/inputs.2d index 4304638dd..2e07dd169 100644 --- a/Examples/Physics_applications/uniform_plasma/inputs.2d +++ b/Examples/Physics_applications/uniform_plasma/inputs.2d @@ -32,4 +32,6 @@ electrons.num_particles_per_cell_each_dim = 2 2 electrons.profile = constant electrons.density = 1.e25 # number of electrons per m^3 electrons.momentum_distribution_type = "gaussian" -electrons.u_th = 0.01 # uth the std of the (unitless) momentum +electrons.ux_th = 0.01 # uth the std of the (unitless) momentum +electrons.uy_th = 0.01 # uth the std of the (unitless) momentum +electrons.uz_th = 0.01 # uth the std of the (unitless) momentum diff --git a/Examples/Physics_applications/uniform_plasma/inputs.3d b/Examples/Physics_applications/uniform_plasma/inputs.3d index 6792dac2c..b044dd379 100644 --- a/Examples/Physics_applications/uniform_plasma/inputs.3d +++ b/Examples/Physics_applications/uniform_plasma/inputs.3d @@ -32,4 +32,6 @@ electrons.num_particles_per_cell_each_dim = 2 2 2 electrons.profile = constant electrons.density = 1.e25 # number of electrons per m^3 electrons.momentum_distribution_type = "gaussian" -electrons.u_th = 0.01 # uth the std of the (unitless) momentum +electrons.ux_th = 0.01 # uth the std of the (unitless) momentum +electrons.uy_th = 0.01 # uth the std of the (unitless) momentum +electrons.uz_th = 0.01 # uth the std of the (unitless) momentum |