Changeset 1674


Ignore:
Timestamp:
Mar 10, 2017, 3:55:34 PM (8 years ago)
Author:
slebonnois
Message:

SL: correction of a bug in microphysics

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.VENUS/libf/phyvenus/cloudvenus/wsa_new.F90

    r1667 r1674  
    894894      REAL :: PWVSAS_GV
    895895      REAL :: ADOT,BDOT,CDOT,DDOT
    896       REAL :: MMHGPA
     896      REAL :: RGAScal,MMHGPA
    897897      REAL :: K1,K2
    898898      REAL :: A,B,C,Dd,CP,L,F,ALFA
     
    904904              DDOT=0.618943d-3)
    905905      PARAMETER(                   &
     906!     Gas constant (cal/(deg mole)):
     907           RGAScal=1.98726,        &
    906908!     Natural logarith of conversion factor between atm. and Pa:     
    907909           MMHGPA=11.52608845,     &
     
    945947      ALFA=ALH2O(W,KHI,KLO)
    946948!
    947       A=ADOT+(CP-K1*ALFA)/RGAS
    948       B=BDOT+(L-K1*CP+K2*ALFA)/RGAS
    949       C=CDOT+(CP+(F-L)/K1)/RGAS
    950       Dd=DDOT-ALFA/(2.0d0*RGAS)
     949      A=ADOT+(CP-K1*ALFA)/RGAScal
     950      B=BDOT+(L-K1*CP+K2*ALFA)/RGAScal
     951      C=CDOT+(CP+(F-L)/K1)/RGAScal
     952      Dd=DDOT-ALFA/(2.0d0*RGAScal)
    951953!
    952954!     WRITE(*,*) 'TAIR= ',T,'  WSA= ',W
Note: See TracChangeset for help on using the changeset viewer.