PHYEX 0.9.5
PHYsique EXternalisée
Loading...
Searching...
No Matches
mode_ini_turb.F90
Go to the documentation of this file.
1!MNH_LIC Copyright 1994-2014 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.
6IMPLICIT NONE
7CONTAINS
8! ####################
9 SUBROUTINE ini_turb(HPROGRAM)
10! ####################
11!
12!!**** *INI_TURB* - routine to initialize the turbulence scheme
13!! constants.
14!!
15!! PURPOSE
16!! -------
17! The purpose of this routine is to initialize the turbulence
18! scheme constants that are stored in module MODD_CTURB and MODD_TURBN
19!
20!! METHOD
21!! ------
22!! The constants are set to their numerical values
23!!
24!! EXTERNAL
25!! --------
26!! NONE
27!!
28!! IMPLICIT ARGUMENTS
29!! ------------------
30!! Module MODD_CTURB
31!!
32!! REFERENCE
33!! ---------
34!! Book 2 of Meso-NH documentation (module INI_CTURB)
35!! Book 1 of Meso-NH documentation (Chapter Turbulence)
36!!
37!! AUTHOR
38!! ------
39!! Joan Cuxart * INM and Meteo-France *
40!!
41!! MODIFICATIONS
42!! -------------
43!! Original 08/08/94
44!! J.Cuxart 15/06/95 document more precisely the Shuman cts
45!! P.Jabouille 20/10/99 XCET=0.4
46!! V.Masson 13/11/02 XALPSBL and XASBL
47!! 05/06 Remove KEPS
48!! Q.Rodier 01/19 Remove XASBL (not used)
49!! --------------------------------------------------------------------------
50!
51!* 0. DECLARATIONS
52! ------------
53!
54USE modd_cst, ONLY: xkarman
57USE modd_neb_n, ONLY: lstatnw
61! For true constants (not tunable)
62USE modd_parameters, ONLY : xundef
63!
64USE yomhook , ONLY : lhook, dr_hook, jphook
65!
66IMPLICIT NONE
67!
68CHARACTER(LEN=6), INTENT(IN) :: HPROGRAM
69REAL(KIND=jphook) :: zhook_handle
70!
71IF (lhook) CALL dr_hook('INI_TURB',0,zhook_handle)
72!
73CALL cturb_associate()
74!
75! ---------------------------------------------------------------------------
76!
77! 1. SETTING THE NUMERICAL VALUES
78! ----------------------------
79!
80! 1.1 Constant for dissipation of Tke
81!
82!
83IF(xced == xundef) THEN
84 ! Redelsperger-Sommeria (1981) = 0.70
85 ! Schmidt-Schumann (1989) = 0.845
86 ! Cheng-Canuto-Howard (2002) = 0.845
87 ! Rodier, Masson, Couvreux, Paci (2017) = 0.34
88 IF(cturblen=='RM17' .OR. cturblen=='HM21') THEN
89 xced=0.34
90 ELSE
91 IF(hprogram=='AROME') THEN
92 xced=0.85
93 ELSE
94 xced=0.84
95 END IF
96 ENDIF
97ENDIF
98!
99!
100! 1.2 Constant for wind pressure-correlations
101!
102!XCEP = 4.
103xcep = 2.11
104! Redelsperger-Sommeria (1981) = 4.
105! Schmidt-Schumann (1989) = 3.5
106! Cheng-Canuto-Howard (2002) = 2.11
107!
108!
109! 1.3 Constant a0 for wind pressure-correlations
110!
111xa0 = 0.6
112! Redelsperger-Sommeria (1981) = 0.6
113! Schmidt-Schumann (1989) = 0.55
114! Cheng-Canuto-Howard (2002) = 0.6
115!
116!
117! 1.4 Constant a2 for wind pressure-correlations
118!
119xa2 = 1.
120! Redelsperger-Sommeria (1981) = 1.
121! Schmidt-Schumann (1989) = 1.
122! Cheng-Canuto-Howard (2002) = 0.57
123!
124!
125! 1.5 Constant a3 for wind pressure-correlations
126!
127xa3 = 0.
128! Redelsperger-Sommeria (1981) = 0.
129! Schmidt-Schumann (1989) = 0.45
130! Cheng-Canuto-Howard (2002) = 0.5
131!
132!
133! 1.6 Constant for dissipation of th'2, r'2, th'r'
134!
135xctd = 1.2
136! Redelsperger-Sommeria (1981) = 1.2
137! Schmidt-Schumann (1989) = 1.01
138! Cheng-Canuto-Howard (2002) = 0.98
139!
140!
141! 1.7 Constant for temperature and vapor pressure-correlations
142!
143IF(xctp == xundef) THEN
144 IF (lstatnw) THEN
145 !wc in STATNW consistent use of Redelsperger-Sommeria for (co)variances
146 xctp = 4.0
147 ELSE
148 xctp = 4.65
149 ENDIF
150ENDIF
151! Redelsperger-Sommeria (1981) = 4.
152! Schmidt-Schumann (1989) = 3.25
153! Cheng-Canuto-Howard (2002) = 4.65
154!
155!
156! 1.8 Constant a5 for temperature pressure-correlations
157!
158xa5 = 1./3.
159! Redelsperger-Sommeria (1981) = 1./3.
160! Schmidt-Schumann (1989) = 0.
161! Cheng-Canuto-Howard (2002) = 1./3.
162!
163!
164! 1.9 Values in the evolution equation of the TKE
165!
166xcet = 0.40
167!
168! Redelsperger-Sommeria (1981) = 0.20
169! Schmidt-Schumann (1989) = 0.33
170! Krettenauer-Schumann (1992) = 0.33
171! Bougeault and Lacarrere(1989)= 0.40
172!
173!
174! 1.10 Value related to the TKE universal function within SBL
175!
176xalpsbl = 4.63
177! Redelsperger et al 2001 = 4.63
178! Wyngaard et al. 1974 = 3.75
179! Stull 1988 = 4.75
180!
181!
182! 1.11 Value related to the shear term in mixing length computation
183!
184xrm17 = 0.5 ! Rodier et al 2017
185!
186!
187! 2. Derivated constants
188! -------------------
189!
190! 2.1 Constant in fluxes equations
191!
192xcmfs= 2./3./xcep*(1.-xa0) !Constant for the momentum flux due to shear (RS)
193!
194! Redelsperger-Sommeria (1981) ......... 0.066
195! Schmidt-Schumann (1989) ......... 0.086
196!
197!
198xcshf= 2./3./xctp !Constant for the sensible heat flux(RS)
199!
200! Redelsperger-Sommeria (1981) ......... 0.167
201! Schmidt-Schumann (1989) ......... 0.204
202!
203!
204xchf= xcshf !Constant for the humidity flux(RS)
205!
206! 2.2 Constant in variances and covariances equations
207!
208xctv= 2./3./xctp/xctd !Constant for the temperature variance(RS)
209!
210! Redelsperger-Sommeria (1981) ......... 0.139
211! Schmidt-Schumann (1989) ......... 0.202
212!
213xchv= xctv !Constant for the humidity variance(RS)
214!
215! Redelsperger-Sommeria (1981) ......... 0.139
216!
217!
218xcht1= xctv/2. !Constants for the temperature-humidity correlation(RS)
219xcht2= xctv/2.
220!
221! 2.3 Constant in Prandtl numbers
222!
223xcpr1= xctv !Constants for the turbulent Prandtl and Schmidt numbers
225xcpr3= xcpr2 ! used only for the Schmidt number for scalar variables
228!
229! 3. MINIMUM VALUES
230! --------------
231!
232xlinf=1.e-10! to prevent division by zero
233!
234!
235! 4. MAXIMUM VALUES
236! --------------
237!
238xphi_lim = 3.
239!
240!
241! 5. Constants in K-eps scheme
242! -------------------------
243!
244! 1.3 Values in the evolution equation of the dissipation of TKE
245xcdp = 1.46
246! Duynkerke (1988) = 1.46
247!
248xcdd = 1.83
249! Duynkerke (1988) = 1.83
250!
251xcdt = 0.42
252! Duynkerke (1988) = 1./(2.38)
253!
254!
255! 6. Constants in RMC01
256! ------------------
257!
258xsbl_o_bl = 0.05 ! SBL height / BL height ratio
259xftop_o_fsurf = 0.05 ! Fraction of surface (heat or momentum) flux used to define top of BL
260!
261!
262! 7. Constants for BL89 computation
263!
264!
265IF (lbl89exp) THEN
266 xbl89exp=log(16.)/(4.*log(xkarman)+log(xced)-3.*log(xcmfs))
267ELSE
268 xbl89exp=(2./3.)
269END IF
270!
272!
273!
274IF (lhook) CALL dr_hook('INI_TURB',1,zhook_handle)
275END SUBROUTINE ini_turb
276END MODULE mode_ini_turb
real, pointer xkarman
Definition modd_cst.F90:141
real, pointer xcmfs
real, pointer xcdp
real, pointer xalpsbl
real, pointer xftop_o_fsurf
real, pointer xcet
real, pointer xa3
real, pointer xcpr4
real, pointer xcep
real, pointer xcpr3
real, pointer xa2
real, pointer xcpr2
real, pointer xrm17
real, pointer xa0
real, pointer xctd
subroutine cturb_associate()
real, pointer xcdd
real, pointer xa5
real, pointer xcdt
real, pointer xsbl_o_bl
real, pointer xphi_lim
real, pointer xcpr5
real, pointer xlinf
logical, pointer lstatnw
Definition modd_nebn.F90:71
real, parameter xundef
real, pointer xced
character(len=4), pointer cturblen
real, pointer xchv
real, pointer xcht2
real, pointer xctp
real, pointer xchf
logical, pointer lbl89exp
real, pointer xcshf
real, pointer xctv
real, pointer xcpr1
real, pointer xbl89exp
real, pointer xusrbl89
real, pointer xcht1
subroutine ini_turb(hprogram)