diff options
Diffstat (limited to 'Examples/Physics_applications/plasma_acceleration/inputs_3d_boost.rt')
-rw-r--r-- | Examples/Physics_applications/plasma_acceleration/inputs_3d_boost.rt | 157 |
1 files changed, 157 insertions, 0 deletions
diff --git a/Examples/Physics_applications/plasma_acceleration/inputs_3d_boost.rt b/Examples/Physics_applications/plasma_acceleration/inputs_3d_boost.rt new file mode 100644 index 000000000..f65c9aa0a --- /dev/null +++ b/Examples/Physics_applications/plasma_acceleration/inputs_3d_boost.rt @@ -0,0 +1,157 @@ +################################# +####### GENERAL PARAMETERS ###### +################################# +stop_time = 3.93151387287e-11 +amr.n_cell = 32 32 256 +amr.max_grid_size = 64 +amr.blocking_factor = 32 +amr.max_level = 0 +amr.plot_file = "plotfiles/plt" +amr.plot_int = 50 +geometry.coord_sys = 0 # 0: Cartesian +geometry.is_periodic = 1 1 0 # Is periodic? +geometry.prob_lo = -0.00015 -0.00015 -0.00012 +geometry.prob_hi = 0.00015 0.00015 1.e-06 + +################################# +############ NUMERICS ########### +################################# +algo.maxwell_fdtd_solver = ckc +warpx.verbose = 1 +warpx.plot_raw_fields = 0 +warpx.do_dive_cleaning = 0 +warpx.use_filter = 1 +warpx.do_pml = 1 +warpx.cfl = .99 +warpx.do_moving_window = 1 +warpx.moving_window_dir = z +warpx.moving_window_v = 1. # in units of the speed of light +my_constants.lramp = 8.e-3 +my_constants.pi = 3.141592653589793 +my_constants.dens = 1e+23 +interpolation.nox = 3 +interpolation.noy = 3 +interpolation.noz = 3 + +################################# +######### BOOSTED FRAME ######### +################################# +warpx.gamma_boost = 10.0 +warpx.boost_direction = z +warpx.do_back_transformed_diagnostics = 1 +warpx.num_snapshots_lab = 22 +warpx.dt_snapshots_lab = 3.335640951981521e-11 + +################################# +############ PLASMA ############# +################################# +particles.nspecies = 5 +particles.species_names = driver plasma_e plasma_p beam driverback +particles.use_fdtd_nci_corr = 1 +particles.rigid_injected_species = driver beam + +driver.charge = -q_e +driver.mass = 1.e10 +driver.injection_style = "gaussian_beam" +driver.x_rms = 2.e-6 +driver.y_rms = 2.e-6 +driver.z_rms = 4.e-6 +driver.x_m = 0. +driver.y_m = 0. +driver.z_m = -20.e-6 +driver.npart = 1000 +driver.q_tot = -1.e-9 +driver.momentum_distribution_type = "gaussian" +driver.ux_m = 0.0 +driver.uy_m = 0.0 +driver.uz_m = 200000. +driver.ux_th = 2. +driver.uy_th = 2. +driver.uz_th = 20000. +driver.zinject_plane = 0. +driver.rigid_advance = true +driver.projected = true +driver.focused = false + +driverback.charge = q_e +driverback.mass = 1.e10 +driverback.injection_style = "gaussian_beam" +driverback.x_rms = 2.e-6 +driverback.y_rms = 2.e-6 +driverback.z_rms = 4.e-6 +driverback.x_m = 0. +driverback.y_m = 0. +driverback.z_m = -20.e-6 +driverback.npart = 1000 +driverback.q_tot = 1.e-9 +driverback.momentum_distribution_type = "gaussian" +driverback.ux_m = 0.0 +driverback.uy_m = 0.0 +driverback.uz_m = 200000. +driverback.ux_th = 2. +driverback.uy_th = 2. +driverback.uz_th = 20000. +driverback.do_backward_propagation = true + +plasma_e.charge = -q_e +plasma_e.mass = m_e +plasma_e.injection_style = "NUniformPerCell" +plasma_e.zmin = -100.e-6 # 0.e-6 +plasma_e.zmax = 0.2 +plasma_e.xmin = -70.e-6 +plasma_e.xmax = 70.e-6 +plasma_e.ymin = -70.e-6 +plasma_e.ymax = 70.e-6 +# plasma_e.profile = constant +# plasma_e.density = 1.e23 +plasma_e.profile = parse_density_function +plasma_e.density_function(x,y,z) = "(z<lramp)*0.5*(1-cos(pi*z/lramp))*dens+(z>lramp)*dens" +plasma_e.num_particles_per_cell_each_dim = 1 1 1 +plasma_e.momentum_distribution_type = "constant" +plasma_e.ux = 0.0 +plasma_e.uy = 0.0 +plasma_e.uz = 0.0 +plasma_e.do_continuous_injection = 1 + +plasma_p.charge = q_e +plasma_p.mass = m_p +plasma_p.injection_style = "NUniformPerCell" +plasma_p.zmin = -100.e-6 # 0.e-6 +plasma_p.zmax = 0.2 +# plasma_p.profile = "constant" +# plasma_p.density = 1.e23 +plasma_p.profile = parse_density_function +plasma_p.density_function(x,y,z) = "(z<lramp)*0.5*(1-cos(pi*z/lramp))*dens+(z>lramp)*dens" +plasma_p.xmin = -70.e-6 +plasma_p.xmax = 70.e-6 +plasma_p.ymin = -70.e-6 +plasma_p.ymax = 70.e-6 +plasma_p.num_particles_per_cell_each_dim = 1 1 1 +plasma_p.momentum_distribution_type = "constant" +plasma_p.ux = 0.0 +plasma_p.uy = 0.0 +plasma_p.uz = 0.0 +plasma_p.do_continuous_injection = 1 + +beam.charge = -q_e +beam.mass = m_e +beam.injection_style = "gaussian_beam" +beam.x_rms = .5e-6 +beam.y_rms = .5e-6 +beam.z_rms = 1.e-6 +beam.x_m = 0. +beam.y_m = 0. +beam.z_m = -100.e-6 +beam.npart = 1000 +beam.q_tot = -5.e-10 +beam.momentum_distribution_type = "gaussian" +beam.ux_m = 0.0 +beam.uy_m = 0.0 +beam.uz_m = 2000. +beam.ux_th = 2. +beam.uy_th = 2. +beam.uz_th = 200. +beam.zinject_plane = .8e-3 +beam.rigid_advance = true +beam.projected = true +beam.focused = false |