cbl_mod Module


Subroutines

public subroutine cbl(wp, zp, wst, h, rhoa, rhograd, sigmaw, dsigmawdz, tlw, ptot, Q, Phi, ath, bth, ol, flagrein)

CBL skewed vertical profiles and formulation of LHH 1996 with profile of w^3 from LHB 2000 LHH formulation has been modified to account for variable density profiles and backward in time or forward in time simulations see Cassiani et al. BLM 2014 doi for explanations and references

Read more…

Arguments

Type IntentOptional Attributes Name
real :: wp
real :: zp
real :: wst
real :: h
real :: rhoa
real :: rhograd
real :: sigmaw
real :: dsigmawdz
real :: tlw
real :: ptot
real :: Q
real :: Phi
real :: ath
real :: bth
real :: ol
integer :: flagrein

public subroutine reinit_particle(zp, wst, h, sigmaw, wp, nrand, ol)

CBL skewed vertical profiles and formulation of LHH 1996 with profile of w^3 from lHB 2000 LHH formulation has been modified to account for variable density profiles and backward in time or forward in time simulations This routine re-initialize particle velocity if a numerical instability in the cbl scheme generated a NaN value The particle velocity is extracted from the updraft and downdraft distribution as required
The re-initialization si not perfect See e.g. Cassiani et al(2015) BLM

Read more…

Arguments

Type IntentOptional Attributes Name
real :: zp
real :: wst
real :: h
real :: sigmaw
real :: wp
integer :: nrand
real :: ol

public subroutine init_cbl_vel(idum, zp, wst, h, sigmaw, wp, ol, ithread)

Arguments

Type IntentOptional Attributes Name
integer :: idum
real :: zp
real :: wst
real :: h
real :: sigmaw
real :: wp
real :: ol
integer, intent(in) :: ithread