Changeset 939 for LMDZ4/trunk


Ignore:
Timestamp:
Apr 3, 2008, 4:39:32 PM (17 years ago)
Author:
lmdzadmin
Message:

Correction bug; on revient a la formulation Emanuel JYG
IM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/trunk/libf/phylmd/cv3_routines.F

    r879 r939  
    20752075c
    20762076cjyg----
    2077         b6 = bfac*100.*sigd(il)*(ph(il,i)-ph(il,i+1))*sigt*afac
    2078         c6 = water(il,i+1) + wdtrain(il)*bfac
    2079          revap=0.5*(-b6+sqrt(b6*b6+4.*c6))
    2080          evap(il,i)=sigt*afac*revap
    2081          water(il,i)=revap*revap
     2077c       b6 = bfac*100.*sigd(il)*(ph(il,i)-ph(il,i+1))*sigt*afac
     2078c       c6 = water(il,i+1) + wdtrain(il)*bfac
     2079c        revap=0.5*(-b6+sqrt(b6*b6+4.*c6))
     2080c        evap(il,i)=sigt*afac*revap
     2081c        water(il,i)=revap*revap
    20822082cc        print *,' i,b6,c6,revap,evap(il,i),water(il,i),wdtrain(il) ',
    20832083cc     $            i,b6,c6,revap,evap(il,i),water(il,i),wdtrain(il)
     
    20852085c
    20862086c--------retour à la formulation originale d'Emanuel.
    2087       if (1.eq.0) then
    20882087      b6=bfac*50.*sigd(il)*(ph(il,i)-ph(il,i+1))*sigt*afac
    20892088      c6=water(il,i+1)+bfac*wdtrain(il)
     
    20982097     :                 /(sigd(il)*(ph(il,i)-ph(il,i+1))*50.)
    20992098      end if
    2100       endif
    21012099ccc
    21022100c    ***  calculate precipitating downdraft mass flux under     ***
Note: See TracChangeset for help on using the changeset viewer.