next_inactive up previous


Phys - Physics library.

ARJO SEGERS
KNMI


Date: 12/08/2004


Contents

Introduction

The 'phys' library contains subroutines for model physica.

Geo-potential-height

Humidity functions

Convective clouds

     subroutine ConvCloudDim( updo, lm, detu, entd, &
                              iclbas, ictop, icllfs, &
                              status )

       character(len=1), intent(in)   ::  updo
       integer, intent(in)            ::  lm

       real, intent(in)              ::  detu(lm)
       real, intent(in)              ::  entd(lm)

       character(len=1), intent(in)  ::  updo

       ! cloud base, top, level of free sinking
       integer, intent(out)          ::  iclbas
       integer, intent(out)          ::  ictop
       integer, intent(out)          ::  icllfs

       integer, intent(out)          ::  status

Cloud cover

   subroutine cf_overhead( nlev, yclfr, wccro, scheme, eps )

     integer, intent(in)                     ::  nlev
     real, intent(in)                        ::  yclfr(nlev)
     real, intent(out)                       ::  wccro(nlev)
     character(len=*), intent(in), optional  ::  scheme
     real, intent(in), optional              ::  eps

   input: 
     nlev  : number of vertical levels
     yclfr : cloud fraction (cc) per cell (0-1)
  
   output:
     wccro: overhead cloud fraction
  
   optional arguments:
     scheme='ecmwf'  : 'ecmwf' -> iovln=1
                       'other' -> iovln=0
     eps=1.0e-4      : cltres
  
   parameters:
     iovln : switch
       1 = ecmwf (maximum random overlap assumption) scheme
       0 = another scheme 
     cltres : threshold (minimum) cloud fraction used
              for numerical stability (division by zero
              and to eliminate small unrealistic cloud fractions
  
   Notes: 
   - Index=1 of arrays (yclfr) corresponds to model top
   - The clouds are supposed to be distributed homogeneously
     in the vertical in each layer.

Virtual temperature





TM5 2009-03-03