AMR in schwarzschild with polar boundary condition #716
LuisFLongo
started this conversation in
General
Replies: 1 comment 2 replies
|
The polar(_wedge) boundary takes average of all the EMFs on the pole because they should be the same. For this procedure, all the MeshBlocks contacting the pole at the same radius must be on the same refinement level, but currently no logic to maintain this condition is implemented. So, when some (not all) the MeshBlocks contacting the pole are refined, it will probably crash. As long as you do not refine the region near the pole, it may work, but it is not a guaranteed behavior. |
2 replies
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.
Hello everyone$$\theta=0$$ and 'reflective' at $$\theta=\pi/2$$
I am interested in using the Schwarzschild coordinate class with AMR.
As I am including the whole z>0 plane, I am including the pole in the simulation.
For this reason I am using the 'polar' BC at
When I added an user defined AMR condition, I got the following message:
"
The use of AMR with any 'polar' or 'polar_wedge' boundary
flags is currently unsupported
"
which I traced back to src/bvals/utils/check_polar.cpp
I took the black-box approach to run the simulation by basically commenting this warning/shut-down off.
So far the code hasn't crash or raised any apparent problems.
May some one give me an overview of why are 'polar' or 'polar_wedge' boundary flags "not allowed" in AMR ?
All reactions