- Timestamp:
- Sep 28, 2017, 3:43:23 PM (7 years ago)
- Location:
- trunk/LMDZ.TITAN
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.TITAN/README
r1788 r1789 1333 1333 Removed : aerave.F aeroptproperties.F90 radii_mod.F90 aerosol_mod.F90 aerave_new.F stokes.F90 1334 1334 vlz_fi.F callsedim.F iniaerosol.F suaer_corrk.F90 newsedim.F 1335 1336 == 28/09/2017 == JVO 1337 Added the surface methane tank and put it in start files -
trunk/LMDZ.TITAN/libf/dynphy_lonlat/phytitan/newstart.F
r1670 r1789 162 162 real fact2 163 163 164 ! added by JVO for Titan 165 REAL tankCH4(ngridmx) 164 166 165 167 c sortie visu pour les champs dynamiques … … 341 343 CALL phyetat0(.true.,ngridmx,llm,fichnom,tab0,Lmodif,nsoilmx, 342 344 . nqtot,day_ini,time, 343 . tsurf,tsoil,emis,q2,qsurf )345 . tsurf,tsoil,emis,q2,qsurf,tankCH4) 344 346 345 347 ! copy albedo and soil thermal inertia on (local) physics grid … … 1232 1234 999 continue 1233 1235 1234 1236 1237 c================================================================ 1238 c Initialisation for methane surface tank (added by JVO 2017) 1239 c================================================================ 1240 DO ig=1, ngridmx 1241 tankCH4(ig)=2.0 1242 ENDDO 1235 1243 1236 1244 c======================================================================= … … 1339 1347 call physdem1("restartfi.nc",nsoilmx,ngridmx,llm,nqtot, 1340 1348 & dtphys,real(day_ini), 1341 & tsurf,tsoil,emis,q2,qsurf )1349 & tsurf,tsoil,emis,q2,qsurf,tankCH4) 1342 1350 1343 1351 c======================================================================= -
trunk/LMDZ.TITAN/libf/dynphy_lonlat/phytitan/start2archive.F
r1722 r1789 80 80 INTEGER*4 day_ini_fi 81 81 82 ! added by JVO for methane surface tank 83 REAL tankCH4(ngridmx) 82 84 83 85 c Variable naturelle / grille scalaire … … 91 93 REAL emisS(ip1jmp1) 92 94 95 ! added by JVO for methane surface tank 96 REAL tankCH4S(ip1jmp1) 93 97 94 98 c Variables intermediaires : vent naturel, mais pas coord scalaire … … 219 223 CALL phyetat0(.true.,ngridmx,llm,fichnom,0,Lmodif,nsoilmx,nqtot, 220 224 . day_ini_fi,timefi, 221 . tsurf,tsoil,emis,q2,qsurf )225 . tsurf,tsoil,emis,q2,qsurf,tankCH4) 222 226 223 227 … … 310 314 c q2 --> q2S 311 315 c qsurf --> qsurfS 316 c tankCH4 --> tankCH4S 312 317 c 313 318 c----------------------------------------------------------------------- … … 320 325 call gr_fi_dyn(llm+1,ngridmx,iip1,jjp1,q2,q2S) 321 326 call gr_fi_dyn(nqtot,ngridmx,iip1,jjp1,qsurf,qsurfS) 327 call gr_fi_dyn(1,ngridmx,iip1,jjp1,tankCH4,tankCH4S) 322 328 323 329 c======================================================================= … … 458 464 ! Note: no need to write volcapa, it is stored in "controle" table 459 465 466 c----------------------------------------------------------------- 467 c Ecriture du champs tankCH4 468 c----------------------------------------------------------------- 469 call write_archive(nid,ntime,'tankCH4', 470 & 'Depth of surface methane tank','m',2,tankCH4S) 460 471 461 472 c Fin -
trunk/LMDZ.TITAN/libf/phytitan/phyetat0_mod.F90
r1722 r1789 8 8 ngrid,nlayer,fichnom,tab0,Lmodif,nsoil,nq, & 9 9 day_ini,time,tsurf,tsoil, & 10 emis,q2,qsurf )10 emis,q2,qsurf,tankCH4) 11 11 12 12 ! to use 'getin_p' … … 44 44 real,intent(out) :: q2(ngrid,nlayer+1) ! 45 45 real,intent(out) :: qsurf(ngrid,nq) ! tracers on surface 46 real,intent(out) :: tankCH4(ngrid) ! depth of CH4 tank 46 47 47 48 !====================================================================== … … 217 218 write(*,*) "phyetat0: Surface emissivity <emis> range:", & 218 219 minval(emis), maxval(emis) 220 221 ! Depth of methane tank (added by JVO 2017) 222 if (startphy_file) then 223 call get_field("tankCH4",tankCH4,found,indextime) 224 if (.not.found) then 225 write(*,*) "phyetat0: Failed loading <tankCH4>" 226 ! call abort 227 tankCH4(:)=2. 228 endif 229 else 230 tankCH4(:)=2. 231 endif ! of if (startphy_file) 232 write(*,*) "phyetat0: Depth of methane tank <tankCH4> range:", & 233 minval(tankCH4), maxval(tankCH4) 219 234 220 235 ! pbl wind variance -
trunk/LMDZ.TITAN/libf/phytitan/phyredem.F90
r1647 r1789 135 135 136 136 subroutine physdem1(filename,nsoil,ngrid,nlay,nq, & 137 phystep,time,tsurf,tsoil,emis,q2,qsurf )137 phystep,time,tsurf,tsoil,emis,q2,qsurf,tankCH4) 138 138 ! write time-dependent variable to restart file 139 139 use iostart, only : open_restartphy, close_restartphy, & … … 155 155 real,intent(in) :: q2(ngrid,nlay+1) 156 156 real,intent(in) :: qsurf(ngrid,nq) 157 real,intent(in) :: tankCH4(ngrid) 157 158 158 159 integer :: iq … … 176 177 ! Planetary Boundary Layer 177 178 call put_field("q2","pbl wind variance",q2) 179 180 ! Methane tank depth 181 call put_field("tankCH4","Depth of methane tank",tankCH4) 178 182 179 183 ! tracers -
trunk/LMDZ.TITAN/libf/phytitan/physiq_mod.F90
r1788 r1789 375 375 !$OMP THREADPRIVATE(dycchi,qysat,nomqy) 376 376 377 real,dimension(:),allocatable,save :: tankCH4 ! Depth of surface methane tank 378 !$OMP THREADPRIVATE(tankCH4) 379 377 380 !----------------------------------------------------------------------------- 378 381 … … 402 405 ALLOCATE(qsurf(ngrid,nq)) 403 406 ALLOCATE(q2(ngrid,nlayer+1)) 407 ALLOCATE(tankCH4(ngrid)) 404 408 ALLOCATE(ztprevious(ngrid,nlayer)) 405 409 ALLOCATE(zuprevious(ngrid,nlayer)) … … 448 452 ! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 449 453 call phyetat0(startphy_file,ngrid,nlayer,"startfi.nc",0,0,nsoilmx,nq, & 450 day_ini,time_phys,tsurf,tsoil,emis,q2,qsurf )454 day_ini,time_phys,tsurf,tsoil,emis,q2,qsurf,tankCH4) 451 455 if (.not.startphy_file) then 452 456 ! additionnal "academic" initialization of physics … … 1241 1245 call physdem1("restartfi.nc",nsoilmx,ngrid,nlayer,nq, & 1242 1246 ptimestep,ztime_fin, & 1243 tsurf,tsoil,emis,q2,qsurf_hist )1247 tsurf,tsoil,emis,q2,qsurf_hist,tankCH4) 1244 1248 endif 1245 1249
Note: See TracChangeset
for help on using the changeset viewer.