Changeset 3356
- Timestamp:
- Jun 4, 2024, 5:56:14 PM (7 months ago)
- Location:
- trunk/LMDZ.PLUTO/libf/phypluto
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.PLUTO/libf/phypluto/callsedim.F
r3334 r3356 1 1 SUBROUTINE callsedim(ngrid,nlay, ptimestep, 2 2 & pplev,zlev, pt, pdt, 3 & pq, pdqfi, pdqsed,pdqs_sed,nq )3 & pq, pdqfi, pdqsed,pdqs_sed,nq,pphi) 4 4 5 5 use radinc_h, only : naerkind … … 39 39 real,intent(in):: pdt(ngrid,nlay) ! tendency on temperature 40 40 real,intent(in):: zlev(ngrid,nlay+1) ! altitude at layer boundaries 41 real,intent(in):: pphi(ngrid,nlay) ! geopotential 41 42 integer,intent(in) :: nq ! number of tracers 42 43 real,intent(in) :: pq(ngrid,nlay,nq) ! tracers (kg/kg) … … 120 121 call newsedim(ngrid,nlay,1,ptimestep, 121 122 & pplev,masse,epaisseur,zt,radius(iq),rho_q(iq), 122 & zqi(1,1,iq),wq,iq )123 & zqi(1,1,iq),wq,iq,pphi) 123 124 ! endif 124 125 -
trunk/LMDZ.PLUTO/libf/phypluto/newsedim.F
r3184 r3356 1 1 SUBROUTINE newsedim(ngrid,nlay,naersize,ptimestep, 2 & pplev,masse,epaisseur,pt,rd,rho,pqi,wq,iq )2 & pplev,masse,epaisseur,pt,rd,rho,pqi,wq,iq,pphi) 3 3 4 4 use ioipsl_getin_p_mod, only: getin_p 5 use comcstfi_mod, only: r, g 5 use comcstfi_mod, only: r, g, rad 6 6 use gases_h 7 7 ! use tracer_h, only : igcm_h2o_ice … … 41 41 real,intent(out) :: wq(ngrid,nlay+1) ! flux of tracer during timestep (?/m-2) 42 42 integer,intent(in) :: iq ! tracer index 43 real,intent(in):: pphi(ngrid,nlay) ! geopotential 43 44 44 45 c local: … … 90 91 do igas=1, ngasmx 91 92 if(gfrac(igas).ge.0.0) then 92 if(igas.eq.igas_ N2) then93 molrad = molrad + gfrac(igas)*2.2e-10 ! N294 visc(:,:) = visc(:,:) + gfrac(igas)*1.0e-5 ! N293 if(igas.eq.igas_CO2) then 94 molrad = molrad + gfrac(igas)*2.2e-10 ! CO2 95 visc(:,:) = visc(:,:) + gfrac(igas)*1.0e-5 ! CO2 95 96 elseif(igas.eq.igas_N2) then 96 97 molrad = molrad + gfrac(igas)*1.8e-10 ! N2 (Kunze et al. 2022) … … 110 111 visc(:,:) = visc(:,:) + gfrac(igas)*1.0e-5 ! CH4 111 112 else 112 molrad = molrad + gfrac(igas)* 2.2e-10 ! N2 by default113 visc(:,:) = visc(:,:) + gfrac(igas)*1.e-5! N2 by default113 molrad = molrad + gfrac(igas)*1.93e-10 ! N2 by default 114 visc(:,:) = visc(:,:) + 6.67e-6 ! N2 by default 114 115 write(*,*) trim(gnom(igas))," is not included in" 115 116 & ," newsedim, N2 is used by default" … … 181 182 rsurf=rfall 182 183 ! endif 184 185 ! b = 2./9. * g 186 b = 2./9. * ((g*rad-pphi(ig,l))**2/(g*(rad**2))) ! AF24: from Pluto.old 183 187 184 188 vstokes(ig,l) = b / visc(ig,l) * rho * rfall**3 / rsurf * -
trunk/LMDZ.PLUTO/libf/phypluto/physiq_mod.F90
r3353 r3356 1512 1512 call callsedim(ngrid,nlayer,ptimestep, & 1513 1513 pplev,zzlev,pt,pdt,pq,pdq, & 1514 zdqsed,zdqssed,nq )1514 zdqsed,zdqssed,nq,pphi) 1515 1515 endif 1516 1516
Note: See TracChangeset
for help on using the changeset viewer.