You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UpwardsMassflux currently is positive = "down" instead of intuitively positive = "up".
Evidence from diagnostics
UpwardsMassflux diagnostic from a Jan 2019 transport tracer run shows negative values around the equator, which, according to Hadley Circulation, should be upwards.
where UPWARDS_MFZ is the UPWARDS mass flux, CONV is accumulative horizontal mass flux convergence from top to level k, BK is the hybrid parameter b, PIT is the surface pressure tendency.
! Compute the vertical mass flux
!
! Compute Convergence of the horizontal Mass flux
do k=1,npz
do j=jsc,jec
do i=isc,iec
conv(i,j,k) = ( xfx(i,j,k) - xfx(i+1,j,k) + &
yfx(i,j,k) - yfx(i,j+1,k) )
enddoenddoenddo
! Surface pressure tendency
pit(:,:) =0.0do k=1,npz
do j=jsc,jec
do i=isc,iec
pit(i,j) = pit(i,j) + conv(i,j,k)
enddoenddoenddo
! Sum over levels
do k=2,npz
do j=jsc,jec
do i=isc,iec
conv(i,j,k) = conv(i,j,k) + conv(i,j,k-1)
enddoenddoenddo
mfz(:,:,:) =0.0do k=2,npz
do j=jsc,jec
do i=isc,iec
mfz(i,j,k) = ( conv(i,j,k-1) - FV_Atm(1)%bk(k)*pit(i,j) )/(MAPL_GRAV*fv_atm(1)%gridstruct%area(i,j)) ! Kg/m^2/s
enddoenddoenddo
In the codes above, however, mfz(k) = (conv(k) - bk(k)*pit)*unit_conv, proving mfz here is -upwards_mfz, in other words, downwards_mfz.
Here the flipping only converts the GMAO vertical conventions to GEOS-Chem vertical conventions, namely from level 1 being top to level 1 being surface.
The text was updated successfully, but these errors were encountered:
Your name
Yuanjian Zhang
Your affiliation
WashU
What happened? What did you expect to happen?
UpwardsMassflux currently is positive = "down" instead of intuitively positive = "up".
Evidence from diagnostics
UpwardsMassflux diagnostic from a Jan 2019 transport tracer run shows negative values around the equator, which, according to Hadley Circulation, should be upwards.
Evidence from codes
We can derive the mass balance below:
where
UPWARDS_MFZ
is the UPWARDS mass flux,CONV
is accumulative horizontal mass flux convergence from top to level k,BK
is the hybrid parameter b,PIT
is the surface pressure tendency.FVdycoreCubed_GridComp/FV_StateMod.F90
In the codes above, however,
mfz(k) = (conv(k) - bk(k)*pit)*unit_conv
, proving mfz here is-upwards_mfz
, in other words, downwards_mfz.GCHP/src/GCHP_GridComp/GCHPctmEnv_GridComp/GCHPctmEnv_GridCompMod.F90
Lines 956 to 957 in e499969
Here the flipping only converts the GMAO vertical conventions to GEOS-Chem vertical conventions, namely from level 1 being top to level 1 being surface.
The text was updated successfully, but these errors were encountered: