Ignore:
Timestamp:
May 18, 2014, 3:18:19 PM (10 years ago)
Author:
fhourdin
Message:

Nouvelles options des thermiques en route vers les stratocumulus

+ sorties de la discretisation verticale dans le vieux disvert_old

New options in thermals for stratocumulus

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/1DUTILS.h

    r2019 r2046  
    822822      INTEGER np,ierr
    823823      REAL pi,x
     824      REAL :: scaleheight=8.
    824825 
    825826!-----------------------------------------------------------------------
     
    924925      PRINT *,  ap
    925926 
    926       DO l = 1, llm
    927        dpres(l) = bp(l) - bp(l+1)
    928        presnivs(l) = 0.5 *( ap(l)+bp(l)*preff + ap(l+1)+bp(l+1)*preff )
    929       ENDDO
     927   print*,'scaleheight=',scaleheight
     928  DO l = 1, llm
     929     dpres(l) = bp(l) - bp(l+1)
     930     presnivs(l) = 0.5 *( ap(l)+bp(l)*preff + ap(l+1)+bp(l+1)*preff )
     931     write(*, *)'PRESNIVS(', l, ')=', presnivs(l), ' Z ~ ', &
     932          log(preff/presnivs(l))*scaleheight &
     933          , ' DZ ~ ', scaleheight*log((ap(l)+bp(l)*preff)/ &
     934          max(ap(l+1)+bp(l+1)*preff, 1.e-10))
     935  ENDDO
     936
    930937 
    931938      PRINT *,' PRESNIVS '
Note: See TracChangeset for help on using the changeset viewer.