Changeset 2357
- Timestamp:
- Aug 31, 2015, 6:25:19 PM (9 years ago)
- Location:
- LMDZ5/trunk/libf/phylmd
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/YOEGWD.h
r2072 r2357 20 20 ! S_c in equation (12) of Lott (JGR, vol 118, page 8897, 2013) 21 21 22 REAL GWD_FRONT_RUWMAX,GWD_FRONT_SAT 23 ! Same as GWD_RANDO params but for fronal GWs 24 22 25 23 26 COMMON/YOEGWD/ GFRCRIT,GKWAKE,GRCRIT,GVCRIT,GKDRAG,GKLIFT, & 24 27 & GHMAX,GRAHILO,GSIGCR,NKTOPG,NSTRA,GSSEC,GTSEC,GVSEC, & 25 & GWD_RANDO_RUWMAX, gwd_rando_sat 28 & GWD_RANDO_RUWMAX, gwd_rando_sat, & 29 & GWD_FRONT_RUWMAX, gwd_front_sat 26 30 27 31 save /YOEGWD/ -
LMDZ5/trunk/libf/phylmd/acama_gwd_rando_m.F90
r2333 r2357 132 132 ! CMAX = 30. ! Characteristic phase speed 133 133 ! Values when rot^2*EXP(-pi*sqrt(J)) is used 134 RUWFRT=2.0 ! As RUWMAX but for frontal waves ~ N0*F0/4*DZ 135 SATFRT=0.60 ! As SAT but for frontal waves 134 ! RUWFRT=2.5 ! As RUWMAX but for frontal waves ~ N0*F0/4*DZ 135 ! SATFRT=0.60 ! As SAT but for frontal waves 136 RUWFRT=gwd_front_ruwmax 137 SATFRT=gwd_front_sat 136 138 CMAX = 40. ! Characteristic phase speed 137 139 ! Phase speed test -
LMDZ5/trunk/libf/phylmd/conf_phys_m.F90
r2344 r2357 204 204 LOGICAL,SAVE :: ok_strato_omp 205 205 LOGICAL,SAVE :: ok_hines_omp, ok_gwd_rando_omp 206 real, SAVE:: GWD_RANDO_RUWMAX_omp, gwd_rando_sat_omp 206 real, SAVE:: gwd_rando_ruwmax_omp, gwd_rando_sat_omp 207 real, SAVE:: gwd_front_ruwmax_omp, gwd_front_sat_omp 208 real, save:: sso_gkdrag_omp,sso_grahil_omp,sso_grcrit_omp 209 real, save:: sso_gfrcri_omp,sso_gkwake_omp,sso_gklift_omp 207 210 LOGICAL,SAVE :: ok_qch4_omp 208 211 LOGICAL,SAVE :: carbon_cycle_tr_omp … … 218 221 !----------------------------------------------------------------- 219 222 220 223 print*,'CONFPHYS ENTREE' 221 224 !$OMP MASTER 222 225 !Config Key = type_ocean … … 913 916 NSW_omp = 6 914 917 call getin('NSW',NSW_omp) 915 !albedo SB >>>918 !albedo SB >>> 916 919 iflag_albedo_omp = 0 917 920 call getin('iflag_albedo',iflag_albedo_omp) … … 919 922 ok_chlorophyll_omp=.false. 920 923 call getin('ok_chlorophyll',ok_chlorophyll_omp) 921 !albedo SB <<<924 !albedo SB <<< 922 925 923 926 ! … … 928 931 ! 929 932 iflag_cld_th_omp = 1 930 ! On lit deux fois avec l'ancien et le nouveau nom931 ! pour assurer une retrocompatiblite.932 ! A abandonner un jour933 ! On lit deux fois avec l'ancien et le nouveau nom 934 ! pour assurer une retrocompatiblite. 935 ! A abandonner un jour 933 936 call getin('iflag_cldcon',iflag_cld_th_omp) 934 937 call getin('iflag_cld_th',iflag_cld_th_omp) … … 1678 1681 ! 1679 1682 1680 ! Gustiness flags1683 ! Gustiness flags 1681 1684 f_z0qh_oce_omp = 1. 1682 1685 call getin('f_z0qh_oce',f_z0qh_oce_omp) … … 1811 1814 !Config Def = .FALSE. 1812 1815 !Config Help = active la version stratosph\'erique de LMDZ de F. Lott 1816 ! Et la sponge layer (Runs Stratospheriques) 1813 1817 1814 1818 ok_strato_omp=.FALSE. … … 1819 1823 !Config Def = .FALSE. 1820 1824 !Config Help = Clefs controlant la parametrization de Hines 1821 ! Et la sponge layer (Runs Stratospheriques)1822 1825 1823 1826 ok_hines_omp=.FALSE. 1824 1827 CALL getin('ok_hines',ok_hines_omp) 1828 1829 ! Parametres pour les ondes de gravite 1830 ! 1831 ! Subgrid Scale Orography (Lott Miller (1997), Lott (1999)) 1832 1833 sso_gkdrag_omp = merge(0.1875, 0.2, ok_strato_omp) 1834 CALL getin('sso_gkdrag', sso_gkdrag_omp) 1835 1836 sso_grahil_omp=merge(0.1,1.,ok_strato_omp) 1837 CALL getin('sso_grahil', sso_grahil_omp) 1838 1839 sso_grcrit_omp =merge(1.,0.01,ok_strato_omp) 1840 CALL getin('sso_grcrit', sso_grcrit_omp) 1841 1842 sso_gfrcri_omp = 1. 1843 CALL getin('sso_gfrcri', sso_gfrcri_omp) 1844 1845 sso_gkwake_omp = 0.50 1846 CALL getin('sso_gkwake', sso_gkwake_omp) 1847 1848 sso_gklift_omp = merge(0.25,0.50,ok_strato_omp) 1849 CALL getin('sso_gklift', sso_gklift_omp) 1825 1850 1826 1851 ! Random gravity waves: … … 1834 1859 ENDIF 1835 1860 1836 GWD_RANDO_RUWMAX_omp = 0.011837 CALL getin('gwd_rando_ruwmax', GWD_RANDO_RUWMAX_omp)1861 gwd_rando_ruwmax_omp = 2.00 1862 CALL getin('gwd_rando_ruwmax', gwd_rando_ruwmax_omp) 1838 1863 1839 1864 gwd_rando_sat_omp = 0.25 1840 1865 CALL getin('gwd_rando_sat', gwd_rando_sat_omp) 1866 1867 gwd_front_ruwmax_omp = 2.50 1868 CALL getin('gwd_front_ruwmax', gwd_front_ruwmax_omp) 1869 1870 gwd_front_sat_omp = 0.60 1871 CALL getin('gwd_front_sat', gwd_front_sat_omp) 1872 1841 1873 1842 1874 !Config key = ok_qch4 … … 2098 2130 tmax_fonte_cv = tmax_fonte_cv_omp 2099 2131 alphas = alphas_omp 2132 2133 gkdrag=sso_gkdrag_omp 2134 grahilo=sso_grahil_omp 2135 grcrit=sso_grcrit_omp 2136 gfrcrit=sso_gfrcri_omp 2137 gkwake=sso_gkwake_omp 2138 gklift=sso_gklift_omp 2139 2100 2140 ok_strato = ok_strato_omp 2101 2141 ok_hines = ok_hines_omp 2102 2142 ok_gwd_rando = ok_gwd_rando_omp 2103 GWD_RANDO_RUWMAX = GWD_RANDO_RUWMAX_omp2143 gwd_rando_ruwmax = gwd_rando_ruwmax_omp 2104 2144 gwd_rando_sat = gwd_rando_sat_omp 2145 gwd_front_ruwmax = gwd_front_ruwmax_omp 2146 gwd_front_sat = gwd_front_sat_omp 2105 2147 ok_qch4 = ok_qch4_omp 2106 2148 ok_LES = ok_LES_omp … … 2119 2161 version_ocean='sicOBS' 2120 2162 ELSE IF (type_ocean=='slab' .AND. version_ocean/='sicOBS' & 2121 2163 .AND. version_ocean/='sicINT' .AND. version_ocean/='sicNO') THEN 2122 2164 WRITE(lunout,*)' ERROR version_ocean=',version_ocean,' not valid with slab ocean' 2123 2165 CALL abort_physic('conf_phys','version_ocean not valid',1) … … 2308 2350 write(lunout,*) 'ok_gwd_rando = ', ok_gwd_rando 2309 2351 write(lunout,*) 'ok_qch4 = ', ok_qch4 2310 write(lunout,*) ' GWD_RANDO_RUWMAX = ', GWD_RANDO_RUWMAX2352 write(lunout,*) 'gwd_rando_ruwmax = ', gwd_rando_ruwmax 2311 2353 write(lunout,*) 'gwd_rando_sat = ', gwd_rando_sat 2354 write(lunout,*) 'gwd_front_ruwmax = ', gwd_front_ruwmax 2355 write(lunout,*) 'gwd_front_sat = ', gwd_front_sat 2356 write(lunout,*) 'SSO gkdrag =',gkdrag 2357 write(lunout,*) 'SSO grahilo=',grahilo 2358 write(lunout,*) 'SSO grcrit=',grcrit 2359 write(lunout,*) 'SSO gfrcrit=',gfrcrit 2360 write(lunout,*) 'SSO gkwake=',gkwake 2361 write(lunout,*) 'SSO gklift=',gklift 2312 2362 write(lunout,*) 'read_climoz = ', read_climoz 2313 2363 write(lunout,*) 'carbon_cycle_tr = ', carbon_cycle_tr -
LMDZ5/trunk/libf/phylmd/orografi.F90
r2346 r2357 1656 1656 gsigcr = 0.80 1657 1657 1658 gkdrag = 0.2 1659 grahilo = 1. 1660 grcrit = 0.01 1661 gfrcrit = 1.0 1662 gkwake = 0.501663 1664 1658 ! Values now specified in run.def, or conf_phys_m.F90 1659 ! gkdrag = 0.2 1660 ! grahilo = 1. 1661 ! grcrit = 0.01 1662 ! gfrcrit = 1.0 1663 ! gkwake = 0.50 1664 ! gklift = 0.50 1665 1665 gvcrit = 0.0 1666 1666 -
LMDZ5/trunk/libf/phylmd/orografi_strato.F90
r2346 r2357 1861 1861 if (nstra == 0) call abort_physic("sugwd_strato", "no level in stratosphere", 1) 1862 1862 1863 gsigcr = 0.80 1864 1865 gkdrag = 0.18751866 grahilo = 0.11867 grcrit = 1.001868 gfrcrit = 1.001869 gkwake = 0.501870 1871 g klift = 0.251863 ! Valeurs lues dans les .def, ou attribues dans conf_phys 1864 !gkdrag = 0.2 1865 !grahilo = 0.1 1866 !grcrit = 1.00 1867 !gfrcrit = 0.70 1868 !gkwake = 0.40 1869 !gklift = 0.25 1870 1871 gsigcr = 0.80 ! Top of low level flow 1872 1872 gvcrit = 0.1 1873 1873 -
LMDZ5/trunk/libf/phylmd/physiq.F90
r2351 r2357 3892 3892 CALL add_phys_tend(du_gwd_front, dv_gwd_front, dt0, dq0, dql0, dqi0, & 3893 3893 paprs, 'front_gwd_rando', abortphy) 3894 3895 ! LIGNE TEMPORAIRE POUR TESTER ROT (ECRITE AUSSI AU DESSOUS!!!):3896 east_gwstress=rot3897 3894 ENDIF 3898 3895 … … 3911 3908 * (paprs(:, k)-paprs(:, k+1))/rg 3912 3909 ENDDO 3913 3914 ! LIGNE TEMPORAIRE POUR TESTER ROT (ECRITE AUSSI AU DESSUS!!!):3915 east_gwstress=rot3916 3910 end if 3917 3911
Note: See TracChangeset
for help on using the changeset viewer.