Ignore:
Timestamp:
Sep 21, 2011, 2:54:49 PM (13 years ago)
Author:
acolaitis
Message:

Revision on several settings for the thermals model. This version relies on fits done for an article to be published, and is more precise. See README for more infos.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/thermcell_main_mars.F90

    r290 r300  
    11391139         do l=1,lmax(ig)
    11401140              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)
    11421142              endif
    11431143
    11441144             if(zlay(ig,l) .le. 0.06*zmax(ig)) then
    11451145          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)) then
    1147           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.))
    11481148             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.)))
    11501150             else
    11511151          ztvd(ig,l)=ztv(ig,l)
     
    11761176         if(lmax(ig) .gt. 1) then
    11771177! 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)
    11791179            zdthladj_down(ig,k)=(1./masse(ig,k))*(fm_down(ig,k+1)*ztv(ig,k+1)- &
    11801180     & 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.