Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
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
12 changes: 8 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
[submodule "fv3/atmos_cubed_sphere"]
path = fv3/atmos_cubed_sphere
url = https://github.com/NOAA-GFDL/GFDL_atmos_cubed_sphere
branch = dev/emc
url = https://github.com/hafs-community/GFDL_atmos_cubed_sphere
branch = feature/3dtke_update
# url = https://github.com/NOAA-GFDL/GFDL_atmos_cubed_sphere
# branch = dev/emc
[submodule "ccpp/framework"]
path = ccpp/framework
url = https://github.com/NCAR/ccpp-framework
branch = main
[submodule "ccpp/physics"]
path = ccpp/physics
url = https://github.com/ufs-community/ccpp-physics
branch = ufs/dev
url = https://github.com/hafs-community/ccpp-physics
branch = feature/3dtke_update
# url = https://github.com/ufs-community/ccpp-physics
# branch = ufs/dev
[submodule "upp"]
path = upp
url = https://github.com/NOAA-EMC/UPP
Expand Down
21 changes: 13 additions & 8 deletions ccpp/data/GFS_typedefs.F90
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,11 @@ module GFS_typedefs
real (kind=kind_phys), pointer :: vvl (:,:) => null() !< layer mean vertical velocity in pa/sec
real (kind=kind_phys), pointer :: tgrs (:,:) => null() !< model layer mean temperature in k
real (kind=kind_phys), pointer :: qgrs (:,:,:) => null() !< layer mean tracer concentration
!3D-SA-TKE
!SA-3D-TKE
real (kind=kind_phys), pointer :: def_1 (:,:) => null() !< deformation
real (kind=kind_phys), pointer :: def_2 (:,:) => null() !< deformation
real (kind=kind_phys), pointer :: def_3 (:,:) => null() !< deformation
!3D-SA-TKE-end
!SA-3D-TKE-end
! dissipation estimate
real (kind=kind_phys), pointer :: diss_est(:,:) => null() !< model layer mean temperature in k
! soil state variables - for soil SPPT - sfc-perts, mgehne
Expand Down Expand Up @@ -1183,6 +1183,8 @@ module GFS_typedefs
logical :: hybedmf !< flag for hybrid edmf pbl scheme
logical :: satmedmf !< flag for scale-aware TKE-based moist edmf
!< vertical turbulent mixing scheme
logical :: tte_edmf !< flag for scale-aware TTE-based moist edmf
!< vertical turbulent mixing scheme
logical :: shinhong !< flag for scale-aware Shinhong vertical turbulent mixing scheme
logical :: do_ysu !< flag for YSU turbulent mixing scheme
logical :: dspheat !< flag for tke dissipative heating
Expand Down Expand Up @@ -1809,7 +1811,6 @@ module GFS_typedefs
real (kind=kind_phys), pointer :: dku3d_h (:,:) => null() !< Horizontal eddy diffusitivity for momentum
real (kind=kind_phys), pointer :: dku3d_e (:,:) => null() !< Eddy diffusitivity for momentum for tke


!--- dynamical forcing variables for Grell-Freitas convection
real (kind=kind_phys), pointer :: forcet (:,:) => null() !<
real (kind=kind_phys), pointer :: forceq (:,:) => null() !<
Expand Down Expand Up @@ -2285,21 +2286,21 @@ subroutine statein_create (Statein, Model)
allocate (Statein%wgrs (IM,Model%levs))
endif
allocate (Statein%qgrs (IM,Model%levs,Model%ntrac))
!3D-SA-TKE
!SA-3D-TKE
allocate (Statein%def_1 (IM,Model%levs))
allocate (Statein%def_2 (IM,Model%levs))
allocate (Statein%def_3 (IM,Model%levs))
!3D-SA-TKE-end
!SA-3D-TKE-end

Statein%qgrs = clear_val
Statein%pgr = clear_val
Statein%ugrs = clear_val
Statein%vgrs = clear_val
!3D-SA-TKE
!SA-3D-TKE
Statein%def_1 = clear_val
Statein%def_2 = clear_val
Statein%def_3 = clear_val
!3D-SA-TKE-end
!SA-3D-TKE-end

if(Model%lightning_threat) then
Statein%wgrs = clear_val
Expand Down Expand Up @@ -3755,6 +3756,8 @@ subroutine control_initialize (Model, nlunit, fn_nml, me, master, &
logical :: hybedmf = .false. !< flag for hybrid edmf pbl scheme
logical :: satmedmf = .false. !< flag for scale-aware TKE-based moist edmf
!< vertical turbulent mixing scheme
logical :: tte_edmf = .false. !< flag for scale-aware TTE-based moist edmf
!< vertical turbulent mixing scheme
logical :: shinhong = .false. !< flag for scale-aware Shinhong vertical turbulent mixing scheme
logical :: do_ysu = .false. !< flag for YSU vertical turbulent mixing scheme
logical :: dspheat = .false. !< flag for tke dissipative heating
Expand Down Expand Up @@ -4174,7 +4177,7 @@ subroutine control_initialize (Model, nlunit, fn_nml, me, master, &
do_myjsfc, do_myjpbl, &
hwrf_samfdeep, hwrf_samfshal,progsigma,progomega,betascu, &
betamcu, betadcu,h2o_phys, pdfcld, shcnvcw, redrag, &
hybedmf, satmedmf, sigmab_coldstart, &
hybedmf, satmedmf, tte_edmf, sigmab_coldstart, &
shinhong, do_ysu, dspheat, lheatstrg, lseaspray, cnvcld, &
xr_cnvcld, random_clds, shal_cnv, imfshalcnv, imfdeepcnv, &
isatmedmf, conv_cf_opt, do_deep, jcap, &
Expand Down Expand Up @@ -5027,6 +5030,7 @@ subroutine control_initialize (Model, nlunit, fn_nml, me, master, &
Model%redrag = redrag
Model%hybedmf = hybedmf
Model%satmedmf = satmedmf
Model%tte_edmf = tte_edmf
Model%shinhong = shinhong
Model%do_ysu = do_ysu
Model%dspheat = dspheat
Expand Down Expand Up @@ -6929,6 +6933,7 @@ subroutine control_print(Model)
print *, ' redrag : ', Model%redrag
print *, ' hybedmf : ', Model%hybedmf
print *, ' satmedmf : ', Model%satmedmf
print *, ' tte_edmf : ', Model%tte_edmf
print *, ' isatmedmf : ', Model%isatmedmf
print *, ' shinhong : ', Model%shinhong
print *, ' do_ysu : ', Model%do_ysu
Expand Down
6 changes: 6 additions & 0 deletions ccpp/data/GFS_typedefs.meta
Original file line number Diff line number Diff line change
Expand Up @@ -5447,6 +5447,12 @@
units = flag
dimensions = ()
type = logical
[tte_edmf]
standard_name = flag_for_scale_aware_TTE_moist_EDMF_PBL
long_name = flag for scale-aware TTE moist EDMF PBL scheme
units = flag
dimensions = ()
type = logical
[shinhong]
standard_name = flag_for_scale_aware_Shinhong_PBL
long_name = flag for scale-aware Shinhong PBL scheme
Expand Down