Changeset 662


Ignore:
Timestamp:
May 21, 2012, 10:49:27 AM (13 years ago)
Author:
acolaitis
Message:

minor modif to pbl_param. Now that we compute wstar taking into account diffusion, we dont need to recompute it in pbl_param.

File:
1 edited

Legend:

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

    r648 r662  
    2525!     pu(ngrid,nlay)   u component of the wind
    2626!     pv(ngrid,nlay)   v component of the wind
    27 !     wstar_in(ngrid)  free convection velocity in thermals
     27!     wstar_in(ngrid)  free convection velocity in PBL
    2828!     hfmax(ngrid)     maximum vertical turbulent heat flux in thermals
    2929!     zmax(ngrid)      height reached by the thermals (pbl height)
     
    4040!     ustar(ngrid)     friction velocity
    4141!     tstar(ngrid)     friction temperature
    42 !     wstar(ngrid)     free convection velocity
    4342!     L_mo(ngrid)      monin_obukhov length
    4443!
     
    7069      REAL Teta_out(ngrid,n_out)
    7170      REAL, INTENT(OUT) :: ustar(ngrid), tstar(ngrid)
    72       REAL wstar(ngrid)
    7371      REAL, INTENT(OUT) :: L_mo(ngrid)
    7472
     
    434432      ENDDO
    435433
    436 ! Recompute wstar
    437 ! We follow Spiga et. al 2010 (QJRMS)
    438 ! ------------
    439 
    440       DO ig=1, ngrid
    441          IF (zmax(ig) .gt. 0.) THEN
    442             wstar(ig)=(pg*zmax(ig)*hfmax(ig)/pbl_teta(ig))**(1./3.)
    443          ELSE
    444             wstar(ig)=0.
    445          ENDIF
    446       ENDDO
    447 
    448434!------------------------------------------------------------------------
    449435!------------------------------------------------------------------------
     
    482468
    483469      vhf(:) = dvhf(:)*hfmax(:)
    484       vvv(:) = dvvv(:)*(wstar(:))**2
     470      vvv(:) = dvvv(:)*(wstar_in(:))**2
    485471
    486472      ENDIF ! of if calltherm
Note: See TracChangeset for help on using the changeset viewer.