[207] | 1 | c $Header$ |
---|
[199] | 2 | SUBROUTINE CLIFT (P,T,RR,RS,PLCL,DPLCLDT,DPLCLDQ) |
---|
| 3 | C*************************************************************** |
---|
| 4 | C* * |
---|
| 5 | C* CLIFT : COMPUTE LIFTING CONDENSATION LEVEL AND ITS * |
---|
| 6 | C* DERIVATIVES RELATIVE TO T AND R * |
---|
| 7 | C* (WITHIN 0.2% OF FORMULA OF BOLTON, MON. WEA. REV.,1980) * |
---|
| 8 | C* * |
---|
| 9 | C* written by : GRANDPEIX Jean-Yves, 17/11/98, 12.39.01 * |
---|
| 10 | C* modified by : * |
---|
| 11 | C*************************************************************** |
---|
| 12 | C* |
---|
| 13 | C*Arguments : |
---|
| 14 | C* |
---|
| 15 | C* Input : P = pressure of level from wich lifting is performed |
---|
| 16 | C* T = temperature of level P |
---|
| 17 | C* RR = vapour mixing ratio at level P |
---|
| 18 | C* RS = vapour saturation mixing ratio at level P |
---|
| 19 | C* |
---|
| 20 | C* Output : PLCL = lifting condensation level |
---|
| 21 | C* DPLCLDT = derivative of PLCL relative to T |
---|
| 22 | C* DPLCLDQ = derivative of PLCL relative to R |
---|
| 23 | C* |
---|
| 24 | ccccccccccccccccccccccc |
---|
| 25 | c constantes coherentes avec le modele du Centre Europeen |
---|
| 26 | c RD = 1000.0 * 1.380658E-23 * 6.0221367E+23 / 28.9644 |
---|
| 27 | c RV = 1000.0 * 1.380658E-23 * 6.0221367E+23 / 18.0153 |
---|
| 28 | c CPD = 3.5 * RD |
---|
| 29 | c CPV = 4.0 * RV |
---|
| 30 | c CL = 4218.0 |
---|
| 31 | c CI=2090.0 |
---|
| 32 | c CPVMCL=CL-CPV |
---|
| 33 | c CLMCI=CL-CI |
---|
| 34 | c EPS=RD/RV |
---|
| 35 | c ALV0=2.5008E+06 |
---|
| 36 | c ALF0=3.34E+05 |
---|
| 37 | c |
---|
| 38 | c on utilise les constantes thermo du Centre Europeen: (sb) |
---|
| 39 | c |
---|
| 40 | #include "YOMCST.h" |
---|
| 41 | c |
---|
| 42 | CPD = RCPD |
---|
| 43 | CPV = RCPV |
---|
| 44 | CL = RCW |
---|
| 45 | CPVMCL = CL-CPV |
---|
| 46 | EPS = RD/RV |
---|
| 47 | ALV0 = RLVTT |
---|
| 48 | c |
---|
| 49 | c |
---|
| 50 | c Bolton formula coefficients : |
---|
| 51 | A = 1669.0 |
---|
| 52 | B = 122.0 |
---|
| 53 | c |
---|
| 54 | RH=RR/RS |
---|
| 55 | CHI=T/(A-B*RH-T) |
---|
| 56 | PLCL=P*(RH**CHI) |
---|
| 57 | c |
---|
| 58 | ALV = ALV0 - CPVMCL*(T-273.15) |
---|
| 59 | c |
---|
| 60 | c -- sb: correction: |
---|
| 61 | c DPLCLDQ = PLCL*CHI*( 1./RR - B*CHI/T/RS*ALOG(RH) ) |
---|
| 62 | DPLCLDQ = PLCL*CHI*( 1./RR + B*CHI/T/RS*ALOG(RH) ) |
---|
| 63 | c sb -- |
---|
| 64 | c |
---|
| 65 | DPLCLDT = PLCL*CHI*((A-B*RH*(1.+ALV/RV/T))/T**2*CHI*ALOG(RH) |
---|
| 66 | $ - ALV/RV/T**2 ) |
---|
| 67 | c |
---|
| 68 | c |
---|
| 69 | RETURN |
---|
| 70 | END |
---|