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

Limiting of MYNN2.5 for QKE heating. #1268

Merged
merged 3 commits into from
Oct 16, 2023

Conversation

AMLattanzi
Copy link
Collaborator

This PR tries to address the singularity with MYNN2.5 PBL model. We can either add a QKE_e variable and compute the equilibrium value when making the QKE sources, or we can compute it on the fly. The approach taken here follows the latter.

  1. Remove the eddyDiffs setVal(0.0) each time step so we have the old K_turb available in the PBL module. We now only do a setVal(0.0) when creating the eddyDiffs and overwrite the data each step.
  2. Compute QKE_e from a balance of shear production, buoyancy production, and dissipation. Do appropriate limiting since gradients may be near machine precision and solution for QKE_e^2 becomes negative.
  3. Use QKE_e to compute 1-\alpha from HL 88 paper

@AMLattanzi AMLattanzi merged commit c1466aa into erf-model:development Oct 16, 2023
12 checks passed
@AMLattanzi AMLattanzi mentioned this pull request Oct 24, 2023
@AMLattanzi AMLattanzi deleted the PBL_Limiting branch November 12, 2024 21:17
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.

1 participant