Skip to content

fully integrated physics#77

Merged
vithikashah001 merged 14 commits intoNOAA-GFDL:mainfrom
linjiongzhou:user/lnz/shield2025_inline_final_unverified
Jan 15, 2026
Merged

fully integrated physics#77
vithikashah001 merged 14 commits intoNOAA-GFDL:mainfrom
linjiongzhou:user/lnz/shield2025_inline_final_unverified

Conversation

@linjiongzhou
Copy link
Contributor

Description

This PR is based on the latest main branch and includes the fully integrated physics framework developed since the start of this effort. When running with the original physics configuration, results should remain unchanged.

To enable the integrated physics, add the following namelist:

&integ_phys_nml
do_fast_phys = .T.
do_inline_pbl = .T.
do_inline_cnv = .T.
do_inline_gwd = .T.
inline_cnv_flag = 2
inline_pbl_flag = 1
/

&sa_sas_nml
/

&sa_aamf_nml
/

&sa_tke_edmf_nml
/

&sa_tke_edmf_new_nml
/

&sa_gwd_nml
/

Fixes # (issue)

How Has This Been Tested?

This functionality has been exercised extensively throughout the development process. However, this final version has not yet been re-tested after merging the latest updates from main.

Checklist:

Please check all whether they apply or not

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

Copy link
Contributor

@lharris4 lharris4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also nicely done. Do note that the implicit LM4 coupling @JosephMouallem has been working on will conflict with these updates as it requires the physics driver and PBL schemes to be split, so getting these to work together will require some more development.

! dqsfc1(:) = 0.

if (Model%do_shoc) then
if (Model%do_inline_pbl) then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If anything this is a good illustration of how data flows within the driver for each particular scheme.

endif

!--- turn off convection when the inline convection is activated
if (Model%do_inline_cnv) then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the inline convection handle both shallow and deep convection?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

@vithikashah001 vithikashah001 merged commit 66cd379 into NOAA-GFDL:main Jan 15, 2026
1 of 2 checks passed
@JosephMouallem
Copy link
Contributor

@laurenchilutti @vithikashah001 This PR creates issues as reported by @MingjingTong-NOAA which wouldn't allow a successful compilation of the 'main' branches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants