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

flame_wave: error out if atm_delta is too small #2782

Merged
merged 2 commits into from
Mar 18, 2024

Conversation

yut23
Copy link
Collaborator

@yut23 yut23 commented Mar 18, 2024

PR summary

If atm_delta is significantly smaller than the finest-level resolution, the peak temperature gets reset to T_star instead of T_hi, and the hot and cool zones end up with the same temperature profiles.

PR motivation

I'm not entirely sure how it happens, and it's probably fixable, but we shouldn't be doing any actual runs with such a low resolution anyways. I only ran into this when I was using a single level for local testing.

PR checklist

  • test suite needs to be run on this PR
  • this PR will change answers in the test suite to more than roundoff level

If atm_delta is significantly smaller than the finest-level resolution,
the peak temperature gets reset to T_star instead of T_hi, and the hot
and cool zones end up with the same temperature profiles. I'm not
entirely sure how it happens, and it's probably fixable, but we
shouldn't be doing any actual runs with such a low resolution anyways.
I only ran into this when I was using a single level for local testing.
@zingale zingale merged commit 2e8fb11 into AMReX-Astro:development Mar 18, 2024
22 checks passed
@yut23 yut23 deleted the check_fw_atm_delta branch March 19, 2024 18:57
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.

2 participants