-
Notifications
You must be signed in to change notification settings - Fork 12
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
add Navier-Stokes Characteristic Boundary Conditions #352
Conversation
for more information, see https://pre-commit.ci
…quokka into BenWibking/new-shock-cloud
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
for more information, see https://pre-commit.ci
…quokka into BenWibking/new-shock-cloud
for more information, see https://pre-commit.ci
…o BenWibking/NSCBC
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
There were too many comments to post at once. Showing the first 10 out of 12. Check the log or trigger a new build to see more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
@markkrumholz This is a bit of a hefty PR, so please let me know if I should split it into smaller pieces and/or anything else that would be helpful in reviewing. |
/azp run |
OK, will have a look, but it may not be until tomorrow or Friday due to other commitments. |
/azp run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have left a couple comments on the PR, one just fixing a typo in a comment, one more substantive.
/azp run |
1 similar comment
/azp run |
This updates the shock-cloud problem to use a new setup that: - tracks the cloud center-of-mass frame - refines so that the cooling length $l_{\text{cool}} = c_s t_{\text{cool}}$ is resolved with at least 10 cells - adds derived fields for temperature, entropy, pressure, etc. to the outputs - uses the (simplified) Navier-Stokes Characteristic Boundary Conditions for inflow/outflow on the left/right sides of the box - adds shock-cloud problem to nightly regression testing **This PR depends on:** * #352 * #360 * #363 * #364 * #365 * #366 * #367 * #430 * #581 * #596 * #597 * #598 * #599 * #616 * #645
Adds Navier-Stokes Characteristic Boundary Conditions (NSCBC) from Motheau, Almgren & Bell, AIAA, Vol. 55, No. 10, 2017:
The relevant boundary conditions are for subsonic inflow and subsonic outflow. The inflow boundary conditions are only partially implemented (for the x-direction lower boundary, for the exclusive purpose of running one of the test problems from the paper). The outflow BC is implemented for all faces.
We do not include the special treatment of the corner boundaries that is done in the paper. (It may be necessary to implement this in the future if we want to have adjacent outflow-outflow boundaries.)
Two test problems are included:
Additionally, this adds exhaustive debugging output that can be enabled at runtime for all temporary/work MultiFabs used during the hydro update (including all ghost zones). This should only be enabled for debugging purposes, as it outputs every MultiFab used during every timestep.