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

put c_8 into mm and pp enth_flux, dt_by_dp #480

Merged
merged 1 commit into from
Jun 27, 2023

Conversation

illorenzo7
Copy link
Contributor

I believe the current calculation of enthalpy flux is inconsistent between the total flux and Reynolds decomposition (there is a missing c_8 in definition of dt_by_dp). I think it only affects non-dimensional cases, not the dimensional one (since they're c_8 = 1). This pull request should fix things.

Copy link
Contributor

@feathern feathern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. This got me thinking about how some of the other energy-equation-related outputs are scaled in a nondimensional, anelastic setup. I see now that you have issue related to this. We should definitely give some thought to this. In any event, this PR is approved -- thanks!

@feathern feathern merged commit e343ef8 into geodynamics:main Jun 27, 2023
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