Changeset 5172 for LMDZ6/branches


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 deleted
4 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
  • LMDZ6/branches/Amaury_dev/libf/phylmd/physiq_mod.F90

    r5160 r5172  
    17341734      IF (.NOT. create_etat0_limit) CALL init_readaerosolstrato(flag_aerosol_strat)  !! initialise aero strato from file for XIOS interpolation (unstructured_grid)
    17351735
     1736      ! A.I : Initialisations pour le 1er passage a Cosp
    17361737      IF (ok_cosp) THEN
     1738
    17371739        IF (CPPKEY_COSP) THEN
    1738           ! A.I : Initialisations pour le 1er passage a Cosp
    17391740          CALL ini_COSP(ref_liq_cosp0, ref_ice_cosp0, pctsrf_cosp0, zu10m_cosp0, zv10m_cosp0, &
    17401741                  zxtsol_cosp0, zx_rh_cosp0, cldfra_cosp0, rnebcon_cosp0, flwc_cosp0, &
     
    17541755                  pmflxr_cosp0(:, 1:klev), pmflxs_cosp0(:, 1:klev), &
    17551756                  mr_ozone_cosp0, cldtau_cosp0, cldemi_cosp0)
    1756         END IF
    1757 
    1758         IF (CPPKEY_COSP2) THEN
    1759           CALL ini_COSP(ref_liq_cosp0, ref_ice_cosp0, pctsrf_cosp0, zu10m_cosp0, zv10m_cosp0, &
    1760                   zxtsol_cosp0, zx_rh_cosp0, cldfra_cosp0, rnebcon_cosp0, flwc_cosp0, &
    1761                   fiwc_cosp0, prfl_cosp0, psfl_cosp0, pmflxr_cosp0, pmflxs_cosp0, &
    1762                   mr_ozone_cosp0, cldtau_cosp0, cldemi_cosp0, JrNt_cosp0)
    1763 
    1764           CALL phys_cosp2(itap, phys_tstep, freq_cosp, &
    1765                   ok_mensuelCOSP, ok_journeCOSP, ok_hfCOSP, &
    1766                   ecrit_mth, ecrit_day, ecrit_hf, ok_all_xml, missing_val, &
    1767                   klon, klev, longitude_deg, latitude_deg, presnivs, overlap, &
    1768                   JrNt, ref_liq, ref_ice, &
    1769                   pctsrf(:, is_ter) + pctsrf(:, is_lic), &
    1770                   zu10m, zv10m, pphis, &
    1771                   zphi, paprs(:, 1:klev), pplay, zxtsol, t_seri, &
    1772                   qx(:, :, ivap), zx_rh, cldfra, rnebcon, flwc, fiwc, &
    1773                   prfl(:, 1:klev), psfl(:, 1:klev), &
    1774                   pmflxr(:, 1:klev), pmflxs(:, 1:klev), &
    1775                   mr_ozone, cldtau, cldemi)
    17761757        END IF
    17771758
  • LMDZ6/branches/Amaury_dev/libf/phylmdiso/physiq_mod.F90

    r5160 r5172  
    19201920      IF (.NOT. create_etat0_limit) CALL init_readaerosolstrato(flag_aerosol_strat)  !! initialise aero strato from file for XIOS interpolation (unstructured_grid)
    19211921
     1922      ! A.I : Initialisations pour le 1er passage a Cosp
    19221923      IF (ok_cosp) THEN
     1924
    19231925IF (CPPKEY_COSP) THEN
    1924         ! A.I : Initialisations pour le 1er passage a Cosp
    19251926        CALL ini_COSP(ref_liq_cosp0,ref_ice_cosp0,pctsrf_cosp0,zu10m_cosp0,zv10m_cosp0, &
    19261927               zxtsol_cosp0,zx_rh_cosp0,cldfra_cosp0,rnebcon_cosp0,flwc_cosp0, &
     
    19401941               pmflxr_cosp0(:,1:klev),pmflxs_cosp0(:,1:klev), &
    19411942               mr_ozone_cosp0,cldtau_cosp0, cldemi_cosp0)
    1942 END IF
    1943 
    1944 IF (CPPKEY_COSP2) THEN
    1945         CALL ini_COSP(ref_liq_cosp0,ref_ice_cosp0,pctsrf_cosp0,zu10m_cosp0,zv10m_cosp0, &
    1946                zxtsol_cosp0,zx_rh_cosp0,cldfra_cosp0,rnebcon_cosp0,flwc_cosp0, &
    1947                fiwc_cosp0,prfl_cosp0,psfl_cosp0,pmflxr_cosp0,pmflxs_cosp0, &
    1948                mr_ozone_cosp0,cldtau_cosp0,cldemi_cosp0,JrNt_cosp0)
    1949      
    1950         CALL phys_cosp2(itap,phys_tstep,freq_cosp, &
    1951                ok_mensuelCOSP,ok_journeCOSP,ok_hfCOSP, &
    1952                ecrit_mth,ecrit_day,ecrit_hf, ok_all_xml, missing_val, &
    1953                klon,klev,longitude_deg,latitude_deg,presnivs,overlap, &
    1954                JrNt,ref_liq,ref_ice, &
    1955                pctsrf(:,is_ter)+pctsrf(:,is_lic), &
    1956                zu10m,zv10m,pphis, &
    1957                zphi,paprs(:,1:klev),pplay,zxtsol,t_seri, &
    1958                qx(:,:,ivap),zx_rh,cldfra,rnebcon,flwc,fiwc, &
    1959                prfl(:,1:klev),psfl(:,1:klev), &
    1960                pmflxr(:,1:klev),pmflxs(:,1:klev), &
    1961                mr_ozone,cldtau, cldemi)
    19621943END IF
    19631944
Note: See TracChangeset for help on using the changeset viewer.