Changeset 2320
- Timestamp:
- May 12, 2020, 7:40:51 PM (5 years ago)
- Location:
- trunk/LMDZ.VENUS/libf/phyvenus
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.VENUS/libf/phyvenus/photochemistry_venus.F90
r2188 r2320 1 subroutine photochemistry_venus(nz, n_lon, ptimestep, p, t, tr, mumean, sza_input, nesp, iter)1 subroutine photochemistry_venus(nz, n_lon, ptimestep, p, t, tr, mumean, sza_input, lon, lat, nesp, iter) 2 2 3 3 use chemparam_mod … … 17 17 real :: ptimestep ! physics timestep (s) 18 18 real :: sza_input ! solar zenith angle (degrees) 19 real :: lon, lat ! longitude and latitude (degrees) 19 20 20 21 integer :: n_lon ! for 1D test … … 176 177 177 178 call define_dt(nesp, dt_corrected, dt_guess, ctimestep, cold(:), c(iz,:), & 178 mat1, prod, loss, conc(iz) )179 mat1, prod, loss, conc(iz), lon, lat) 179 180 180 181 if (time + dt_corrected > ptimestep) then … … 2649 2650 ! v_phot(:,nb_phot) = g023(:)*conc(:) 2650 2651 2651 ! Changement pour g023 ==> s2 + hv -> s + s 2652 ! Pas encore inclu dans la table jphot 2653 2654 ! Pas de photodissociation sous le nuage photochimique 2655 g023(1:28) = 0.0E+0 2656 2657 ! Dependance en sza pour la photodissociation 2658 ! moins de W.m-2 2659 IF (sza_input.LT.90.0) THEN 2660 g023(29:50) = 6.5E-3*COS(sza_input*pi/180.0) 2661 ELSE 2662 g023(29:50) = 0.0E+0 2663 END IF 2652 !--- temporary treatment of s2 photolysis 2653 2654 ! s2 + hv -> s + s 2655 2656 ! under the clouds: no photolysis 2657 2658 g023(1:28) = 0. 2659 2660 ! above the clouds: value derived from Mills, 1998 2661 2662 if (sza_input < 90.) then 2663 g023(29:nz) = 6.5e-3*cos(sza_input*pi/180.) 2664 else 2665 g023(29:nz) = 0. 2666 end if 2664 2667 2665 2668 nb_phot = nb_phot + 1 … … 2980 2983 2981 2984 subroutine define_dt(nesp, dtnew, dtold, ctimestep, cold, ccur, mat1, & 2982 prod, loss, dens )2985 prod, loss, dens, lon, lat) 2983 2986 2984 2987 !================================================================ … … 3000 3003 real, dimension(nesp) :: prod, loss 3001 3004 real :: dens 3005 real :: lon, lat 3002 3006 3003 3007 ! output -
trunk/LMDZ.VENUS/libf/phyvenus/phytrac_chimie.F
r2200 r2320 83 83 trac(:,1:22,i_co) = 25.e-6 84 84 trac(:,:,i_hcl) = 0.4e-6 85 trac(:,1:22,i_so2) = 10.e-685 trac(:,1:22,i_so2) = 7.e-6 86 86 trac(:,1:22,i_h2o) = 30.e-6 87 87 trac(:,:,i_n2) = 0.35e-1 … … 257 257 $ ztrac(ilon,:,:), 258 258 $ mmean(ilon,:), 259 $ sza_local, nqmax, iter(ilon,:)) 259 $ sza_local, 260 $ lon(ilon), lat(ilon), 261 $ nqmax, iter(ilon,:)) 260 262 261 263 end do
Note: See TracChangeset
for help on using the changeset viewer.