Skip to content

PBL and Convection and Microphysics update for HR2#65

Merged
grantfirl merged 10 commits into
ufs-community:ufs/devfrom
Qingfu-Liu:update_HR2
May 9, 2023
Merged

PBL and Convection and Microphysics update for HR2#65
grantfirl merged 10 commits into
ufs-community:ufs/devfrom
Qingfu-Liu:update_HR2

Conversation

@Qingfu-Liu
Copy link
Copy Markdown
Collaborator

@Qingfu-Liu Qingfu-Liu commented Apr 21, 2023

This PR is created for HR2 with the updated PBL & convection codes (code from Jongil Han and Ruiyu Sun). I have resolved the conflicts of the codes with the current repository. The overall features for the updates:

  1. to reduce the negative hurricane intensity biases, a parameterization for environmental wind shear effect is included in the GFS cumulus convection and TKE-EDMF PBL schemes. In addition, the entrainment rates in the GFS cumulus convection and TKE-EDMF PBL schemes are enhanced proportional to the sub-cloud or PBL mean TKE (turbulent kinetic energy) when TKE is larger than a threshold value.

  2. A detailed description and test results with the NCEP GFS for the impacts of the new parameterization of environmental wind shear effect and TKE-dependent entrainment enhancement on hurricane intensity and track forecasts are given here.

  3. To enhance the underestimated CAPE forecasts in the GFS, the entrainment rate in the TKE-EDMF PBL scheme is increased as a function of vegetation fraction and surface roughness length. A detailed description and test results with the NCEP GFS for this update are given here.

@Qingfu-Liu
Copy link
Copy Markdown
Collaborator Author

I have compiled the code with two suites (FV3_GFS_v16, FV3_GFS_v17_p8) and successfully run two tests (control_c384, control_p8).

Comment thread physics/satmedmfvdifq.F Outdated
! tem2 = (u1(i,1)/dz)**2
! tem2 = tem2+(v1(i,1)/dz)**2
! tem2 = cs0*sqrt(e2(i,n))*sqrt(tem2)
!
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

You may want to consider removing the lines that are commented out.

Copy link
Copy Markdown
Collaborator

@lisa-bengtsson lisa-bengtsson left a comment

Choose a reason for hiding this comment

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

Looks good, the reduction of the dry bias is a welcomed contribution.

@Qingfu-Liu
Copy link
Copy Markdown
Collaborator Author

Qingfu-Liu commented Apr 24, 2023 via email

Comment thread physics/samfdeepcnv.f Outdated
endif

!
! if tkemean>tkcrt, tem=1+tkemean/tkcrt, clamt=tem*clam
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Consider removing these commented lines for cleaner code.

Comment thread physics/samfshalcnv.f Outdated
endif
enddo
!
! if tkemean>tkcrt, clamt=(1+tkemean/tkcrt)*clam
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Consider removing the commented code.

Comment thread physics/satmedmfvdifq.F Outdated
!
! tem2 = stress(i)*spd1(i)/zl(i,1)
tem2 = stress(i)*ustar(i)*phim(i)/(vk*zl(i,1))
! tem2 = stress(i)*ustar(i)*phim(i)/(vk*zl(i,1))
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Consider removing commented code. Old versions will always be saved in git history.

Copy link
Copy Markdown
Collaborator

@grantfirl grantfirl left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@grantfirl
Copy link
Copy Markdown
Collaborator

@Qingfu-Liu Are you going to open PRs into fv3atm and ufs-weather-model for this?

@Qingfu-Liu
Copy link
Copy Markdown
Collaborator Author

Qingfu-Liu commented Apr 24, 2023 via email

@Qingfu-Liu
Copy link
Copy Markdown
Collaborator Author

I just received an e-mail from microphysics developer, he want to make some small changes for HR2, I may combine the code changes to this PR if there is only a small code changes

@Qingfu-Liu Qingfu-Liu requested a review from mzhangw as a code owner April 26, 2023 11:00
@Qingfu-Liu
Copy link
Copy Markdown
Collaborator Author

Ruiyu Sun made small changes to "radiation_clouds.f", and I added him to review the new commit. There are no changes to the existing PR#65

@Qingfu-Liu Qingfu-Liu changed the title PBL and Convection update for HR2 PBL and Convection and Microphysics update for HR2 Apr 26, 2023
Comment thread physics/satmedmfvdifq.F Outdated
& (k >= kbx .and. k <= kmx)) then
dz = zi(i,k+1) - zi(i,k)
tem = f1(i,k) * dz
tem = f1(i,k) * del(i,k) / grav
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

It looks like there is a 1/g local variable declared in this routine. Please replace the division by "grav" with the multiplication by "gravi".

Copy link
Copy Markdown
Collaborator

@dustinswales dustinswales left a comment

Choose a reason for hiding this comment

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

Looks good. Nice job. Just a small suggestion on using a constant in one of the modules.

Comment thread physics/satmedmfvdifq.F Outdated
do i = 1,im
dz = zi(i,k+1) - zi(i,k)
tem = f1(i,k) * dz
tem = f1(i,k) * del(i,k) / grav
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

ditto

@Qingfu-Liu
Copy link
Copy Markdown
Collaborator Author

Qingfu-Liu commented May 2, 2023 via email

@Qingfu-Liu Qingfu-Liu requested a review from gthompsnWRF as a code owner May 8, 2023 17:09
@jkbk2004
Copy link
Copy Markdown

jkbk2004 commented May 9, 2023

Tests are done at ufs-community/ufs-weather-model#1731. @grantfirl @dustinswales Can you go ahead to merge this pr?

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.

8 participants