Changeset 300 for trunk/LMDZ.MARS/libf/phymars/thermcell_main_mars.F90
- Timestamp:
- Sep 21, 2011, 2:54:49 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/thermcell_main_mars.F90
r290 r300 1139 1139 do l=1,lmax(ig) 1140 1140 if(zlay(ig,l) .le. 0.7*zmax(ig)) then 1141 fm_down(ig,l) =-1. 8*fm(ig,l)1141 fm_down(ig,l) =-1.9*fm(ig,l) 1142 1142 endif 1143 1143 1144 1144 if(zlay(ig,l) .le. 0.06*zmax(ig)) then 1145 1145 ztvd(ig,l)=ztv(ig,l)*max(0.,(1.+(sqrt((zlay(ig,l)/zmax(ig))/0.122449) - 1.)*(ztva(ig,l)/ztv(ig,l) - 1.))) 1146 elseif(zlay(ig,l) .le. 0. 6*zmax(ig)) then1147 ztvd(ig,l)=ztv(ig,l)*max(0.,1.-0. 3*(ztva(ig,l)/ztv(ig,l) - 1.))1146 elseif(zlay(ig,l) .le. 0.4*zmax(ig)) then 1147 ztvd(ig,l)=ztv(ig,l)*max(0.,1.-0.25*(ztva(ig,l)/ztv(ig,l) - 1.)) 1148 1148 elseif(zlay(ig,l) .le. 0.7*zmax(ig)) then 1149 ztvd(ig,l)=ztv(ig,l)*max(0.,(1.+(((zlay(ig,l)/zmax(ig))-0.7)/ 0.333333)*(ztva(ig,l)/ztv(ig,l) - 1.)))1149 ztvd(ig,l)=ztv(ig,l)*max(0.,(1.+(((zlay(ig,l)/zmax(ig))-0.7)/1.)*(ztva(ig,l)/ztv(ig,l) - 1.))) 1150 1150 else 1151 1151 ztvd(ig,l)=ztv(ig,l) … … 1176 1176 if(lmax(ig) .gt. 1) then 1177 1177 ! No downdraft in the very-near surface layer, we begin at k=3 1178 do k= 3,lmax(ig)1178 do k=2,lmax(ig) 1179 1179 zdthladj_down(ig,k)=(1./masse(ig,k))*(fm_down(ig,k+1)*ztv(ig,k+1)- & 1180 1180 & fm_down(ig,k)*ztv(ig,k)+fm_down(ig,k)*ztvd(ig,k)-fm_down(ig,k+1)*ztvd(ig,k+1))
Note: See TracChangeset
for help on using the changeset viewer.