diff options
Diffstat (limited to 'Example')
-rw-r--r-- | Example/boosted_diags/inputs.2d | 100 | ||||
-rw-r--r-- | Example/boosted_diags/inputs.3d | 100 |
2 files changed, 200 insertions, 0 deletions
diff --git a/Example/boosted_diags/inputs.2d b/Example/boosted_diags/inputs.2d new file mode 100644 index 000000000..fc7a23f0b --- /dev/null +++ b/Example/boosted_diags/inputs.2d @@ -0,0 +1,100 @@ +# Maximum number of time steps +max_step = 260 + +# number of grid points +amr.n_cell = 64 64 512 + +# Maximum allowable size of each subdomain in the problem domain; +# this is used to decompose the domain for parallel calculations. + +amr.max_grid_size = 32 + +# Maximum level in hierarchy (for now must be 0, i.e., one level in total) +amr.max_level = 0 +amr.plot_int = 10 # How often to write plotfiles. "<= 0" means no plotfiles. +amr.check_int = 10 + +# Geometry +geometry.coord_sys = 0 # 0: Cartesian +geometry.is_periodic = 1 1 0 # Is periodic? +geometry.prob_lo = -150.e-6 -150.e-6 -0.6e-3 # physical domain +geometry.prob_hi = 150.e-6 150.e-6 0. + +# Verbosity +warpx.verbose = 1 + +# Algorithms +algo.current_deposition = 3 +algo.charge_deposition = 0 +algo.field_gathering = 0 +algo.particle_pusher = 0 + +# Numerics +interpolation.nox = 3 +interpolation.noy = 3 +interpolation.noz = 3 +warpx.use_filter = 1 +warpx.cfl = 1.0 +warpx.do_pml = 0 + +# Moving window +warpx.do_moving_window = 1 +warpx.moving_window_dir = z +warpx.moving_window_v = 1.0 # in units of the speed of light + +# Boosted frame +warpx.gamma_boost = 15. +warpx.boost_direction = z + +# Diagnostics +warpx.do_boosted_frame_diagnostic = 1 +warpx.num_snapshots_lab = 20; +warpx.dt_snapshots_lab = 7.0e-14; + +# Particle Injection +warpx.do_plasma_injection = 1 +warpx.num_injected_species = 2 +warpx.injected_plasma_species = 0 1 + +# Species +particles.nspecies = 2 +particles.species_names = electrons ions + +electrons.charge = -q_e +electrons.mass = m_e +electrons.injection_style = "NUniformPerCell" +electrons.xmin = -150.e-6 +electrons.xmax = 150.e-6 +electrons.ymin = -150.e-6 +electrons.ymax = 150.e-6 +electrons.zmin = 0.e-6 +electrons.num_particles_per_cell_each_dim = 1 1 2 +electrons.profile = constant +electrons.density = 1. +electrons.momentum_distribution_type = "constant" + +ions.charge = q_e +ions.mass = m_p +ions.injection_style = "NUniformPerCell" +ions.xmin = -150.e-6 +ions.xmax = 150.e-6 +ions.ymin = -150.e-6 +ions.ymax = 150.e-6 +ions.zmin = 0.e-6 +ions.num_particles_per_cell_each_dim = 1 1 2 +ions.profile = constant +ions.density = 1. +ions.momentum_distribution_type = "constant" + +# Laser +warpx.use_laser = 1 +laser.profile = Gaussian +laser.position = 0. 0. -1.e-6 # This point is on the laser plane +laser.direction = 0. 0. 1. # The plane normal direction +laser.polarization = 1. 0. 0. # The main polarization vector +laser.e_max = 8.e12 # Maximum amplitude of the laser field (in V/m) +laser.profile_waist = 5.e-5 # The waist of the laser (in meters) +laser.profile_duration = 16.7e-15 # The duration of the laser (in seconds) +laser.profile_t_peak = 33.4e-15 # The time at which the laser reaches its peak (in seconds) +laser.profile_focal_distance = 0.e-6 # Focal distance from the antenna (in meters) +laser.wavelength = 0.8e-6 # The wavelength of the laser (in meters) diff --git a/Example/boosted_diags/inputs.3d b/Example/boosted_diags/inputs.3d new file mode 100644 index 000000000..fc7a23f0b --- /dev/null +++ b/Example/boosted_diags/inputs.3d @@ -0,0 +1,100 @@ +# Maximum number of time steps +max_step = 260 + +# number of grid points +amr.n_cell = 64 64 512 + +# Maximum allowable size of each subdomain in the problem domain; +# this is used to decompose the domain for parallel calculations. + +amr.max_grid_size = 32 + +# Maximum level in hierarchy (for now must be 0, i.e., one level in total) +amr.max_level = 0 +amr.plot_int = 10 # How often to write plotfiles. "<= 0" means no plotfiles. +amr.check_int = 10 + +# Geometry +geometry.coord_sys = 0 # 0: Cartesian +geometry.is_periodic = 1 1 0 # Is periodic? +geometry.prob_lo = -150.e-6 -150.e-6 -0.6e-3 # physical domain +geometry.prob_hi = 150.e-6 150.e-6 0. + +# Verbosity +warpx.verbose = 1 + +# Algorithms +algo.current_deposition = 3 +algo.charge_deposition = 0 +algo.field_gathering = 0 +algo.particle_pusher = 0 + +# Numerics +interpolation.nox = 3 +interpolation.noy = 3 +interpolation.noz = 3 +warpx.use_filter = 1 +warpx.cfl = 1.0 +warpx.do_pml = 0 + +# Moving window +warpx.do_moving_window = 1 +warpx.moving_window_dir = z +warpx.moving_window_v = 1.0 # in units of the speed of light + +# Boosted frame +warpx.gamma_boost = 15. +warpx.boost_direction = z + +# Diagnostics +warpx.do_boosted_frame_diagnostic = 1 +warpx.num_snapshots_lab = 20; +warpx.dt_snapshots_lab = 7.0e-14; + +# Particle Injection +warpx.do_plasma_injection = 1 +warpx.num_injected_species = 2 +warpx.injected_plasma_species = 0 1 + +# Species +particles.nspecies = 2 +particles.species_names = electrons ions + +electrons.charge = -q_e +electrons.mass = m_e +electrons.injection_style = "NUniformPerCell" +electrons.xmin = -150.e-6 +electrons.xmax = 150.e-6 +electrons.ymin = -150.e-6 +electrons.ymax = 150.e-6 +electrons.zmin = 0.e-6 +electrons.num_particles_per_cell_each_dim = 1 1 2 +electrons.profile = constant +electrons.density = 1. +electrons.momentum_distribution_type = "constant" + +ions.charge = q_e +ions.mass = m_p +ions.injection_style = "NUniformPerCell" +ions.xmin = -150.e-6 +ions.xmax = 150.e-6 +ions.ymin = -150.e-6 +ions.ymax = 150.e-6 +ions.zmin = 0.e-6 +ions.num_particles_per_cell_each_dim = 1 1 2 +ions.profile = constant +ions.density = 1. +ions.momentum_distribution_type = "constant" + +# Laser +warpx.use_laser = 1 +laser.profile = Gaussian +laser.position = 0. 0. -1.e-6 # This point is on the laser plane +laser.direction = 0. 0. 1. # The plane normal direction +laser.polarization = 1. 0. 0. # The main polarization vector +laser.e_max = 8.e12 # Maximum amplitude of the laser field (in V/m) +laser.profile_waist = 5.e-5 # The waist of the laser (in meters) +laser.profile_duration = 16.7e-15 # The duration of the laser (in seconds) +laser.profile_t_peak = 33.4e-15 # The time at which the laser reaches its peak (in seconds) +laser.profile_focal_distance = 0.e-6 # Focal distance from the antenna (in meters) +laser.wavelength = 0.8e-6 # The wavelength of the laser (in meters) |