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

Include water flux energy term in jacobian approximation #953

Open
Tracked by #859
juliasloan25 opened this issue Dec 13, 2024 · 0 comments
Open
Tracked by #859

Include water flux energy term in jacobian approximation #953

juliasloan25 opened this issue Dec 13, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@juliasloan25
Copy link
Member

juliasloan25 commented Dec 13, 2024

To improve the stability of our longruns, we want to include the dT_rhoe/dvartheta_l term in our jacobian approximation. We have found that, in the case of high water flux near saturation, the dpsi/dtheta term that this depends on becomes very large and unstable to step explicitly. To demonstrate that the water flux energy is the culprit, we tried removing this term from the explicit tendency and saw improved stability.

Closed by #952
Working towards resolving #912

Plots

energy from water flux included in explicit tendency, dt = 450s

This build was before the change, with NaNs appearing in Africa after ~1 month. Note that this build ran for 4 years whereas the runs below ran for 2 years, and the plotting was changed after this build, introducing blocky coastlines in the plots below but not this one.
Screenshot 2024-12-13 at 10 39 39 AM

energy from water flux removed from explicit tendency, dt = 450s

This build, after removing the energy from water flux term from the explicit tendency, shows no NaNs in Africa after 2 years.
Screenshot 2024-12-13 at 10 35 16 AM

energy from water flux removed from explicit tendency, dt = 900s

In fact, in this build we are even able to take a larger timestep (450s -> 900s) after removing this term from the explicit tendency, and still don't see the NaNs in Africa (though some new ones appear in the northeast US, which could be due to our phase change approximation):
Screenshot 2024-12-13 at 10 34 23 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants