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

Bugfix in vertical advection #368

Merged
merged 1 commit into from
Aug 29, 2023
Merged

Bugfix in vertical advection #368

merged 1 commit into from
Aug 29, 2023

Conversation

simone-silvestri
Copy link
Collaborator

I was trying to run a high-resolution simulation (convinced the stability problem was solved) to replace the high-res simulation in the docs but the simulation crashed with upwinding!
I figured that I had changed just a little bit the structure of the code in #362 before merging but just enough to leave a bug not caught by the test.

This PR fixes it
(also produces the high res simulation to put in the README)

@milankl
Copy link
Member

milankl commented Aug 28, 2023

Awesome, I'm about to review the semi-implicit scheme for the documentation. From the GFDL model it seems that the previous time step is necessary, but I don't fully understand this. Technically every linear term that is solved semi-implicitly needs to be evaluated at the previous time step, but for the adiabatic conversion term for example I'm evaluating that term at the current time step and then move it back to the previous time step with a linear operator in spectral space. Maybe the same is possible here. I'll report back

@milankl milankl added bug 🐞 Something isn't working vertical ⬆️ Affecting the vertical dimension dynamics 〰️ Affects the dynamical core labels Aug 28, 2023
@milankl milankl added this to the v0.6 milestone Aug 28, 2023
@milankl milankl merged commit cd6c305 into main Aug 29, 2023
3 checks passed
@milankl milankl deleted the ss/bugfix branch September 8, 2023 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working dynamics 〰️ Affects the dynamical core vertical ⬆️ Affecting the vertical dimension
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants