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

RZ PMLs Called Even if not used #5705

Open
ax3l opened this issue Feb 25, 2025 · 3 comments
Open

RZ PMLs Called Even if not used #5705

ax3l opened this issue Feb 25, 2025 · 3 comments
Assignees
Labels
bug: affects latest release Bug also exists in latest release version bug Something isn't working component: boundary PML, embedded boundaries, et al. geometry: RZ axisymmetric 2D and quasi-3D

Comments

@ax3l
Copy link
Member

ax3l commented Feb 25, 2025

Discussed in #5665

Originally posted by chiehjen February 13, 2025
Hi:

I tried to do a simulation with mesh refinement with RZ coordinate. However, it shows the following error:

amrex::Abort::0::
ERROR   : PML are not implemented in cylindrical geometry.
            (/home/warpx/src/warpx/Source/FieldSolver/FiniteDifferenceSolver/EvolveBPML.cpp:53)
!!!
SIGABRT

The above happens despite that I specified (full input file attached rz.pdf):

boundary.field_lo = none absorbing_silver_mueller
boundary.field_hi = absorbing_silver_mueller absorbing_silver_mueller

Is it possible to do mesh refinement for RZ coordinate? Thank you in advance.

@ax3l ax3l added bug Something isn't working bug: affects latest release Bug also exists in latest release version component: boundary PML, embedded boundaries, et al. geometry: RZ axisymmetric 2D and quasi-3D labels Feb 25, 2025
@ax3l
Copy link
Member Author

ax3l commented Feb 25, 2025

@EZoni with a quick look, this could be a regression to our work on the MultiFabRegister #5356 #5334 #5230 ...?

Somehow EvolveBPML gets called even though PMLs are not user-selected.

@EZoni
Copy link
Member

EZoni commented Feb 25, 2025

I have to look into this in detail but the fact that PMLs are used would be consistent with the fact that the simulation uses MR. MR patches are typically terminated by absorbing layers (PMLs) to prevent the reflection of electromagnetic waves. More details on this can be found in our documentation at https://warpx.readthedocs.io/en/latest/theory/amr.html.

@EZoni
Copy link
Member

EZoni commented Feb 25, 2025

@chiehjen

To start looking into this, could you share the input file in a simple text format, i.e., not PDF?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: affects latest release Bug also exists in latest release version bug Something isn't working component: boundary PML, embedded boundaries, et al. geometry: RZ axisymmetric 2D and quasi-3D
Projects
None yet
Development

No branches or pull requests

2 participants