PHYEX 0.9.5
PHYsique EXternalisée
Loading...
Searching...
No Matches
modd_convpar.F90
Go to the documentation of this file.
1!MNH_LIC Copyright 1994-2024 CNRS, Meteo-France and Universite Paul Sabatier
2!MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
3!MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
4!MNH_LIC for details. version 1.
5!-----------------------------------------------------------------
6!--------------- special set of characters for RCS information
7!-----------------------------------------------------------------
8! $Source$ $Revision$
9! MASDEV4_7 modd 2006/05/18 13:07:25
10!-----------------------------------------------------------------
11! ######spl
13
14!$ACDC methods
15
16! ###################
17!
18!!**** *MODD_CONVPAR* - Declaration of convection constants
19!!
20!! PURPOSE
21!! -------
22! The purpose of this declarative module is to declare the
23! constants in the deep convection parameterization.
24!
25!!
26!!** IMPLICIT ARGUMENTS
27!! ------------------
28!! None
29!!
30!! REFERENCE
31!! ---------
32!! Book2 of documentation of Meso-NH (MODD_CONVPAR)
33!!
34!! AUTHOR
35!! ------
36!! P. Bechtold *Laboratoire d'Aerologie*
37!!
38!! MODIFICATIONS
39!! -------------
40!! Original 26/03/96
41!! Last modified 15/11/96
42!-------------------------------------------------------------------------------
43!
44!* 0. DECLARATIONS
45! ------------
46!
47IMPLICIT NONE
48!
50REAL :: xa25 ! 25 km x 25 km reference grid area
51!
52REAL :: xcrad ! cloud radius
53REAL :: xcdepth ! minimum necessary cloud depth
54REAL :: xentr ! entrainment constant (m/Pa) = 0.2 (m)
55!
56REAL :: xzlcl ! maximum allowed allowed height
57 ! difference between departure level and surface
58REAL :: xzpbl ! minimum mixed layer depth to sustain convection
59REAL :: xwtrig ! constant in vertical velocity trigger
60!
61!
62REAL :: xnhgam ! accounts for non-hydrost. pressure
63 ! in buoyancy term of w equation
64 ! = 2 / (1+gamma)
65REAL :: xtfrz1 ! begin of freezing interval
66REAL :: xtfrz2 ! end of freezing interval
67!
68REAL :: xrhdbc ! relative humidity below cloud in downdraft
69!
70REAL :: xrconv ! constant in precipitation conversion
71REAL :: xstabt ! factor to assure stability in fractional time
72 ! integration, routine CONVECT_CLOSURE
73REAL :: xstabc ! factor to assure stability in CAPE adjustment,
74 ! routine CONVECT_CLOSURE
75REAL :: xusrdpth ! pressure thickness used to compute updraft
76 ! moisture supply rate for downdraft
77REAL :: xmeldpth ! layer (Pa) through which precipitation melt is
78 ! allowed below melting level
79REAL :: xuvdp ! constant for pressure perturb in momentum transport
80END TYPE convpar_t
81
82!Keep global variables for parts of the code not ported to the type yet
83REAL :: xa25 ! 25 km x 25 km reference grid area
84!
85REAL :: xcrad ! cloud radius
86REAL :: xcdepth ! minimum necessary cloud depth
87REAL :: xentr ! entrainment constant (m/Pa) = 0.2 (m)
88!
89REAL :: xzlcl ! maximum allowed allowed height
90 ! difference between departure level and surface
91REAL :: xzpbl ! minimum mixed layer depth to sustain convection
92REAL :: xwtrig ! constant in vertical velocity trigger
93!
94!
95REAL :: xnhgam ! accounts for non-hydrost. pressure
96 ! in buoyancy term of w equation
97 ! = 2 / (1+gamma)
98REAL :: xtfrz1 ! begin of freezing interval
99REAL :: xtfrz2 ! end of freezing interval
100!
101REAL :: xrhdbc ! relative humidity below cloud in downdraft
102!
103REAL :: xrconv ! constant in precipitation conversion
104REAL :: xstabt ! factor to assure stability in fractional time
105 ! integration, routine CONVECT_CLOSURE
106REAL :: xstabc ! factor to assure stability in CAPE adjustment,
107 ! routine CONVECT_CLOSURE
108REAL :: xusrdpth ! pressure thickness used to compute updraft
109 ! moisture supply rate for downdraft
110REAL :: xmeldpth ! layer (Pa) through which precipitation melt is
111 ! allowed below melting level
112REAL :: xuvdp ! constant for pressure perturb in momentum transport
113
114INTERFACE ini_convpar
115 MODULE PROCEDURE ini_convpar0
116 MODULE PROCEDURE ini_convpar1
117END INTERFACE
118
119
120
121CONTAINS
122
123
124SUBROUTINE ini_convpar1 (CONVPAR)
125
126USE yomhook , ONLY : lhook, jphook, dr_hook
127
128TYPE (CONVPAR_T), INTENT (OUT) :: CONVPAR
129
130REAL(KIND=jphook) :: zhook_handle
131
132IF (lhook) CALL dr_hook('INI_CONVPAR1',0,zhook_handle)
133
134convpar%XA25 = xa25
135convpar%XCRAD = xcrad
136convpar%XCDEPTH = xcdepth
137convpar%XENTR = xentr
138convpar%XZLCL = xzlcl
139convpar%XZPBL = xzpbl
140convpar%XWTRIG = xwtrig
141convpar%XNHGAM = xnhgam
142convpar%XTFRZ1 = xtfrz1
143convpar%XTFRZ2 = xtfrz2
144convpar%XRHDBC = xrhdbc
145convpar%XRCONV = xrconv
146convpar%XSTABT = xstabt
147convpar%XSTABC = xstabc
148convpar%XUSRDPTH = xusrdpth
149convpar%XMELDPTH = xmeldpth
150convpar%XUVDP = xuvdp
151
152IF (lhook) CALL dr_hook('INI_CONVPAR1',1,zhook_handle)
153
154END SUBROUTINE ini_convpar1
155
156SUBROUTINE ini_convpar0(OE1)
157! ######################
158!
159!!**** *INI_CONVPAR * - routine to initialize the constants modules
160!!
161!! PURPOSE
162!! -------
163! The purpose of this routine is to initialize the constants
164! stored in modules MODD_CONVPAR, MODD_CST, MODD_CONVPAREXT.
165!
166!
167!!** METHOD
168!! ------
169!! The deep convection constants are set to their numerical values
170!!
171!!
172!! EXTERNAL
173!! --------
174!!
175!! IMPLICIT ARGUMENTS
176!! ------------------
177!! Module MODD_CONVPAR : contains deep convection constants
178!!
179!! REFERENCE
180!! ---------
181!! Book2 of the documentation (module MODD_CONVPAR, routine INI_CONVPAR)
182!!
183!!
184!! AUTHOR
185!! ------
186!! P. BECHTOLD * Laboratoire d'Aerologie *
187!!
188!! MODIFICATIONS
189!! -------------
190!! Original 26/03/96
191!! Last modified 15/04/98 adapted for ARPEGE
192!-------------------------------------------------------------------------------
193!
194!* 0. DECLARATIONS
195! ------------
196!
197!
198USE yomhook , ONLY : lhook, jphook, dr_hook
199IMPLICIT NONE
200LOGICAL, OPTIONAL, INTENT(IN) :: OE1
201LOGICAL :: LE1
202!
203REAL(KIND=jphook) :: zhook_handle
204!
205IF(.NOT. PRESENT(oe1)) THEN
206 le1=.false.
207ELSE
208 le1=oe1
209ENDIF
210!
211!-------------------------------------------------------------------------------
212!
213!* 1. Set the thermodynamical and numerical constants for
214! the deep convection parameterization
215! ---------------------------------------------------
216!
217!
218IF (lhook) CALL dr_hook('INI_CONVPAR0',0,zhook_handle)
219
220IF(.NOT. le1) THEN
221 xa25 = 625.e6 ! 25 km x 25 km reference grid area
222 !
223 xcrad = 1500. ! cloud radius
224 xcdepth = 2.5e3 ! minimum necessary cloud depth
225 xentr = 0.03 ! entrainment constant (m/Pa) = 0.2 (m)
226 !
227 xzlcl = 3.5e3 ! maximum allowed allowed height
228 ! difference between the surface and the LCL
229 xzpbl = 60.e2 ! minimum mixed layer depth to sustain convection
230 xwtrig = 6.00 ! constant in vertical velocity trigger
231 !
232 !
233 xnhgam = 1.3333 ! accounts for non-hydrost. pressure
234 ! in buoyancy term of w equation
235 ! = 2 / (1+gamma)
236 xtfrz1 = 268.16 ! begin of freezing interval
237 xtfrz2 = 248.16 ! end of freezing interval
238 !
239 xrhdbc = 0.9 ! relative humidity below cloud in downdraft
240
241 xrconv = 0.015 ! constant in precipitation conversion
242 xstabt = 0.75 ! factor to assure stability in fractional time
243 ! integration, routine CONVECT_CLOSURE
244 xstabc = 0.95 ! factor to assure stability in CAPE adjustment,
245 ! routine CONVECT_CLOSURE
246 xusrdpth = 165.e2 ! pressure thickness used to compute updraft
247 ! moisture supply rate for downdraft
248 xmeldpth = 100.e2 ! layer (Pa) through which precipitation melt is
249 ! allowed below downdraft
250 xuvdp = 0.7 ! constant for pressure perturb in momentum transport
251ELSE
252 xa25 = 625.e6 ! 25 km x 25 km reference grid area
253 !
254 xcrad = 500. ! cloud radius
255 xcdepth = 3.e3 ! minimum necessary cloud depth
256 xentr = 0.03 ! entrainment constant (m/Pa) = 0.2 (m)
257 !
258 xzlcl = 3.5e3 ! maximum allowed allowed height
259 ! difference between the surface and the LCL
260 xzpbl = 60.e2 ! minimum mixed layer depth to sustain convection
261 xwtrig = 6.00 ! constant in vertical velocity trigger
262 !
263 !
264 xnhgam = 1.3333 ! accounts for non-hydrost. pressure
265 ! in buoyancy term of w equation
266 ! = 2 / (1+gamma)
267 xtfrz1 = 268.16 ! begin of freezing interval
268 xtfrz2 = 248.16 ! end of freezing interval
269 !
270 xrhdbc = 0.9 ! relative humidity below cloud in downdraft
271
272 xrconv = 0.015 ! constant in precipitation conversion
273 xstabt = 0.75 ! factor to assure stability in fractional time
274 ! integration, routine CONVECT_CLOSURE
275 xstabc = 0.95 ! factor to assure stability in CAPE adjustment,
276 ! routine CONVECT_CLOSURE
277 xusrdpth = 165.e2 ! pressure thickness used to compute updraft
278 ! moisture supply rate for downdraft
279 xmeldpth = 200.e2 ! layer (Pa) through which precipitation melt is
280 ! allowed below downdraft
281 xuvdp = 0.7 ! constant for pressure perturb in momentum transport
282ENDIF
283!
284!
285IF (lhook) CALL dr_hook('INI_CONVPAR0',1,zhook_handle)
286END SUBROUTINE ini_convpar0
287!
288END MODULE modd_convpar
subroutine ini_convpar0(oe1)
subroutine ini_convpar1(convpar)