Changeset 2031
- Timestamp:
- Oct 29, 2018, 1:30:04 PM (6 years ago)
- Location:
- trunk/LMDZ.MARS/libf
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/aeronomars/calchim.F90
r2030 r2031 2 2 ptimestep,pplay,pplev,pt,pdt,dist_sol,mu0, & 3 3 zzlev,zzlay,zday,pq,pdq,dqchim,dqschim,dqcloud, & 4 dqscloud,tau ref,co2ice,&4 dqscloud,tau,co2ice, & 5 5 pu,pdu,pv,pdv,surfdust,surfice) 6 6 … … 43 43 ! Input: 44 44 ! 45 ! ptimestep 45 ! ptimestep timestep (s) 46 46 ! pplay(ngrid,nlayer) Pressure at the middle of the layers (Pa) 47 47 ! pplev(ngrid,nlayer+1) Intermediate pressure levels (Pa) … … 52 52 ! pv(ngrid,nlayer) v component of the wind (ms-1) 53 53 ! pdv(ngrid,nlayer) v component tendency (K) 54 ! dist_sol 55 ! mu0(ngrid) 56 ! pq(ngrid,nlayer,nq) Advected fields, ie chemical species here57 ! pdq(ngrid,nlayer,nq) Previous tendencies on pq58 ! tau ref(ngrid) Optical depth at 7 hPa59 ! co2ice(ngrid) 54 ! dist_sol distance of the sun (AU) 55 ! mu0(ngrid) cos of solar zenith angle (=1 when sun at zenith) 56 ! pq(ngrid,nlayer,nq) advected fields, ie chemical species here 57 ! pdq(ngrid,nlayer,nq) previous tendencies on pq 58 ! tau(ngrid) dust optical depth 59 ! co2ice(ngrid) co2 ice surface layer (kg.m-2) 60 60 ! surfdust(ngrid,nlayer) dust surface area (m2/m3) 61 61 ! surfice(ngrid,nlayer) ice surface area (m2/m3) … … 63 63 ! Output: 64 64 ! 65 ! dqchim(ngrid,nlayer,nq) !tendencies on pq due to chemistry66 ! dqschim(ngrid,nq) !tendencies on qsurf65 ! dqchim(ngrid,nlayer,nq) tendencies on pq due to chemistry 66 ! dqschim(ngrid,nq) tendencies on qsurf 67 67 ! 68 68 !======================================================================= … … 91 91 real :: pdq(ngrid,nlayer,nq) ! previous tendencies 92 92 real :: zday ! date (time since Ls=0, in martian days) 93 real :: tau ref(ngrid) ! Reference columnoptical depth93 real :: tau(ngrid) ! dust optical depth 94 94 real :: co2ice(ngrid) ! co2 ice surface layer (kg.m-2) 95 95 real :: surfdust(ngrid,nlayer) ! dust surface area (m2/m3) 96 real :: surfice(ngrid,nlayer) ! 96 real :: surfice(ngrid,nlayer) ! ice surface area (m2/m3) 97 97 98 98 ! output: … … 655 655 656 656 szacol = acos(mu0(ig))*180./pi 657 taucol = tau ref(ig)*(700./610.) ! provisoire en attente de nouveau jmars657 taucol = tau(ig) 658 658 659 659 !======================================================================= -
trunk/LMDZ.MARS/libf/aeronomars/chimiedata.h
r2030 r2031 16 16 !-------------------------------------------- 17 17 18 real, parameter :: kb = 1.3806e-2319 20 18 common/chimiedata/jphot,colairtab,table_ozo 21 19 -
trunk/LMDZ.MARS/libf/aeronomars/photochemistry.F90
r2030 r2031 43 43 real :: surfdust1d(nlayer) ! dust surface area (cm2/cm3) 44 44 real :: surfice1d(nlayer) ! ice surface area (cm2/cm3) 45 real :: tau ! referencedust optical depth45 real :: tau ! dust optical depth 46 46 47 47 !=================================================================== … … 147 147 if (jonline) then 148 148 if (sza <= 113.) then ! day at 300 km 149 tau = tau*press(1)/7. ! temporary150 149 call photolysis_online(nlayer, alt, press, temp, zmmean, & 151 150 i_co2, i_co, i_o, i_o1d, i_o2, i_o3, i_h, & … … 157 156 end if 158 157 else 158 tau = tau*7./press(1) ! dust in the lookup table is at 7 hpa 159 159 call photolysis(nlayer, lswitch, press, temp, sza, tau, zmmean, dist_sol, & 160 160 rm(:,i_co2), rm(:,i_o3), v_phot) -
trunk/LMDZ.MARS/libf/phymars/physiq_mod.F
r2009 r2031 1590 1590 & ptimestep,zplay,zplev,pt,pdt,dist_sol,mu0, 1591 1591 $ zzlev,zzlay,zday,pq,pdq,zdqchim,zdqschim, 1592 $ zdqcloud,zdqscloud,tau ref,co2ice,1592 $ zdqcloud,zdqscloud,tau(:,1),co2ice, 1593 1593 $ pu,pdu,pv,pdv,surfdust,surfice) 1594 1594
Note: See TracChangeset
for help on using the changeset viewer.