Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
17fd3ff
Initial cleanup of compute_eddy_diff; use CCPPized diffusion solver
jimmielin Nov 7, 2025
c4f6f12
Remove pbl_utils; remove pcols from eddy_diff
jimmielin Nov 8, 2025
5ca77c3
Start moving outfld history out from tentative run phase.
jimmielin Nov 11, 2025
6b778aa
Remove all diagnostic arrays from tentative run phase
jimmielin Nov 11, 2025
2c8aea8
Move to atmos_phys.
jimmielin Nov 11, 2025
a983145
Refactor HB: move kinematic fluxes and obklen to common interstitial …
jimmielin Nov 13, 2025
3c4363e
use vdiff interstitial for kinematic fluxes and obklen to CLUBB
jimmielin Nov 14, 2025
fcdd659
Change ztodt to dt; snapshot unit updates
jimmielin Nov 19, 2025
928a841
Fix cflx subsetting to UW ccppized scheme; fix snapshot unit
jimmielin Nov 24, 2025
54c748e
Merge branch 'cam_development' into hplin/diag_tke
jimmielin Nov 25, 2025
de3c70a
Merge branch 'cam_development' into hplin/diag_tke
jimmielin Dec 1, 2025
a017801
Merge branch 'cam_development' into hplin/diag_tke
jimmielin Dec 29, 2025
4df002c
Merge branch 'cam_development' into hplin/diag_tke
jimmielin Mar 9, 2026
21709cf
Update ccpp_constituent_prop_mod instantiate stub with diag_name (req…
jimmielin Mar 9, 2026
a6d326f
Merge branch 'cam_development' into hplin/diag_tke
jimmielin Apr 24, 2026
1749c38
Address review comments.
jimmielin Apr 24, 2026
c18a4de
Update src/physics/cam/eddy_diff_cam.F90
jimmielin Apr 24, 2026
de91f59
Fix namelist comment based on atmos_phys code review.
jimmielin Apr 24, 2026
c86c13a
Merge branch 'cam_development' into hplin/diag_tke
jimmielin May 11, 2026
5bc9abc
Merge branch 'hplin/diag_tke' of github.com:jimmielin/CAM into hplin/…
jimmielin May 11, 2026
2c50921
Merge branch 'cam_development' into hplin/diag_tke
jimmielin May 19, 2026
725b069
Update atmos_phys to atmos_phys0_22_000
jimmielin May 19, 2026
8e99576
Merge branch 'cam_development' into hplin/diag_tke
jimmielin May 21, 2026
b991e83
Finalize ChangeLog for cam6_4_175.
jimmielin May 22, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
[submodule "atmos_phys"]
path = src/atmos_phys
url = https://github.com/ESCOMP/atmospheric_physics
fxtag = atmos_phys0_21_003
fxtag = atmos_phys0_22_000
fxrequired = AlwaysRequired
fxDONOTUSEurl = https://github.com/ESCOMP/atmospheric_physics

Expand Down
1 change: 1 addition & 0 deletions bld/configure
Original file line number Diff line number Diff line change
Expand Up @@ -2150,6 +2150,7 @@ sub write_filepath
print $fh "$camsrcdir/src/atmos_phys/schemes/cloud_fraction\n";
print $fh "$camsrcdir/src/atmos_phys/schemes/vertical_diffusion\n";
print $fh "$camsrcdir/src/atmos_phys/schemes/holtslag_boville\n";
print $fh "$camsrcdir/src/atmos_phys/schemes/bretherton_park\n";

# Dynamics package and test utilities
print $fh "$camsrcdir/src/dynamics/$dyn\n";
Expand Down
4 changes: 2 additions & 2 deletions bld/namelist_files/namelist_definition.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3610,12 +3610,12 @@ Default: 100.e3 (hPa)
<entry id="eddy_moist_entrain_a2l" type="real" category="pbl"
group="eddy_diff_nl" valid_values="" >
Moist entrainment enhancement parameter.
Default: set by build-namelist
Default: 30.D0
</entry>

<entry id="kv_top_pressure" type="real" category="pbl"
group="eddy_diff_nl" valid_values="" >
Pressure (Pa) that defined the upper atmosphere for adjustment of
Pressure (Pa) that defines the upper atmosphere for adjustment of
eddy diffusivities from diag_TKE using kv_top_scale.
Default: 0.
</entry>
Expand Down
77 changes: 77 additions & 0 deletions doc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,80 @@
===============================================================

Tag name: cam6_4_175
Originator(s): jimmielin
Date: May 22, 2026
One-line Summary: Complete CCPPization of CAM5 UW (diag_TKE) PBL scheme; cleanup to vertical_diffusion_tend
Github PR URL: https://github.com/ESCOMP/CAM/pull/1445

Purpose of changes (include the issue number and title text for each relevant GitHub issue):
- Closes #1429 - Move University of Washington moist turbulence scheme ("diag_TKE", CAM5 PBL scheme) to atmos_phys.
- Cleanup to vertical_diffusion_tend to accommodate CCPPization of HB (CAM4) and UW (CAM5) PBL schemes.
- Minor fixes to snapshot metadata.

Describe any changes made to build system: added bretherton_park folder to atmos_phys

Describe any changes made to the namelist: update to descriptions only.

List any changes to the defaults for the boundary datasets: N/A

Describe any substantial timing or memory changes: None

Code reviewed by: nusbaume, cacraig, peverwhee (atmos_phys)

List all files eliminated:
```
D src/physics/cam/eddy_diff.F90
- moved to atmos_phys

D src/physics/cam/pbl_utils.F90
- only remaining subroutine now in atmos_phys bretherton_park_diff.F90
```

List all files added and what they do:

List all existing files that have been modified, and describe the changes:
```
M bld/configure
- add bretherton_park subdir for atmos_phys

M bld/namelist_files/namelist_definition.xml
- fix description

M src/control/cam_snapshot_common.F90
- populate units for pbuf_ksrftms, pbuf_WSEDL

M src/physics/cam/eddy_diff_cam.F90
- moved most of existing logic in eddy_diff_tend to new CCPP scheme bretherton_park_diff_run
- what remains is just CAM-specific code for history and code to interface with the underlying run phase.

M src/physics/cam/vertical_diffusion.F90
- move kinematic fluxes and obklen calculation to common interstitial scheme.
- move input preparation (vert coord for vdiff, potential temp) to common interstitial scheme.
- rearrange data flow for HB, UW to share as much code as possible.
```

If there were any failures reported from running test_driver.sh on any test
platform, and checkin with these failures has been OK'd by the gatekeeper,
then copy the lines from the td.*.status files for the failed tests to the
appropriate machine below. All failed tests must be justified.

derecho/intel/aux_cam: All PASS

derecho/nvhpc/aux_cam: All PASS

izumi/nag/aux_cam:
ERC_D_Ln9.f10_f10_mt232.FHIST_C5.izumi_nag.cam-outfrq3s_subcol (Overall: FAIL)
- pre-existing failure -- see https://github.com/ESCOMP/CAM/issues/1514

izumi/gnu/aux_cam: All PASS

CAM tag used for the baseline comparison tests if different than previous
tag:

Summarize any changes to answers: All B4B

===============================================================

Tag name: cam6_4_174
Originator(s): kuanchihwang
Date: 21 May 2026
Expand Down
2 changes: 1 addition & 1 deletion src/atmos_phys
Submodule atmos_phys updated 42 files
+731 −0 schemes/bretherton_park/bretherton_park_diff.F90
+832 −0 schemes/bretherton_park/bretherton_park_diff.meta
+160 −0 schemes/bretherton_park/bretherton_park_diff_namelist.xml
+3,386 −0 schemes/bretherton_park/eddy_diff.F90
+89 −0 schemes/bretherton_park/eddy_diffusivity_adjustment_above_pbl.F90
+86 −0 schemes/bretherton_park/eddy_diffusivity_adjustment_above_pbl.meta
+124 −0 schemes/bretherton_park/eddy_diffusivity_adjustment_above_pbl_namelist.xml
+1 −1 schemes/chemistry/prescribed_aerosol_deposition_flux.meta
+1 −1 schemes/chemistry/prescribed_aerosol_deposition_flux_namelist.xml
+2 −2 schemes/chemistry/prescribed_aerosols.meta
+1 −1 schemes/chemistry/prescribed_aerosols_namelist.xml
+349 −0 schemes/chemistry/prescribed_volcanic_aerosol.F90
+232 −0 schemes/chemistry/prescribed_volcanic_aerosol.meta
+203 −0 schemes/chemistry/prescribed_volcanic_aerosol_namelist.xml
+3 −3 schemes/conservation_adjust/check_energy/check_energy_chng.meta
+2 −2 schemes/conservation_adjust/check_energy/check_energy_scaling.meta
+1 −1 schemes/conservation_adjust/check_energy/dycore_energy_consistency_adjust.meta
+7 −28 schemes/holtslag_boville/holtslag_boville_diff.F90
+17 −60 schemes/holtslag_boville/holtslag_boville_diff.meta
+1 −121 schemes/holtslag_boville/holtslag_boville_diff_interstitials.F90
+0 −138 schemes/holtslag_boville/holtslag_boville_diff_interstitials.meta
+434 −0 schemes/sima_diagnostics/bretherton_park_diff_diagnostics.F90
+449 −0 schemes/sima_diagnostics/bretherton_park_diff_diagnostics.meta
+2 −2 schemes/sima_diagnostics/check_energy_diagnostics.F90
+2 −2 schemes/sima_diagnostics/check_energy_diagnostics.meta
+1 −1 schemes/sima_diagnostics/diffusion_solver_diagnostics.F90
+4 −4 schemes/sima_diagnostics/diffusion_solver_diagnostics.meta
+1 −1 schemes/sima_diagnostics/holtslag_boville_diff_diagnostics.meta
+34 −6 schemes/vertical_diffusion/diffusion_solver.F90
+22 −24 schemes/vertical_diffusion/diffusion_solver.meta
+103 −1 schemes/vertical_diffusion/diffusion_stubs.F90
+133 −0 schemes/vertical_diffusion/diffusion_stubs.meta
+206 −0 schemes/vertical_diffusion/vertical_diffusion_interstitials.F90
+294 −0 schemes/vertical_diffusion/vertical_diffusion_interstitials.meta
+41 −14 suites/suite_cam4.xml
+308 −0 suites/suite_cam5.xml
+17 −3 suites/suite_cam7.xml
+18 −5 suites/suite_kessler.xml
+18 −5 suites/suite_tj2016.xml
+7 −0 test/test_suites/suite_tracer_data_test.xml
+98 −0 test/test_suites/suite_vdiff_bretherton_park.xml
+23 −13 test/test_suites/suite_vdiff_holtslag_boville.xml
4 changes: 2 additions & 2 deletions src/control/cam_snapshot_common.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1442,7 +1442,7 @@ subroutine fill_pbuf_info(pbuf_info, pbuf, const_cname)
'ipbl ','unset ',&
'ISS_FRAC ','unset ',&
'kpblh ','unset ',&
'ksrftms ','unset ',&
'ksrftms ','kg/m2/s ',&
'kvh ','m2/s ',&
'kvm ','m2/s ',&
'kvt ','m2/s ',&
Expand Down Expand Up @@ -1606,7 +1606,7 @@ subroutine fill_pbuf_info(pbuf_info, pbuf, const_cname)
'wpthlp_mc_zt ','unset ',&
'WPTHLP_nadv ','unset ',&
'WPTHVP ','unset ',&
'WSEDL ','unset ',&
'WSEDL ','m/s ',&
'wstarPBL ','unset ',&
'ZM_DP ','unset ' /), (/2,100/))

Expand Down
Loading
Loading