Ignore:
Timestamp:
Aug 8, 2011, 2:35:47 PM (13 years ago)
Author:
acolaitis
Message:

--- AC 03/08/2011 ---
M 265 libf/phymars/physiq.F
<> Added a PBL section for outputs, with a call to SL outputs via surflayer_interpol and thermals outputs

A 0 libf/phymars/surflayer_interpol.F
<> New subroutine to interpolate horizontal velocity norm and potential temperature in the surface layer.

THIS ROUTINE IS NOT VALIDATED YET. IT IS TURNED OFF BY DEFAULT AND IS HERE FOR DEVELOPMENT PURPOSES ONLY FOR NOW.

M 265 libf/phymars/vdif_cd.F
<> Important modification to the Reynolds formula : due to a confusion of symbols used in the litterature, a wrong simplification of

numerical values had been implicitely done... It is now corrected and yields better results for the mixed layer temperature.

M 265 libf/phymars/vdifc.F
<> Cosmetic modif (added comment for more clarity)


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/vdif_cd.F

    r265 r267  
    5252      INTEGER ig
    5353
    54       REAL karman
     54      REAL karman,nu    ! Von Karman constant and fluid kinematic viscosity
    5555      LOGICAL firstcal
    56       DATA karman/.41/
     56      DATA karman,nu/.41,0.001/
    5757      DATA firstcal/.true./
    58       SAVE karman
     58      SAVE karman,nu
    5959
    6060c    Local(2):
     
    179179      endif
    180180
    181        reynolds(ig)=sqrt(fm(ig))*sqrt(pu(ig,1)**2 + pv(ig,1)**2)*pz0(ig)
    182      &                   /(log(z1z0))
     181       reynolds(ig)=karman*sqrt(fm(ig))*sqrt(pu(ig,1)**2 + pv(ig,1)**2)
     182     &       *pz0(ig)/(log(z1z0)*nu)
    183183       pz0tcomp(ig)=pz0(ig)*exp(-karman*7.3*
    184184     &              (reynolds(ig)**0.25)*(prandtl(ig)**0.5))
Note: See TracChangeset for help on using the changeset viewer.