diff options
Diffstat (limited to 'Examples/Physics_applications')
11 files changed, 63 insertions, 19 deletions
diff --git a/Examples/Physics_applications/laser_acceleration/inputs_2d b/Examples/Physics_applications/laser_acceleration/inputs_2d index afd6ea585..8917f5f05 100644 --- a/Examples/Physics_applications/laser_acceleration/inputs_2d +++ b/Examples/Physics_applications/laser_acceleration/inputs_2d @@ -6,7 +6,6 @@ amr.n_cell = 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 geometry.coord_sys = 0 # 0: Cartesian -geometry.is_periodic = 0 0 # Is periodic? geometry.prob_lo = -30.e-6 -56.e-6 # physical domain geometry.prob_hi = 30.e-6 12.e-6 amr.max_level = 0 # Maximum level in hierarchy (1 might be unstable, >1 is not supported) @@ -14,13 +13,18 @@ amr.max_level = 0 # Maximum level in hierarchy (1 might be unstable, >1 is not s # warpx.fine_tag_hi = 5.e-6 -25.e-6 ################################# +####### Boundary condition ###### +################################# +boundary.field_lo = pml pml +boundary.field_hi = pml pml + +################################# ############ NUMERICS ########### ################################# warpx.verbose = 1 warpx.do_dive_cleaning = 0 warpx.use_filter = 1 warpx.cfl = 1. # if 1., the time step is set to its CFL limit -warpx.do_pml = 1 # 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 diff --git a/Examples/Physics_applications/laser_acceleration/inputs_2d_boost b/Examples/Physics_applications/laser_acceleration/inputs_2d_boost index 240c602bf..fa733880e 100644 --- a/Examples/Physics_applications/laser_acceleration/inputs_2d_boost +++ b/Examples/Physics_applications/laser_acceleration/inputs_2d_boost @@ -8,12 +8,17 @@ amr.max_grid_size = 64 amr.blocking_factor = 32 amr.max_level = 0 geometry.coord_sys = 0 # 0: Cartesian -geometry.is_periodic = 1 0 # Is periodic? # physical domain geometry.prob_lo = -128.e-6 -40.e-6 geometry.prob_hi = 128.e-6 0.96e-6 ################################# +####### Boundary condition ###### +################################# +boundary.field_lo = periodic pec +boundary.field_hi = periodic pec + +################################# ############ NUMERICS ########### ################################# warpx.verbose = 1 @@ -25,7 +30,6 @@ algo.particle_pusher = vay algo.maxwell_solver = ckc warpx.use_filter = 1 warpx.cfl = 1. -warpx.do_pml = 0 # Moving window warpx.do_moving_window = 1 warpx.moving_window_dir = z diff --git a/Examples/Physics_applications/laser_acceleration/inputs_2d_rz b/Examples/Physics_applications/laser_acceleration/inputs_2d_rz index 9b79634f8..718a96ee7 100644 --- a/Examples/Physics_applications/laser_acceleration/inputs_2d_rz +++ b/Examples/Physics_applications/laser_acceleration/inputs_2d_rz @@ -6,13 +6,15 @@ amr.n_cell = 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 geometry.coord_sys = 1 # 0: Cartesian -geometry.is_periodic = 0 0 # Is periodic? geometry.prob_lo = 0. -56.e-6 # physical domain geometry.prob_hi = 30.e-6 12.e-6 amr.max_level = 0 # Maximum level in hierarchy (1 might be unstable, >1 is not supported) warpx.n_rz_azimuthal_modes = 2 +boundary.field_lo = none pec +boundary.field_hi = pec pec + ################################# ############ NUMERICS ########### ################################# @@ -20,7 +22,6 @@ warpx.verbose = 1 warpx.do_dive_cleaning = 0 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 diff --git a/Examples/Physics_applications/laser_acceleration/inputs_3d b/Examples/Physics_applications/laser_acceleration/inputs_3d index 1dd0b5253..249a54669 100644 --- a/Examples/Physics_applications/laser_acceleration/inputs_3d +++ b/Examples/Physics_applications/laser_acceleration/inputs_3d @@ -6,7 +6,6 @@ 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 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) @@ -14,13 +13,18 @@ amr.max_level = 0 # Maximum level in hierarchy (1 might be unstable, >1 is not s # warpx.fine_tag_hi = 5.e-6 5.e-6 -30.e-6 ################################# +####### Boundary condition ###### +################################# +boundary.field_lo = periodic periodic pec +boundary.field_hi = periodic periodic pec + +################################# ############ NUMERICS ########### ################################# warpx.verbose = 1 warpx.do_dive_cleaning = 0 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 diff --git a/Examples/Physics_applications/laser_ion/inputs b/Examples/Physics_applications/laser_ion/inputs index d69f55f87..8a8b18f66 100644 --- a/Examples/Physics_applications/laser_ion/inputs +++ b/Examples/Physics_applications/laser_ion/inputs @@ -25,7 +25,10 @@ amr.n_cell = 2688 3712 amr.max_level = 0 geometry.prob_lo = -7.5e-6 -5.e-6 geometry.prob_hi = 7.5e-6 25.e-6 -geometry.is_periodic = 0 0 # non-periodic (default) + +# Boundary condition +boundary.field_lo = pml pml +boundary.field_hi = pml pml # Order of particle shape factors algo.particle_shape = 3 diff --git a/Examples/Physics_applications/plasma_acceleration/inputs_2d b/Examples/Physics_applications/plasma_acceleration/inputs_2d index 9aceea519..f25f3d7ff 100644 --- a/Examples/Physics_applications/plasma_acceleration/inputs_2d +++ b/Examples/Physics_applications/plasma_acceleration/inputs_2d @@ -7,19 +7,24 @@ amr.max_grid_size = 128 amr.blocking_factor = 32 amr.max_level = 0 geometry.coord_sys = 0 # 0: Cartesian -geometry.is_periodic = 0 0 # Is periodic? geometry.prob_lo = -125.e-6 -149.e-6 geometry.prob_hi = 125.e-6 1.e-6 warpx.fine_tag_lo = -12.e-6 -110.e-6 warpx.fine_tag_hi = 12.e-6 -100.e-6 ################################# +######## Boundary condition ##### +################################# +boundary.field_lo = pml pml +boundary.field_hi = pml pml +# PML +warpx.pml_ncell = 10 + +################################# ############ NUMERICS ########### ################################# algo.maxwell_solver = ckc warpx.use_filter = 1 -warpx.do_pml = 1 -warpx.pml_ncell = 10 warpx.cfl = .99 warpx.do_moving_window = 1 warpx.moving_window_dir = z diff --git a/Examples/Physics_applications/plasma_acceleration/inputs_2d_boost b/Examples/Physics_applications/plasma_acceleration/inputs_2d_boost index 0277067fb..304da69c8 100644 --- a/Examples/Physics_applications/plasma_acceleration/inputs_2d_boost +++ b/Examples/Physics_applications/plasma_acceleration/inputs_2d_boost @@ -7,17 +7,21 @@ amr.max_grid_size = 128 amr.blocking_factor = 32 amr.max_level = 0 geometry.coord_sys = 0 # 0: Cartesian -geometry.is_periodic = 0 0 # Is periodic? geometry.prob_lo = -125.e-6 -149.e-6 geometry.prob_hi = 125.e-6 1.e-6 ################################# +####### Boundary condition ###### +################################# +boundary.field_lo = pml pml +boundary.field_hi = pml pml + +################################# ############ NUMERICS ########### ################################# algo.maxwell_solver = ckc warpx.verbose = 1 warpx.use_filter = 1 -warpx.do_pml = 1 warpx.pml_ncell = 10 warpx.cfl = .99 warpx.do_moving_window = 1 diff --git a/Examples/Physics_applications/plasma_acceleration/inputs_3d_boost b/Examples/Physics_applications/plasma_acceleration/inputs_3d_boost index 8ad4e3056..55f74cfcb 100644 --- a/Examples/Physics_applications/plasma_acceleration/inputs_3d_boost +++ b/Examples/Physics_applications/plasma_acceleration/inputs_3d_boost @@ -7,18 +7,22 @@ amr.max_grid_size = 64 amr.blocking_factor = 32 amr.max_level = 0 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 ################################# +####### Boundary condition ###### +################################# +boundary.field_lo = periodic periodic pml +boundary.field_hi = periodic periodic pml + +################################# ############ NUMERICS ########### ################################# algo.maxwell_solver = ckc warpx.verbose = 1 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 diff --git a/Examples/Physics_applications/plasma_mirror/inputs_2d b/Examples/Physics_applications/plasma_mirror/inputs_2d index 1cc422c89..14eec0537 100644 --- a/Examples/Physics_applications/plasma_mirror/inputs_2d +++ b/Examples/Physics_applications/plasma_mirror/inputs_2d @@ -7,13 +7,18 @@ amr.max_grid_size = 128 amr.blocking_factor = 32 amr.max_level = 0 geometry.coord_sys = 0 # 0: Cartesian -geometry.is_periodic = 0 0 # Is periodic? geometry.prob_lo = -100.e-6 0. # physical domain geometry.prob_hi = 100.e-6 100.e-6 warpx.verbose = 1 warpx.serialize_ics = 1 ################################# +####### Boundary condition ###### +################################# +boundary.field_lo = pml pml +boundary.field_hi = pml pml + +################################# ############ NUMERICS ########### ################################# my_constants.zc = 20.e-6 diff --git a/Examples/Physics_applications/uniform_plasma/inputs_2d b/Examples/Physics_applications/uniform_plasma/inputs_2d index a3bd0d3a8..05db6a840 100644 --- a/Examples/Physics_applications/uniform_plasma/inputs_2d +++ b/Examples/Physics_applications/uniform_plasma/inputs_2d @@ -7,11 +7,16 @@ amr.max_grid_size = 64 amr.blocking_factor = 32 amr.max_level = 0 geometry.coord_sys = 0 # 0: Cartesian -geometry.is_periodic = 1 1 # Is periodic? geometry.prob_lo = -20.e-6 -20.e-6 # physical domain geometry.prob_hi = 20.e-6 20.e-6 ################################# +####### Boundary condition ###### +################################# +boundary.field_lo = periodic periodic +boundary.field_hi = periodic periodic + +################################# ############ NUMERICS ########### ################################# warpx.serialize_ics = 1 diff --git a/Examples/Physics_applications/uniform_plasma/inputs_3d b/Examples/Physics_applications/uniform_plasma/inputs_3d index 3dd47c255..f342ceb28 100644 --- a/Examples/Physics_applications/uniform_plasma/inputs_3d +++ b/Examples/Physics_applications/uniform_plasma/inputs_3d @@ -7,11 +7,16 @@ amr.max_grid_size = 32 amr.blocking_factor = 16 amr.max_level = 0 geometry.coord_sys = 0 # 0: Cartesian -geometry.is_periodic = 1 1 1 # Is periodic? geometry.prob_lo = -20.e-6 -20.e-6 -20.e-6 # physical domain geometry.prob_hi = 20.e-6 20.e-6 20.e-6 ################################# +####### Boundary condition ###### +################################# +boundary.field_lo = periodic periodic periodic +boundary.field_hi = periodic periodic periodic + +################################# ############ NUMERICS ########### ################################# warpx.serialize_ics = 1 |