Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boundary conditions #5463

Open
Tissot11 opened this issue Nov 15, 2024 · 2 comments
Open

Boundary conditions #5463

Tissot11 opened this issue Nov 15, 2024 · 2 comments
Assignees

Comments

@Tissot11
Copy link

I used following for particle boundary conditions (#5131)

boundary.particle_lo = Absorbing periodic
boundary.particle_hi = thermal periodic

using following for fields

boundary.field_lo = PML periodic
boundary.field_hi = PML periodic

results in error saying that I should choose neumann pec . Choosing following

boundary.field_lo = neumann periodic
boundary.field_hi = neumann periodic

works. But I do not know why PML or absorbing_silver_mueller won't work with particle boundary conditions above. Moreover, I know neumann from mathematics but I wonder what it means in WarpX e.g. in the context of PML, open or silver_mueller. I could not reproduce my results using open boundary conditions from another code.

@RemiLehe RemiLehe self-assigned this Nov 19, 2024
@RemiLehe
Copy link
Member

Thanks for your question.

In order to answer your question, we would need a few more details about the type of field solver that you are using. In particular:

  • is this a purely electrostatic simulation? (i.e. does your simulation script use do_electrostatic)
  • is this an electromagnetic simulation in which you are asking WarpX to compute the initial fields using a Poisson solver? (i.e. does your simulation script use initialize_self_fields)

If you could post your input script (or a modified version thereof, if it contains sensitive information), that would be even easier.

@Tissot11
Copy link
Author

As you can in the input deck in #5131 that it is an electromagnetic simulation and I do not use do_electrostatic also initialize_self_fields. But noting the initialize_self_fields could be on by default, I specifically put in another simulations species.initialize_self_fields=0 but it still gives the same error (see the attached file)

errWarpX-2770081.txt
outWarpX-2770081.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants