-
Notifications
You must be signed in to change notification settings - Fork 82
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
Provide NPH data in physical boundaries to advection calculation #1210
Conversation
e572c17
to
776b630
Compare
Would appreciate help in confirming that this does what it's supposed to do. |
This looks good to me. One change you could make for efficiency is to only fill at most one ghost cell of the nph arrays (filling more is not wrong just possibly most costly). |
1bab51b
to
893f467
Compare
bf7b836
to
0bcb301
Compare
0bcb301
to
d5011bb
Compare
I am seeing this:
with pretty high diffs. For example:
|
On the reg test results: we definitely have some concerns, mainly about the bndry_input cases. uncertain about the freestream_godunov_inout as well.
|
ed3c2f5
to
6190d29
Compare
Summary of boundary plane problem:
|
Potential steps forward depend on the nature of the boundary planes in time. I don't fully understand the setup now and whether there is a justification for not using NPH times. |
Plan is to update NPH bcs at beginning of timestep, prior to moving on to new_time. will require nph state for velocity, which is part of the plan for another feature anyway. |
… for sake of physbc
* set temporary mfabs to 0 before filling bc
Co-authored-by: Marc T. Henry de Frahan <[email protected]>
…ov.H Co-authored-by: Marc T. Henry de Frahan <[email protected]>
6190d29
to
721cee0
Compare
…eld state and fillphysbc ahead of time
…C projection, avoid fillphysbc on old state within apply_bcs
Ok, I think I have everything we need here in this branch. It took a bit more work than expected. There's one more thing that may need to be navigated for compatibility with Ilker's PR. However, this PR has gotten bigger, and there is a mix of things that should and shouldn't cause diffs. To be thorough, it would probably be best to split this into 2 PRs, with those changes divided. Also doesn't help that our computational resources are down now and it's harder to test. |
I like splitting into diff and no-diff PR! That would be fantastic. |
converted to draft until it's replaced with new PRs; when those get merged we can close this one. |
Summary
Changes requested in conjunction with AMReX-Hydro development. For the sake of time-varying boundary conditions, passing the advected variable data at n 1/2 to the advection routine.
Pull request type
Please check the type of change introduced:
Checklist
The following is included:
This PR was tested by running: