m7_equiz.F90 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. #include "tm5.inc"
  2. SUBROUTINE m7_equiz(kproma, kbdim, klev, &
  3. papp1, pttn, ptp1, &
  4. prelhum, pm6rp, pm6dry, &
  5. prhop, pww, paernl )
  6. !
  7. ! *m7_equiz* calculates the ambient radii of the sulphate particles
  8. !
  9. ! Authors:
  10. ! --------
  11. ! J. Wilson, E. Vignati, JRC/EI (original source) 05/2000
  12. ! P. Stier, MPI (f90-version, changes, comments) 2001
  13. !
  14. ! Purpose:
  15. ! --------
  16. ! This routine calculates the ambient radii for sulfate particles
  17. ! with mass of ttn molecules, converts them to count mean radii and
  18. ! stores them in the array with address pm6rp.
  19. ! It additionally calculates the ambient particle density.
  20. !
  21. ! Method:
  22. ! -------
  23. ! The calculations of the ambient particle properties are based on
  24. ! parameterisations of the mass of sulfate and density derived
  25. ! by Julian Wilson from a regression analysis of results of solving
  26. ! the generalised Kelvin equation using (F. J. Zeleznik, J. Phys. Chem.
  27. ! Ref. Data 20, 1157, 1991), for an H2SO4-H2O mixture, in the
  28. ! following parameter ranges:
  29. ! 1e2 < pttn < 1E11 [molecules]
  30. ! 0.2 < prelhum < 0.9 [1]
  31. ! 240 < ptp1 < 330 [K]
  32. ! 10000 < papp1 < 100000 [Pa]
  33. !
  34. ! Due to the limitations of the parametrisation, the ambient temperature
  35. ! is restricted to a minimum of 240 K within this subroutine.
  36. !
  37. ! Interface:
  38. ! ----------
  39. ! *m7_equiz* is called from *m7*
  40. !
  41. ! Externals:
  42. ! ----------
  43. ! none
  44. !
  45. !
  46. USE mo_aero_m7, ONLY: naermod, nmod, nsol, &
  47. ibcks, iocks, issas, ibcas, &
  48. iocas, iduas, isscs, ibccs, &
  49. ioccs, iducs, &
  50. wvb, gmb, avo, wh2so4,&
  51. pi, ram2cmr, dh2so4, dh2o
  52. !
  53. ! pttn = average mass for single compound in each mode
  54. ! [in molec. for sulphate and in ug for bc, oc, ss, and dust]
  55. ! pm6rp = count mean radius under ambient conditions [cm]
  56. ! pm6dry = count mean radius under dry conditions [cm]
  57. ! paernl = aerosol number for each mode [cm-3]
  58. ! pww = aerosol water content for each mode [kg(water) m-3(air)]
  59. ! zwso4 = percentage by mass of sulfate in a H2O-H2SO4 particle
  60. ! containing pttn molecules of sulfate under ambient conditions
  61. ! zvso4 = volume of pttn molecules of sulfate [cm3]
  62. ! zmso4 = mass of pttn molecules of sulfate [g]
  63. ! zdso4h2o = density of sulfate-h2o fraction of a particle with average
  64. ! mass [g.cm-3]
  65. ! zmso4h2o = mass of sulfate-h2o fraction of a particle with average mass [g]
  66. ! zvso4h2o = volume of sulfate-h2o fraction of a particle with average
  67. ! mass [cm3]
  68. IMPLICIT NONE
  69. INTEGER :: kproma, kbdim, klev
  70. REAL :: papp1(kbdim,klev), ptp1(kbdim,klev), &
  71. prelhum(kbdim,klev)
  72. REAL :: pttn(kbdim,klev,naermod), prhop(kbdim,klev,nmod), &
  73. pm6dry(kbdim,klev,nsol), pm6rp(kbdim,klev,nmod), &
  74. pww(kbdim,klev,nmod), paernl(kbdim,klev,nmod)
  75. !--- Local variables:
  76. INTEGER :: jk, jl, jmod
  77. REAL :: zaerelse, &
  78. zwso4, zvso4, zmso4, &
  79. zvso4h2o, zmso4h2o, zdso4h2o, &
  80. zapp1, ztk, zrh
  81. REAL :: ztk2, zln3, zln32, &
  82. zlnm, zss2, zlnm2
  83. !CDIR unroll=5
  84. DO 100 jmod=1,nsol
  85. DO 90 jk=1,klev
  86. DO 80 jl=1,kproma
  87. !--- 1) Determine mass of non sulfate compounds in a particle: ---------
  88. SELECT CASE (jmod)
  89. CASE (1)
  90. zaerelse=0.
  91. CASE (2)
  92. zaerelse = pttn(jl,jk,ibcks)+pttn(jl,jk,iocks)
  93. CASE (3)
  94. zaerelse = pttn(jl,jk,issas)+pttn(jl,jk,ibcas)+ &
  95. pttn(jl,jk,iocas)+pttn(jl,jk,iduas)
  96. CASE (4)
  97. zaerelse = pttn(jl,jk,isscs)+pttn(jl,jk,ibccs)+ &
  98. pttn(jl,jk,ioccs)+pttn(jl,jk,iducs)
  99. END SELECT
  100. !--- 2) Calculation of the particle properties in the absense of -------
  101. ! other compounds than sulfate:
  102. IF (pttn(jl,jk,jmod) > 0.0 .AND. zaerelse < 1.E-15) THEN
  103. !
  104. !--- 2.1) Calculation of the ambient particle properties: -----------
  105. !
  106. !--- Constrain ambient temperature to conditions for which the
  107. ! parametrisation of the liquid water content works:
  108. ! Temperature:
  109. ztk = ptp1(jl,jk)
  110. ztk = MAX(ztk , 240.)
  111. ! Relative Humidity:
  112. zrh = prelhum(jl,jk)
  113. zrh = MAX(zrh , 0.05)
  114. zrh = MIN(zrh , 0.90)
  115. !--- Assign auxiliary variables:
  116. zapp1=papp1(jl,jk)
  117. zlnm = LOG(pttn(jl,jk,jmod))
  118. zlnm2 = zlnm*zlnm
  119. zss2 = zrh**2
  120. ztk2 = ztk*ztk
  121. zln3 = zlnm/3.0
  122. zln32 = zln3*zln3
  123. !
  124. !--- Percentage by weight of sulfate in the particle [%]:
  125. ! (Here we ignore any insoluble mass.)
  126. !
  127. zwso4 = wvb(1) + wvb(2)*zlnm + wvb(3)*zrh*zlnm + wvb(4)*ztk*zlnm + &
  128. wvb(5)*zrh/ztk + wvb(6)*zlnm2*zrh + wvb(7)*zlnm2*ztk + &
  129. wvb(8)*zlnm*zss2 + wvb(9)*zlnm*ztk2 + wvb(10)*zlnm2*zss2 + &
  130. wvb(11)*zlnm2*ztk2 + wvb(12)*zss2/ztk2 + wvb(13)*zlnm2 + &
  131. wvb(14)*zlnm2*zlnm + wvb(15)*zlnm2*zlnm2 + &
  132. wvb(16)*zss2*zrh/(ztk2*ztk) + wvb(17)*LOG(zrh*ztk/zapp1)
  133. !--- Dry mass of sulfate in an average particle [g]:
  134. zmso4 = pttn(jl,jk,jmod)*wh2so4/avo
  135. !--- Dry volume of sulfate in an average particle [cm3]:
  136. ! Any temperature or pressure dependency of the
  137. ! sulfate density is ingored.
  138. zvso4 = zmso4/dh2so4
  139. !--- Mass of sulfate + water in an average particle [g]:
  140. zmso4h2o = zmso4/(zwso4/100.0)
  141. !--- Density of the sulfate-water fraction of an average particle [g cm-3]:
  142. !@@@ Check: changed zwvso4 into zwso4 (now the mass!)
  143. zdso4h2o = gmb(1) + gmb(2)*zwso4 + gmb(3)*zln3 + gmb(4)*zrh + &
  144. gmb(5)*ztk + gmb(6)*zln32 + gmb(7)*zln3/zrh + &
  145. gmb(8)*zln3/ztk + gmb(9)*ztk2
  146. !--- Limits for zdso4h2o: H2O(0.99) and pure H2SO4 (1.841):
  147. !
  148. zdso4h2o=MAX(zdso4h2o,dh2o)
  149. zdso4h2o=MIN(zdso4h2o,dh2so4)
  150. !--- Volume of sulfate-water fraction of an average particle [cm3]:
  151. zvso4h2o = zmso4h2o/zdso4h2o
  152. !--- 2.2) Calculatiion of the particle radii: ----------------------------
  153. !--- 2.2.1) Dry count mean radius [cm]:
  154. pm6dry(jl,jk,jmod)=((zvso4)*0.75/pi)**(1./3.)*ram2cmr(jmod)
  155. !--- 2.2.2) Equilibrium wet count mean radius [cm]:
  156. pm6rp(jl,jk,jmod) =((zvso4h2o)*0.75/pi)**(1./3.)*ram2cmr(jmod)
  157. !--- 2.3) Assignment of the particle density [g cm-3]: -------------------
  158. prhop(jl,jk,jmod)=zdso4h2o
  159. !--- 2.4) Store aerosol water for each mode [kg(water) m-3(air)]:
  160. pww(jl,jk,jmod)=(zmso4h2o-zmso4)*paernl(jl,jk,jmod)*1.E3
  161. END IF
  162. 80 END DO
  163. 90 END DO
  164. 100 END DO
  165. END SUBROUTINE m7_equiz