/[lmdze]/trunk/Sources/phylmd/CV30_routines/cv30_param.f
ViewVC logotype

Diff of /trunk/Sources/phylmd/CV30_routines/cv30_param.f

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 187 by guez, Mon Mar 21 18:01:02 2016 UTC revision 201 by guez, Mon Jun 6 17:42:15 2016 UTC
# Line 2  module cv30_param_m Line 2  module cv30_param_m
2    
3    ! From LMDZ4/libf/phylmd/cvparam3.h, version 1.1.1.1, 2004/05/19 12:53:09    ! From LMDZ4/libf/phylmd/cvparam3.h, version 1.1.1.1, 2004/05/19 12:53:09
4    
5    ! Parameters for Emanuel convection scheme:    ! Set parameters for Emanuel convection scheme. Includes
6    ! - microphysical parameters    ! microphysical parameters and parameters that control the rate of
7    ! - parameters that control the rate of approach to quasi-equilibrium    ! approach to quasi-equilibrium.
8    
9    USE dimphy, ONLY: klev    USE dimphy, ONLY: klev
10    
11    implicit none    implicit none
12    
13    integer minorig ! first level of convection    integer, parameter:: minorig = 1
14      ! first level of convection (limit levels for convection)
15    
16    integer, parameter:: nl = klev - 1    integer, parameter:: nl = klev - 1
17    ! Limit for convection. The maximum number of levels to which    ! Limit for convection. The maximum number of levels to which
18    ! convection can penetrate, plus 1.  nl must be <= KLEV-1.    ! convection can penetrate, plus 1. We should have:
19      ! 6 <= nl <= KLEV - 1
20    real sigd ! FRACTIONAL AREA COVERED BY UNSATURATED DNDRAFT    ! (because of locate in cv30_feed).
21    real spfac ! FRACTION OF PRECIPITATION FALLING OUTSIDE OF CLOUD  
22      real, parameter:: sigd = 0.01
23    real pbcrit    ! fractional area covered by unsaturated downdraft
24    !  CRITICAL CLOUD DEPTH (MB) BENEATH WHICH THE PRECIPITATION    ! \sigma_d in Emanuel (1991 928)
25    ! EFFICIENCY IS ASSUMED TO BE ZERO  
26      real, parameter:: dtcrit = - 2.
27    real ptcrit    ! Critical buoyancy (K) used to adjust the approach to
28    ! CLOUD DEPTH (MB) ABOVE WHICH THE PRECIPitation EFFICIENCY IS    ! quasi-equilibrium. It must be < 0.
   ! ASSUMED TO BE UNITY  
   
   real omtrain  
   real dtovsh, dpbase, dttrig  
   
   real dtcrit  
   ! CRITICAL BUOYANCY (K) USED TO ADJUST THE APPROACH TO  
   ! QUASI-EQUILIBRIUM. IT MUST BE LESS THAN 0.  
29    
30    real beta, alpha    real beta, alpha
31    ! PARAMETERS THAT CONTROL THE RATE OF APPROACH TO QUASI-EQUILIBRIUM    ! Parameters that control the rate of approach to quasi-equilibrium
32    ! (THEIR STANDARD VALUES ARE 1.0 AND 0.96, RESPECTIVELY) (BETA MUST    ! (their standard values are 1. and 0.96, respectively) (beta must
33    ! BE LESS THAN OR EQUAL TO 1)    ! be less than or equal to 1).
   
   real tau ! CHARACTERISTIC TIMESCALE USED TO COMPUTE ALPHA and BETA  
   real delta  
   real betad  
34    
35    private klev    private klev
36    
37  contains  contains
38    
39    SUBROUTINE cv30_param(delt)    SUBROUTINE cv30_param
40    
41      ! From LMDZ4/libf/phylmd/cv3_routines.F, version 1.5, 2005/07/11 15:20:02      ! From LMDZ4/libf/phylmd/cv3_routines.F, version 1.5, 2005/07/11 15:20:02
42    
43      ! Set parameters for Emanuel convection scheme      use comconst, only: dtphys
44    
45      real, intent(in):: delt ! timestep (seconds)      ! Local:
46    
47      !------------------------------------------------------------      real, parameter:: tau = 8000.
48        ! characteristic timescale used to compute alpha and beta
     ! Limit levels for convection:  
     minorig = 1  
49    
50      ! "Microphysical" parameters:      !------------------------------------------------------------
   
     sigd = 0.01  
     spfac = 0.15  
     pbcrit = 150.0  
     ptcrit = 500.0  
     ! cf. FH epmax = 0.993  
   
     omtrain = 45.0 ! used also for snow (no distinction rain/snow)  
   
     ! Misc:  
     dtovsh = -0.2 ! dT for overshoot  
     dpbase = -40. ! definition cloud base (400m above LCL)  
     dttrig = 5. ! (loose) condition for triggering  
   
     ! Rate of approach to quasi-equilibrium:  
     dtcrit = -2.0  
     tau = 8000.  
     beta = 1.0 - delt/tau  
     alpha = 1.5E-3 * delt/tau  
     ! Increase alpha to compensate W decrease:  
     alpha = alpha*1.5  
51    
52      ! Interface cloud parameterization:      beta = 1. - dtphys / tau
     delta=0.01 ! cld  
53    
54      ! Interface with boundary-layer (gust factor): (sb)      alpha = 1.5E-3 * dtphys / tau * 1.5
55      betad=10.0 ! original value (from convect 4.3)      ! factor 1.5: increase alpha to compensate W decrease
56    
57    end SUBROUTINE cv30_param    end SUBROUTINE cv30_param
58    

Legend:
Removed from v.187  
changed lines
  Added in v.201

  ViewVC Help
Powered by ViewVC 1.1.21