Skip to content

Store valid thermodynamic tendency #79

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

Merged
merged 3 commits into from
Jun 11, 2025

Conversation

simone-silvestri
Copy link
Collaborator

The thermodynamic tendency was stored before the treatment of pathological cases. This (in very rare circumstances) can lead to a NaN in the thermodynamic tendency which would reflect in ClimaOcean in the salinity flux.

This PR stores the thermodynamic tendency after the correction of thickness and concentration.

@simone-silvestri
Copy link
Collaborator Author

I ll merge this since it does not change too much and is a very simple PR, I would like to see the effects in CliMA/ClimaOcean.jl#559

@simone-silvestri simone-silvestri merged commit 29101ce into main Jun 11, 2025
6 checks passed
@simone-silvestri simone-silvestri deleted the ss/fix-thermodynamics-tendency branch June 11, 2025 14:11
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