Changeset 633 for trunk/LMDZ.MARS/libf/phymars/growthrate.F
- Timestamp:
- Apr 25, 2012, 5:38:49 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/growthrate.F
r626 r633 1 subroutine growthrate(temp,pmid,psat, seq,rcrystal,coeff1,coeff2)1 subroutine growthrate(temp,pmid,psat,rcrystal,res) 2 2 3 3 IMPLICIT NONE … … 31 31 REAL temp ! temperature in the middle of the layer (K) 32 32 REAL pmid ! pressure in the middle of the layer (K) 33 REAL*8 psat ! water vapor saturation pressure (Pa) 34 REAL*8 seq ! Equilibrium saturation ratio 33 REAL psat ! water vapor saturation pressure (Pa) 35 34 REAL rcrystal ! crystal radius before condensation (m) 36 35 37 36 c Output 38 REAL coeff1,coeff2 ! coefficients for the analytical relation between time and radius37 REAL res ! growth resistance (res=Rk+Rd) 39 38 40 39 … … 42 41 c ------ 43 42 44 REAL *8k,Lv45 REAL *8knudsen ! Knudsen number (gas mean free path/particle radius)46 REAL *8afactor,Dv,lambda ! Intermediate computations for growth rate47 REAL *8Rk,Rd43 REAL k,Lv 44 REAL knudsen ! Knudsen number (gas mean free path/particle radius) 45 REAL afactor,Dv,lambda ! Intermediate computations for growth rate 46 REAL Rk,Rd 48 47 49 48 … … 86 85 87 86 c - Compute Rk 88 Rk = Lv* *2* rho_ice * mh2o / (k*rgp*temp*temp)87 Rk = Lv*Lv* rho_ice * mh2o / (k*rgp*temp*temp) 89 88 c - Compute Rd 90 89 Rd = rgp * temp *rho_ice / (Dv*psat*mh2o) 91 90 92 91 93 coeff1 = real(Rk + Rd*(1. + lambda * knudsen)) 94 coeff2 = real(Rk + Rd*(1. - lambda * knudsen)) 92 res = Rk + Rd*(1. + lambda * knudsen) 93 94 !coeff1 = real(Rk + Rd*(1. + lambda * knudsen)) 95 !coeff2 = real(Rk + Rd*(1. - lambda * knudsen)) 95 96 96 97 c Below are growth rate used for other schemes
Note: See TracChangeset
for help on using the changeset viewer.