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

Donelan Heat Flux Calculation to Work in HEAT_FLUX Mode #979

Merged
merged 7 commits into from
Feb 27, 2024

Conversation

mchurchf
Copy link
Contributor

Adding a switch to the Donelan wall temperature flux model so that if the user specifies heat flux (HEAT_FLUX mode in MOData), Donelan just uses it rather than tries to recompute it with the 0.0012 * wspd_mean * (theta_surface - theta_mean) formula. That formula should only be used if the user specifies a surface temperature (SURFACE_TEMPERATURE mode in MOData).

Matt Churchfield added 2 commits February 20, 2024 14:28
…FLUX and SURFACE_TEMPERATURE mode. Right now, it does not work properly in HEAT_FLUX mode.
@mchurchf mchurchf requested a review from gdeskos February 20, 2024 22:10
@marchdf
Copy link
Contributor

marchdf commented Feb 21, 2024

Tested this with CPU and GPU. All works.
gpu_tests.txt
cpu_tests.txt

@marchdf marchdf requested a review from mbkuhn February 21, 2024 19:37
@gdeskos
Copy link
Contributor

gdeskos commented Feb 27, 2024

@mbkuhn, since I have no merging rights anymore, would you be able to review and merge ? We need this asap!

@mbkuhn mbkuhn merged commit d4dd236 into Exawind:main Feb 27, 2024
13 checks passed
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.

4 participants