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

Dev micro limiter fix #105

Merged
merged 3 commits into from
Jul 23, 2024
Merged

Dev micro limiter fix #105

merged 3 commits into from
Jul 23, 2024

Conversation

fjansson
Copy link
Contributor

Change handling of negative qr - don't attempt to correct it with qt and thl adjustments.
Also correct plw, pli stats in genstat (used the wrong field).

qr < 0 after microphysics was handled by decreasing qt and increasing
thl.  This would be fine to un-do a too strong microphysics tendency,
but deals poorly with undershoots from qr advection.  Running with 2nd
order qr advection led to crash with qt<0 and temperature above boiling point.
This commit disables the correction (simpleice2, bulk microphysics)
and instead introduces a lower cap qr,Nr >= 0.
@fjansson
Copy link
Contributor Author

there's probably an error still in modgenstat, some statistics (at least pli, plw, cli, clw) are not calculated for the lowest layer.

do j = 2, j1

@CasparJungbacker
Copy link
Collaborator

LGTM 👍

@fjansson fjansson merged commit 81a2dc2 into dev Jul 23, 2024
50 checks passed
@fjansson fjansson deleted the dev-micro-limiter-fix branch July 23, 2024 17: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