convection Module

Parametrization of convection

Convection is modelled using a simplified version of the Tiedke (1993) mass-flux convection scheme.


Uses

  • module~~convection~~UsesGraph module~convection convection module~types types module~convection->module~types module~params params module~convection->module~params iso_fortran_env iso_fortran_env module~types->iso_fortran_env module~params->module~types

Used by

  • module~~convection~~UsedByGraph module~convection convection proc~get_physical_tendencies get_physical_tendencies proc~get_physical_tendencies->module~convection

Contents


Variables

TypeVisibility AttributesNameInitial
real(kind=p), private, parameter:: psmin =0.8

Minimum (normalised) surface pressure for the occurrence of convection

real(kind=p), private, parameter:: trcnv =6.0

Time of relaxation (in hours) towards reference state

real(kind=p), private, parameter:: rhbl =0.9

Relative humidity threshold in the boundary layer

real(kind=p), private, parameter:: rhil =0.7

Relative humidity threshold in intermeduate layers for secondary mass flux

real(kind=p), private, parameter:: entmax =0.5

Maximum entrainment as a fraction of cloud-base mass flux

real(kind=p), private, parameter:: smf =0.8

Ratio between secondary and primary mass flux at cloud-base


Subroutines

public subroutine get_convection_tendencies(psa, se, qa, qsat, itop, cbmf, precnv, dfse, dfqa, fsg, dhs, wvi)

Compute convective fluxes of dry static energy and moisture using a simplified mass-flux scheme

Arguments

Type IntentOptional AttributesName
real(kind=p), intent(in) :: psa(ix,il)

Normalised surface pressure [p/p0]

real(kind=p), intent(in) :: se(ix,il,kx)

Dry static energy [c_p.T + g.z]

real(kind=p), intent(in) :: qa(ix,il,kx)

Specific humidity [g/kg]

real(kind=p), intent(in) :: qsat(ix,il,kx)

Saturation specific humidity [g/kg]

integer, intent(out) :: itop(ix,il)

Top of convection (layer index)

real(kind=p), intent(out) :: cbmf(ix,il)

Cloud-base mass flux

real(kind=p), intent(out) :: precnv(ix,il)

Convective precipitation [g/(m^2 s)]

real(kind=p), intent(out) :: dfse(ix,il,kx)

Net flux of dry static energy into each atmospheric layer

real(kind=p), intent(out) :: dfqa(ix,il,kx)

Net flux of specific humidity into each atmospheric layer

real(kind=p), intent(in) :: fsg(kx)

Full sigma levels

real(kind=p), intent(in) :: dhs(kx)

Sigma level thicknesses

real(kind=p), intent(in) :: wvi(kx,2)

Weights for vertical interpolation

private subroutine diagnose_convection(psa, se, qa, qsat, itop, qdif, wvi)

Diagnose convectively unstable gridboxes

Read more…

Arguments

Type IntentOptional AttributesName
real(kind=p), intent(in) :: psa(ix,il)

Normalised surface pressure [p/p0]

real(kind=p), intent(in) :: se(ix,il,kx)

Dry static energy [c_p.T + g.z]

real(kind=p), intent(in) :: qa(ix,il,kx)

Specific humidity [g/kg]

real(kind=p), intent(in) :: qsat(ix,il,kx)

Saturation specific humidity [g/kg]

integer, intent(out) :: itop(ix,il)

Top of convection (layer index)

real(kind=p), intent(out) :: qdif(ix,il)

Excess humidity in convective gridboxes

real(kind=p), intent(in) :: wvi(kx,2)

Weights for vertical interpolation