PHYEX
0.9.5
PHYsique EXternalisée
Loading...
Searching...
No Matches
src
phyex
turb
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.
5
MODULE
mode_ini_turb
6
IMPLICIT NONE
7
CONTAINS
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
!
54
USE
modd_cst
,
ONLY
:
xkarman
55
USE
modd_turb_n
,
ONLY
:
xctp
,
xced
,
xcshf
,
xchf
,
xctv
,
xchv
,
xcht1
,
xcht2
,
xcpr1
,
cturblen
, &
56
&
xbl89exp
,
xusrbl89
,
lbl89exp
57
USE
modd_neb_n
,
ONLY
:
lstatnw
58
USE
modd_cturb
,
ONLY
:
cturb_associate
,
xa0
,
xa2
,
xa3
,
xa5
,
xalpsbl
,
xcdd
,
xcdp
,
xcdt
,
xcep
,
xcet
, &
59
xcmfs
,
xcpr2
,
xcpr3
,
xcpr4
,
xcpr5
,
xctd
,
xftop_o_fsurf
,
xlinf
,
xphi_lim
, &
60
xrm17
,
xsbl_o_bl
61
! For true constants (not tunable)
62
USE
modd_parameters
,
ONLY
:
xundef
63
!
64
USE
yomhook ,
ONLY
: lhook, dr_hook, jphook
65
!
66
IMPLICIT NONE
67
!
68
CHARACTER(LEN=6)
,
INTENT(IN)
:: HPROGRAM
69
REAL
(KIND=jphook) :: zhook_handle
70
!
71
IF
(lhook)
CALL
dr_hook(
'INI_TURB'
,0,zhook_handle)
72
!
73
CALL
cturb_associate
()
74
!
75
! ---------------------------------------------------------------------------
76
!
77
! 1. SETTING THE NUMERICAL VALUES
78
! ----------------------------
79
!
80
! 1.1 Constant for dissipation of Tke
81
!
82
!
83
IF
(
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
97
ENDIF
98
!
99
!
100
! 1.2 Constant for wind pressure-correlations
101
!
102
!XCEP = 4.
103
xcep
= 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
!
111
xa0
= 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
!
119
xa2
= 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
!
127
xa3
= 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
!
135
xctd
= 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
!
143
IF
(
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
150
ENDIF
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
!
158
xa5
= 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
!
166
xcet
= 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
!
176
xalpsbl
= 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
!
184
xrm17
= 0.5
! Rodier et al 2017
185
!
186
!
187
! 2. Derivated constants
188
! -------------------
189
!
190
! 2.1 Constant in fluxes equations
191
!
192
xcmfs
= 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
!
198
xcshf
= 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
!
204
xchf
=
xcshf
!Constant for the humidity flux(RS)
205
!
206
! 2.2 Constant in variances and covariances equations
207
!
208
xctv
= 2./3./
xctp
/
xctd
!Constant for the temperature variance(RS)
209
!
210
! Redelsperger-Sommeria (1981) ......... 0.139
211
! Schmidt-Schumann (1989) ......... 0.202
212
!
213
xchv
=
xctv
!Constant for the humidity variance(RS)
214
!
215
! Redelsperger-Sommeria (1981) ......... 0.139
216
!
217
!
218
xcht1
=
xctv
/2.
!Constants for the temperature-humidity correlation(RS)
219
xcht2
=
xctv
/2.
220
!
221
! 2.3 Constant in Prandtl numbers
222
!
223
xcpr1
=
xctv
!Constants for the turbulent Prandtl and Schmidt numbers
224
xcpr2
=
xcht1
225
xcpr3
=
xcpr2
! used only for the Schmidt number for scalar variables
226
xcpr4
=
xcpr2
227
xcpr5
=
xcpr2
228
!
229
! 3. MINIMUM VALUES
230
! --------------
231
!
232
xlinf
=1.e-10
! to prevent division by zero
233
!
234
!
235
! 4. MAXIMUM VALUES
236
! --------------
237
!
238
xphi_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
245
xcdp
= 1.46
246
! Duynkerke (1988) = 1.46
247
!
248
xcdd
= 1.83
249
! Duynkerke (1988) = 1.83
250
!
251
xcdt
= 0.42
252
! Duynkerke (1988) = 1./(2.38)
253
!
254
!
255
! 6. Constants in RMC01
256
! ------------------
257
!
258
xsbl_o_bl
= 0.05
! SBL height / BL height ratio
259
xftop_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
!
265
IF
(
lbl89exp
)
THEN
266
xbl89exp
=log(16.)/(4.*log(
xkarman
)+log(
xced
)-3.*log(
xcmfs
))
267
ELSE
268
xbl89exp
=(2./3.)
269
END IF
270
!
271
xusrbl89
=1./
xbl89exp
272
!
273
!
274
IF
(lhook)
CALL
dr_hook(
'INI_TURB'
,1,zhook_handle)
275
END SUBROUTINE
ini_turb
276
END MODULE
mode_ini_turb
modd_cst
Definition
modd_cst.F90:7
modd_cst::xkarman
real, pointer xkarman
Definition
modd_cst.F90:141
modd_cturb
Definition
modd_cturb.F90:6
modd_cturb::xcmfs
real, pointer xcmfs
Definition
modd_cturb.F90:83
modd_cturb::xcdp
real, pointer xcdp
Definition
modd_cturb.F90:93
modd_cturb::xalpsbl
real, pointer xalpsbl
Definition
modd_cturb.F90:101
modd_cturb::xftop_o_fsurf
real, pointer xftop_o_fsurf
Definition
modd_cturb.F90:112
modd_cturb::xcet
real, pointer xcet
Definition
modd_cturb.F90:91
modd_cturb::xa3
real, pointer xa3
Definition
modd_cturb.F90:106
modd_cturb::xcpr4
real, pointer xcpr4
Definition
modd_cturb.F90:88
modd_cturb::xcep
real, pointer xcep
Definition
modd_cturb.F90:103
modd_cturb::xcpr3
real, pointer xcpr3
Definition
modd_cturb.F90:87
modd_cturb::xa2
real, pointer xa2
Definition
modd_cturb.F90:105
modd_cturb::xcpr2
real, pointer xcpr2
Definition
modd_cturb.F90:86
modd_cturb::xrm17
real, pointer xrm17
Definition
modd_cturb.F90:97
modd_cturb::xa0
real, pointer xa0
Definition
modd_cturb.F90:104
modd_cturb::xctd
real, pointer xctd
Definition
modd_cturb.F90:108
modd_cturb::cturb_associate
subroutine cturb_associate()
Definition
modd_cturb.F90:116
modd_cturb::xcdd
real, pointer xcdd
Definition
modd_cturb.F90:94
modd_cturb::xa5
real, pointer xa5
Definition
modd_cturb.F90:107
modd_cturb::xcdt
real, pointer xcdt
Definition
modd_cturb.F90:95
modd_cturb::xsbl_o_bl
real, pointer xsbl_o_bl
Definition
modd_cturb.F90:111
modd_cturb::xphi_lim
real, pointer xphi_lim
Definition
modd_cturb.F90:110
modd_cturb::xcpr5
real, pointer xcpr5
Definition
modd_cturb.F90:89
modd_cturb::xlinf
real, pointer xlinf
Definition
modd_cturb.F90:99
modd_neb_n
Definition
modd_nebn.F90:6
modd_neb_n::lstatnw
logical, pointer lstatnw
Definition
modd_nebn.F90:71
modd_parameters
Definition
modd_parameters.F90:7
modd_parameters::xundef
real, parameter xundef
Definition
modd_parameters.F90:61
modd_turb_n
Definition
modd_turbn.F90:7
modd_turb_n::xced
real, pointer xced
Definition
modd_turbn.F90:163
modd_turb_n::cturblen
character(len=4), pointer cturblen
Definition
modd_turbn.F90:173
modd_turb_n::xchv
real, pointer xchv
Definition
modd_turbn.F90:168
modd_turb_n::xcht2
real, pointer xcht2
Definition
modd_turbn.F90:170
modd_turb_n::xctp
real, pointer xctp
Definition
modd_turbn.F90:164
modd_turb_n::xchf
real, pointer xchf
Definition
modd_turbn.F90:166
modd_turb_n::lbl89exp
logical, pointer lbl89exp
Definition
modd_turbn.F90:181
modd_turb_n::xcshf
real, pointer xcshf
Definition
modd_turbn.F90:165
modd_turb_n::xctv
real, pointer xctv
Definition
modd_turbn.F90:167
modd_turb_n::xcpr1
real, pointer xcpr1
Definition
modd_turbn.F90:171
modd_turb_n::xbl89exp
real, pointer xbl89exp
Definition
modd_turbn.F90:210
modd_turb_n::xusrbl89
real, pointer xusrbl89
Definition
modd_turbn.F90:210
modd_turb_n::xcht1
real, pointer xcht1
Definition
modd_turbn.F90:169
mode_ini_turb
Definition
mode_ini_turb.F90:5
mode_ini_turb::ini_turb
subroutine ini_turb(hprogram)
Definition
mode_ini_turb.F90:10
Generated by
1.15.0