Fixes to Omega v1 Governing Equations#326
Merged
xylar merged 4 commits intoE3SM-Project:developfrom Feb 23, 2026
Merged
Conversation
Author
|
@sbrus89, this doesn't include the other fixes to the HPGF we have discussed. That would follow up on these fixes. |
|
@xylar , thanks a lot. I was also planning to fix the same places for \rho_0 and \tau. I will review soon. |
266ff68 to
8545c0c
Compare
hyungyukang
approved these changes
Feb 23, 2026
hyungyukang
left a comment
There was a problem hiding this comment.
Approved based on visual inspection (the compiled version is available here: https://users.nccs.gov/~hgkang/omega/omega_xylar/design/OmegaV1GoverningEqns.html).
Thanks, @xylar! The document has improved significantly. I think this PR and #326 can be merged into develop first and open another PR later if additional updates are needed.
Surface flux terms, body forces and pressure terms were all getting multiplied by $\rho_0$, leading to incorrect dimensions and inconsistency with the rest of the derivation.
8545c0c to
4d2feb2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates the documentation in
OmegaV1GoverningEqns.mdto improve the consistency, clarity, and correctness of the mathematical notation used in the derivation of the governing equations. The changes primarily remove unnecessary factors of\rho_0from several equations, clarify the definition and notation for surface forces, and correct integration limits and variable usage for consistency.Mathematical and Notational Corrections:
Removed unnecessary factors of
\rho_0from the pseudo-height mass, tracer, and momentum conservation equations, as well as from their layer-averaged and Reynolds-averaged forms, to ensure dimensionally consistent and simplified expressions. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]Clarified the definition of the surface force (traction vector) as
\tau = \sigma \cdot {\bf n}and distinguished the horizontal component\tau_\perpin the momentum equation, improving the physical interpretation and accuracy of boundary force terms. [1] [2]Consistency and Integration Limit Corrections:
Corrected integration limits and variable usage in the layer and Reynolds-averaged tracer equations to ensure consistency with the rest of the document and the intended physical meaning.
Updated several equations to use consistent notation for averages, fluctuations, and layer integrals, improving readability and reducing the risk of confusion. [1] [2] [3] [4] [5] [6]
Checklist