From ae2f3e3acaf38eb2a10ce4b4acefa03b2ee4d355 Mon Sep 17 00:00:00 2001 From: Dave Grote <grote1@llnl.gov> Date: Tue, 21 May 2024 10:00:41 -0700 Subject: [PATCH] Update BC for picmi input files --- .../Physics_applications/laser_acceleration/PICMI_inputs_rz.py | 2 +- .../Physics_applications/spacecraft_charging/PICMI_inputs_rz.py | 2 +- Examples/Tests/langmuir/PICMI_inputs_rz.py | 2 +- Examples/Tests/magnetostatic_eb/PICMI_inputs_rz.py | 2 +- Examples/Tests/ohm_solver_EM_modes/PICMI_inputs_rz.py | 2 +- Examples/Tests/particle_boundary_interaction/PICMI_inputs_rz.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Examples/Physics_applications/laser_acceleration/PICMI_inputs_rz.py b/Examples/Physics_applications/laser_acceleration/PICMI_inputs_rz.py index 9990cca01cf..7f09db8d6b3 100755 --- a/Examples/Physics_applications/laser_acceleration/PICMI_inputs_rz.py +++ b/Examples/Physics_applications/laser_acceleration/PICMI_inputs_rz.py @@ -31,7 +31,7 @@ upper_bound = [rmax, zmax], lower_boundary_conditions = ['none', 'dirichlet'], upper_boundary_conditions = ['dirichlet', 'dirichlet'], - lower_boundary_conditions_particles = ['absorbing', 'absorbing'], + lower_boundary_conditions_particles = ['none', 'absorbing'], upper_boundary_conditions_particles = ['absorbing', 'absorbing'], moving_window_velocity = [0., c], warpx_max_grid_size = max_grid_size, diff --git a/Examples/Physics_applications/spacecraft_charging/PICMI_inputs_rz.py b/Examples/Physics_applications/spacecraft_charging/PICMI_inputs_rz.py index d541c2393ca..5b57b59fbe3 100644 --- a/Examples/Physics_applications/spacecraft_charging/PICMI_inputs_rz.py +++ b/Examples/Physics_applications/spacecraft_charging/PICMI_inputs_rz.py @@ -220,7 +220,7 @@ def compute_actual_charge_on_spacecraft(): upper_bound = [rmax, zmax], lower_boundary_conditions = ['none', 'dirichlet'], upper_boundary_conditions = ['dirichlet', 'dirichlet'], - lower_boundary_conditions_particles = ['absorbing', 'reflecting'], + lower_boundary_conditions_particles = ['none', 'reflecting'], upper_boundary_conditions_particles = ['absorbing', 'reflecting'] ) diff --git a/Examples/Tests/langmuir/PICMI_inputs_rz.py b/Examples/Tests/langmuir/PICMI_inputs_rz.py index 8328aba5185..8da03b00469 100755 --- a/Examples/Tests/langmuir/PICMI_inputs_rz.py +++ b/Examples/Tests/langmuir/PICMI_inputs_rz.py @@ -90,7 +90,7 @@ upper_bound = [rmax, zmax], lower_boundary_conditions = ['none', 'periodic'], upper_boundary_conditions = ['none', 'periodic'], - lower_boundary_conditions_particles = ['absorbing', 'periodic'], + lower_boundary_conditions_particles = ['none', 'periodic'], upper_boundary_conditions_particles = ['absorbing', 'periodic'], moving_window_velocity = [0.,0.], warpx_max_grid_size=64) diff --git a/Examples/Tests/magnetostatic_eb/PICMI_inputs_rz.py b/Examples/Tests/magnetostatic_eb/PICMI_inputs_rz.py index 1268f7a02b0..e46f561f538 100755 --- a/Examples/Tests/magnetostatic_eb/PICMI_inputs_rz.py +++ b/Examples/Tests/magnetostatic_eb/PICMI_inputs_rz.py @@ -69,7 +69,7 @@ upper_bound = [rmax, zmax], lower_boundary_conditions = ['none', 'dirichlet'], upper_boundary_conditions = ['neumann', 'neumann'], - lower_boundary_conditions_particles = ['reflecting', 'absorbing'], + lower_boundary_conditions_particles = ['none', 'absorbing'], upper_boundary_conditions_particles = ['absorbing', 'absorbing'], warpx_potential_lo_z = V_domain_boundary, warpx_blocking_factor=8, diff --git a/Examples/Tests/ohm_solver_EM_modes/PICMI_inputs_rz.py b/Examples/Tests/ohm_solver_EM_modes/PICMI_inputs_rz.py index 89c5230a6ad..5bd1e3518f9 100644 --- a/Examples/Tests/ohm_solver_EM_modes/PICMI_inputs_rz.py +++ b/Examples/Tests/ohm_solver_EM_modes/PICMI_inputs_rz.py @@ -156,7 +156,7 @@ def setup_run(self): upper_bound=[self.Lr, self.Lz/2.0], lower_boundary_conditions = ['none', 'periodic'], upper_boundary_conditions = ['dirichlet', 'periodic'], - lower_boundary_conditions_particles = ['absorbing', 'periodic'], + lower_boundary_conditions_particles = ['none', 'periodic'], upper_boundary_conditions_particles = ['reflecting', 'periodic'] ) simulation.time_step_size = self.dt diff --git a/Examples/Tests/particle_boundary_interaction/PICMI_inputs_rz.py b/Examples/Tests/particle_boundary_interaction/PICMI_inputs_rz.py index 4017a05d413..df4a4579e2f 100644 --- a/Examples/Tests/particle_boundary_interaction/PICMI_inputs_rz.py +++ b/Examples/Tests/particle_boundary_interaction/PICMI_inputs_rz.py @@ -39,7 +39,7 @@ upper_bound = [rmax, zmax], lower_boundary_conditions = ['none', 'dirichlet'], upper_boundary_conditions = ['dirichlet', 'dirichlet'], - lower_boundary_conditions_particles = ['absorbing', 'reflecting'], + lower_boundary_conditions_particles = ['none', 'reflecting'], upper_boundary_conditions_particles = ['absorbing', 'reflecting'] )