ESCOMP / CAM-SIMA

Community Atmosphere Model - System for Integrated Modeling of the Atmosphere
4 stars 12 forks source link

Constituent variables aren't initialized properly when analytic ICs are enabled #287

Closed nusbaume closed 3 days ago

nusbaume commented 1 month ago

What happened?

When running with an FKESSLER compset and ne30pg3 grid (which uses analytic ICs), it was found that certain constituent variables (specifically Q and CLDLIQ) are initialized to zero, which results in no moist processes (e.g. precipitation) occurring during the moist baroclinic wave test. This is not what is expected, and doesn't match how CAM is initializing the values.

What are the steps to reproduce the bug?

Run the FKESSLER compset in CAM-SIMA and CAM with an ne30pg3 grid with the zeroth (initial) time step outputted, and compare the Q and CLDLIQ values between the two different models.

What CAM-SIMA hash were you using?

8ac3838

What machine were you running CAM-SIMA on?

CISL machine (e.g. cheyenne)

What compiler were you using?

GNU

Path to a case directory, if applicable

/glade/derecho/scratch/nusbaume/model_runs/SIMA_history_test

Will you be addressing this bug yourself?

Yes

Extra info

Technically this bug was found on the following CAM-SIMA branch:

https://github.com/peverwhee/CAM-SIMA/tree/history_court

But I have no reason to believe it doesn't exist on the main development branch as well (especially after PR #274 is eventually merged in).