Changeset 2127 for trunk/LMDZ.GENERIC/libf/phystd/thermcell_mod.F90
- Timestamp:
- Apr 29, 2019, 10:07:47 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/thermcell_mod.F90
r2092 r2127 6 6 ! Flags for computations 7 7 ! default 8 INTEGER,PARAMETER :: iflag_thermals_optflux = 1 ! 0 ! 9 INTEGER,PARAMETER :: iflag_thermals_closure = 2 ! 2 ! 10 INTEGER,PARAMETER :: iflag_thermals = 18 ! 18 ! 11 12 ! Flags for (terrestrial) diagnoses 13 14 LOGICAL,PARAMETER :: sorties = .false. ! false 15 INTEGER,PARAMETER :: iflag_trig_bl = 1 ! 1 16 INTEGER,PARAMETER :: iflag_clos_bl = 1 ! 1 17 INTEGER,PARAMETER :: iflag_coupl = 5 ! 5 8 INTEGER,PARAMETER :: iflag_thermals_optflux = 1 ! 0 - 9 INTEGER,PARAMETER :: dqimpl = 1 ! 1 flag for thermcell_dq version (1 : implicit scheme || 0 : explicit scheme) 18 10 19 11 ! Physical parameters 20 12 21 REAL,PARAMETER :: fact_thermals_ed_dz = 0.007 ! 0.007 !22 13 REAL,PARAMETER :: r_aspect_thermals = 1.0 ! Aspect ratio of the thermals (width / height) 23 14 REAL,PARAMETER :: tau_thermals = 0. ! 0. Relaxation time 24 REAL,PARAMETER :: betalpha = 0.9 ! 0.9 ! 25 REAL,PARAMETER :: afact = 2./3. ! 2./3. ! 26 REAL,PARAMETER :: fact_epsilon = 0.000 ! 0.002 ! 27 REAL,PARAMETER :: detr_q_power = 0.5 ! 0.5 ! 28 REAL,PARAMETER :: detr_q_coef = 0.012 ! 0.012 ! 29 REAL,PARAMETER :: mix0 = 0. ! 0. ! 30 REAL,PARAMETER :: detr_min = 1.d-5 ! 1.e-5 Minimal detrainment value 31 REAL,PARAMETER :: entr_min = 1.d-5 ! 1.e-5 Maximal detrainment value 32 REAL,PARAMETER :: alphamax = 0.7 ! Maximal permitted updraft fraction 33 REAL,PARAMETER :: fomass_max = 0.5 ! Maximal permitted outgoing layer mass fraction 34 REAL,PARAMETER :: pres_limit = 1.e5 ! 1.e5 ! 15 REAL,PARAMETER :: betalpha = 1.0 ! 0.9 - between 0 (e=d) and 1 (rho*fraca=cst) 16 REAL,PARAMETER :: afact = 1. ! 2./3. - buoyancy contribution, between 0 and 1 17 REAL,PARAMETER :: fact_epsilon = 1.e-4 ! 2.e-3 - friction 18 REAL,PARAMETER :: nu = 0.000 ! Geometrical contributions to entrainment and detrainment 19 REAL,PARAMETER :: alphamax = 0.7 ! 0.7 Maximal permitted updraft fraction 20 REAL,PARAMETER :: fomass_max = 0.5 ! 0.5 Maximal permitted outgoing layer mass fraction 21 REAL,PARAMETER :: pres_limit = 2.e5 ! 1.e5 - 35 22 36 23 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 43 30 ! ngrid. 44 31 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 45 INTEGER,PARAMETER :: linf = 2! 132 INTEGER,PARAMETER :: linf = 1 ! 1 46 33 47 34 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ … … 50 37 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 51 38 REAL,PARAMETER :: d_temp = 0. ! 0. 52 53 ! Parameters for diagnoses54 55 REAL,PARAMETER :: alp_bl_k = 0.5 ! 0.556 39 57 40 ! Physical constants … … 64 47 65 48 !$OMP THREADPRIVATE(RTT, RG, RKAPPA, RPI, RD) 66 67 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~68 ! AB : Parameters needed only for a loop in thermcell_alp (diagnoses).69 ! Maybe to be removed.70 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~71 INTEGER,PARAMETER :: nbsrf = 172 49 73 50
Note: See TracChangeset
for help on using the changeset viewer.