Changeset 2326 for trunk/LMDZ.TITAN/libf/phytitan
- Timestamp:
- May 18, 2020, 4:33:35 PM (5 years ago)
- Location:
- trunk/LMDZ.TITAN/libf/phytitan
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.TITAN/libf/phytitan/calc_ysat.F90
r1966 r2326 10 10 ! S. Lebonnois 11 11 ! -> inicondens.F in old Titan, with T,P in planetary average 12 ! J. Vatant d'Ollone (2017) 13 ! -> Adapt to new physics, move to F90 and compute every grid point 12 ! J. Vatant d'Ollone 13 ! -> 2017 : Adapt to new physics, move to F90 and compute every grid point 14 ! -> 2018 : Update saturation profiles from recent litterature ( Vuitton 2019 ) 14 15 ! ============================================================================== 15 16 … … 62 63 else if(trim(cnames(ic)).eq."C2H2") then 63 64 64 ysat(:,:,ic) = 10.0**(6.09748e0-1644.1e0/temp(:,:)+7.42346e0 & 65 * alog10(1.0e3/temp(:,:)) ) / press(:,:)*1013.25e0/760.0 65 ! ysat(:,:,ic) = 10.0**(6.09748e0-1644.1e0/temp(:,:)+7.42346e0 & 66 ! * alog10(1.0e3/temp(:,:)) ) / press(:,:)*1013.25e0/760.0 67 68 ysat(:,:,ic) = 1.E5 * exp(13.4-2536./temp(:,:)) / press(:,:) ! Fray and Schmidt (2009) 66 69 67 70 else if(trim(cnames(ic)).eq."C2H4") then 68 71 69 where (temp(:,:).lt.89.0) 72 where (temp(:,:).lt.89.0) ! not far from Fray and Schmidt, 2009 70 73 ysat(:,:,ic) = 10.0**(1.5477e0 + (1.0e0/temp(:,:) - 0.011e0) & 71 74 * (16537.0e0*(1.0e0/temp(:,:) - 0.011e0) - 1038.1e0)) & 72 75 / press(:,:) * 1.01325e0 / 760.0 73 elsewhere (temp(:,:).lt.104.0) 76 elsewhere (temp(:,:).lt.104.0) ! not far from Fray and Schmidt, 2009 74 77 ysat(:,:,ic) = 10.0**(8.724e0 - 901.6e0/(temp(:,:) - 2.555e0) ) & 75 78 / press(:,:) * 1013.25e0 / 760.0 … … 85 88 86 89 where (temp(:,:).lt.90.) 87 ysat(:,:,ic) = 10.0**(10.01e0-1085.0e0/(temp(:,:)-0.561e0) ) & 88 / press(:,:) * 1013.25e0 / 760.0e0 90 ! ysat(:,:,ic) = 10.0**(10.01e0-1085.0e0/(temp(:,:)-0.561e0) ) & 91 ! / press(:,:) * 1013.25e0 / 760.0e0 92 ysat(:,:,ic) = 1.E5 * exp ( 15.11 - 2207./temp(:,:) - 24110./(temp(:,:)**2) & 93 + 7.744E5/(temp(:,:)**3) - 1.161E7/(temp(:,:)**4) & 94 + 6.763E7/(temp(:,:)**5) ) / press(:,:) ! Fray and Schmidt (2009) 89 95 elsewhere 90 96 ysat(:,:,ic) = 10.0**(5.9366e0 - 1086.17e0/temp(:,:) + 3.83464e0 & … … 135 141 else if(trim(cnames(ic)).eq."AC6H6") then 136 142 137 x = 1.0e0 - temp(:,:) / 562.2e0138 ysat(:,:,ic)= 48.9e3 * exp( ( 1.33213 * x**1.5 - 6.98273 * x &139 - x**3 * (2.62863 + 3.33399 * x**3) ) * 562.2e0/temp(:,:) ) / press(:,:)143 !x = 1.0e0 - temp(:,:) / 562.2e0 144 !ysat(:,:,ic)= 48.9e3 * exp( ( 1.33213 * x**1.5 - 6.98273 * x & 145 ! - x**3 * (2.62863 + 3.33399 * x**3) ) * 562.2e0/temp(:,:) ) / press(:,:) 140 146 147 ysat(:,:,ic) = 1.E5 * exp (17.35-5663./temp(:,:)) / press(:,:) ! Fray and Schmidt (2009) 148 141 149 else if(trim(cnames(ic)).eq."HCN") then 142 150 143 ysat(:,:,ic)= 10.0**(8.6165e0 - 1516.5e0/(temp(:,:) - 26.2e0) ) / press(:,:) * 1013.25e0 / 760.0e0 151 !ysat(:,:,ic)= 10.0**(8.6165e0 - 1516.5e0/(temp(:,:) - 26.2e0) ) / press(:,:) * 1013.25e0 / 760.0e0 152 153 ysat(:,:,ic) = 1.E5 * exp ( 13.93 - 3624./temp(:,:) - 1.325E5/(temp(:,:)**2) & 154 + 6.314E6/(temp(:,:)**3) - 1.128E8/(temp(:,:)**4) ) / press(:,:) ! Fray and Schmidt (2009) 144 155 145 156 else if(trim(cnames(ic)).eq."CH3CN") then -
trunk/LMDZ.TITAN/libf/phytitan/calchim.F90
r2099 r2326 165 165 PRINT*, 'CHIMIE, premier appel' 166 166 167 call check(nlaykim_tot,klev-15,nlrt_kim,nkim) 167 if (ngrid .eq. 1) then ! if 1D no dynamic mixing, we set the kedd in all column 168 call check(nlaykim_tot,0,nlrt_kim,nkim) 169 else 170 call check(nlaykim_tot,klev-15,nlrt_kim,nkim) 171 endif 168 172 169 173 ALLOCATE(r1d(131)) -
trunk/LMDZ.TITAN/libf/phytitan/chem_settings.F90
r1943 r2326 13 13 ! file but not composition fields. The presence of the 14 14 ! 1st field is tested and then we assume there's either 15 ! no one or all of the 44chemistry scheme species.15 ! no one or all of the nkim chemistry scheme species. 16 16 ! 17 17 ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! … … 97 97 98 98 ! Load others fields if first one found only as we assume we can't do uncomplete chemistry 99 ! NB : We assume a given order of the 44chemistry species !!100 ! ( H=1, H2=2 ..., C4N2=44) -> cf comchem_h99 ! NB : We assume a given order of the chemistry species !! 100 ! ( H=1, H2=2 ...,) -> cf comchem_h 101 101 102 102 DO iq=2,nkim -
trunk/LMDZ.TITAN/libf/phytitan/comchem_h.F90
r2099 r2326 31 31 32 32 !! Hard-coded number of chemical species for Titan chemistry 33 INTEGER, PARAMETER :: nkim = 4 433 INTEGER, PARAMETER :: nkim = 43 34 34 35 35 !! Hard-coded chemical species for Titan chemistry … … 38 38 "CH4 ", "C2 ", "C2H ", "C2H2 ", "C2H3 ", "C2H4 ", & 39 39 "C2H5 ", "C2H6 ", "C3H3 ", "C3H5 ", "C3H6 ", "C3H7 ", & 40 "C4H ", "C4H3 ", "C4H4 ", "C 4H2s ", "CH2CCH2 ", "CH3CCH", &41 "C 3H8 ", "C4H2 ", "C4H6 ", "C4H10 ", "AC6H6 ", "C3H2", &42 " C4H5 ", "AC6H5 ", "N2 ", "N4S ", "CN ", "HCN", &43 " H2CN ", "CHCN ", "CH2CN ", "CH3CN ", "C3N ", "HC3N ", &44 " NCCN ", "C4N2 "/)40 "C4H ", "C4H3 ", "C4H4 ", "CH2CCH2 ", "CH3CCH ", "C3H8 ", & 41 "C4H2 ", "C4H6 ", "C4H10 ", "AC6H6 ", "C3H2 ", "C4H5 ", & 42 "AC6H5 ", "N2 ", "N4S ", "CN ", "HCN ", "H2CN ", & 43 "CHCN ", "CH2CN ", "CH3CN ", "C3N ", "HC3N ", "NCCN ", & 44 "C4N2 "/) 45 45 !! Hard-coded chemical species for Titan chemistry + "HV" specie for the photochem module. 46 46 CHARACTER(len=10), DIMENSION(nkim+1) :: nomqy_c ! Initialized in calchim with null terminator … … 48 48 REAL, DIMENSION(nkim), PARAMETER :: cmmol = (/ & 49 49 1.01 , 2.0158, 13.02, 14.03, 14.03, 15.03, 16.04 , 24.02, 25.03, 26.04 , 27.05 , & 50 28.05 , 29.06 , 30.07, 39.06, 41.07, 42.08, 43.09 , 49.05, 51.07, 52.08 , 50.06, &51 40.07 , 40.07 , 44.11, 50.06, 54.09, 58.13, 78.1136, 38.05, 53.07, 77.1136, 28.0134, &52 14.01 ,26.02 , 27.04, 28.05, 39.05, 40.04, 41.05 , 50.04, 51.05, 52.04 , 76.1 /)50 28.05 , 29.06 , 30.07, 39.06, 41.07, 42.08, 43.09 , 49.05, 51.07, 52.08 , 40.07 , & 51 40.07 , 44.11, 50.06, 54.09, 58.13, 78.1136, 38.05, 53.07, 77.1136, 28.0134, 14.01 , & 52 26.02 , 27.04, 28.05, 39.05, 40.04, 41.05 , 50.04, 51.05, 52.04 , 76.1 /) 53 53 54 54 !! Hard-coded molar fraction of surface methane … … 86 86 87 87 ! These 3 parameters as well as nkim above, MUST match titan.h in chimtitan !! 88 INTEGER, PARAMETER :: nd_kim = 5 4! Number of photodissociations89 INTEGER, PARAMETER :: nr_kim = 3 77! Number of reactions in chemistry scheme88 INTEGER, PARAMETER :: nd_kim = 55 ! Number of photodissociations 89 INTEGER, PARAMETER :: nr_kim = 330 ! Number of reactions in chemistry scheme 90 90 INTEGER, PARAMETER :: nlrt_kim = 650 ! For the UV rad. transf., 650 levels of 2 km 91 91
Note: See TracChangeset
for help on using the changeset viewer.