Major bug fix for tendencies from NSAS cumulus scheme #71
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
TYPE: bug fix
KEYWORDS: NSAS cumulus scheme, tendencies
SOURCE: Sebastien Masson, LOCEAN - IPSL, Univ. Pierre et Marie Curie, France
DESCRIPTION OF CHANGES:
In module_cu_nsas.F, all cumulus tendency terms (*cuten variables) are wrong as they are divided by dt*stepcu (where stepcu is the number of time steps in CUDT) instead of dt while the deep (nsas2d) and shallow (nscv2d) routines are called with dt. As tendency terms are kept constant during stepcu time steps, they should not be divided by dt*stepcu but by dt.
LIST OF MODIFIED FILES:
phys/module_cu_nsas.F
TESTS CONDUCTED: reg tested. Ran January case, new changes provide more heating and less rainfall. The user verified this by playing with time_step and cudt. Any reasonable value of time_step and cudt gives very similar results when stepcu = 1, but results drastically change when stepcu = 2 or higher values.