Skip to content
Success

Changes

Summary

  1. Non trad coriolis (#1267) (details)
Commit 4902a5ccf6c0da1bf588ea853aaadbc9a776dfa2 by noreply
Non trad coriolis (#1267)

* Updating the clubb core and silhs version files

* Fixing bug. qclvar copying is handled by the api, but we were deleting it with an unstructured data statement. I added this due as a fix before thinking qclvar was a local variable, which happened because I mixed up the CLUBB_CAM and CLUBBND_CAM flags. https://github.com/larson-group/cam/issues/175

* Fixing GPU bug. There is a vertical dependency with wpxp. This is what was breaking the ECT test, see larson-group/cam#175

* Moving pdf_params copying to copyin. This is the data structure that contains pointers, and these pointers will be different on the host and device, so it is bad in theory to copy the structure back to the CPU as it might overwrite cpu memory pointers with gpu memory pointers. In practice though I've seen no problems caused by this, I'm just making this commit preemptively, and it has already been tested with the ECT test.

* Moving PosInf to clubb_model_settings.F90

* Updating the clubb core and silhs version files

* Add flags for the Coriolis terms.

* Pass fcory from api module into advance module

* Implement the traditional Coriolis terms

* Implement the nontraditional Coriolis terms

* Add stats variables for the Coriolis terms

* Compute Coriolis parameters from namelist latitude

* Create the coriolis_test case

* Tune the coriolis_test case. However, oscillation frequency is too slow

* Correct a coefficient in Coriolis. "coriolis_test" matches analytical

* Update advance_clubb_core_module.F90

Rename fcory as fcor_y and add description

* Update advance_wp2_wp3_module.F90

Rename fcory as fcor_y and add description

* Update advance_xm_wpxp_module.F90

Rename fcory as fcor_y and add description

* Update advance_xp2_xpyp_module.F90

Rename fcory as fcor_y and add description

* Update clubb_api_module.F90

Rename fcory as fcor_y and add description

* Update spurious_source_test.F90

Rename fcory as fcor_y and add description

* Update clubb_driver.F90

Rename fcor as fcor_y and add description.
Also, add description for the coriolis_test

* Update generalized_grid_test.F90

Rename fcory as fcor_y and add description.

* Update coriolis_test_model.in

Add description for the Coriolis test case

* Stablize the cgils_s6 case with smaller time step

* Create the ekman case

* Tune the ekman case to match LES

* Compute wp2up with PDF and pass along with wp2thvp

* Implement the nontraditional Coriolis term for wp3

* Fine-tune parameters for the ekman case

* Create the atex_long case

* Retune ekman case with l_vary_convect_depth = .true.

* Fine-tune the atex_long case

* Add atex_long case to pyplotgen

* Fine-tune atex_long case with less radical changes

* Updating the clubb core and silhs version files

* Small bug fix in the wp2up flip and adding new files to the cmakelist

* Renmaing, moving some files, and reverting change to cgils_s6 timestep

* Adding new flags to flag test file

* Updating comment for fcor_y calculation explanation

* Removing accidentally added file

---------

Co-authored-by: pickett <larsongroupgithub@gmail.com>
Co-authored-by: Hing Ong <hing.ong@anl.gov>
Co-authored-by: Hing Ong <36782452+HingOng@users.noreply.github.com>
The file was modifiedinput/stats/all_stats.in (diff)
The file was addedinput/case_setups/atex_long_sounding.in
The file was addedinput/case_setups/ekman_sclr_sounding.in
The file was modifiedinput/stats/host_budgets_stats.in (diff)
The file was addedinput/case_setups/atex_long_sfc.in
The file was modifiedinput/stats/nobudgets_stats.in (diff)
The file was modifiedpostprocessing/pyplotgen/config/Case_definitions.py (diff)
The file was addedinput/case_setups/atex_long_sclr_sounding.in
The file was modifiedsrc/Benchmark_cases/CMakeLists.txt (diff)
The file was modifiedsrc/clubb_driver.F90 (diff)
The file was modifiedsrc/CLUBB_core/numerical_check.F90 (diff)
The file was addedinput/case_setups/coriolis_test_model.in
The file was modifiedsrc/CLUBB_core/advance_xp2_xpyp_module.F90 (diff)
The file was modifiedsrc/clubb_tuner.F90 (diff)
The file was addedinput/case_setups/ekman_sfc.in
The file was modifiedsrc/CLUBB_core/output_netcdf.F90 (diff)
The file was addedinput/case_setups/ekman_model.in
The file was modifiedinput/tunable_parameters/configurable_model_flags.in (diff)
The file was modifiedsrc/CLUBB_core/advance_clubb_core_module.F90 (diff)
The file was modifiedinput/stats/scalars_stats.in (diff)
The file was addedinput/tunable_parameters_coriolis_cases/ekman_parameters.in
The file was addedinput/case_setups/ekman_sounding.in
The file was addedinput/case_setups/atex_long_model.in
The file was modifiedsrc/input_fields.F90 (diff)
The file was modifiedsrc/CLUBB_core/grid_adaptation_module.F90 (diff)
The file was modifiedsrc/CLUBB_core/pdf_closure_module.F90 (diff)
The file was modifiedsrc/generalized_grid_test.F90 (diff)
The file was addedinput/case_setups/coriolis_test_sclr_sounding.in
The file was modifiedsrc/CLUBB_core/stats_variables.F90 (diff)
The file was modifiedinput/stats/nightly_stats.in (diff)
The file was modifiedcompile/file_list/clubb_model_files (diff)
The file was addedinput/case_setups/coriolis_test_edsclr_sounding.in
The file was addedinput/case_setups/coriolis_test_sounding.in
The file was addedsrc/Benchmark_cases/atex_long.F90
The file was modifiedsrc/CLUBB_core/clubb_api_module.F90 (diff)
The file was addedinput/case_setups/coriolis_test_sfc.in
The file was modifiedsrc/G_unit_test_types/pdf_parameter_tests.F90 (diff)
The file was modifiedsrc/CLUBB_core/stats_clubb_utilities.F90 (diff)
The file was modifiedinput/stats/standard_stats.in (diff)
The file was addedinput/tunable_parameters_coriolis_cases/coriolis_test_parameters.in
The file was modifiedsrc/CLUBB_core/stats_zt_module.F90 (diff)
The file was modifiedinput/case_setups/cgils_s6_model.in (diff)
The file was addedsrc/Benchmark_cases/ekman.F90
The file was modifiedsrc/CLUBB_core/advance_wp2_wp3_module.F90 (diff)
The file was addedinput/case_setups/atex_long_edsclr_sounding.in
The file was addedinput/case_setups/ekman_edsclr_sounding.in
The file was modifiedsrc/G_unit_test_types/spurious_source_test.F90 (diff)
The file was addedinput/tunable_parameters_coriolis_cases/atex_long_parameters.in
The file was modifiedsrc/Benchmark_cases/prescribe_forcings.F90 (diff)
The file was modifiedsrc/CLUBB_core/constants_clubb.F90 (diff)
The file was modifiedsrc/CLUBB_core/advance_xm_wpxp_module.F90 (diff)
The file was modifiedrun_scripts/run_bindiff_w_flags_config_core_flags.json (diff)
The file was modifiedsrc/CLUBB_core/model_flags.F90 (diff)
The file was modifiedinput/stats/nobudgets_nomicro_stats.in (diff)
The file was modifiedsrc/CLUBB_core/stats_zm_module.F90 (diff)