Changeset 319 for trunk/LMDZ.MARS/libf
- Timestamp:
- Oct 14, 2011, 11:59:58 AM (13 years ago)
- Location:
- trunk/LMDZ.MARS/libf/phymars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/calltherm_interface.F90
r284 r319 8 8 & pdu_th,pdv_th,pdt_th,pdq_th,lmax_th,zmax_th,pbl_dtke,hfmax,wmax) 9 9 10 USE ioipsl_getincom10 !USE ioipsl_getincom 11 11 12 12 implicit none … … 107 107 108 108 pq_therm(:,:,:)=0. 109 qtransport_thermals=.true. 110 call getin("qtransport_thermals",qtransport_thermals)109 qtransport_thermals=.true. !! default setting 110 !call getin("qtransport_thermals",qtransport_thermals) 111 111 if(qtransport_thermals) then 112 112 if(tracer) then … … 124 124 buoyancyEst(:,:)=0. 125 125 126 dtke_thermals=.false. 127 call getin("dtke_thermals",dtke_thermals)126 dtke_thermals=.false. !! default setting 127 !call getin("dtke_thermals",dtke_thermals) 128 128 if(dtke_thermals) then 129 129 -
trunk/LMDZ.MARS/libf/phymars/physiq.F
r308 r319 327 327 REAL zcdv(ngridmx), zcdh(ngridmx) 328 328 REAL Teta_out(ngridmx),u_out(ngridmx) ! Interpolated teta and u at z_out 329 REAL z_out ! height of interpolation between z0 and z1 329 REAL z_out ! height of interpolation between z0 and z1 [meters] 330 330 REAL ustar(ngridmx),tstar(ngridmx) ! friction velocity and friction potential temp 331 REAL L_mo(ngridmx) 331 332 REAL zu2(ngridmx) 332 333 c======================================================================= … … 1658 1659 1659 1660 1660 z_out= 0.1661 z_out=1. !0. 1661 1662 if (calltherm .and. (z_out .gt. 0.)) then 1662 1663 call surflayer_interpol(ngrid,nlayer,z0,g,zzlay,zu,zv,wmax_th 1663 & ,tsurf,zh,z_out,Teta_out,u_out,ustar,tstar )1664 & ,tsurf,zh,z_out,Teta_out,u_out,ustar,tstar,L_mo) 1664 1665 1665 1666 zu2(:)=sqrt(zu(:,1)*zu(:,1)+zv(:,1)*zv(:,1)) … … 1680 1681 & 'friction potential temperature','K', 1681 1682 & 2,tstar) 1683 call WRITEDIAGFI(ngrid,'L', 1684 & 'Monin Obukhov length','m', 1685 & 2,L_mo) 1682 1686 else 1683 1687 if((.not. calltherm).and.(z_out .gt. 0.)) then -
trunk/LMDZ.MARS/libf/phymars/surflayer_interpol.F
r292 r319 1 1 SUBROUTINE surflayer_interpol(ngrid,nlay,pz0, 2 & pg,pz,pu,pv,wmax,pts,ph,z_out,Teta_out,u_out,ustar,tstar )2 & pg,pz,pu,pv,wmax,pts,ph,z_out,Teta_out,u_out,ustar,tstar,L_mo) 3 3 IMPLICIT NONE 4 4 !======================================================================= … … 45 45 REAL, INTENT(OUT) :: Teta_out(ngrid),u_out(ngrid)! interpolated fields at z_out : potential temperature and norm(uv) 46 46 REAL, INTENT(OUT) :: ustar(ngrid), tstar(ngrid) ! u* and teta* 47 REAL, INTENT(OUT) :: L_mo(ngrid) ! Monin-Obukhov length 47 48 48 49 ! Local: … … 81 82 82 83 REAL zu2(ngrid) ! Large-scale wind at first layer 83 REAL L_mo(ngrid) ! Monin-Obukhov length84 84 !----------------------------------------------------------------------- 85 85 ! couche de surface: … … 331 331 ! Usefull diagnostics for the interpolation routine : 332 332 333 ! call WRITEDIAGFI(ngrid,'L',334 ! & 'Monin Obukhov length','m',335 ! & 2,L_mo)336 333 ! call WRITEDIAGFI(ngrid,'z0T', 337 334 ! & 'thermal roughness length','m',
Note: See TracChangeset
for help on using the changeset viewer.