Ignore:
Timestamp:
Sep 9, 2024, 10:58:36 AM (2 months ago)
Author:
abarral
Message:

Merge r5164, r5166, r5167, r5168

Location:
LMDZ6/branches/Amaury_dev
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Amaury_dev

  • LMDZ6/branches/Amaury_dev/libf/phylmd/lmdz_atke_turbulence_ini.F90

    r5117 r5172  
    5050    !!
    5151    !! ** Purpose :   Initialization of the atke module and choice of some constants
    52     !!
     52    !!Default values correspond to the  'best' configuration
     53      !!                from tuning on GABLS1 in Vignon et al. 2024, JAMES
    5354    !!----------------------------------------------------------------------
    5455
     
    7475
    7576    ! flag that controls options in atke_compute_km_kh
    76     iflag_atke = 0
     77    iflag_atke = 1
    7778    CALL getin_p('iflag_atke', iflag_atke)
    7879
    7980    ! flag that controls the calculation of mixing length in atke
    80     iflag_atke_lmix = 0
     81    iflag_atke_lmix = 3
    8182    CALL getin_p('iflag_atke_lmix', iflag_atke_lmix)
    8283
     
    8687    endif
    8788
    88     ! activate vertical diffusion of TKE or not
    89     atke_ok_vdiff = .FALSE.
    90     CALL getin_p('atke_ok_vdiff', atke_ok_vdiff)
     89      ! activate vertical diffusion of TKE or not
     90      atke_ok_vdiff = .TRUE.
     91      CALL getin_p('atke_ok_vdiff', atke_ok_vdiff)
    9192
    9293    ! account for vapor for flottability
     
    102103    ! Sun et al 2011, JAMC
    103104    ! between 10 and 40
    104     l0 = 15.0
     105    l0 = 42.5279652116005
    105106    CALL getin_p('atke_l0', l0)
    106107
    107108    ! critical Richardson number
    108     ric = 0.25
     109    ric = 0.190537327781655
    109110    CALL getin_p('atke_ric', ric)
    110111
    111112    ! constant for tke dissipation calculation
    112     cepsilon = 5.87 ! default value as in yamada4
     113    cepsilon = 8.89273387537601
    113114    CALL getin_p('atke_cepsilon', cepsilon)
    114115
     
    132133
    133134    ! slope of Pr=f(Ri) for stable conditions
    134     pr_slope = 5.0 ! default value from Zilitinkevich et al. 2005
     135    pr_slope = 4.67885738180385
    135136    CALL getin_p('atke_pr_slope', pr_slope)
    136137    IF (pr_slope <= 1) THEN
     
    140141
    141142    ! value of turbulent prandtl number in neutral conditions (Ri=0)
    142     pr_neut = 0.8
     143    pr_neut = 0.837372701768868
    143144    CALL getin_p('atke_pr_neut', pr_neut)
    144145
     
    152153
    153154    ! coefficient for mixing length depending on local stratification
    154     clmix = 0.5
     155    clmix = 0.648055235325291
    155156    CALL getin_p('atke_clmix', clmix)
    156157
     
    161162    ! minimum anisotropy coefficient (defined here as minsqrt(Ez/Ek)) at large Ri.
    162163    ! From Zilitinkevich et al. 2013, it equals sqrt(0.03)~0.17
    163     smmin = 0.17
     164    smmin = 0.0960838631869678
    164165    CALL getin_p('atke_smmin', smmin)
    165166
    166167    ! ratio between the eddy diffusivity coeff for tke wrt that for momentum
    167168    ! default value from Lenderink et al. 2004
    168     cke = 2.
     169    cke = 2.47069655134662
    169170    CALL getin_p('atke_cke', cke)
    170171
Note: See TracChangeset for help on using the changeset viewer.