Changeset 2024
- Timestamp:
- Oct 25, 2018, 3:19:35 PM (6 years ago)
- Location:
- trunk/LMDZ.MARS/libf/aeronomars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/aeronomars/chimiedata.h
r1430 r2024 38 38 !-------------------------------------------- 39 39 40 integer, parameter :: nb_phot_max = 1840 integer, parameter :: nb_phot_max = 22 41 41 integer, parameter :: nb_reaction_3_max = 6 42 integer, parameter :: nb_reaction_4_max = 3 042 integer, parameter :: nb_reaction_4_max = 31 -
trunk/LMDZ.MARS/libf/aeronomars/photochemistry.F90
r2007 r2024 160 160 hetero_ice = .true. 161 161 162 call reactionrates(nlayer, lswitch, dens, c(:,i_co2), c(:,i_o2), &163 press, temp, hetero_dust, hetero_ice,&162 call reactionrates(nlayer, lswitch, dens, c(:,i_co2), c(:,i_o2), & 163 c(:,i_o), c(:,i_n2), press, temp, hetero_dust, hetero_ice, & 164 164 surfdust1d, surfice1d, v_phot, v_3, v_4) 165 165 … … 386 386 !====================================================================== 387 387 388 subroutine reactionrates(nlayer, &389 lswitch, dens, co2, o2, press, t,&390 hetero_dust, hetero_ice, &391 surfdust1d, surfice1d, &388 subroutine reactionrates(nlayer, & 389 lswitch, dens, co2, o2, o, n2, press, t, & 390 hetero_dust, hetero_ice, & 391 surfdust1d, surfice1d, & 392 392 v_phot, v_3, v_4) 393 393 … … 423 423 real (kind = 8), dimension(nlayer) :: co2 ! co2 number density (molecule.cm-3) 424 424 real (kind = 8), dimension(nlayer) :: o2 ! o2 number density (molecule.cm-3) 425 real (kind = 8), dimension(nlayer) :: o ! o number density (molecule.cm-3) 426 real (kind = 8), dimension(nlayer) :: n2 ! n2 number density (molecule.cm-3) 425 427 logical :: hetero_dust, hetero_ice ! switches for heterogeneous chemistry 426 428 … … 443 445 real, dimension(nlayer) :: deq 444 446 real, dimension(nlayer) :: a001, a002, a003, & 445 446 447 448 449 450 451 d008, d009,&452 453 447 b001, b002, b003, b004, b005, b006, b007, & 448 b008, b009, & 449 c001, c002, c003, c004, c005, c006, c007, & 450 c008, c009, c010, c011, c012, c013, c014, & 451 c015, c016, c017, c018, & 452 d001, d002, d003, d004, d005, d006, d007, & 453 d008, d009, d010, d011, d012, & 454 e001, e002, & 455 h001, h002, h003, h004, h005 454 456 455 457 !---------------------------------------------------------------------- … … 457 459 !---------------------------------------------------------------------- 458 460 459 nb_phot = 1 1 ! jmars.20140930 reduit de 13 a 11461 nb_phot = 13 ! jmars.20140930(13) - hno3 - hno4 + h2 + n2 460 462 nb_reaction_3 = 0 461 463 nb_reaction_4 = 0 … … 851 853 nb_reaction_4 = nb_reaction_4 + 1 852 854 v_4(:,nb_reaction_4) = d009(:) 855 856 !--- d010: n(2d) + o -> n + o 857 858 ! herron, j. phys. chem. ref. data, 1999 859 860 d010(:) = 3.3e-12*exp(-260./t(:)) 861 862 nb_phot = nb_phot + 1 863 v_phot(:,nb_phot) = d010(:)*o(:) 864 865 !--- d011: n(2d) + n2 -> n + n2 866 867 ! herron, j. phys. chem. ref. data, 1999 868 869 d011(:) = 1.7e-14 870 871 nb_phot = nb_phot + 1 872 v_phot(:,nb_phot) = d011(:)*n2(:) 873 874 !--- d012: n(2d) + co2 -> no + co 875 876 ! herron, j. phys. chem. ref. data, 1999 877 878 d012(:) = 3.6e-13 879 880 nb_reaction_4 = nb_reaction_4 + 1 881 v_4(:,nb_reaction_4) = d012(:) 853 882 854 883 !---------------------------------------------------------------------- … … 1226 1255 1227 1256 !=========================================================== 1257 ! H2 + hv -> H + H 1258 !=========================================================== 1259 1260 nb_phot = nb_phot + 1 1261 1262 indice_phot(nb_phot) = z3spec(1.0, i_h2, 1.0, i_h, 1.0, i_h) 1263 1264 !=========================================================== 1228 1265 ! NO + hv -> N + O 1229 1266 !=========================================================== … … 1242 1279 1243 1280 !=========================================================== 1281 ! N2 + hv -> N + N 1282 !=========================================================== 1283 1284 nb_phot = nb_phot + 1 1285 1286 indice_phot(nb_phot) = z3spec(1.0, i_n2, 1.0, i_n2d, 1.0, i_n) 1287 1288 !=========================================================== 1244 1289 ! a001 : O + O2 + CO2 -> O3 + CO2 1245 1290 !=========================================================== … … 1528 1573 1529 1574 indice_4(nb_reaction_4) = z4spec(1.0, i_n, 1.0, i_oh, 1.0, i_no, 1.0, i_h) 1575 1576 !=========================================================== 1577 ! d010 : N(2D) + O -> N + O 1578 !=========================================================== 1579 1580 nb_phot = nb_phot + 1 1581 1582 indice_phot(nb_phot) = z3spec(1.0, i_n2d, 1.0, i_n, 0.0, i_dummy) 1583 1584 !=========================================================== 1585 ! d011 : N(2D) + N2 -> N + N2 1586 !=========================================================== 1587 1588 nb_phot = nb_phot + 1 1589 1590 indice_phot(nb_phot) = z3spec(1.0, i_n2d, 1.0, i_n, 0.0, i_dummy) 1591 1592 !=========================================================== 1593 ! d012 : N(2D) + CO2 -> NO + CO 1594 !=========================================================== 1595 1596 nb_reaction_4 = nb_reaction_4 + 1 1597 1598 indice_4(nb_reaction_4) = z4spec(1.0, i_n2d, 1.0, i_co2, 1.0, i_no, 1.0, i_co) 1530 1599 1531 1600 !=========================================================== -
trunk/LMDZ.MARS/libf/aeronomars/photolysis.F90
r2007 r2024 43 43 integer :: j_o2_o, j_o2_o1d, j_co2_o, j_co2_o1d, j_o3_o1d, & 44 44 j_o3_o, j_h2o, j_hdo, j_h2o2, j_ho2, j_no, j_no2, & 45 j_hno3, j_hno4, & 46 j_ch4_ch3_h, j_ch4_1ch2_h2, j_ch4_3ch2_h_h, & 47 j_ch4_ch_h2_h, j_ch3o2h, j_ch2o_hco, j_ch2o_co, & 48 j_ch3oh, j_c2h6, j_hcl, j_hocl, j_clo, j_so2, j_so, & 49 j_h2s, j_so3 45 j_hno3, j_hno4 50 46 51 47 real :: col(nlayer) ! overhead air column (molecule cm-2) … … 323 319 j_hno4 = 13 ! hno4 + hv -> no2 + ho2 324 320 325 ! jmars.20111014326 327 ! j_o2_o = 1 ! o2 + hv -> o + o328 ! j_o2_o1d = 2 ! o2 + hv -> o + o(1d)329 ! j_co2_o = 3 ! co2 + hv -> co + o330 ! j_co2_o1d = 4 ! co2 + hv -> co + o(1d)331 ! j_o3_o1d = 5 ! o3 + hv -> o2 + o(1d)332 ! j_o3_o = 6 ! o3 + hv -> o2 + o333 ! j_h2o = 7 ! h2o + hv -> h + oh334 ! j_hdo = 8 ! hdo + hv -> d + oh335 ! j_h2o2 = 9 ! h2o2 + hv -> oh + oh336 ! j_ho2 = 10 ! ho2 + hv -> oh + o337 ! j_no2 = 11 ! no2 + hv -> no + o338 ! j_ch4_ch3_h = 12 ! ch4 + hv -> ch3 + h339 ! j_ch4_1ch2_h2 = 13 ! ch4 + hv -> 1ch2 + h2340 ! j_ch4_3ch2_h_h = 14 ! ch4 + hv -> 3ch2 + h + h341 ! j_ch4_ch_h2_h = 15 ! ch4 + hv -> ch + h2 + h342 ! j_ch3o2h = 16 ! ch3o2h + hv -> ch3o + oh343 ! j_ch2o_hco = 17 ! ch2o + hv -> h + hco344 ! j_ch2o_co = 18 ! ch2o + hv -> h2 + co345 ! j_ch3oh = 19 ! ch3oh + hv -> ch3o + h346 ! j_c2h6 = 20 ! c2h6 + hv -> products347 ! j_hcl = 21 ! hcl + hv -> h + cl348 ! j_hocl = 22 ! hocl + hv -> oh + cl349 ! j_clo = 23 ! clo + hv -> o + cl350 ! j_so2 = 24 ! so2 + hv -> so + o351 ! j_so = 25 ! so + hv -> s + o352 ! j_h2s = 26 ! h2s + hv -> hs + s353 ! j_so3 = 27 ! so2 + hv -> so2 + o354 ! j_hno3 = 28 ! hno3 + hv -> oh + no2355 ! j_hno4 = 29 ! hno4 + hv -> ho2 + no2356 357 321 ! fill v_phot array 358 322 … … 369 333 v_phot(l, 8) = j(l,j_h2o2) 370 334 v_phot(l, 9) = j(l,j_ho2) 371 v_phot(l,10) = j(l,j_no) 372 v_phot(l,11) = j(l,j_no2) 335 v_phot(l,10) = 0. ! h2 336 v_phot(l,11) = j(l,j_no) 337 v_phot(l,12) = j(l,j_no2) 338 v_phot(l,13) = 0. ! n2 373 339 end do 374 340
Note: See TracChangeset
for help on using the changeset viewer.