Changeset 3638 for palm/trunk
- Timestamp:
- Dec 20, 2018 1:18:23 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/chemistry_model_mod.f90
r3637 r3638 27 27 ! ----------------- 28 28 ! $Id$ 29 ! Added missing conversion factor fr2ppm for qvap 30 ! 31 ! 32 ! 3637 2018-12-20 01:51:36Z knoop 29 33 ! Implementation of the PALM module interface 30 34 ! … … 1942 1946 REAL(wp) :: conv !< conversion factor 1943 1947 REAL(wp), PARAMETER :: ppm2fr = 1.0e-6_wp !< Conversion factor ppm to fraction 1948 REAL(wp), PARAMETER :: fr2ppm = 1.0e6_wp !< Conversion factor fraction to ppm 1944 1949 ! REAL(wp), PARAMETER :: xm_air = 28.96_wp !< Mole mass of dry air 1945 1950 ! REAL(wp), PARAMETER :: xm_h2o = 18.01528_wp !< Mole mass of water vapor … … 1971 1976 IF ( humidity ) THEN 1972 1977 IF ( bulk_cloud_model ) THEN 1973 tmp_qvap(:) = ( q(nzb+1:nzt,j,i) - ql(nzb+1:nzt,j,i) ) * xm_air/xm_h2o * tmp_fact(:) 1978 tmp_qvap(:) = ( q(nzb+1:nzt,j,i) - ql(nzb+1:nzt,j,i) ) * & 1979 xm_air/xm_h2o * fr2ppm * tmp_fact(:) 1974 1980 ELSE 1975 tmp_qvap(:) = q(nzb+1:nzt,j,i) * xm_air/xm_h2o * tmp_fact(:)1981 tmp_qvap(:) = q(nzb+1:nzt,j,i) * xm_air/xm_h2o * fr2ppm * tmp_fact(:) 1976 1982 ENDIF 1977 1983 ELSE 1978 tmp_qvap(:) = 0.01 * tmp_fact(:)!< Constant value for q if water vapor is not computed1984 tmp_qvap(:) = 0.01 * xm_air/xm_h2o * fr2ppm * tmp_fact(:) !< Constant value for q if water vapor is not computed 1979 1985 ENDIF 1980 1986
Note: See TracChangeset
for help on using the changeset viewer.