/[lmdze]/trunk/phylmd/CV3_routines/cv3_param.f
ViewVC logotype

Diff of /trunk/phylmd/CV3_routines/cv3_param.f

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

revision 47 by guez, Fri Jul 1 15:00:48 2011 UTC revision 69 by guez, Mon Feb 18 16:33:12 2013 UTC
# Line 1  Line 1 
1  !  module cv3_param_m
 ! $Header: /home/cvsroot/LMDZ4/libf/phylmd/cv3_routines.F,v 1.5 2005/07/11 15:20:02 lmdzadmin Exp $  
 !  
 !  
 !  
       SUBROUTINE cv3_param(nd,delt)  
       use conema3_m  
             use cvparam3  
       implicit none  
   
 !------------------------------------------------------------  
 ! Set parameters for convectL for iflag_con = 3  
 !------------------------------------------------------------  
   
 !  
 !   ***  PBCRIT IS THE CRITICAL CLOUD DEPTH (MB) BENEATH WHICH THE ***  
 !   ***      PRECIPITATION EFFICIENCY IS ASSUMED TO BE ZERO     ***  
 !   ***  PTCRIT IS THE CLOUD DEPTH (MB) ABOVE WHICH THE PRECIP. ***  
 !   ***            EFFICIENCY IS ASSUMED TO BE UNITY            ***  
 !   ***  SIGD IS THE FRACTIONAL AREA COVERED BY UNSATURATED DNDRAFT  ***  
 !   ***  SPFAC IS THE FRACTION OF PRECIPITATION FALLING OUTSIDE ***  
 !   ***                        OF CLOUD                         ***  
 !  
 ! [TAU: CHARACTERISTIC TIMESCALE USED TO COMPUTE ALPHA & BETA]  
 !   ***    ALPHA AND BETA ARE PARAMETERS THAT CONTROL THE RATE OF ***  
 !   ***                 APPROACH TO QUASI-EQUILIBRIUM           ***  
 !   ***    (THEIR STANDARD VALUES ARE 1.0 AND 0.96, RESPECTIVELY) ***  
 !   ***           (BETA MUST BE LESS THAN OR EQUAL TO 1)        ***  
 !  
 !   ***    DTCRIT IS THE CRITICAL BUOYANCY (K) USED TO ADJUST THE ***  
 !   ***                 APPROACH TO QUASI-EQUILIBRIUM           ***  
 !   ***                     IT MUST BE LESS THAN 0              ***  
   
   
       integer nd  
       real, intent(in):: delt ! timestep (seconds)  
   
 ! noff: integer limit for convection (nd-noff)  
 ! minorig: First level of convection  
   
 ! -- limit levels for convection:  
   
       noff    = 1  
       minorig = 1  
       nl=nd-noff  
       nlp=nl+1  
       nlm=nl-1  
   
 ! -- "microphysical" parameters:  
   
       sigd   = 0.01  
       spfac  = 0.15  
       pbcrit = 150.0  
       ptcrit = 500.0  
 !IM cf. FH     epmax  = 0.993  
   
       omtrain = 45.0 ! used also for snow (no disctinction 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  
   
 ! -- interface cloud parameterization:  
2    
3        delta=0.01  ! cld    ! From LMDZ4/libf/phylmd/cvparam3.h, version 1.1.1.1 2004/05/19 12:53:09
4    
5  ! -- interface with boundary-layer (gust factor): (sb)    ! Parameters for iflag_con=3:
6      ! - microphysical parameters
7      ! - parameters that control the rate of approach to quasi-equilibrium
8    
9        betad=10.0   ! original value (from convect 4.3)    implicit none
10    
11        return    integer noff ! integer limit for convection (nd - noff)
12        end    integer minorig ! first level of convection
13      integer nl, nlp, nlm
14      real sigd ! FRACTIONAL AREA COVERED BY UNSATURATED DNDRAFT
15      real spfac ! FRACTION OF PRECIPITATION FALLING OUTSIDE OF CLOUD
16    
17      real pbcrit
18      !  CRITICAL CLOUD DEPTH (MB) BENEATH WHICH THE PRECIPITATION
19      ! EFFICIENCY IS ASSUMED TO BE ZERO
20    
21      real ptcrit
22      ! CLOUD DEPTH (MB) ABOVE WHICH THE PRECIPitation EFFICIENCY IS
23      ! ASSUMED TO BE UNITY
24    
25      real omtrain
26      real dtovsh, dpbase, dttrig
27    
28      real dtcrit
29      ! CRITICAL BUOYANCY (K) USED TO ADJUST THE APPROACH TO
30      ! QUASI-EQUILIBRIUM. IT MUST BE LESS THAN 0.
31    
32      real beta, alpha
33      ! PARAMETERS THAT CONTROL THE RATE OF APPROACH TO QUASI-EQUILIBRIUM
34      ! (THEIR STANDARD VALUES ARE 1.0 AND 0.96, RESPECTIVELY) (BETA MUST
35      ! BE LESS THAN OR EQUAL TO 1)
36    
37      real tau ! CHARACTERISTIC TIMESCALE USED TO COMPUTE ALPHA and BETA
38      real delta
39      real betad
40    
41    contains
42    
43      SUBROUTINE cv3_param(nd, delt)
44    
45        ! From LMDZ4/libf/phylmd/cv3_routines.F, version 1.5 2005/07/11 15:20:02
46    
47        ! Set parameters for iflag_con = 3
48    
49        integer, intent(in):: nd
50        real, intent(in):: delt ! timestep (seconds)
51    
52        !------------------------------------------------------------
53    
54        ! Limit levels for convection:
55    
56        noff = 1
57        minorig = 1
58        nl=nd-noff
59        nlp=nl+1
60        nlm=nl-1
61    
62        ! "Microphysical" parameters:
63    
64        sigd = 0.01
65        spfac = 0.15
66        pbcrit = 150.0
67        ptcrit = 500.0
68        ! cf. FH epmax = 0.993
69    
70        omtrain = 45.0 ! used also for snow (no distinction rain/snow)
71    
72        ! Misc:
73    
74        dtovsh = -0.2 ! dT for overshoot
75        dpbase = -40. ! definition cloud base (400m above LCL)
76        dttrig = 5. ! (loose) condition for triggering
77    
78        ! Rate of approach to quasi-equilibrium:
79    
80        dtcrit = -2.0
81        tau = 8000.
82        beta = 1.0 - delt/tau
83        alpha = 1.5E-3 * delt/tau
84        ! Increase alpha to compensate W decrease:
85        alpha = alpha*1.5
86    
87        ! Interface cloud parameterization:
88    
89        delta=0.01 ! cld
90    
91        ! Interface with boundary-layer (gust factor): (sb)
92    
93        betad=10.0 ! original value (from convect 4.3)
94    
95      end SUBROUTINE cv3_param
96    
97    end module cv3_param_m

Legend:
Removed from v.47  
changed lines
  Added in v.69

  ViewVC Help
Powered by ViewVC 1.1.21