Closed c-white closed 5 years ago
NGHOST=3
will never be allowed for SMR/AMR)I have never guaranteed that SMR/AMR works with NGHOST != 2.
@c-white, please send me the pgen and input files to reproduce it.
@tomidakn The input file is this: https://github.com/PrincetonUniversity/athena/files/2801128/shock.txt, and the pgen is just the standard shock_tube.cpp
.
Oh sorry I was not reading your post carefully.
@c-white I tested it only in 1D. As I have a lot of things to do including a telecon in 20 minutes, could you do the same test in 2D and 3D?
Congrats!
On Jan 28, 2019, at 8:48 PM, Kengo TOMIDA notifications@github.com wrote:
https://user-images.githubusercontent.com/7672598/51878550-117f2300-233e-11e9-91fb-5d523b4ad803.png — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/PrincetonUniversity/athena/issues/209#issuecomment-458374947, or mute the thread https://github.com/notifications/unsubscribe-auth/AEO7zrulZ8-MJ8ANLMe4oN2DnTwV6iOeks5vH6hzgaJpZM4aVFRA.
I was running 1D shock tubes with refinement, and I noticed problems with one test where a magnetized rarefaction passed from fine to coarse cells. I first noticed this in SR, but the problem is entirely reproducible in Newtonian MHD. The problem seems to very much show up in
By
first (there is noBx
orBz
in this problem), eventually affecting all the variables.To reproduce, first make
athena/temp/
and place shock.txt asshock.athinput
and plot_shock.txt asplot_shock.py
there.Next, compile and run two executables with different numbers of ghost zones:
Finally, overplot the results:
The refined region runs from
0.3
to0.7
, and as the rarefaction passes0.3
the transverse field glitches. Note we don't need all 4 ghost cells, since this is using PLM reconstruction. The problem persists when using PPM. It also exists when using PLM and 3 ghost zones (or even 10 ghost zones).