Skip to content
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

retry hydro update if cooling solve fails #616

Merged
merged 2 commits into from
Apr 22, 2024

Conversation

BenWibking
Copy link
Collaborator

@BenWibking BenWibking commented Apr 21, 2024

Description

This triggers the retry mechanism for the hydro update if the cooling solve fails. This mirrors the behavior for the chemistry solve (#615).

Related issues

Closes #372.

Checklist

Before this pull request can be reviewed, all of these tasks should be completed. Denote completed tasks with an x inside the square brackets [ ] in the Markdown source below:

  • I have added a description (see above).
  • I have added a link to any related issues see (see above).
  • I have read the Contributing Guide.
  • I have added tests for any new physics that this PR adds to the code.
  • I have tested this PR on my local computer and all tests pass.
  • I have manually triggered the GPU tests with the magic comment /azp run.
  • I have requested a reviewer for this PR.

@BenWibking
Copy link
Collaborator Author

/azp run

Copy link

Azure Pipelines successfully started running 5 pipeline(s).

@BenWibking BenWibking requested a review from psharda April 21, 2024 22:22
@BenWibking BenWibking marked this pull request as ready for review April 21, 2024 22:23
src/GrackleLikeCooling.hpp Outdated Show resolved Hide resolved
@psharda
Copy link
Contributor

psharda commented Apr 22, 2024

It would be good to edit these two comments to make it consistent for the user. I could not find a way to add a comment on these lines directly (perhaps github only allows providing comments on the lines you changed):

// check if burn failed in chemistry. If it did, return

// check if we have violated the CFL timestep or burn failed in chemistry

@BenWibking
Copy link
Collaborator Author

@psharda can you re-review?

@psharda psharda added this pull request to the merge queue Apr 22, 2024
Merged via the queue into development with commit deabc66 Apr 22, 2024
16 checks passed
github-merge-queue bot pushed a commit that referenced this pull request Jul 1, 2024
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
@BenWibking BenWibking deleted the BenWibking/retry-on-cooling-failure branch July 31, 2024 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

retry hydro update when operator-split reactions fail
2 participants