| 1 | c***************************************************************** |
|---|
| 2 | c |
|---|
| 3 | c Photochemical routine |
|---|
| 4 | c |
|---|
| 5 | c Author: Franck Lefevre |
|---|
| 6 | c ------ |
|---|
| 7 | c |
|---|
| 8 | c Version: 11/12/2013 |
|---|
| 9 | c |
|---|
| 10 | c***************************************************************** |
|---|
| 11 | |
|---|
| 12 | subroutine photochemistry(nlayer, nq, |
|---|
| 13 | $ lswitch, zycol, sza, ptimestep, |
|---|
| 14 | $ press,temp, dens, dist_sol, surfdust1d, |
|---|
| 15 | $ surfice1d, jo3, tau) |
|---|
| 16 | |
|---|
| 17 | implicit none |
|---|
| 18 | |
|---|
| 19 | #include "chimiedata.h" |
|---|
| 20 | #include "callkeys.h" |
|---|
| 21 | |
|---|
| 22 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 23 | c inputs: |
|---|
| 24 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 25 | |
|---|
| 26 | integer, intent(in) :: nlayer ! number of atmospheric layers |
|---|
| 27 | integer, intent(in) :: nq ! number of tracers |
|---|
| 28 | |
|---|
| 29 | real :: sza ! solar zenith angle (deg) |
|---|
| 30 | real :: ptimestep ! physics timestep (s) |
|---|
| 31 | real :: press(nlayer) ! pressure (hpa) |
|---|
| 32 | real :: temp(nlayer) ! temperature (k) |
|---|
| 33 | real :: dens(nlayer) ! density (cm-3) |
|---|
| 34 | real :: dist_sol ! sun distance (au) |
|---|
| 35 | real :: surfdust1d(nlayer) ! dust surface area (cm2/cm3) |
|---|
| 36 | real :: surfice1d(nlayer) ! ice surface area (cm2/cm3) |
|---|
| 37 | real :: tau ! optical depth at 7 hpa |
|---|
| 38 | |
|---|
| 39 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 40 | c input/output: |
|---|
| 41 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 42 | |
|---|
| 43 | real :: zycol(nlayer,nq) ! chemical species volume mixing ratio |
|---|
| 44 | |
|---|
| 45 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 46 | c output: |
|---|
| 47 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 48 | |
|---|
| 49 | real :: jo3(nlayer) ! photodissociation rate o3 -> o1d |
|---|
| 50 | |
|---|
| 51 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 52 | c local: |
|---|
| 53 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 54 | |
|---|
| 55 | integer, parameter :: nesp = 16 ! number of species in the chemistry |
|---|
| 56 | |
|---|
| 57 | integer :: phychemrat ! ratio physics timestep/chemistry timestep |
|---|
| 58 | integer :: istep |
|---|
| 59 | integer :: i_co2,i_o3,j_o3_o1d,lev |
|---|
| 60 | integer :: lswitch |
|---|
| 61 | |
|---|
| 62 | real :: stimestep ! standard timestep for the chemistry (s) |
|---|
| 63 | real :: ctimestep ! real timestep for the chemistry (s) |
|---|
| 64 | real :: rm(nlayer,nesp) ! species volume mixing ratio |
|---|
| 65 | real :: j(nlayer,nd) ! interpolated photolysis rates (s-1) |
|---|
| 66 | real :: rmco2(nlayer) ! co2 mixing ratio |
|---|
| 67 | real :: rmo3(nlayer) ! ozone mixing ratio |
|---|
| 68 | |
|---|
| 69 | c reaction rates |
|---|
| 70 | |
|---|
| 71 | real :: a001(nlayer), a002(nlayer), a003(nlayer) |
|---|
| 72 | real :: b001(nlayer), b002(nlayer), b003(nlayer), |
|---|
| 73 | $ b004(nlayer), b005(nlayer), b006(nlayer), |
|---|
| 74 | $ b007(nlayer), b008(nlayer), b009(nlayer) |
|---|
| 75 | real :: c001(nlayer), c002(nlayer), c003(nlayer), |
|---|
| 76 | $ c004(nlayer), c005(nlayer), c006(nlayer), |
|---|
| 77 | $ c007(nlayer), c008(nlayer), c009(nlayer), |
|---|
| 78 | $ c010(nlayer), c011(nlayer), c012(nlayer), |
|---|
| 79 | $ c013(nlayer), c014(nlayer), c015(nlayer), |
|---|
| 80 | $ c016(nlayer), c017(nlayer), c018(nlayer) |
|---|
| 81 | real :: d001(nlayer), d002(nlayer), d003(nlayer) |
|---|
| 82 | real :: e001(nlayer), e002(nlayer), e003(nlayer) |
|---|
| 83 | real :: h001(nlayer), h002(nlayer), h003(nlayer), |
|---|
| 84 | $ h004(nlayer), h005(nlayer) |
|---|
| 85 | real :: t001(nlayer), t002(nlayer), t003(nlayer) |
|---|
| 86 | |
|---|
| 87 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 88 | c stimestep : standard timestep for the chemistry (s) c |
|---|
| 89 | c ctimestep : real timestep for the chemistry (s) c |
|---|
| 90 | c phychemrat : ratio physical/chemical timestep c |
|---|
| 91 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 92 | |
|---|
| 93 | stimestep = 600. ! standard value : 10 mn |
|---|
| 94 | |
|---|
| 95 | phychemrat = nint(ptimestep/stimestep) |
|---|
| 96 | |
|---|
| 97 | ctimestep = ptimestep/real(phychemrat) |
|---|
| 98 | |
|---|
| 99 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 100 | c initialisation of chemical species and families c |
|---|
| 101 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 102 | |
|---|
| 103 | call gcmtochim(nlayer, nq, zycol, lswitch, nesp, rm) |
|---|
| 104 | |
|---|
| 105 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 106 | c compute reaction rates c |
|---|
| 107 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 108 | |
|---|
| 109 | call chemrates(nlayer, |
|---|
| 110 | $ lswitch, dens, press, temp, |
|---|
| 111 | $ surfdust1d, surfice1d, |
|---|
| 112 | $ a001, a002, a003, |
|---|
| 113 | $ b001, b002, b003, b004, b005, b006, |
|---|
| 114 | $ b007, b008, b009, |
|---|
| 115 | $ c001, c002, c003, c004, c005, c006, |
|---|
| 116 | $ c007, c008, c009, c010, c011, c012, |
|---|
| 117 | $ c013, c014, c015, c016, c017, c018, |
|---|
| 118 | $ d001, d002, d003, |
|---|
| 119 | $ e001, e002, e003, |
|---|
| 120 | $ h001, h002, h003, h004, h005, |
|---|
| 121 | $ t001, t002, t003, tau) |
|---|
| 122 | |
|---|
| 123 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 124 | c interpolation of photolysis rates in the lookup table c |
|---|
| 125 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 126 | |
|---|
| 127 | i_co2 = 1 |
|---|
| 128 | i_o3 = 6 |
|---|
| 129 | |
|---|
| 130 | do lev = 1,lswitch-1 |
|---|
| 131 | rmco2(lev) = rm(lev,i_co2) |
|---|
| 132 | rmo3(lev) = rm(lev, i_o3) |
|---|
| 133 | end do |
|---|
| 134 | |
|---|
| 135 | call photolysis(nlayer, lswitch, press, temp, sza, tau, dist_sol, |
|---|
| 136 | $ rmco2, rmo3, j) |
|---|
| 137 | |
|---|
| 138 | j_o3_o1d = 5 |
|---|
| 139 | |
|---|
| 140 | do lev = 1,lswitch-1 |
|---|
| 141 | jo3(lev) = j(lev,j_o3_o1d) |
|---|
| 142 | end do |
|---|
| 143 | |
|---|
| 144 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 145 | c loop over time within the physical timestep c |
|---|
| 146 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 147 | |
|---|
| 148 | do istep = 1,phychemrat |
|---|
| 149 | call chimie(nlayer, lswitch, nesp, rm, j, dens, ctimestep, |
|---|
| 150 | $ press, temp, sza, dist_sol, |
|---|
| 151 | $ a001, a002, a003, |
|---|
| 152 | $ b001, b002, b003, b004, b005, b006, |
|---|
| 153 | $ b007, b008, b009, |
|---|
| 154 | $ c001, c002, c003, c004, c005, c006, |
|---|
| 155 | $ c007, c008, c009, c010, c011, c012, |
|---|
| 156 | $ c013, c014, c015, c016, c017, c018, |
|---|
| 157 | $ d001, d002, d003, |
|---|
| 158 | $ e001, e002, e003, |
|---|
| 159 | $ h001, h002, h003, h004, h005, |
|---|
| 160 | $ t001, t002, t003) |
|---|
| 161 | end do |
|---|
| 162 | |
|---|
| 163 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 164 | c save chemical species for the gcm c |
|---|
| 165 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 166 | |
|---|
| 167 | call chimtogcm(nlayer, nq, zycol, lswitch, nesp, rm) |
|---|
| 168 | |
|---|
| 169 | contains |
|---|
| 170 | |
|---|
| 171 | |
|---|
| 172 | c***************************************************************** |
|---|
| 173 | |
|---|
| 174 | subroutine chimie(nlayer, |
|---|
| 175 | $ lswitch, nesp, rm, j, dens, dt, |
|---|
| 176 | $ press, t, sza, dist_sol, |
|---|
| 177 | $ a001, a002, a003, |
|---|
| 178 | $ b001, b002, b003, b004, b005, b006, |
|---|
| 179 | $ b007, b008, b009, |
|---|
| 180 | $ c001, c002, c003, c004, c005, c006, |
|---|
| 181 | $ c007, c008, c009, c010, c011, c012, |
|---|
| 182 | $ c013, c014, c015, c016, c017, c018, |
|---|
| 183 | $ d001, d002, d003, |
|---|
| 184 | $ e001, e002, e003, |
|---|
| 185 | $ h001, h002, h003, h004, h005, |
|---|
| 186 | $ t001, t002, t003) |
|---|
| 187 | |
|---|
| 188 | c***************************************************************** |
|---|
| 189 | |
|---|
| 190 | use tracer_mod, only: igcm_ch4 |
|---|
| 191 | implicit none |
|---|
| 192 | |
|---|
| 193 | #include "chimiedata.h" |
|---|
| 194 | #include "callkeys.h" |
|---|
| 195 | |
|---|
| 196 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 197 | c inputs: |
|---|
| 198 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 199 | |
|---|
| 200 | integer, intent(in) :: nlayer ! number of atmospheric layers |
|---|
| 201 | integer :: lswitch ! interface level between chemistries |
|---|
| 202 | integer :: nesp ! number of species |
|---|
| 203 | |
|---|
| 204 | real :: dens(nlayer) ! density (cm-3) |
|---|
| 205 | real :: dt ! chemistry timestep (s) |
|---|
| 206 | real :: j(nlayer,nd) ! interpolated photolysis rates (s-1) |
|---|
| 207 | real :: press(nlayer) ! pressure (hpa) |
|---|
| 208 | real :: t(nlayer) ! temperature (k) |
|---|
| 209 | real :: sza ! solar zenith angle (deg) |
|---|
| 210 | real :: dist_sol ! sun distance (au) |
|---|
| 211 | |
|---|
| 212 | c reaction rates |
|---|
| 213 | |
|---|
| 214 | real :: a001(nlayer), a002(nlayer), a003(nlayer) |
|---|
| 215 | real :: b001(nlayer), b002(nlayer), b003(nlayer), |
|---|
| 216 | $ b004(nlayer), b005(nlayer), b006(nlayer), |
|---|
| 217 | $ b007(nlayer), b008(nlayer), b009(nlayer) |
|---|
| 218 | real :: c001(nlayer), c002(nlayer), c003(nlayer), |
|---|
| 219 | $ c004(nlayer), c005(nlayer), c006(nlayer), |
|---|
| 220 | $ c007(nlayer), c008(nlayer), c009(nlayer), |
|---|
| 221 | $ c010(nlayer), c011(nlayer), c012(nlayer), |
|---|
| 222 | $ c013(nlayer), c014(nlayer), c015(nlayer), |
|---|
| 223 | $ c016(nlayer), c017(nlayer), c018(nlayer) |
|---|
| 224 | real :: d001(nlayer), d002(nlayer), d003(nlayer) |
|---|
| 225 | real :: e001(nlayer), e002(nlayer), e003(nlayer) |
|---|
| 226 | real :: h001(nlayer), h002(nlayer), h003(nlayer), |
|---|
| 227 | $ h004(nlayer), h005(nlayer) |
|---|
| 228 | real :: t001(nlayer), t002(nlayer), t003(nlayer) |
|---|
| 229 | |
|---|
| 230 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 231 | c input/output: |
|---|
| 232 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 233 | |
|---|
| 234 | real :: rm(nlayer,nesp) ! volume mixing ratios |
|---|
| 235 | |
|---|
| 236 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 237 | c local: |
|---|
| 238 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 239 | |
|---|
| 240 | real, parameter :: hetero_ice = 1. ! switch for het. chem. on ice clouds |
|---|
| 241 | real, parameter :: hetero_dust = 0. ! switch for het. chem. on dust |
|---|
| 242 | |
|---|
| 243 | integer :: iesp, iter, l |
|---|
| 244 | integer :: i_co2, i_co, i_o2, i_h2, i_h2o, i_h2o2, i_hox, i_ox, |
|---|
| 245 | $ i_o1d, i_o, i_o3, i_h, i_oh, i_ho2, i_ch4, i_n2 |
|---|
| 246 | integer :: j_o2_o, j_o2_o1d, j_co2_o, j_co2_o1d, |
|---|
| 247 | $ j_o3_o1d, j_o3_o, j_h2o, j_hdo, j_h2o2, |
|---|
| 248 | $ j_ho2, j_no, j_no2, j_ch4_ch3_h, j_ch4_1ch2_h2, |
|---|
| 249 | $ j_ch4_3ch2_h_h, j_ch4_ch_h2_h, j_ch3o2h, |
|---|
| 250 | $ j_ch2o_co, j_ch2o_hco, j_ch3oh, j_c2h6, j_hcl, |
|---|
| 251 | $ j_hocl, j_clo, j_so2, j_so, j_h2s, j_so3, |
|---|
| 252 | $ j_hno3, j_hno4 |
|---|
| 253 | |
|---|
| 254 | integer, parameter :: niter = 5 ! iterations in the chemical scheme |
|---|
| 255 | |
|---|
| 256 | real :: cc0(nlayer,nesp) ! initial number density (cm-3) |
|---|
| 257 | real :: cc(nlayer,nesp) ! final number density (cm-3) |
|---|
| 258 | real :: nox(nlayer) ! nox number density (cm-3) |
|---|
| 259 | real :: no(nlayer) ! no number density (cm-3) |
|---|
| 260 | real :: no2(nlayer) ! no2 number density (cm-3) |
|---|
| 261 | real :: production(nlayer,nesp) ! production rate |
|---|
| 262 | real :: loss(nlayer,nesp) ! loss rate |
|---|
| 263 | |
|---|
| 264 | real :: ro_o3, rh_ho2, roh_ho2, rno2_no |
|---|
| 265 | |
|---|
| 266 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 267 | c tracer numbering in the chemistry |
|---|
| 268 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 269 | |
|---|
| 270 | i_co2 = 1 |
|---|
| 271 | i_co = 2 |
|---|
| 272 | i_o = 3 |
|---|
| 273 | i_o1d = 4 |
|---|
| 274 | i_o2 = 5 |
|---|
| 275 | i_o3 = 6 |
|---|
| 276 | i_h = 7 |
|---|
| 277 | i_h2 = 8 |
|---|
| 278 | i_oh = 9 |
|---|
| 279 | i_ho2 = 10 |
|---|
| 280 | i_h2o2 = 11 |
|---|
| 281 | i_ch4 = 12 |
|---|
| 282 | i_h2o = 13 |
|---|
| 283 | i_n2 = 14 |
|---|
| 284 | i_hox = 15 |
|---|
| 285 | i_ox = 16 |
|---|
| 286 | |
|---|
| 287 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 288 | c numbering of photolysis rates |
|---|
| 289 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 290 | |
|---|
| 291 | j_o2_o = 1 ! o2 + hv -> o + o |
|---|
| 292 | j_o2_o1d = 2 ! o2 + hv -> o + o(1d) |
|---|
| 293 | j_co2_o = 3 ! co2 + hv -> co + o |
|---|
| 294 | j_co2_o1d = 4 ! co2 + hv -> co + o(1d) |
|---|
| 295 | j_o3_o1d = 5 ! o3 + hv -> o2 + o(1d) |
|---|
| 296 | j_o3_o = 6 ! o3 + hv -> o2 + o |
|---|
| 297 | j_h2o = 7 ! h2o + hv -> h + oh |
|---|
| 298 | j_h2o2 = 8 ! h2o2 + hv -> oh + oh |
|---|
| 299 | j_ho2 = 9 ! ho2 + hv -> oh + o |
|---|
| 300 | j_no = 10 ! no + hv -> n + o |
|---|
| 301 | j_no2 = 11 ! no2 + hv -> no + o |
|---|
| 302 | j_hno3 = 12 ! hno3 + hv -> oh + no2 |
|---|
| 303 | j_hno4 = 13 ! hno4 + hv -> ho2 + no2 |
|---|
| 304 | |
|---|
| 305 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 306 | c volume mixing ratio -> density conversion |
|---|
| 307 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 308 | |
|---|
| 309 | do iesp = 1,nesp |
|---|
| 310 | do l = 1,lswitch-1 |
|---|
| 311 | cc0(l,iesp) = rm(l,iesp)*dens(l) |
|---|
| 312 | cc(l,iesp) = cc0(l,iesp) |
|---|
| 313 | end do |
|---|
| 314 | end do |
|---|
| 315 | |
|---|
| 316 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 317 | c co2 and nox number densities (cm-3) |
|---|
| 318 | c |
|---|
| 319 | c nox mixing ratio: 6.e-10 (yung and demore, 1999) |
|---|
| 320 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 321 | |
|---|
| 322 | do l = 1,lswitch-1 |
|---|
| 323 | nox(l) = 6.e-10*dens(l) |
|---|
| 324 | end do |
|---|
| 325 | |
|---|
| 326 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 327 | c loop over iterations in the chemical scheme |
|---|
| 328 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 329 | |
|---|
| 330 | do iter = 1,niter |
|---|
| 331 | |
|---|
| 332 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 333 | c nox species |
|---|
| 334 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 335 | c no2/no |
|---|
| 336 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 337 | |
|---|
| 338 | do l = 1,lswitch-1 |
|---|
| 339 | |
|---|
| 340 | rno2_no = (d002(l)*cc(l,i_o3) + d003(l)*cc(l,i_ho2)) |
|---|
| 341 | $ /(j(l,j_no2) + |
|---|
| 342 | $ d001(l)*max(cc(l,i_o),1.e-30*dens(l))) |
|---|
| 343 | |
|---|
| 344 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 345 | c no |
|---|
| 346 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 347 | |
|---|
| 348 | no(l) = nox(l)/(1. + rno2_no) |
|---|
| 349 | |
|---|
| 350 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 351 | c no2 |
|---|
| 352 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 353 | |
|---|
| 354 | no2(l) = no(l)*rno2_no |
|---|
| 355 | |
|---|
| 356 | end do |
|---|
| 357 | |
|---|
| 358 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 359 | c hox species |
|---|
| 360 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 361 | c photochemical equilibrium for oh and ho2 |
|---|
| 362 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 363 | c h/ho2 |
|---|
| 364 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 365 | |
|---|
| 366 | do l = 1,lswitch-1 |
|---|
| 367 | |
|---|
| 368 | rh_ho2 = (c001(l)*cc(l,i_o) |
|---|
| 369 | $ + c004(l)*cc(l,i_h) |
|---|
| 370 | $ + c005(l)*cc(l,i_h) |
|---|
| 371 | $ + c006(l)*cc(l,i_h) |
|---|
| 372 | $ + c007(l)*cc(l,i_oh) |
|---|
| 373 | $ + 2.*c008(l)*cc(l,i_ho2) |
|---|
| 374 | $ + c015(l)*cc(l,i_o3) |
|---|
| 375 | $ + 2.*c016(l)*cc(l,i_ho2) |
|---|
| 376 | $ + d003(l)*no(l) ! ajout 20090401 |
|---|
| 377 | $ + j(l,j_ho2) |
|---|
| 378 | $ + h001(l)*hetero_ice |
|---|
| 379 | $ + h003(l)*hetero_dust) |
|---|
| 380 | $ /( c011(l)*cc(l,i_o2) |
|---|
| 381 | $ + t001(l)*cc(l,i_h2o) |
|---|
| 382 | $ /max(cc(l,i_h),dens(l)*1.e-30) ! ajout 20090401 |
|---|
| 383 | $ ) |
|---|
| 384 | |
|---|
| 385 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 386 | c oh/ho2 |
|---|
| 387 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 388 | |
|---|
| 389 | roh_ho2 = (c001(l)*cc(l,i_o) |
|---|
| 390 | $ + c003(l)*cc(l,i_o3)*rh_ho2 |
|---|
| 391 | $ + 2.*c004(l)*cc(l,i_h) |
|---|
| 392 | $ + 2.*c008(l)*cc(l,i_ho2) |
|---|
| 393 | $ + c015(l)*cc(l,i_o3) |
|---|
| 394 | $ + d003(l)*no(l) |
|---|
| 395 | $ + j(l,j_ho2) |
|---|
| 396 | $ + 2.*b002(l)*cc(l,i_o1d)*cc(l,i_h2o) ! ajout 20101210 |
|---|
| 397 | $ /max(cc(l,i_ho2),dens(l)*1.e-30) ! ajout 20101210 |
|---|
| 398 | $ + b003(l)*cc(l,i_o1d)*cc(l,i_h2) ! ajout 20101210 |
|---|
| 399 | $ /max(cc(l,i_ho2),dens(l)*1.e-30) ! ajout 20101210 |
|---|
| 400 | $ + j(l,j_h2o)*cc(l,i_h2o) |
|---|
| 401 | $ /max(cc(l,i_ho2),dens(l)*1.e-30) |
|---|
| 402 | $ + t001(l)*cc(l,i_h2o) ! suppression 20090401 |
|---|
| 403 | $ /max(cc(l,i_ho2),dens(l)*1.e-30) ! suppression 20090401 |
|---|
| 404 | $ ) |
|---|
| 405 | $ /(c002(l)*cc(l,i_o) |
|---|
| 406 | $ + c007(l)*cc(l,i_ho2) |
|---|
| 407 | $ + c009(l)*cc(l,i_h2o2) ! ajout 20090401 |
|---|
| 408 | $ + 2.*c013(l)*cc(l,i_oh) ! ajout 20090401 |
|---|
| 409 | $ + 2.*c017(l)*cc(l,i_oh) ! ajout 20090401 |
|---|
| 410 | $ + e001(l)*cc(l,i_co) |
|---|
| 411 | $ + h002(l)*hetero_ice) |
|---|
| 412 | |
|---|
| 413 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 414 | c h |
|---|
| 415 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 416 | |
|---|
| 417 | cc(l,i_h) = cc(l,i_hox) |
|---|
| 418 | $ /(1. + (1. + roh_ho2)/rh_ho2) |
|---|
| 419 | |
|---|
| 420 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 421 | c ho2 |
|---|
| 422 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 423 | |
|---|
| 424 | cc(l,i_ho2) = cc(l,i_h)/rh_ho2 |
|---|
| 425 | |
|---|
| 426 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 427 | c oh |
|---|
| 428 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 429 | |
|---|
| 430 | cc(l,i_oh) = cc(l,i_ho2)*roh_ho2 |
|---|
| 431 | |
|---|
| 432 | end do |
|---|
| 433 | |
|---|
| 434 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 435 | c ox species |
|---|
| 436 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 437 | c day: |
|---|
| 438 | c - o1d at photochemical equilibrium |
|---|
| 439 | c - o3 at photochemical equilibrium |
|---|
| 440 | c - continuity equation for ox |
|---|
| 441 | c night: |
|---|
| 442 | c - o1d = 0 |
|---|
| 443 | c - continuity equation for o3 |
|---|
| 444 | c - continuity equation for o |
|---|
| 445 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 446 | |
|---|
| 447 | if (sza .le. 95.) then |
|---|
| 448 | |
|---|
| 449 | do l = 1,lswitch-1 |
|---|
| 450 | |
|---|
| 451 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 452 | c o(1d) |
|---|
| 453 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 454 | |
|---|
| 455 | cc(l,i_o1d) = (j(l,j_co2_o1d)*cc(l,i_co2) |
|---|
| 456 | $ + j(l,j_o2_o1d)*cc(l,i_o2) |
|---|
| 457 | $ + j(l,j_o3_o1d)*cc(l,i_o3)) |
|---|
| 458 | $ /(b001(l)*cc(l,i_co2) |
|---|
| 459 | $ + b002(l)*cc(l,i_h2o) |
|---|
| 460 | $ + b003(l)*cc(l,i_h2) |
|---|
| 461 | $ + b004(l)*cc(l,i_o2) |
|---|
| 462 | $ + b005(l)*cc(l,i_o3) |
|---|
| 463 | $ + b006(l)*cc(l,i_o3)) |
|---|
| 464 | |
|---|
| 465 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 466 | c o/o3 |
|---|
| 467 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 468 | |
|---|
| 469 | ro_o3 = (j(l,j_o3_o1d) + j(l,j_o3_o) |
|---|
| 470 | $ + a003(l)*cc(l,i_o) |
|---|
| 471 | $ + c003(l)*cc(l,i_h) |
|---|
| 472 | $ + c014(l)*cc(l,i_oh) |
|---|
| 473 | $ + c015(l)*cc(l,i_ho2) |
|---|
| 474 | $ ) |
|---|
| 475 | $ /(a001(l)*cc(l,i_o2)) |
|---|
| 476 | |
|---|
| 477 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 478 | c o3 |
|---|
| 479 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 480 | |
|---|
| 481 | cc(l,i_o3) = cc(l,i_ox)/(1. + ro_o3) |
|---|
| 482 | |
|---|
| 483 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 484 | c o |
|---|
| 485 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 486 | |
|---|
| 487 | cc(l,i_o) = cc(l,i_o3)*ro_o3 |
|---|
| 488 | |
|---|
| 489 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 490 | c ox = o + o3 |
|---|
| 491 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 492 | |
|---|
| 493 | production(l,i_ox) = |
|---|
| 494 | $ + j(l,j_co2_o)*cc(l,i_co2) |
|---|
| 495 | $ + j(l,j_co2_o1d)*cc(l,i_co2) |
|---|
| 496 | $ + j(l,j_ho2)*cc(l,i_ho2) |
|---|
| 497 | $ + 2.*j(l,j_o2_o)*cc(l,i_o2) |
|---|
| 498 | $ + 2.*j(l,j_o2_o1d)*cc(l,i_o2) |
|---|
| 499 | $ + c006(l)*cc(l,i_h)*cc(l,i_ho2) |
|---|
| 500 | $ + c013(l)*cc(l,i_oh)*cc(l,i_oh) |
|---|
| 501 | $ + d003(l)*cc(l,i_ho2)*no(l) |
|---|
| 502 | |
|---|
| 503 | loss(l,i_ox) = 2.*a002(l)*cc(l,i_o)*cc(l,i_o) |
|---|
| 504 | $ + 2.*a003(l)*cc(l,i_o)*cc(l,i_o3) |
|---|
| 505 | $ + c001(l)*cc(l,i_ho2)*cc(l,i_o) |
|---|
| 506 | $ + c002(l)*cc(l,i_oh)*cc(l,i_o) |
|---|
| 507 | $ + c003(l)*cc(l,i_h)*cc(l,i_o3) |
|---|
| 508 | $ + c012(l)*cc(l,i_o)*cc(l,i_h2o2) |
|---|
| 509 | $ + c014(l)*cc(l,i_o3)*cc(l,i_oh) |
|---|
| 510 | $ + c015(l)*cc(l,i_o3)*cc(l,i_ho2) |
|---|
| 511 | $ + d001(l)*cc(l,i_o)*no2(l) |
|---|
| 512 | $ + e002(l)*cc(l,i_o)*cc(l,i_co) |
|---|
| 513 | |
|---|
| 514 | loss(l,i_ox) = loss(l,i_ox)/cc(l,i_ox) |
|---|
| 515 | |
|---|
| 516 | end do |
|---|
| 517 | |
|---|
| 518 | else |
|---|
| 519 | |
|---|
| 520 | do l = 1,lswitch-1 |
|---|
| 521 | |
|---|
| 522 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 523 | c o(1d) |
|---|
| 524 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 525 | |
|---|
| 526 | cc(l,i_o1d) = 0. |
|---|
| 527 | |
|---|
| 528 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 529 | c o3 |
|---|
| 530 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 531 | |
|---|
| 532 | production(l,i_o3) = a001(l)*cc(l,i_o2)*cc(l,i_o) |
|---|
| 533 | |
|---|
| 534 | loss(l,i_o3) = a003(l)*cc(l,i_o) |
|---|
| 535 | $ + c003(l)*cc(l,i_h) |
|---|
| 536 | $ + c014(l)*cc(l,i_oh) |
|---|
| 537 | $ + c015(l)*cc(l,i_ho2) |
|---|
| 538 | |
|---|
| 539 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 540 | c o |
|---|
| 541 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 542 | |
|---|
| 543 | production(l,i_o) = c006(l)*cc(l,i_h)*cc(l,i_ho2) |
|---|
| 544 | $ + c013(l)*cc(l,i_oh)*cc(l,i_oh) |
|---|
| 545 | |
|---|
| 546 | loss(l,i_o) = a001(l)*cc(l,i_o2) |
|---|
| 547 | $ + 2.*a002(l)*cc(l,i_o) |
|---|
| 548 | $ + a003(l)*cc(l,i_o3) |
|---|
| 549 | $ + c001(l)*cc(l,i_ho2) |
|---|
| 550 | $ + c002(l)*cc(l,i_oh) |
|---|
| 551 | $ + c012(l)*cc(l,i_h2o2) |
|---|
| 552 | $ + e002(l)*cc(l,i_co) |
|---|
| 553 | |
|---|
| 554 | end do |
|---|
| 555 | end if |
|---|
| 556 | |
|---|
| 557 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 558 | c other species |
|---|
| 559 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 560 | |
|---|
| 561 | do l = 1,lswitch-1 |
|---|
| 562 | |
|---|
| 563 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 564 | c co2 |
|---|
| 565 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 566 | |
|---|
| 567 | production(l,i_co2) = e001(l)*cc(l,i_oh)*cc(l,i_co) |
|---|
| 568 | $ + e002(l)*cc(l,i_o)*cc(l,i_co) |
|---|
| 569 | $ + t002(l)*cc(l,i_ch4)*16./44. ! ajout 20090401 |
|---|
| 570 | $ + t003(l)*cc(l,i_co2)*8./44. ! ajout 20090401 |
|---|
| 571 | |
|---|
| 572 | loss(l,i_co2) = j(l,j_co2_o) |
|---|
| 573 | $ + j(l,j_co2_o1d) |
|---|
| 574 | $ + t003(l) |
|---|
| 575 | |
|---|
| 576 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 577 | c co |
|---|
| 578 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 579 | |
|---|
| 580 | production(l,i_co) = j(l,j_co2_o)*cc(l,i_co2) |
|---|
| 581 | $ + j(l,j_co2_o1d)*cc(l,i_co2) |
|---|
| 582 | $ + t003(l)*cc(l,i_co2) |
|---|
| 583 | |
|---|
| 584 | loss(l,i_co) = e001(l)*cc(l,i_oh) |
|---|
| 585 | $ + e002(l)*cc(l,i_o) |
|---|
| 586 | |
|---|
| 587 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 588 | c o2 |
|---|
| 589 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 590 | |
|---|
| 591 | production(l,i_o2) = |
|---|
| 592 | $ j(l,j_o3_o)*cc(l,i_o3) |
|---|
| 593 | $ + j(l,j_o3_o1d)*cc(l,i_o3) |
|---|
| 594 | $ + a002(l)*cc(l,i_o)*cc(l,i_o) |
|---|
| 595 | $ + 2.*a003(l)*cc(l,i_o)*cc(l,i_o3) |
|---|
| 596 | $ + 2.*b005(l)*cc(l,i_o1d)*cc(l,i_o3) |
|---|
| 597 | $ + b006(l)*cc(l,i_o1d)*cc(l,i_o3) |
|---|
| 598 | $ + c001(l)*cc(l,i_o)*cc(l,i_ho2) |
|---|
| 599 | $ + c002(l)*cc(l,i_o)*cc(l,i_oh) |
|---|
| 600 | $ + c003(l)*cc(l,i_h)*cc(l,i_o3) |
|---|
| 601 | $ + c005(l)*cc(l,i_h)*cc(l,i_ho2) |
|---|
| 602 | $ + c007(l)*cc(l,i_oh)*cc(l,i_ho2) |
|---|
| 603 | $ + c008(l)*cc(l,i_ho2)*cc(l,i_ho2) |
|---|
| 604 | $ + c014(l)*cc(l,i_o3)*cc(l,i_oh) |
|---|
| 605 | $ + 2.*c015(l)*cc(l,i_o3)*cc(l,i_ho2) |
|---|
| 606 | $ + c016(l)*cc(l,i_ho2)*cc(l,i_ho2) |
|---|
| 607 | $ + d001(l)*cc(l,i_o)*no2(l) |
|---|
| 608 | |
|---|
| 609 | loss(l,i_o2) = j(l,j_o2_o) |
|---|
| 610 | $ + j(l,j_o2_o1d) |
|---|
| 611 | $ + a001(l)*cc(l,i_o) |
|---|
| 612 | $ + c011(l)*cc(l,i_h) |
|---|
| 613 | |
|---|
| 614 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 615 | c h2 |
|---|
| 616 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 617 | |
|---|
| 618 | production(l,i_h2) = c005(l)*cc(l,i_h)*cc(l,i_ho2) |
|---|
| 619 | $ + c018(l)*cc(l,i_h)*cc(l,i_h) |
|---|
| 620 | |
|---|
| 621 | loss(l,i_h2) = b003(l)*cc(l,i_o1d) |
|---|
| 622 | $ + c010(l)*cc(l,i_oh) |
|---|
| 623 | |
|---|
| 624 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 625 | c h2o |
|---|
| 626 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 627 | |
|---|
| 628 | production(l,i_h2o) = |
|---|
| 629 | $ c006(l)*cc(l,i_h)*cc(l,i_ho2) |
|---|
| 630 | $ + c007(l)*cc(l,i_oh)*cc(l,i_ho2) |
|---|
| 631 | $ + c009(l)*cc(l,i_oh)*cc(l,i_h2o2) |
|---|
| 632 | $ + c010(l)*cc(l,i_oh)*cc(l,i_h2) |
|---|
| 633 | $ + c013(l)*cc(l,i_oh)*cc(l,i_oh) |
|---|
| 634 | $ + h004(l)*cc(l,i_h2o2)*hetero_ice |
|---|
| 635 | |
|---|
| 636 | loss(l,i_h2o) = j(l,j_h2o) |
|---|
| 637 | $ + b002(l)*cc(l,i_o1d) |
|---|
| 638 | $ + t001(l) |
|---|
| 639 | |
|---|
| 640 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 641 | c h2o2 |
|---|
| 642 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 643 | |
|---|
| 644 | production(l,i_h2o2) = |
|---|
| 645 | $ c008(l)*cc(l,i_ho2)*cc(l,i_ho2) |
|---|
| 646 | $ + c016(l)*cc(l,i_ho2)*cc(l,i_ho2) |
|---|
| 647 | $ + c017(l)*cc(l,i_oh)*cc(l,i_oh) |
|---|
| 648 | c $ + 0.5*h001(l)*cc(l,i_ho2)*hetero_ice |
|---|
| 649 | c $ + 0.5*h002(l)*cc(l,i_oh)*hetero_ice |
|---|
| 650 | |
|---|
| 651 | loss(l,i_h2o2) = j(l,j_h2o2) |
|---|
| 652 | $ + c009(l)*cc(l,i_oh) |
|---|
| 653 | $ + c012(l)*cc(l,i_o) |
|---|
| 654 | $ + h004(l)*hetero_ice |
|---|
| 655 | $ + h005(l)*hetero_dust |
|---|
| 656 | |
|---|
| 657 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 658 | c hox = h + oh + ho2 |
|---|
| 659 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 660 | |
|---|
| 661 | production(l,i_hox) = |
|---|
| 662 | $ 2.*j(l,j_h2o)*cc(l,i_h2o) |
|---|
| 663 | $ + 2.*j(l,j_h2o2)*cc(l,i_h2o2) |
|---|
| 664 | $ + 2.*b002(l)*cc(l,i_o1d)*cc(l,i_h2o) |
|---|
| 665 | $ + 2.*b003(l)*cc(l,i_o1d)*cc(l,i_h2) |
|---|
| 666 | $ + 2.*c012(l)*cc(l,i_o)*cc(l,i_h2o2) |
|---|
| 667 | $ + 2.*t001(l)*cc(l,i_h2o) |
|---|
| 668 | |
|---|
| 669 | loss(l,i_hox) = 2.*c005(l)*cc(l,i_h)*cc(l,i_ho2) |
|---|
| 670 | $ + 2.*c006(l)*cc(l,i_h)*cc(l,i_ho2) |
|---|
| 671 | $ + 2.*c007(l)*cc(l,i_oh)*cc(l,i_ho2) |
|---|
| 672 | $ + 2.*c008(l)*cc(l,i_ho2)*cc(l,i_ho2) |
|---|
| 673 | $ + 2.*c013(l)*cc(l,i_oh)*cc(l,i_oh) |
|---|
| 674 | $ + 2.*c016(l)*cc(l,i_ho2)*cc(l,i_ho2) |
|---|
| 675 | $ + 2.*c017(l)*cc(l,i_oh)*cc(l,i_oh) |
|---|
| 676 | $ + 2.*c018(l)*cc(l,i_h)*cc(l,i_h) |
|---|
| 677 | $ + h001(l)*cc(l,i_ho2)*hetero_ice |
|---|
| 678 | $ + h002(l)*cc(l,i_oh)*hetero_ice |
|---|
| 679 | $ + h003(l)*cc(l,i_ho2)*hetero_dust |
|---|
| 680 | |
|---|
| 681 | loss(l,i_hox) = loss(l,i_hox)/cc(l,i_hox) |
|---|
| 682 | |
|---|
| 683 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 684 | c ch4 |
|---|
| 685 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 686 | |
|---|
| 687 | production(l,i_ch4) = 0. |
|---|
| 688 | |
|---|
| 689 | if (igcm_ch4/=0) then |
|---|
| 690 | loss(l,i_ch4) = j(l,j_ch4_ch3_h) |
|---|
| 691 | $ + j(l,j_ch4_1ch2_h2) |
|---|
| 692 | $ + j(l,j_ch4_3ch2_h_h) |
|---|
| 693 | $ + j(l,j_ch4_ch_h2_h) |
|---|
| 694 | $ + b007(l)*cc(l,i_o1d) |
|---|
| 695 | $ + b008(l)*cc(l,i_o1d) |
|---|
| 696 | $ + b009(l)*cc(l,i_o1d) |
|---|
| 697 | $ + e003(l)*cc(l,i_oh) |
|---|
| 698 | else |
|---|
| 699 | loss(l,i_ch4) = 0. |
|---|
| 700 | endif |
|---|
| 701 | |
|---|
| 702 | end do |
|---|
| 703 | |
|---|
| 704 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 705 | c update number densities |
|---|
| 706 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 707 | |
|---|
| 708 | c long-lived species |
|---|
| 709 | |
|---|
| 710 | do l = 1,lswitch-1 |
|---|
| 711 | cc(l,i_co2) = (cc0(l,i_co2) + production(l,i_co2)*dt) |
|---|
| 712 | $ /(1. + loss(l,i_co2)*dt) |
|---|
| 713 | cc(l,i_co) = (cc0(l,i_co) + production(l,i_co)*dt) |
|---|
| 714 | $ /(1. + loss(l,i_co)*dt) |
|---|
| 715 | cc(l,i_o2) = (cc0(l,i_o2) + production(l,i_o2)*dt) |
|---|
| 716 | $ /(1. + loss(l,i_o2)*dt) |
|---|
| 717 | cc(l,i_h2) = (cc0(l,i_h2) + production(l,i_h2)*dt) |
|---|
| 718 | $ /(1. + loss(l,i_h2)*dt) |
|---|
| 719 | cc(l,i_h2o2)= (cc0(l,i_h2o2) + production(l,i_h2o2)*dt) |
|---|
| 720 | $ /(1. + loss(l,i_h2o2)*dt) |
|---|
| 721 | cc(l,i_h2o) = (cc0(l,i_h2o) + production(l,i_h2o)*dt) |
|---|
| 722 | $ /(1. + loss(l,i_h2o)*dt) |
|---|
| 723 | cc(l,i_hox) = (cc0(l,i_hox) + production(l,i_hox)*dt) |
|---|
| 724 | $ /(1. + loss(l,i_hox)*dt) |
|---|
| 725 | cc(l,i_ch4) = (cc0(l,i_ch4) + production(l,i_ch4)*dt) |
|---|
| 726 | $ /(1. + loss(l,i_ch4)*dt) |
|---|
| 727 | end do |
|---|
| 728 | |
|---|
| 729 | c ox species |
|---|
| 730 | |
|---|
| 731 | if (sza .le. 95.) then |
|---|
| 732 | do l = 1,lswitch-1 |
|---|
| 733 | cc(l,i_ox) = (cc0(l,i_ox) + production(l,i_ox)*dt) |
|---|
| 734 | $ /(1. + loss(l,i_ox)*dt) |
|---|
| 735 | end do |
|---|
| 736 | else |
|---|
| 737 | do l = 1,lswitch-1 |
|---|
| 738 | cc(l,i_o) = (cc0(l,i_o) + production(l,i_o)*dt) |
|---|
| 739 | $ /(1. + loss(l,i_o)*dt) |
|---|
| 740 | cc(l,i_o3) = (cc0(l,i_o3) + production(l,i_o3)*dt) |
|---|
| 741 | $ /(1. + loss(l,i_o3)*dt) |
|---|
| 742 | cc(l,i_ox) = cc(l,i_o) + cc(l,i_o3) |
|---|
| 743 | end do |
|---|
| 744 | end if |
|---|
| 745 | |
|---|
| 746 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 747 | c end of loop over iterations |
|---|
| 748 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 749 | |
|---|
| 750 | end do |
|---|
| 751 | |
|---|
| 752 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 753 | c density -> volume mixing ratio conversion |
|---|
| 754 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 755 | |
|---|
| 756 | do iesp = 1,nesp |
|---|
| 757 | do l = 1,lswitch-1 |
|---|
| 758 | rm(l,iesp) = max(cc(l,iesp)/dens(l), 1.e-30) |
|---|
| 759 | end do |
|---|
| 760 | end do |
|---|
| 761 | |
|---|
| 762 | end subroutine chimie |
|---|
| 763 | |
|---|
| 764 | c***************************************************************** |
|---|
| 765 | |
|---|
| 766 | subroutine gcmtochim(nlayer, nq, zycol, lswitch, nesp, rm) |
|---|
| 767 | |
|---|
| 768 | c***************************************************************** |
|---|
| 769 | |
|---|
| 770 | use tracer_mod, only: igcm_co2, igcm_co, igcm_o, igcm_o1d, |
|---|
| 771 | & igcm_o2, igcm_o3, igcm_h, igcm_h2, igcm_oh, |
|---|
| 772 | & igcm_ho2, igcm_h2o2, igcm_n2, igcm_h2o_vap, |
|---|
| 773 | & igcm_ch4 |
|---|
| 774 | |
|---|
| 775 | implicit none |
|---|
| 776 | |
|---|
| 777 | #include "callkeys.h" |
|---|
| 778 | |
|---|
| 779 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 780 | c inputs: |
|---|
| 781 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 782 | |
|---|
| 783 | integer, intent(in) :: nlayer ! number of atmospheric layers |
|---|
| 784 | integer, intent(in) :: nq ! number of tracers |
|---|
| 785 | real :: zycol(nlayer,nq) ! species volume mixing ratio in the gcm |
|---|
| 786 | |
|---|
| 787 | integer :: nesp ! number of species in the chemistry |
|---|
| 788 | integer :: lswitch ! interface level between chemistries |
|---|
| 789 | |
|---|
| 790 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 791 | c outputs: |
|---|
| 792 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 793 | |
|---|
| 794 | real :: rm(nlayer,nesp) ! species volume mixing ratio |
|---|
| 795 | |
|---|
| 796 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 797 | c local: |
|---|
| 798 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 799 | |
|---|
| 800 | integer :: l, iq |
|---|
| 801 | |
|---|
| 802 | c tracer indexes in the chemistry: |
|---|
| 803 | |
|---|
| 804 | integer,parameter :: i_co2 = 1 |
|---|
| 805 | integer,parameter :: i_co = 2 |
|---|
| 806 | integer,parameter :: i_o = 3 |
|---|
| 807 | integer,parameter :: i_o1d = 4 |
|---|
| 808 | integer,parameter :: i_o2 = 5 |
|---|
| 809 | integer,parameter :: i_o3 = 6 |
|---|
| 810 | integer,parameter :: i_h = 7 |
|---|
| 811 | integer,parameter :: i_h2 = 8 |
|---|
| 812 | integer,parameter :: i_oh = 9 |
|---|
| 813 | integer,parameter :: i_ho2 = 10 |
|---|
| 814 | integer,parameter :: i_h2o2 = 11 |
|---|
| 815 | integer,parameter :: i_ch4 = 12 |
|---|
| 816 | integer,parameter :: i_h2o = 13 |
|---|
| 817 | integer,parameter :: i_n2 = 14 |
|---|
| 818 | integer,parameter :: i_hox = 15 |
|---|
| 819 | integer,parameter :: i_ox = 16 |
|---|
| 820 | |
|---|
| 821 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 822 | c initialise chemical species |
|---|
| 823 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 824 | |
|---|
| 825 | do l = 1,lswitch-1 |
|---|
| 826 | rm(l,i_co2) = max(zycol(l, igcm_co2), 1.e-30) |
|---|
| 827 | rm(l,i_co) = max(zycol(l, igcm_co), 1.e-30) |
|---|
| 828 | rm(l,i_o) = max(zycol(l, igcm_o), 1.e-30) |
|---|
| 829 | rm(l,i_o1d) = max(zycol(l, igcm_o1d), 1.e-30) |
|---|
| 830 | rm(l,i_o2) = max(zycol(l, igcm_o2), 1.e-30) |
|---|
| 831 | rm(l,i_o3) = max(zycol(l, igcm_o3), 1.e-30) |
|---|
| 832 | rm(l,i_h) = max(zycol(l, igcm_h), 1.e-30) |
|---|
| 833 | rm(l,i_h2) = max(zycol(l, igcm_h2), 1.e-30) |
|---|
| 834 | rm(l,i_oh) = max(zycol(l, igcm_oh), 1.e-30) |
|---|
| 835 | rm(l,i_ho2) = max(zycol(l, igcm_ho2), 1.e-30) |
|---|
| 836 | rm(l,i_h2o2) = max(zycol(l, igcm_h2o2), 1.e-30) |
|---|
| 837 | rm(l,i_n2) = max(zycol(l, igcm_n2), 1.e-30) |
|---|
| 838 | rm(l,i_h2o) = max(zycol(l, igcm_h2o_vap), 1.e-30) |
|---|
| 839 | end do |
|---|
| 840 | |
|---|
| 841 | if (igcm_ch4 .eq. 0) then |
|---|
| 842 | do l = 1,lswitch-1 |
|---|
| 843 | rm(l,i_ch4) = 0. |
|---|
| 844 | end do |
|---|
| 845 | else |
|---|
| 846 | do l = 1,lswitch-1 |
|---|
| 847 | rm(l,i_ch4) = max(zycol(l,igcm_ch4), 1.e-30) |
|---|
| 848 | end do |
|---|
| 849 | end if |
|---|
| 850 | |
|---|
| 851 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 852 | c initialise chemical families c |
|---|
| 853 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 854 | |
|---|
| 855 | do l = 1,lswitch-1 |
|---|
| 856 | rm(l,i_hox) = rm(l,i_h) |
|---|
| 857 | $ + rm(l,i_oh) |
|---|
| 858 | $ + rm(l,i_ho2) |
|---|
| 859 | rm(l,i_ox) = rm(l,i_o) |
|---|
| 860 | $ + rm(l,i_o3) |
|---|
| 861 | end do |
|---|
| 862 | |
|---|
| 863 | end subroutine gcmtochim |
|---|
| 864 | |
|---|
| 865 | c***************************************************************** |
|---|
| 866 | c |
|---|
| 867 | subroutine chimtogcm(nlayer, nq, zycol, lswitch, nesp, rm) |
|---|
| 868 | c |
|---|
| 869 | c***************************************************************** |
|---|
| 870 | c |
|---|
| 871 | use tracer_mod, only: igcm_co2, igcm_co, igcm_o, igcm_o1d, |
|---|
| 872 | & igcm_o2, igcm_o3, igcm_h, igcm_h2, igcm_oh, |
|---|
| 873 | & igcm_ho2, igcm_h2o2, igcm_n2, igcm_h2o_vap, |
|---|
| 874 | & igcm_ch4 |
|---|
| 875 | |
|---|
| 876 | implicit none |
|---|
| 877 | |
|---|
| 878 | #include "callkeys.h" |
|---|
| 879 | |
|---|
| 880 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 881 | c inputs: |
|---|
| 882 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 883 | |
|---|
| 884 | integer, intent(in) :: nlayer ! number of atmospheric layers |
|---|
| 885 | integer, intent(in) :: nq ! number of tracers |
|---|
| 886 | integer :: nesp ! number of species in the chemistry |
|---|
| 887 | integer :: lswitch ! interface level between chemistries |
|---|
| 888 | |
|---|
| 889 | real :: rm(nlayer,nesp) ! species volume mixing ratio |
|---|
| 890 | |
|---|
| 891 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 892 | c output: |
|---|
| 893 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 894 | |
|---|
| 895 | real :: zycol(nlayer,nq) ! species volume mixing ratio in the gcm |
|---|
| 896 | |
|---|
| 897 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 898 | c local: |
|---|
| 899 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 900 | |
|---|
| 901 | integer l, iq |
|---|
| 902 | |
|---|
| 903 | c tracer indexes in the chemistry: |
|---|
| 904 | |
|---|
| 905 | integer,parameter :: i_co2 = 1 |
|---|
| 906 | integer,parameter :: i_co = 2 |
|---|
| 907 | integer,parameter :: i_o = 3 |
|---|
| 908 | integer,parameter :: i_o1d = 4 |
|---|
| 909 | integer,parameter :: i_o2 = 5 |
|---|
| 910 | integer,parameter :: i_o3 = 6 |
|---|
| 911 | integer,parameter :: i_h = 7 |
|---|
| 912 | integer,parameter :: i_h2 = 8 |
|---|
| 913 | integer,parameter :: i_oh = 9 |
|---|
| 914 | integer,parameter :: i_ho2 = 10 |
|---|
| 915 | integer,parameter :: i_h2o2 = 11 |
|---|
| 916 | integer,parameter :: i_ch4 = 12 |
|---|
| 917 | integer,parameter :: i_h2o = 13 |
|---|
| 918 | integer,parameter :: i_n2 = 14 |
|---|
| 919 | integer,parameter :: i_hox = 15 |
|---|
| 920 | integer,parameter :: i_ox = 16 |
|---|
| 921 | |
|---|
| 922 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 923 | c save mixing ratios for the gcm |
|---|
| 924 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 925 | |
|---|
| 926 | do l = 1,lswitch-1 |
|---|
| 927 | zycol(l, igcm_co2) = rm(l,i_co2) |
|---|
| 928 | zycol(l, igcm_co) = rm(l,i_co) |
|---|
| 929 | zycol(l, igcm_o) = rm(l,i_o) |
|---|
| 930 | zycol(l, igcm_o1d) = rm(l,i_o1d) |
|---|
| 931 | zycol(l, igcm_o2) = rm(l,i_o2) |
|---|
| 932 | zycol(l, igcm_o3) = rm(l,i_o3) |
|---|
| 933 | zycol(l, igcm_h) = rm(l,i_h) |
|---|
| 934 | zycol(l, igcm_h2) = rm(l,i_h2) |
|---|
| 935 | zycol(l, igcm_oh) = rm(l,i_oh) |
|---|
| 936 | zycol(l, igcm_ho2) = rm(l,i_ho2) |
|---|
| 937 | zycol(l, igcm_h2o2) = rm(l,i_h2o2) |
|---|
| 938 | zycol(l, igcm_n2) = rm(l,i_n2) |
|---|
| 939 | zycol(l, igcm_h2o_vap) = rm(l,i_h2o) |
|---|
| 940 | end do |
|---|
| 941 | |
|---|
| 942 | if (igcm_ch4 .ne. 0) then |
|---|
| 943 | do l = 1,lswitch-1 |
|---|
| 944 | zycol(l,igcm_ch4) = rm(l,i_ch4) |
|---|
| 945 | end do |
|---|
| 946 | end if |
|---|
| 947 | |
|---|
| 948 | end subroutine chimtogcm |
|---|
| 949 | |
|---|
| 950 | c***************************************************************** |
|---|
| 951 | |
|---|
| 952 | subroutine chemrates(nlayer, |
|---|
| 953 | $ lswitch, dens, press, t, |
|---|
| 954 | $ surfdust1d, surfice1d, |
|---|
| 955 | $ a001, a002, a003, |
|---|
| 956 | $ b001, b002, b003, b004, b005, b006, |
|---|
| 957 | $ b007, b008, b009, |
|---|
| 958 | $ c001, c002, c003, c004, c005, c006, |
|---|
| 959 | $ c007, c008, c009, c010, c011, c012, |
|---|
| 960 | $ c013, c014, c015, c016, c017, c018, |
|---|
| 961 | $ d001, d002, d003, |
|---|
| 962 | $ e001, e002, e003, |
|---|
| 963 | $ h001, h002, h003, h004, h005, |
|---|
| 964 | $ t001, t002, t003, tau) |
|---|
| 965 | |
|---|
| 966 | c***************************************************************** |
|---|
| 967 | |
|---|
| 968 | USE comcstfi_h |
|---|
| 969 | implicit none |
|---|
| 970 | |
|---|
| 971 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 972 | c inputs: c |
|---|
| 973 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 974 | |
|---|
| 975 | integer, intent(in) :: nlayer ! number of atmospheric layers |
|---|
| 976 | integer :: lswitch ! interface level between chemistries |
|---|
| 977 | |
|---|
| 978 | real :: dens(nlayer) ! density (cm-3) |
|---|
| 979 | real :: press(nlayer) ! pressure (hpa) |
|---|
| 980 | real :: t(nlayer) ! temperature (k) |
|---|
| 981 | real :: surfdust1d(nlayer) ! dust surface area (cm^2/cm^3) |
|---|
| 982 | real :: surfice1d(nlayer) ! ice surface area (cm^2/cm^3) |
|---|
| 983 | real :: tau ! dust opacity at 7 hpa |
|---|
| 984 | |
|---|
| 985 | real, parameter :: tribo = 0. ! switch for triboelectricity |
|---|
| 986 | |
|---|
| 987 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 988 | c outputs: c |
|---|
| 989 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 990 | |
|---|
| 991 | real :: a001(nlayer), a002(nlayer), a003(nlayer) |
|---|
| 992 | real :: b001(nlayer), b002(nlayer), b003(nlayer), |
|---|
| 993 | $ b004(nlayer), b005(nlayer), b006(nlayer), |
|---|
| 994 | $ b007(nlayer), b008(nlayer), b009(nlayer) |
|---|
| 995 | real :: c001(nlayer), c002(nlayer), c003(nlayer), |
|---|
| 996 | $ c004(nlayer), c005(nlayer), c006(nlayer), |
|---|
| 997 | $ c007(nlayer), c008(nlayer), c009(nlayer), |
|---|
| 998 | $ c010(nlayer), c011(nlayer), c012(nlayer), |
|---|
| 999 | $ c013(nlayer), c014(nlayer), c015(nlayer), |
|---|
| 1000 | $ c016(nlayer), c017(nlayer), c018(nlayer) |
|---|
| 1001 | real :: d001(nlayer), d002(nlayer), d003(nlayer) |
|---|
| 1002 | real :: e001(nlayer), e002(nlayer), e003(nlayer) |
|---|
| 1003 | real :: h001(nlayer), h002(nlayer), h003(nlayer), |
|---|
| 1004 | $ h004(nlayer), h005(nlayer) |
|---|
| 1005 | real :: t001(nlayer), t002(nlayer), t003(nlayer) |
|---|
| 1006 | |
|---|
| 1007 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 1008 | c local: c |
|---|
| 1009 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 1010 | |
|---|
| 1011 | real :: ak0, ak1, rate, rate1, rate2, xpo, xpo1, xpo2 |
|---|
| 1012 | real :: ef, efmax, lossh2o, lossch4, lossco2 |
|---|
| 1013 | |
|---|
| 1014 | integer :: l |
|---|
| 1015 | real :: k1a, k1b, k1a0, k1b0, k1ainf |
|---|
| 1016 | real :: x, y, fc, fx |
|---|
| 1017 | |
|---|
| 1018 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 1019 | c compute reaction rates |
|---|
| 1020 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 1021 | |
|---|
| 1022 | do l = 1,lswitch-1 |
|---|
| 1023 | |
|---|
| 1024 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 1025 | c oxygen compounds |
|---|
| 1026 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 1027 | c |
|---|
| 1028 | ccc a001: o + o2 + co2 -> o3 + co2 |
|---|
| 1029 | c |
|---|
| 1030 | c jpl 2003 |
|---|
| 1031 | c |
|---|
| 1032 | c co2 efficiency as a third body (2.075) |
|---|
| 1033 | c from sehested et al., j. geophys. res., 100, 1995. |
|---|
| 1034 | c |
|---|
| 1035 | a001(l) = 2.075 |
|---|
| 1036 | $ *6.0e-34*(t(l)/300.)**(-2.4)*dens(l) |
|---|
| 1037 | c |
|---|
| 1038 | c mulcahy and williams, 1968 |
|---|
| 1039 | c |
|---|
| 1040 | c a001(l) = 2.68e-33*(t(l)/298.)**(-2.4)*dens(l) |
|---|
| 1041 | c |
|---|
| 1042 | c nair et al., 1994 |
|---|
| 1043 | c |
|---|
| 1044 | c a001(l) = 1.3e-34*exp(724./t(l))*dens(l) |
|---|
| 1045 | c |
|---|
| 1046 | ccc a002: o + o + co2 -> o2 + co2 |
|---|
| 1047 | c |
|---|
| 1048 | c Tsang and Hampson, J. Chem. Phys. Ref. Data, 15, 1087, 1986 |
|---|
| 1049 | c |
|---|
| 1050 | c a002(l) = 2.5*5.2e-35*exp(900./t(l))*dens(l) |
|---|
| 1051 | c |
|---|
| 1052 | c Campbell and Gray, Chem. Phys. Lett., 18, 607, 1973 |
|---|
| 1053 | c |
|---|
| 1054 | c a002(l) = 1.2e-32*(300./t(l))**(2.0)*dens(l) ! yung expression |
|---|
| 1055 | c |
|---|
| 1056 | a002(l) = 2.5*9.46e-34*exp(485./t(l))*dens(l) ! nist expression |
|---|
| 1057 | c |
|---|
| 1058 | c baulch et al., 1976 confirmed by smith and robertson, 2008 |
|---|
| 1059 | c |
|---|
| 1060 | c a002(l) = 2.5*2.76e-34*exp(720./t(l))*dens(l) |
|---|
| 1061 | c |
|---|
| 1062 | ccc a003: o + o3 -> o2 + o2 |
|---|
| 1063 | c |
|---|
| 1064 | c jpl 2003 |
|---|
| 1065 | c |
|---|
| 1066 | a003(l) = 8.0e-12*exp(-2060./t(l)) |
|---|
| 1067 | c |
|---|
| 1068 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 1069 | c reactions with o(1d) |
|---|
| 1070 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 1071 | c |
|---|
| 1072 | ccc b001: o(1d) + co2 -> o + co2 |
|---|
| 1073 | c |
|---|
| 1074 | c jpl 2003 |
|---|
| 1075 | c |
|---|
| 1076 | c b001(l) = 7.4e-11*exp(120./t(l)) |
|---|
| 1077 | c |
|---|
| 1078 | c jpl 2006 |
|---|
| 1079 | c |
|---|
| 1080 | b001(l) = 7.5e-11*exp(115./t(l)) |
|---|
| 1081 | c |
|---|
| 1082 | ccc b002: o(1d) + h2o -> oh + oh |
|---|
| 1083 | c |
|---|
| 1084 | c jpl 2003 |
|---|
| 1085 | c |
|---|
| 1086 | c b002(l) = 2.2e-10 |
|---|
| 1087 | c |
|---|
| 1088 | c jpl 2006 |
|---|
| 1089 | c |
|---|
| 1090 | b002(l) = 1.63e-10*exp(60./t(l)) |
|---|
| 1091 | c |
|---|
| 1092 | ccc b003: o(1d) + h2 -> oh + h |
|---|
| 1093 | c |
|---|
| 1094 | c jpl 2011 |
|---|
| 1095 | c |
|---|
| 1096 | b003(l) = 1.2e-10 |
|---|
| 1097 | c |
|---|
| 1098 | ccc b004: o(1d) + o2 -> o + o2 |
|---|
| 1099 | c |
|---|
| 1100 | c jpl 2003 |
|---|
| 1101 | c |
|---|
| 1102 | c b004(l) = 3.2e-11*exp(70./t(l)) |
|---|
| 1103 | c |
|---|
| 1104 | c jpl 2006 |
|---|
| 1105 | c |
|---|
| 1106 | b004(l) = 3.3e-11*exp(55./t(l)) |
|---|
| 1107 | c |
|---|
| 1108 | ccc b005: o(1d) + o3 -> o2 + o2 |
|---|
| 1109 | c |
|---|
| 1110 | c jpl 2003 |
|---|
| 1111 | c |
|---|
| 1112 | b005(l) = 1.2e-10 |
|---|
| 1113 | c |
|---|
| 1114 | ccc b006: o(1d) + o3 -> o2 + o + o |
|---|
| 1115 | c |
|---|
| 1116 | c jpl 2003 |
|---|
| 1117 | c |
|---|
| 1118 | b006(l) = 1.2e-10 |
|---|
| 1119 | c |
|---|
| 1120 | ccc b007: o(1d) + ch4 -> ch3 + oh |
|---|
| 1121 | c |
|---|
| 1122 | c jpl 2003 |
|---|
| 1123 | c |
|---|
| 1124 | b007(l) = 1.5e-10*0.75 |
|---|
| 1125 | c |
|---|
| 1126 | ccc b008: o(1d) + ch4 -> ch3o + h |
|---|
| 1127 | c |
|---|
| 1128 | c jpl 2003 |
|---|
| 1129 | c |
|---|
| 1130 | b008(l) = 1.5e-10*0.20 |
|---|
| 1131 | c |
|---|
| 1132 | ccc b009: o(1d) + ch4 -> ch2o + h2 |
|---|
| 1133 | c |
|---|
| 1134 | c jpl 2003 |
|---|
| 1135 | c |
|---|
| 1136 | b009(l) = 1.5e-10*0.05 |
|---|
| 1137 | c |
|---|
| 1138 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 1139 | c hydrogen compounds |
|---|
| 1140 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 1141 | c |
|---|
| 1142 | ccc c001: o + ho2 -> oh + o2 |
|---|
| 1143 | c |
|---|
| 1144 | c jpl 2003 |
|---|
| 1145 | c |
|---|
| 1146 | c001(l) = 3.0e-11*exp(200./t(l)) |
|---|
| 1147 | c |
|---|
| 1148 | ccc c002: o + oh -> o2 + h |
|---|
| 1149 | c |
|---|
| 1150 | c jpl 2011 |
|---|
| 1151 | c |
|---|
| 1152 | c002(l) = 1.8e-11*exp(180./t(l)) |
|---|
| 1153 | c |
|---|
| 1154 | c robertson and smith, j. chem. phys. a 110, 6673, 2006 |
|---|
| 1155 | c |
|---|
| 1156 | c c002(l) = 11.2e-11*t(l)**(-0.32)*exp(177./t(l)) |
|---|
| 1157 | c |
|---|
| 1158 | ccc c003: h + o3 -> oh + o2 |
|---|
| 1159 | c |
|---|
| 1160 | c jpl 2003 |
|---|
| 1161 | c |
|---|
| 1162 | c003(l) = 1.4e-10*exp(-470./t(l)) |
|---|
| 1163 | c |
|---|
| 1164 | ccc c004: h + ho2 -> oh + oh |
|---|
| 1165 | c |
|---|
| 1166 | c jpl 2003 |
|---|
| 1167 | c |
|---|
| 1168 | c c004(l) = 8.1e-11*0.90 |
|---|
| 1169 | c |
|---|
| 1170 | c jpl 2006 |
|---|
| 1171 | c |
|---|
| 1172 | c004(l) = 7.2e-11 |
|---|
| 1173 | c |
|---|
| 1174 | ccc c005: h + ho2 -> h2 + o2 |
|---|
| 1175 | c |
|---|
| 1176 | c jpl 2003 |
|---|
| 1177 | c |
|---|
| 1178 | c c005(l) = 8.1e-11*0.08 |
|---|
| 1179 | c |
|---|
| 1180 | c jpl 2006 |
|---|
| 1181 | c |
|---|
| 1182 | c005(l) = 6.9e-12 |
|---|
| 1183 | c |
|---|
| 1184 | ccc c006: h + ho2 -> h2o + o |
|---|
| 1185 | c |
|---|
| 1186 | c jpl 2003 |
|---|
| 1187 | c |
|---|
| 1188 | c c006(l) = 8.1e-11*0.02 |
|---|
| 1189 | c |
|---|
| 1190 | c jpl 2006 |
|---|
| 1191 | c |
|---|
| 1192 | c006(l) = 1.6e-12 |
|---|
| 1193 | c |
|---|
| 1194 | ccc c007: oh + ho2 -> h2o + o2 |
|---|
| 1195 | c |
|---|
| 1196 | c jpl 2003 |
|---|
| 1197 | c |
|---|
| 1198 | c007(l) = 4.8e-11*exp(250./t(l)) |
|---|
| 1199 | c |
|---|
| 1200 | c jpl 2003 +20% d'apres canty et al., grl, 2006 |
|---|
| 1201 | c |
|---|
| 1202 | c c007(l) = 4.8e-11*exp(250./t(l))*1.2 |
|---|
| 1203 | c |
|---|
| 1204 | ccc c008: ho2 + ho2 -> h2o2 + o2 |
|---|
| 1205 | c |
|---|
| 1206 | c jpl 2003 |
|---|
| 1207 | c |
|---|
| 1208 | c c008(l) = 2.3e-13*exp(600./t(l)) |
|---|
| 1209 | c |
|---|
| 1210 | c christensen et al., grl, 13, 2002 |
|---|
| 1211 | c |
|---|
| 1212 | c008(l) = 1.5e-12*exp(19./t(l)) |
|---|
| 1213 | c |
|---|
| 1214 | ccc c009: oh + h2o2 -> h2o + ho2 |
|---|
| 1215 | c |
|---|
| 1216 | c jpl 2003 |
|---|
| 1217 | c |
|---|
| 1218 | c c009(l) = 2.9e-12*exp(-160./t(l)) |
|---|
| 1219 | c |
|---|
| 1220 | c jpl 2006 |
|---|
| 1221 | c |
|---|
| 1222 | c009(l) = 1.8e-12 |
|---|
| 1223 | c |
|---|
| 1224 | ccc c010: oh + h2 -> h2o + h |
|---|
| 1225 | c |
|---|
| 1226 | c jpl 2003 |
|---|
| 1227 | c |
|---|
| 1228 | c c010(l) = 5.5e-12*exp(-2000./t(l)) |
|---|
| 1229 | c |
|---|
| 1230 | c jpl 2006 |
|---|
| 1231 | c |
|---|
| 1232 | c010(l) = 2.8e-12*exp(-1800./t(l)) |
|---|
| 1233 | c |
|---|
| 1234 | ccc c011: h + o2 + co2 -> ho2 + co2 |
|---|
| 1235 | c |
|---|
| 1236 | c jpl 2011 |
|---|
| 1237 | c |
|---|
| 1238 | ak0 = 2.5*4.4e-32*(t(l)/300.)**(-1.3) |
|---|
| 1239 | ak1 = 7.5e-11*(t(l)/300.)**(0.2) |
|---|
| 1240 | c |
|---|
| 1241 | rate = (ak0*dens(l))/(1. + ak0*dens(l)/ak1) |
|---|
| 1242 | xpo = 1./(1. + alog10((ak0*dens(l))/ak1)**2) |
|---|
| 1243 | c011(l) = rate*0.6**xpo |
|---|
| 1244 | c |
|---|
| 1245 | ccc c012: o + h2o2 -> oh + ho2 |
|---|
| 1246 | c |
|---|
| 1247 | c jpl 2003 |
|---|
| 1248 | c |
|---|
| 1249 | c012(l) = 1.4e-12*exp(-2000./t(l)) |
|---|
| 1250 | c |
|---|
| 1251 | ccc c013: oh + oh -> h2o + o |
|---|
| 1252 | c |
|---|
| 1253 | c jpl 2003 |
|---|
| 1254 | c |
|---|
| 1255 | c c013(l) = 4.2e-12*exp(-240./t(l)) |
|---|
| 1256 | c |
|---|
| 1257 | c jpl 2006 |
|---|
| 1258 | c |
|---|
| 1259 | c013(l) = 1.8e-12 |
|---|
| 1260 | c |
|---|
| 1261 | ccc c014: oh + o3 -> ho2 + o2 |
|---|
| 1262 | c |
|---|
| 1263 | c jpl 2003 |
|---|
| 1264 | c |
|---|
| 1265 | c014(l) = 1.7e-12*exp(-940./t(l)) |
|---|
| 1266 | c |
|---|
| 1267 | c jpl 2000 |
|---|
| 1268 | c |
|---|
| 1269 | c c014(l) = 1.5e-12*exp(-880./t(l)) |
|---|
| 1270 | c |
|---|
| 1271 | c nair et al., 1994 (jpl 1997) |
|---|
| 1272 | c |
|---|
| 1273 | c c014(l) = 1.6e-12*exp(-940./t(l)) |
|---|
| 1274 | c |
|---|
| 1275 | ccc c015: ho2 + o3 -> oh + o2 + o2 |
|---|
| 1276 | c |
|---|
| 1277 | c jpl 2003 |
|---|
| 1278 | c |
|---|
| 1279 | c015(l) = 1.0e-14*exp(-490./t(l)) |
|---|
| 1280 | c |
|---|
| 1281 | c jpl 2000 |
|---|
| 1282 | c |
|---|
| 1283 | c c015(l) = 2.0e-14*exp(-680./t(l)) |
|---|
| 1284 | c |
|---|
| 1285 | c nair et al., 1994 (jpl 1997) |
|---|
| 1286 | c |
|---|
| 1287 | c c015(l) = 1.1e-14*exp(-500./t(l)) |
|---|
| 1288 | c |
|---|
| 1289 | ccc c016: ho2 + ho2 + co2 -> h2o2 + o2 + co2 |
|---|
| 1290 | c |
|---|
| 1291 | c jpl 2011 |
|---|
| 1292 | c |
|---|
| 1293 | c016(l) = 2.5*2.1e-33 |
|---|
| 1294 | $ *exp(920./t(l))*dens(l) |
|---|
| 1295 | c |
|---|
| 1296 | ccc c017: oh + oh + co2 -> h2o2 + co2 |
|---|
| 1297 | c |
|---|
| 1298 | c jpl 2003 |
|---|
| 1299 | c |
|---|
| 1300 | ak0 = 2.5*6.9e-31*(t(l)/300.)**(-1.0) |
|---|
| 1301 | ak1 = 2.6e-11*(t(l)/300.)**(0.0) |
|---|
| 1302 | c |
|---|
| 1303 | c jpl 1997 |
|---|
| 1304 | c |
|---|
| 1305 | c ak0 = 2.5*6.2e-31*(t(l)/300.)**(-1.0) |
|---|
| 1306 | c ak1 = 2.6e-11*(t(l)/300.)**(0.0) |
|---|
| 1307 | c |
|---|
| 1308 | c nair et al., 1994 |
|---|
| 1309 | c |
|---|
| 1310 | c ak0 = 2.5*7.1e-31*(t(l)/300.)**(-0.8) |
|---|
| 1311 | c ak1 = 1.5e-11*(t(l)/300.)**(0.0) |
|---|
| 1312 | c |
|---|
| 1313 | rate = (ak0*dens(l))/(1. + ak0*dens(l)/ak1) |
|---|
| 1314 | xpo = 1./(1. + alog10((ak0*dens(l))/ak1)**2) |
|---|
| 1315 | c017(l) = rate*0.6**xpo |
|---|
| 1316 | c |
|---|
| 1317 | ccc c018: h + h + co2 -> h2 + co2 |
|---|
| 1318 | c |
|---|
| 1319 | c baulch et al., 1992 |
|---|
| 1320 | c |
|---|
| 1321 | c c018(l) = 2.5*8.85e-33*(t(l)/298.)**(-0.6)*dens(l) |
|---|
| 1322 | c |
|---|
| 1323 | c baulch et al., 2005 |
|---|
| 1324 | c |
|---|
| 1325 | c018(l) = 2.5*1.8e-30*(t(l)**(-1.0))*dens(l) |
|---|
| 1326 | c |
|---|
| 1327 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 1328 | c nitrogen compounds |
|---|
| 1329 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 1330 | c |
|---|
| 1331 | ccc d001: no2 + o -> no + o2 |
|---|
| 1332 | c |
|---|
| 1333 | c jpl 2003 |
|---|
| 1334 | c |
|---|
| 1335 | c d001(l) = 5.6e-12*exp(180./t(l)) |
|---|
| 1336 | c |
|---|
| 1337 | ccc jpl 2006 |
|---|
| 1338 | c |
|---|
| 1339 | d001(l) = 5.1e-12*exp(210./t(l)) |
|---|
| 1340 | c |
|---|
| 1341 | ccc d002: no + o3 -> no2 + o2 |
|---|
| 1342 | c |
|---|
| 1343 | c jpl 2003 |
|---|
| 1344 | c |
|---|
| 1345 | d002(l) = 3.0e-12*exp(-1500./t(l)) |
|---|
| 1346 | c |
|---|
| 1347 | ccc d003: no + ho2 -> no2 + oh |
|---|
| 1348 | c |
|---|
| 1349 | c jpl 2011 |
|---|
| 1350 | c |
|---|
| 1351 | d003(l) = 3.3e-12*exp(270./t(l)) |
|---|
| 1352 | c |
|---|
| 1353 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 1354 | c carbon compounds |
|---|
| 1355 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 1356 | c |
|---|
| 1357 | ccc e001: oh + co -> co2 + h |
|---|
| 1358 | c |
|---|
| 1359 | c jpl 2003 |
|---|
| 1360 | c |
|---|
| 1361 | c e001(l) = 1.5e-13*(1 + 0.6*press(l)/1013.) |
|---|
| 1362 | c |
|---|
| 1363 | c mccabe et al., grl, 28, 3135, 2001 |
|---|
| 1364 | c |
|---|
| 1365 | c e001(l) = 1.57e-13 + 3.54e-33*dens(l) |
|---|
| 1366 | c |
|---|
| 1367 | c atkinson et al. 2006 |
|---|
| 1368 | c |
|---|
| 1369 | c e001(l) = 1.44e-13 + 3.43e-33*dens(l) |
|---|
| 1370 | c |
|---|
| 1371 | c joshi et al., 2006 |
|---|
| 1372 | c |
|---|
| 1373 | k1a0 = 1.34*2.5*dens(l) |
|---|
| 1374 | $ *1/(1/(3.62e-26*t(l)**(-2.739)*exp(-20./t(l))) |
|---|
| 1375 | $ + 1/(6.48e-33*t(l)**(0.14)*exp(-57./t(l)))) ! corrige de l'erreur publi |
|---|
| 1376 | k1b0 = 1.17e-19*t(l)**(2.053)*exp(139./t(l)) |
|---|
| 1377 | $ + 9.56e-12*t(l)**(-0.664)*exp(-167./t(l)) |
|---|
| 1378 | k1ainf = 1.52e-17*t(l)**(1.858)*exp(28.8/t(l)) |
|---|
| 1379 | $ + 4.78e-8*t(l)**(-1.851)*exp(-318./t(l)) |
|---|
| 1380 | x = k1a0/(k1ainf - k1b0) |
|---|
| 1381 | y = k1b0/(k1ainf - k1b0) |
|---|
| 1382 | fc = 0.628*exp(-1223./t(l)) + (1. - 0.628)*exp(-39./t(l)) |
|---|
| 1383 | $ + exp(-t(l)/255.) |
|---|
| 1384 | fx = fc**(1./(1. + (alog(x))**2)) ! corrige de l'erreur publi |
|---|
| 1385 | k1a = k1a0*((1. + y)/(1. + x))*fx |
|---|
| 1386 | k1b = k1b0*(1./(1.+x))*fx |
|---|
| 1387 | c |
|---|
| 1388 | e001(l) = k1a + k1b |
|---|
| 1389 | c |
|---|
| 1390 | ccc e002: o + co + m -> co2 + m |
|---|
| 1391 | c |
|---|
| 1392 | c tsang and hampson, 1986. |
|---|
| 1393 | c |
|---|
| 1394 | e002(l) = 2.5*6.5e-33*exp(-2184./t(l))*dens(l) |
|---|
| 1395 | c |
|---|
| 1396 | c baulch et al., butterworths, 1976. |
|---|
| 1397 | c |
|---|
| 1398 | c e002(l) = 1.6e-32*exp(-2184./t(l))*dens(l) |
|---|
| 1399 | c |
|---|
| 1400 | ccc e003: ch4 + oh -> ch3 + h2o |
|---|
| 1401 | c |
|---|
| 1402 | c jpl 2003 |
|---|
| 1403 | c |
|---|
| 1404 | c e003(l) = 2.45e-12*exp(-1775./t(l)) |
|---|
| 1405 | c |
|---|
| 1406 | c jpl 2003, three-parameter expression |
|---|
| 1407 | c |
|---|
| 1408 | e003(l) = 2.80e-14*(t(l)**0.667)*exp(-1575./t(l)) |
|---|
| 1409 | c |
|---|
| 1410 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 1411 | c heterogenous chemistry |
|---|
| 1412 | cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc |
|---|
| 1413 | c |
|---|
| 1414 | c k = (surface*v*gamma)/4 (s-1) |
|---|
| 1415 | c v = 100*sqrt(8rt/(pi*m)) (cm s-1) |
|---|
| 1416 | c |
|---|
| 1417 | ccc h001: ho2 + ice -> products |
|---|
| 1418 | c |
|---|
| 1419 | c cooper and abbatt, 1996: gamma = 0.025 |
|---|
| 1420 | c |
|---|
| 1421 | h001(l) = surfice1d(l) |
|---|
| 1422 | $ *100.*sqrt(8.*8.31*t(l)/(33.e-3*pi))*0.025/4. |
|---|
| 1423 | c |
|---|
| 1424 | c h002: oh + ice -> products |
|---|
| 1425 | c |
|---|
| 1426 | c cooper and abbatt, 1996: gamma = 0.03 |
|---|
| 1427 | c |
|---|
| 1428 | h002(l) = surfice1d(l) |
|---|
| 1429 | $ *100.*sqrt(8.*8.31*t(l)/(17.e-3*pi))*0.03/4. |
|---|
| 1430 | c |
|---|
| 1431 | c h003: ho2 + dust -> products |
|---|
| 1432 | c |
|---|
| 1433 | c jacob, 2000: gamma = 0.2 |
|---|
| 1434 | c see dereus et al., atm. chem. phys., 2005 |
|---|
| 1435 | c |
|---|
| 1436 | c h003(l) = surfdust1d(l) |
|---|
| 1437 | c $ *100.*sqrt(8.*8.31*t(l)/(33.e-3*pi))*0.2/4. |
|---|
| 1438 | h003(l) = 0. ! advised |
|---|
| 1439 | c |
|---|
| 1440 | ccc h004: h2o2 + ice -> products |
|---|
| 1441 | c |
|---|
| 1442 | c gamma = 1.e-3 test value |
|---|
| 1443 | c |
|---|
| 1444 | c h004(l) = surfice1d(l) |
|---|
| 1445 | c $ *100.*sqrt(8.*8.31*t(l)/(34.e-3*pi))*0.001/4. |
|---|
| 1446 | h004(l) = 0. ! advised |
|---|
| 1447 | c |
|---|
| 1448 | c h005: h2o2 + dust -> products |
|---|
| 1449 | c |
|---|
| 1450 | c gamma = 5.e-4 |
|---|
| 1451 | c see dereus et al., atm. chem. phys., 2005 |
|---|
| 1452 | c |
|---|
| 1453 | h005(l) = surfdust1d(l) |
|---|
| 1454 | $ *100.*sqrt(8.*8.31*t(l)/(34.e-3*pi))*5.e-4/4. |
|---|
| 1455 | h005(l) = 0. ! advised |
|---|
| 1456 | c |
|---|
| 1457 | end do |
|---|
| 1458 | c |
|---|
| 1459 | if (tribo .eq. 1.) then |
|---|
| 1460 | c |
|---|
| 1461 | c electrochemical reactions |
|---|
| 1462 | c |
|---|
| 1463 | c efmax: maximum electric field (kv.m-1) |
|---|
| 1464 | c |
|---|
| 1465 | efmax = 23.3 |
|---|
| 1466 | c |
|---|
| 1467 | c ef: actual electric field, scaled by tau. |
|---|
| 1468 | c |
|---|
| 1469 | c if (tau .ge. 1.) then |
|---|
| 1470 | c ef = efmax |
|---|
| 1471 | c else |
|---|
| 1472 | c ef = 0. |
|---|
| 1473 | c end if |
|---|
| 1474 | c ef = min(efmax,efmax*tau/1.0) |
|---|
| 1475 | c |
|---|
| 1476 | ef = (efmax/0.5)*tau - (efmax/0.5)*0.5 |
|---|
| 1477 | c |
|---|
| 1478 | ef = max(ef, 0.) |
|---|
| 1479 | ef = min(ef, efmax) |
|---|
| 1480 | c |
|---|
| 1481 | ccc t001: h2o + e -> oh + h- |
|---|
| 1482 | c |
|---|
| 1483 | c lossh2o: fit of oh/h- production rates |
|---|
| 1484 | c given by delory et al., astrobiology, 6, 451, 2006 |
|---|
| 1485 | c |
|---|
| 1486 | if (ef .eq. 0.) then |
|---|
| 1487 | lossh2o = 0. |
|---|
| 1488 | else if (ef .lt. 10.) then |
|---|
| 1489 | lossh2o = 0.054136*exp(1.0978*ef) |
|---|
| 1490 | else if (ef .lt. 16.) then |
|---|
| 1491 | lossh2o = 64.85*exp(0.38894*ef) |
|---|
| 1492 | else if (ef .le. 20.) then |
|---|
| 1493 | lossh2o = 0.2466*exp(0.73719*ef) |
|---|
| 1494 | else |
|---|
| 1495 | lossh2o = 2.3269e-8*exp(1.546*ef) |
|---|
| 1496 | end if |
|---|
| 1497 | c |
|---|
| 1498 | c production rates are given for h2o = 20 prec. microns. |
|---|
| 1499 | c t001 is converted to first-order reaction rate |
|---|
| 1500 | c assuming h2o number density at the surface = 5e13 mol cm-3 |
|---|
| 1501 | c |
|---|
| 1502 | do l = 1,21 ! 70 km |
|---|
| 1503 | t001(l) = lossh2o/5.e13 ! s-1 |
|---|
| 1504 | end do |
|---|
| 1505 | do l = 22,lswitch-1 |
|---|
| 1506 | t001(l) = 0. |
|---|
| 1507 | end do |
|---|
| 1508 | c |
|---|
| 1509 | ccc t002: ch4 + e -> products |
|---|
| 1510 | c |
|---|
| 1511 | c lossch4: fit of ch4 loss rates |
|---|
| 1512 | c given by farrell et al., grl, 33, 2006 |
|---|
| 1513 | c |
|---|
| 1514 | if (ef .eq. 0.) then |
|---|
| 1515 | lossch4 = 0. |
|---|
| 1516 | else if (ef .gt. 20.) then |
|---|
| 1517 | lossch4 = 1.113e-21*exp(1.6065*ef) |
|---|
| 1518 | else if (ef .gt. 17.5) then |
|---|
| 1519 | lossch4 = 1.e-15*exp(0.92103*ef) |
|---|
| 1520 | else if (ef .gt. 14.) then |
|---|
| 1521 | lossch4 = 1.e-13*exp(0.65788*ef) |
|---|
| 1522 | else |
|---|
| 1523 | lossch4 = 8.9238e-15*exp(0.835*ef) |
|---|
| 1524 | end if |
|---|
| 1525 | c |
|---|
| 1526 | do l = 1,21 ! 70 km |
|---|
| 1527 | t002(l) = lossch4 ! s-1 |
|---|
| 1528 | end do |
|---|
| 1529 | do l = 22,lswitch-1 |
|---|
| 1530 | t002(l) = 0. |
|---|
| 1531 | end do |
|---|
| 1532 | c |
|---|
| 1533 | ccc t003: co2 + e -> co + o- |
|---|
| 1534 | c |
|---|
| 1535 | c lossco2: fit of co/o- production rates |
|---|
| 1536 | c given by delory et al., astrobiology, 6, 451, 2006 |
|---|
| 1537 | c |
|---|
| 1538 | if (ef .eq. 0.) then |
|---|
| 1539 | lossco2 = 0. |
|---|
| 1540 | else if (ef .lt. 10.) then |
|---|
| 1541 | lossco2 = 22.437*exp(1.045*ef) |
|---|
| 1542 | else if (ef .lt. 16.) then |
|---|
| 1543 | lossco2 = 17518.*exp(0.37896*ef) |
|---|
| 1544 | else if (ef .lt. 20.) then |
|---|
| 1545 | lossco2 = 54.765*exp(0.73946*ef) |
|---|
| 1546 | else |
|---|
| 1547 | lossco2 = 4.911e-6*exp(1.5508*ef) |
|---|
| 1548 | end if |
|---|
| 1549 | c |
|---|
| 1550 | c production rates are assumed to be given for p = 6 hPa |
|---|
| 1551 | c lossco2 is converted to first-order reaction rate |
|---|
| 1552 | c assuming co2 number density at the surface = 2e17 mol cm-3 |
|---|
| 1553 | c |
|---|
| 1554 | do l = 1,21 ! 70 km |
|---|
| 1555 | t003(l) = lossco2/2.e17 ! s-1 |
|---|
| 1556 | end do |
|---|
| 1557 | do l = 22,lswitch-1 |
|---|
| 1558 | t003(l) = 0. |
|---|
| 1559 | end do |
|---|
| 1560 | else |
|---|
| 1561 | do l = 1,lswitch-1 |
|---|
| 1562 | t001(l) = 0. |
|---|
| 1563 | t002(l) = 0. |
|---|
| 1564 | t003(l) = 0. |
|---|
| 1565 | end do |
|---|
| 1566 | end if |
|---|
| 1567 | c |
|---|
| 1568 | end subroutine chemrates |
|---|
| 1569 | |
|---|
| 1570 | end subroutine photochemistry |
|---|