Ignore:
Timestamp:
Mar 22, 2012, 8:25:03 PM (13 years ago)
Author:
jleconte
Message:
  • New turbulent diffusion scheme solving "most" energy conservation problems:
    • Turbulent energy created by buoyancy effects is now dissipated back into enthalpy
    • the scheme is now written in an enthalpy conservative way
  • Turbulent diffusion now treated in routine turbdiff (in F90).
  • Temporarily, for comparison, the old vdifc can be used

by setting UseTurbDiff?=.false. in physiq.F90

  • The sensible heat flux is now an output
  • Corrected evaporation at the surface when all the surface water is evaporated.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/vdifc.F

    r586 r594  
    44     &     pu,pv,ph,pq,ptsrf,pemis,pqsurf,
    55     &     pdufi,pdvfi,pdhfi,pdqfi,pfluxsrf,
    6      &     pdudif,pdvdif,pdhdif,pdtsrf,pq2,
     6     &     pdudif,pdvdif,pdhdif,pdtsrf,sensibFlux,pq2,
    77     &     pdqdif,pdqsdif,lastcall)
    88
     
    5555      REAL pfluxsrf(ngrid)
    5656      REAL pdudif(ngrid,nlay),pdvdif(ngrid,nlay),pdhdif(ngrid,nlay)
    57       REAL pdtsrf(ngrid),pcapcal(ngrid)
     57      REAL pdtsrf(ngrid),sensibFlux(ngrid),pcapcal(ngrid)
    5858      REAL pq2(ngrid,nlay+1)
    5959     
     
    674674         enddo
    675675      enddo
    676      
     676
     677      DO ig=1,ngrid  ! computing sensible heat flux (atm => surface)
     678         sensibFlux(ig)=cpp*zb(ig,1)/ptimestep*(zh(ig,1)-ztsrf2(ig))
     679      ENDDO     
     680
    677681      if (tracer) then
    678682         do iq = 1, nq
Note: See TracChangeset for help on using the changeset viewer.