Changeset 2149
- Timestamp:
- Jul 19, 2019, 11:40:36 AM (5 years ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/README
r2141 r2149 2720 2720 - minor updates: enable output of Ls in diagfi files and make an error 2721 2721 message more verbose. 2722 2723 == 19/07/2019 == GG+EM 2724 - Add F.Lott's non-orographic GW parametrization. Disabled by default for now, 2725 activated by setting calllott_nonoro=.true. in callphys.def -
trunk/LMDZ.MARS/libf/phymars/callkeys.h
r1974 r2149 15 15 & ,calltherm,callrichsl,callslope,tituscap,callyamada4,co2clouds & 16 16 & ,co2useh2o,meteo_flux,CLFvaryingCO2,spantCO2,CLFvarying & 17 & ,satindexco2,rdstorm 17 & ,satindexco2,rdstorm,calllott_nonoro 18 18 19 19 COMMON/callkeys_i/iradia,iaervar,iddist,ilwd,ilwb,ilwn,ncouche & … … 25 25 26 26 LOGICAL callrad,calldifv,calladj,callcond,callsoil, & 27 & season,diurnal,lwrite,calllott 27 & season,diurnal,lwrite,calllott,calllott_nonoro & 28 28 & ,callstats,calleofdump & 29 29 & ,callnirco2,callnlte,callthermos,callconduct, & -
trunk/LMDZ.MARS/libf/phymars/conf_phys.F
r1974 r2149 280 280 write(*,*)" calllott = ",calllott 281 281 282 write(*,*)"call Lott's non-oro GWs parameterisation ", 283 & "scheme ?" 284 calllott_nonoro=.false. ! default value 285 call getin("calllott_nonoro",calllott_nonoro) 286 write(*,*)" calllott_nonoro = ",calllott_nonoro 287 282 288 ! rocket dust storm injection scheme 283 289 write(*,*)"call rocket dust storm and slope lifting", -
trunk/LMDZ.MARS/libf/phymars/physiq_mod.F
r2141 r2149 62 62 use iono_h, only: allocate_param_iono 63 63 use compute_dtau_mod, only: compute_dtau 64 use nonoro_gwd_ran_mod, only: nonoro_gwd_ran 64 65 #ifdef MESOSCALE 65 66 use comsoil_h, only: mlayer,layer … … 414 415 real*8 varerr 415 416 417 C Non-oro GW drag & Calcul of Brunt-Vaisala freq. (BV2) 418 REAL ztetalev(ngrid,nlayer) 419 real zdtetalev(ngrid,nlayer), zdzlev(ngrid,nlayer) 420 REAL bv2(ngrid,nlayer) ! BV2 at zlev 421 c Non-oro GW tendencies 422 REAL d_u_hin(ngrid,nlayer), d_v_hin(ngrid,nlayer) 423 REAL d_t_hin(ngrid,nlayer) 424 c Diagnostics 2D of gw_nonoro 425 REAL zustrhi(ngrid), zvstrhi(ngrid) 426 416 427 c Variables for PBL 417 428 REAL zz1(ngrid) … … 1270 1281 ENDIF ! of IF(calladj) 1271 1282 1283 c----------------------------------------------------- 1284 c 8. Non orographic Gravity waves : 1285 c ------------------------------------------------- 1286 1287 IF (calllott_nonoro) THEN 1288 1289 CALL nonoro_gwd_ran(ngrid,nlayer,ptimestep,zplay, 1290 & zmax_th, ! max altitude reached by thermals (m) 1291 & pt, pu, pv, 1292 & pdt, pdu, pdv, 1293 & zustrhi,zvstrhi, 1294 & d_t_hin, d_u_hin, d_v_hin) 1295 1296 ! Update tendencies 1297 pdt(1:ngrid,1:nlayer)=pdt(1:ngrid,1:nlayer) 1298 & +d_t_hin(1:ngrid,1:nlayer) 1299 ! d_t_hin(:,:)= d_t_hin(:,:)/ptimestep ! K/s (for outputs?) 1300 pdu(1:ngrid,1:nlayer)=pdu(1:ngrid,1:nlayer) 1301 & +d_u_hin(1:ngrid,1:nlayer) 1302 ! d_u_hin(:,:)= d_u_hin(:,:)/ptimestep ! (m/s)/s (for outputs?) 1303 pdv(1:ngrid,1:nlayer)=pdv(1:ngrid,1:nlayer) 1304 & +d_v_hin(1:ngrid,1:nlayer) 1305 ! d_v_hin(:,:)= d_v_hin(:,:)/ptimestep ! (m/s)/s (for outputs?) 1306 1307 ENDIF ! of IF (calllott_nonoro) 1272 1308 1273 1309 c----------------------------------------------------------------------- 1274 c 8. Specific parameterizations for tracers1310 c 9. Specific parameterizations for tracers 1275 1311 c: ----------------------------------------- 1276 1312 1277 1313 if (tracer) then 1278 1314 1279 c 8a. Water and ice1315 c 9a. Water and ice 1280 1316 c --------------- 1281 1317 … … 1357 1393 END IF ! of IF (water) 1358 1394 1359 c 8a bis. CO2 clouds (CL & JA)1395 c 9a bis. CO2 clouds (CL & JA) 1360 1396 c --------------------------------------- 1361 1397 c CO2 ice cloud condensation in the atmosphere … … 1479 1515 END IF ! of IF (co2clouds) 1480 1516 1481 c 8b. Aerosol particles1517 c 9b. Aerosol particles 1482 1518 c ------------------- 1483 1519 c ---------- … … 1571 1607 ENDIF 1572 1608 c 1573 c 8c. Chemical species1609 c 9c. Chemical species 1574 1610 c ------------------ 1575 1611 … … 1632 1668 #endif 1633 1669 1634 c 8d. Updates1670 c 9d. Updates 1635 1671 c --------- 1636 1672 … … 1650 1686 #ifndef MESOSCALE 1651 1687 c----------------------------------------------------------------------- 1652 c 9. THERMOSPHERE CALCULATION1688 c 10. THERMOSPHERE CALCULATION 1653 1689 c----------------------------------------------------------------------- 1654 1690 … … 1675 1711 #endif 1676 1712 c----------------------------------------------------------------------- 1677 c 1 0. Carbon dioxide condensation-sublimation:1713 c 11. Carbon dioxide condensation-sublimation: 1678 1714 c (should be the last atmospherical physical process to be computed) 1679 1715 c ------------------------------------------- … … 1748 1784 1749 1785 c----------------------------------------------------------------------- 1750 c 1 1. Surface and sub-surface soil temperature1786 c 12. Surface and sub-surface soil temperature 1751 1787 c----------------------------------------------------------------------- 1752 1788 c 1753 1789 c 1754 c 1 1.1 Increment Surface temperature:1790 c 12.1 Increment Surface temperature: 1755 1791 c ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1756 1792 … … 1793 1829 1794 1830 c 1795 c 1 1.2 Compute soil temperatures and subsurface heat flux:1831 c 12.2 Compute soil temperatures and subsurface heat flux: 1796 1832 c ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1797 1833 IF (callsoil) THEN … … 1841 1877 1842 1878 c----------------------------------------------------------------------- 1843 c 1 2. Write output files1879 c 13. Write output files 1844 1880 c ---------------------- 1845 1881 … … 2539 2575 call WRITEDIAGFI(ngrid,"v","Meridional wind","m.s-1",3,zv) 2540 2576 call WRITEDIAGFI(ngrid,"w","Vertical wind","m.s-1",3,pw) 2541 call WRITEDIAGFI(ngrid,"rho","density"," none",3,rho)2577 call WRITEDIAGFI(ngrid,"rho","density","kg.m-3",3,rho) 2542 2578 c call WRITEDIAGFI(ngrid,"q2","q2","kg.m-3",3,q2) 2543 2579 c call WRITEDIAGFI(ngrid,'Teta','T potentielle','K',3,zh) … … 2878 2914 end if ! (tracer.and.(dustbin.ne.0)) 2879 2915 2916 c ---------------------------------------------------------- 2917 c GW non-oro outputs 2918 c ---------------------------------------------------------- 2919 2920 if(calllott_nonoro) then 2921 call WRITEDIAGFI(ngrid,"dugwno","GW non-oro dU","m/s2", 2922 $ 3,d_u_hin/ptimestep) 2923 call WRITEDIAGFI(ngrid,"dvgwno","GW non-oro dV","m/s2", 2924 $ 3,d_v_hin/ptimestep) 2925 endif !(calllott_nonoro) 2880 2926 2881 2927 c ---------------------------------------------------------- -
trunk/LMDZ.MARS/libf/phymars/yoegwd.h
r38 r2149 1 C ----------------------------------------------------------------- 2 C* *COMMON* *YOEGWD* - PARAMETERS FOR GRAVITY WAVE DRAG CALCULATIONS 3 C ----------------------------------------------------------------- 4 C 5 real GFRCRIT,GRCRIT,GVCRIT,GKDRAG,GKDRAGL,GHMAX 6 * , GRAHILO,GSIGCR,GSSEC, GTSEC, GVSEC 7 * ,GKWAKE 8 9 integer NKTOPG 10 11 COMMON/YOEGWD/ GFRCRIT,GRCRIT,GVCRIT,GKDRAG,GKDRAGL,GHMAX 12 * , GRAHILO,GSIGCR,NKTOPG,GSSEC, GTSEC, GVSEC 13 * ,GKWAKE 14 C 1 ! ----------------------------------------------------------------- 2 !* *COMMON* *YOEGWD* - PARAMETERS FOR GRAVITY WAVE DRAG CALCULATIONS 3 ! ----------------------------------------------------------------- 4 ! 5 real :: GFRCRIT,GRCRIT,GVCRIT,GKDRAG,GKDRAGL,GHMAX 6 real :: GRAHILO,GSIGCR,GSSEC, GTSEC, GVSEC, GKWAKE 7 integer :: NKTOPG 8 COMMON/YOEGWD/ GFRCRIT,GRCRIT,GVCRIT,GKDRAG,GKDRAGL,GHMAX & 9 & ,GRAHILO,GSIGCR,NKTOPG,GSSEC, GTSEC, GVSEC,GKWAKE 15 10 16 11 12
Note: See TracChangeset
for help on using the changeset viewer.