Skip to content

Commit 4971625

Browse files
jimmielinnusbaume
andauthored
Complete CCPPization of Holtslag-Boville PBL scheme and vertical diffusion solver (#270)
Companion PRs: ESCOMP/CAM#1361 and ESCOMP/CAM-SIMA#410 Originator(s): @jimmielin Description (include issue title and the keyword ['closes', 'fixes', 'resolves'] and issue number): * Partial cleanup and refactoring of HB PBL scheme for CCPPization. * Completes #239. Moves HB (`hb_diff.F90`) both `compute_hb_diff` and `compute_hb_free_atm_diff` to atmospheric_physics `holtslag_boville.F90`. * Interstitials necessary for inputs into HB in `holtslag_boville_interstitials.F90`. * (is there an issue for diffusion solver?) Moves vertical diffusion solver (`compute_vdiff`) without molecular diffusion (i.e., not WACCM-X) into CCPPized schemes in `diffusion_solver.F90`. * Creates stub (zeroed outputs) interstitial schemes for Turbulent Mountain Stress (TMS) and Beljaars orographic surface drag and other code for WACCM (e.g., UBC; use of composition-dependent rair) in `diffusion_stubs.F90` -- schemes in this file will eventually be moved to their corresponding schemes, e.g., tms, beljaars, ubc, ... when they are fully CCPPized. List all namelist files that were added or changed: ``` A schemes/holtslag_boville/holtslag_boville_diff_options_namelist.xml A schemes/vertical_diffusion/vertical_diffusion_options_namelist.xml - separate "namelist" scheme for HB. - separate "namelist" scheme for diffusion solver. ``` List all files eliminated and why: N/A List all files added and what they do: ``` A to_be_ccppized/coords_1d.meta - metadata file for coords1d DDT. A to_be_ccppized/vdiff_lu_solver.F90 - LU solver for diffusion_solver.F90, moved from CAM A schemes/holtslag_boville/holtslag_boville_diff.F90 A schemes/holtslag_boville/holtslag_boville_diff.meta A schemes/holtslag_boville/holtslag_boville_diff_options.F90 A schemes/holtslag_boville/holtslag_boville_diff_options.meta - CCPPized Holtslag-Boville boundary layer scheme (originally hb_diff.F90) A schemes/holtslag_boville/holtslag_boville_diff_interstitials.F90 A schemes/holtslag_boville/holtslag_boville_diff_interstitials.meta - CCPPized interstitial schemes supporting inputs into HB. A schemes/vertical_diffusion/diffusion_solver.F90 A schemes/vertical_diffusion/diffusion_solver.meta A schemes/vertical_diffusion/vertical_diffusion_options.F90 A schemes/vertical_diffusion/vertical_diffusion_options.meta - CCPPized vertical diffusion solver without support for molecular diffusion (originally diffusion_solver.F90 in CAM) A schemes/vertical_diffusion/diffusion_stubs.F90 A schemes/vertical_diffusion/diffusion_stubs.meta - CCPPized stub for UBC (upper boundary conditions) - CCPPized stub for TMS (Turbulent Mountain Stress) surface orographic drag. - CCPPized stub for Beljaars surface orographic drag. - CCPPized stub for WACCM to use composition-dependent rair in vertical diffusion. A schemes/vertical_diffusion/vertical_diffusion_sponge_layer.F90 A schemes/vertical_diffusion/vertical_diffusion_sponge_layer.meta - CCPPized interstitial for sponge layer kvm (originally in vertical_diffusion_tend) A test/test_suites/suite_vdiff_holtslag_boville.xml - draft SDF for vertical diffusion using HB PBL scheme. ``` List all existing files that have been modified, and describe the changes: (Helpful git command: `git diff --name-status development...<your_branch_name>`) ``` M to_be_ccppized/coords_1d.F90 - make coords1d lowercase to workaround upstream framework limitation ``` List all automated tests that failed, as well as an explanation for why they weren't fixed: - CAM-SIMA will not build without removing `to_be_ccppized/nlte_fomichev.F90` due to dependency on CAM-only module `chem_surfvals` Is this an answer-changing PR? If so, is it a new physics package, algorithm change, tuning change, etc? B4B with CAM - new physics package If yes to the above question, describe how this code was validated with the new/modified features: * CAM regression tests: bit-for-bit unchanged as of cam6_4_107; compared against Derecho Intel only, Izumi tests will be ran before merging. * CAM-SIMA regression tests using new tests defined in ESCOMP/CAM-SIMA#410 bit-for-bit unchanged, except for Derecho GNU physics tests: - new baselines in hb_vdiff derecho gnu test (new test) - updated baselines in rk_stratiform test due to change in snapshots necessary due to CAM pbuf field change. and updated baselines in CAM4 tests due to adding HB PBL and vertical diffusion solver. --------- Co-authored-by: Jesse Nusbaumer <[email protected]>
1 parent c5fde0a commit 4971625

27 files changed

+6991
-9
lines changed

schemes/hack_shallow/hack_convect_shallow.meta

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@
185185
dimensions = (horizontal_loop_extent, vertical_layer_dimension)
186186
intent = in
187187
[ qpert_in ]
188-
standard_name = convective_water_vapor_wrt_moist_air_and_condensed_water_perturbation_due_to_pbl_eddies
188+
standard_name = convective_water_vapor_mixing_ratio_wrt_moist_air_and_condensed_water_perturbation_due_to_pbl_eddies
189189
units = kg kg-1
190190
type = real | kind = kind_phys
191191
dimensions = (horizontal_loop_extent)

schemes/holtslag_boville/holtslag_boville_diff.F90

Lines changed: 718 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)