Changeset 5172 for LMDZ6/branches
- Timestamp:
- Sep 9, 2024, 10:58:36 AM (2 months ago)
- Location:
- LMDZ6/branches/Amaury_dev
- Files:
-
- 2 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev
- Property svn:mergeinfo changed
/LMDZ6/trunk merged: 5164
- Property svn:mergeinfo changed
-
LMDZ6/branches/Amaury_dev/libf/phylmd/lmdz_atke_turbulence_ini.F90
r5117 r5172 50 50 !! 51 51 !! ** 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 53 54 !!---------------------------------------------------------------------- 54 55 … … 74 75 75 76 ! flag that controls options in atke_compute_km_kh 76 iflag_atke = 077 iflag_atke = 1 77 78 CALL getin_p('iflag_atke', iflag_atke) 78 79 79 80 ! flag that controls the calculation of mixing length in atke 80 iflag_atke_lmix = 081 iflag_atke_lmix = 3 81 82 CALL getin_p('iflag_atke_lmix', iflag_atke_lmix) 82 83 … … 86 87 endif 87 88 88 ! activate vertical diffusion of TKE or not89 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) 91 92 92 93 ! account for vapor for flottability … … 102 103 ! Sun et al 2011, JAMC 103 104 ! between 10 and 40 104 l0 = 15.0105 l0 = 42.5279652116005 105 106 CALL getin_p('atke_l0', l0) 106 107 107 108 ! critical Richardson number 108 ric = 0. 25109 ric = 0.190537327781655 109 110 CALL getin_p('atke_ric', ric) 110 111 111 112 ! constant for tke dissipation calculation 112 cepsilon = 5.87 ! default value as in yamada4113 cepsilon = 8.89273387537601 113 114 CALL getin_p('atke_cepsilon', cepsilon) 114 115 … … 132 133 133 134 ! slope of Pr=f(Ri) for stable conditions 134 pr_slope = 5.0 ! default value from Zilitinkevich et al. 2005135 pr_slope = 4.67885738180385 135 136 CALL getin_p('atke_pr_slope', pr_slope) 136 137 IF (pr_slope <= 1) THEN … … 140 141 141 142 ! value of turbulent prandtl number in neutral conditions (Ri=0) 142 pr_neut = 0.8 143 pr_neut = 0.837372701768868 143 144 CALL getin_p('atke_pr_neut', pr_neut) 144 145 … … 152 153 153 154 ! coefficient for mixing length depending on local stratification 154 clmix = 0. 5155 clmix = 0.648055235325291 155 156 CALL getin_p('atke_clmix', clmix) 156 157 … … 161 162 ! minimum anisotropy coefficient (defined here as minsqrt(Ez/Ek)) at large Ri. 162 163 ! From Zilitinkevich et al. 2013, it equals sqrt(0.03)~0.17 163 smmin = 0. 17164 smmin = 0.0960838631869678 164 165 CALL getin_p('atke_smmin', smmin) 165 166 166 167 ! ratio between the eddy diffusivity coeff for tke wrt that for momentum 167 168 ! default value from Lenderink et al. 2004 168 cke = 2. 169 cke = 2.47069655134662 169 170 CALL getin_p('atke_cke', cke) 170 171 -
LMDZ6/branches/Amaury_dev/libf/phylmd/physiq_mod.F90
r5160 r5172 1734 1734 IF (.NOT. create_etat0_limit) CALL init_readaerosolstrato(flag_aerosol_strat) !! initialise aero strato from file for XIOS interpolation (unstructured_grid) 1735 1735 1736 ! A.I : Initialisations pour le 1er passage a Cosp 1736 1737 IF (ok_cosp) THEN 1738 1737 1739 IF (CPPKEY_COSP) THEN 1738 ! A.I : Initialisations pour le 1er passage a Cosp1739 1740 CALL ini_COSP(ref_liq_cosp0, ref_ice_cosp0, pctsrf_cosp0, zu10m_cosp0, zv10m_cosp0, & 1740 1741 zxtsol_cosp0, zx_rh_cosp0, cldfra_cosp0, rnebcon_cosp0, flwc_cosp0, & … … 1754 1755 pmflxr_cosp0(:, 1:klev), pmflxs_cosp0(:, 1:klev), & 1755 1756 mr_ozone_cosp0, cldtau_cosp0, cldemi_cosp0) 1756 END IF1757 1758 IF (CPPKEY_COSP2) THEN1759 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)1776 1757 END IF 1777 1758 -
LMDZ6/branches/Amaury_dev/libf/phylmdiso/physiq_mod.F90
r5160 r5172 1920 1920 IF (.NOT. create_etat0_limit) CALL init_readaerosolstrato(flag_aerosol_strat) !! initialise aero strato from file for XIOS interpolation (unstructured_grid) 1921 1921 1922 ! A.I : Initialisations pour le 1er passage a Cosp 1922 1923 IF (ok_cosp) THEN 1924 1923 1925 IF (CPPKEY_COSP) THEN 1924 ! A.I : Initialisations pour le 1er passage a Cosp1925 1926 CALL ini_COSP(ref_liq_cosp0,ref_ice_cosp0,pctsrf_cosp0,zu10m_cosp0,zv10m_cosp0, & 1926 1927 zxtsol_cosp0,zx_rh_cosp0,cldfra_cosp0,rnebcon_cosp0,flwc_cosp0, & … … 1940 1941 pmflxr_cosp0(:,1:klev),pmflxs_cosp0(:,1:klev), & 1941 1942 mr_ozone_cosp0,cldtau_cosp0, cldemi_cosp0) 1942 END IF1943 1944 IF (CPPKEY_COSP2) THEN1945 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)1962 1943 END IF 1963 1944
Note: See TracChangeset
for help on using the changeset viewer.