-
Notifications
You must be signed in to change notification settings - Fork 0
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
Implement energy and water checker for YOG #53
base: CAM-ML
Are you sure you want to change the base?
Conversation
The output of the built-in energy checker (not the new implementation) is:
|
OK, this is where the factor 100 comes from:
CAM-ML/src/physics/cam/nn_interface_cam.F90 Line 135 in 6e1b04a
SAM_sounding_init : CAM-ML/src/physics/cam/nn_interface_cam.F90 Line 562 in 6e1b04a
|
…mass conservation on CAM grid after YOG.
2eb7c73
to
0b9a7f1
Compare
0b9a7f1
to
34c0ab3
Compare
Last time step with @jatkinson1000 's new changes: We loose energy (increasing from 0.04% in the first iteration to 0.168% in the last), and we can a bit of energy. :-/ |
This PR is an implementation of a water and energy conservation checker to investigate the conservation errors observed in #34 .
The implementation is based on lines 404ff in check_energy.F09.
The checker should be called at various places in nn_interface_cam.F90->n_convection_flux_CAM.
The output can be found in the
atm.log.***.gz
files.