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

fix pressure error in Kessler: replace cube_mod with e3sm version and other bug fixes. #14

Closed
wants to merge 1 commit into from

Conversation

jtruesdal
Copy link
Collaborator

Kessler was showing banding errors in the pressure field after a few timesteps. I was using the wrong version of cube_mod.F90 and replaced it with a slightly modified e3sm version. I also discovered that I wasn't setting the use_moisture flag which is used in the theta-l dycore to identify moist pressure. I also needed to initialize dp3d. With these changes the pressure artifacts are gone.

… fixes in dyn_comp and update to namelist definition defaults
@jtruesdal jtruesdal self-assigned this Jan 31, 2025
@jtruesdal
Copy link
Collaborator Author

@PeterHjortLauritzen would you review this I can't commit without someone else approving. I fixed 2 bugs in dyn_comp (set use_moisture and initialize dp3d. I also replaced my badly merged version of cube_mod with a version that was close to e3sm. The code still needs a lot of cleanup which I will continue with once this is in.

@jtruesdal jtruesdal marked this pull request as draft February 7, 2025 18:04
@sjsprecious
Copy link
Collaborator

superseded by #17

@sjsprecious sjsprecious closed this Feb 7, 2025
@sjsprecious sjsprecious deleted the kessler_bug_fix branch February 12, 2025 23:35
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