Changeset 1956 for trunk/LMDZ.TITAN/libf/phytitan/physiq_mod.F90
- Timestamp:
- Jul 1, 2018, 5:07:48 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.TITAN/libf/phytitan/physiq_mod.F90
r1947 r1956 387 387 real temp_eq(nlayer), press_eq(nlayer) ! Planetary averages for the init. of saturation profiles (K,mbar) 388 388 389 ! Surface methane tank 390 real,dimension(:),allocatable,save :: tankCH4 ! Depth of surface methane tank (m) 391 !$OMP THREADPRIVATE(tankCH4) 389 ! Surface methane 390 real, dimension(:), allocatable, save :: tankCH4 ! Depth of surface methane tank (m) 391 real, dimension(:), allocatable, save :: zdyevapCH4 ! Surface pseudo-evaporation flux (chemistry keeping constant surface humidity) (mol/mol/s). 392 !$OMP THREADPRIVATE(tankCH4,zdyevapCH4) 392 393 393 394 ! -----******----- FOR MUPHYS OPTICS -----******----- … … 522 523 allocate(dycchi(ngrid,nlayer,nkim)) ! only for chemical tracers 523 524 allocate(qysat(nlayer,nkim)) 525 allocate(zdyevapCH4(ngrid)) 524 526 525 527 ! Chemistry timestep … … 1199 1201 ! Here we send zonal average fields ( corrected with cond ) from dynamics to chem. module 1200 1202 call calchim(ngrid,ychimbar,declin,ctimestep,ztfibar,zphibar, & 1201 zplaybar,zplevbar,zzlaybar,zzlevbar,dycchi )1203 zplaybar,zplevbar,zzlaybar,zzlevbar,dycchi,zdyevapCH4) 1202 1204 else ! 3D chemistry (or 1D run) 1203 1205 call calchim(ngrid,ychim,declin,ctimestep,pt,pphi, & 1204 pplay,pplev,zzlay,zzlev,dycchi )1206 pplay,pplev,zzlay,zzlev,dycchi,zdyevapCH4) 1205 1207 endif ! if moyzon 1206 1208 1207 1209 endif 1210 1211 ! Add diagnostic-only surface pseudo-evapoaration in condensation tendency for bottom layer 1212 zdqcond(:,1,chimi_indx(7)) = zdyevapCH4(:)*rat_mmol(chimi_indx(7)) 1208 1213 1209 1214 do iq=1,nkim … … 1559 1564 call writediagfi(ngrid,cnames(iq),cnames(iq),'mol/mol',3,zq(:,:,iq+nmicro)/rat_mmol(iq+nmicro)) 1560 1565 enddo 1566 call writediagfi(ngrid,"fluxCH4","Surface CH4 pseudo-evaporation",'mol/mol/s',2,zdyevapCH4) 1561 1567 endif 1562 1568
Note: See TracChangeset
for help on using the changeset viewer.