EB and AMR: Segfault when Using Embedded Boundaries with Mesh Refine #6285
Unanswered
ArmourPiercer1
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I'm new to the WarpX and I want to simulate the space charge effect in a vacuum tube. The problem involves some complex electrode shapes, and the zone that my beam passes by is much smaller than the tube, so I wish to use the embedded boundary and the mesh refinement at the same time.
The initial MLMG solver works well on the problem. However, the program reports a segfault when it comes to STEP 1. I wonder if it is caused by some mistakes in my input file, and how can I solve that?
I have tried the following methods, but none of them worked:
(1) Move the refined regions away from the embedded boundary
(2) Let the refined regions completely include the embedded boundary
(3) Move the particle initializing regions such that it is fully / partially / not overlaped with the refined region
(4) Set guard cells of the refined patch manually
Here is a simple test example Script.py (which input file generated by the program automatically is input_file.txt). The test works well with amr.max_level=0, but if the parameter is changed to 1, the output will become:
Beta Was this translation helpful? Give feedback.
All reactions