Skip to content

Commit

Permalink
Update BC for picmi input files
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgrote committed May 21, 2024
1 parent e09b721 commit ae2f3e3
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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']
)

Expand Down
2 changes: 1 addition & 1 deletion Examples/Tests/langmuir/PICMI_inputs_rz.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion Examples/Tests/magnetostatic_eb/PICMI_inputs_rz.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion Examples/Tests/ohm_solver_EM_modes/PICMI_inputs_rz.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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']
)

Expand Down

0 comments on commit ae2f3e3

Please sign in to comment.