-
Notifications
You must be signed in to change notification settings - Fork 280
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
BUG: artificacts in vorticity for athena #5061
Comments
also, feel free to close this as a duplicate if I missed an open issue or if one of the linked ones handles this sufficiently :) |
That is a super weird error I do not recognize. I believe that what we should look at is whether or not the "smoothed" covering grids are being used. |
That would be a yes, this call to yt/yt/geometry/grid_geometry_handler.py Lines 380 to 384 in 9e483ce
|
This is equally applicable to Parthenon data. |
I thought that's what would happen by setting that yt/yt/data_objects/index_subobjects/grid_patch.py Lines 239 to 268 in fb8d4dc
I stepped through it all and didn't notice anything obvious going wrong, but it might be easier to test with a simpler test dataset. |
Plots of vorticity (and presumably any variable that needs a derivative) have artifacts aligned with grid boundaries where the resolution changes:
Also note that you do get a RuntimeWarning:
So presumably this is a known issue, but I didn't see a clear corresponding open issue so I thought it was worth opening a new report to document it. There are, however, a number of open and closed issues that are related to ghost zones and vorticity (in athena and other frontends):
The text was updated successfully, but these errors were encountered: