Changeset 3468
- Timestamp:
- Oct 24, 2024, 9:18:07 AM (4 weeks ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/changelog.txt
r3466 r3468 4727 4727 is a duplicate of the "dtridgl" routine in phymars/swr_toon.F 4728 4728 - turn aeronomars routines to modules, for those which aren't in modules yet. 4729 4730 == 24/10/2024 == EM 4731 Remove obsolete/depreciated lwrite flag (which would trigger some very specific 4732 extra text outputs), in code and in reference callphys.def files. 4733 -
trunk/LMDZ.MARS/deftank/callphys.def.GCM5
r3448 r3468 10 10 #Seasonal cycle ? if season=False, Ls stays constant, to value set in "start" 11 11 season = .true. 12 13 #write some more output on the screen ?14 lwrite = .false.15 12 16 13 #Save statistics in file "stats.nc" ? -
trunk/LMDZ.MARS/deftank/callphys.def.GCM6
r3448 r3468 12 12 #Seasonal cycle ? if season=False, Ls stays constant, to value set in "start" 13 13 season = .true. 14 15 #write some more output on the screen ?16 lwrite = .false.17 14 18 15 #Save statistics in file "stats.nc" ? -
trunk/LMDZ.MARS/deftank/callphys.def.MCD5
r3448 r3468 13 13 #Seasonal cycle ? if season=False, Ls stays constant, to value set in "start" 14 14 season = .true. 15 16 #write some more output on the screen ?17 lwrite = .false.18 15 19 16 #Save statistics in file "stats.nc" ? -
trunk/LMDZ.MARS/deftank/callphys.def.MCD6
r3448 r3468 12 12 #Seasonal cycle ? if season=False, Ls stays constant, to value set in "start" 13 13 season = .true. 14 15 #write some more output on the screen ?16 lwrite = .false.17 14 18 15 #Save statistics in file "stats.nc" ? -
trunk/LMDZ.MARS/deftank/callphys.def.co2clouds.GCM5
r3448 r3468 18 18 #Seasonal cycle ? if season=False, Ls stays constant, to value set in "start" 19 19 season = .true. 20 21 #write some more output on the screen ?22 lwrite = .false.23 20 24 21 #Save statistics in file "stats.nc" ? -
trunk/LMDZ.MARS/deftank/callphys.def.hdo.GCM5
r3448 r3468 10 10 #Seasonal cycle ? if season=False, Ls stays constant, to value set in "start" 11 11 season = .true. 12 13 #write some more output on the screen ?14 lwrite = .false.15 12 16 13 #Save statistics in file "stats.nc" ? -
trunk/LMDZ.MARS/libf/phymars/callkeys.h
r3230 r3468 7 7 8 8 COMMON/callkeys_l/callrad,calldifv,calladj,callcond,callsoil & 9 & ,season,diurnal, lwrite,calllott,calleofdump&9 & ,season,diurnal,calllott,calleofdump & 10 10 & ,callnirco2,callnlte,callthermos,callconduct,calleuv & 11 11 & ,callmolvis,callmoldiff,thermochem,thermoswater,callemis & … … 33 33 34 34 LOGICAL callrad,calldifv,calladj,callcond,callsoil, & 35 & season,diurnal, lwrite,calllott,calllott_nonoro&35 & season,diurnal,calllott,calllott_nonoro & 36 36 & ,calleofdump & 37 37 & ,callnirco2,callnlte,callthermos,callconduct, & -
trunk/LMDZ.MARS/libf/phymars/callradite_mod.F
r2685 r3468 608 608 enddo 609 609 endif 610 c Output for debugging if lwrite=T610 c Output for debugging 611 611 c -------------------------------- 612 612 c Write all nlayer layers, even though only nlaylte layers may have 613 613 c non-zero tendencies. 614 614 615 IF(lwrite) THEN 616 PRINT*,'Diagnotique for the radiation' 617 PRINT*,'albedo, emissiv, mu0,fract,fluxsurf_lw,fluxsurf_sw' 618 PRINT*,albedo(igout,1),emis(igout),mu0(igout), 619 s fract(igout), fluxsurf_lw(igout), 620 $ fluxsurf_dn_sw(igout,1)+fluxsurf_dn_sw(igout,2) 621 PRINT*,'Tlay Tlev Play Plev dT/dt SW dT/dt LW (K/s)' 622 PRINT*,'daysec',daysec 623 DO l=1,nlayer 624 PRINT*,pt(igout,l),ptlev(igout,l), 625 s pplay(igout,l),pplev(igout,l), 626 s dtsw(igout,l),dtlw(igout,l) 627 ENDDO 628 ENDIF 615 c PRINT*,'Diagnotique for the radiation' 616 c PRINT*,'albedo, emissiv, mu0,fract,fluxsurf_lw,fluxsurf_sw' 617 c PRINT*,albedo(igout,1),emis(igout),mu0(igout), 618 c s fract(igout), fluxsurf_lw(igout), 619 c $ fluxsurf_dn_sw(igout,1)+fluxsurf_dn_sw(igout,2) 620 c PRINT*,'Tlay Tlev Play Plev dT/dt SW dT/dt LW (K/s)' 621 c PRINT*,'daysec',daysec 622 c DO l=1,nlayer 623 c PRINT*,pt(igout,l),ptlev(igout,l), 624 c s pplay(igout,l),pplev(igout,l), 625 c s dtsw(igout,l),dtlw(igout,l) 626 c ENDDO 629 627 630 628 -
trunk/LMDZ.MARS/libf/phymars/conf_phys.F
r3369 r3468 130 130 call getin_p("season",season) 131 131 write(*,*) " season = ",season 132 133 write(*,*) "Write some extra output to the screen ?"134 lwrite=.false. ! default value135 call getin_p("lwrite",lwrite)136 write(*,*) " lwrite = ",lwrite137 132 138 133 write(*,*) "Save statistics in file stats.nc ?" -
trunk/LMDZ.MARS/libf/phymars/physiq_mod.F
r3466 r3468 1505 1505 dwatercap_dif(:,:) = 0. 1506 1506 CALL vdifc(ngrid,nlayer,nsoilmx,nq,nqsoil,zpopsk, 1507 $ ptimestep,capcal, lwrite,1507 $ ptimestep,capcal, 1508 1508 $ zplay,zplev,zzlay,zzlev,z0, 1509 1509 $ pu,pv,zh,pq,tsurf,tsoil,emis,qsurf, … … 2546 2546 & 'ig l =', igmin, lmin 2547 2547 end if 2548 c *******************************************************************2549 2550 c ---------------------2551 c Outputs to the screen2552 c ---------------------2553 2554 IF (lwrite) THEN2555 write(*,*)'Global diagnostics for the physics'2556 write(*,*)'Variables and their increments x and dx/dt * dt'2557 WRITE(*,'(a6,a10,2a15)') 'Ts','dTs','ps','dps'2558 WRITE(*,'(2f10.5,2f15.5)')2559 s tsurf(igout,:),zdtsurf(igout,:)*ptimestep,2560 s zplev(igout,1),pdpsrf(igout)*ptimestep2561 WRITE(*,'(a4,a6,5a10)') 'l','u','du','v','dv','T','dT'2562 WRITE(*,'(i4,6f10.5)') (l,2563 s pu(igout,l),pdu(igout,l)*ptimestep,2564 s pv(igout,l),pdv(igout,l)*ptimestep,2565 s pt(igout,l),pdt(igout,l)*ptimestep,2566 s l=1,nlayer)2567 ENDIF ! of IF (lwrite)2568 2548 2569 2549 c ---------------------------------------------------------- -
trunk/LMDZ.MARS/libf/phymars/vdifc_mod.F
r3404 r3468 6 6 7 7 SUBROUTINE vdifc(ngrid,nlay,nsoil,nq,nqsoil,ppopsk, 8 $ ptimestep,pcapcal, lecrit,8 $ ptimestep,pcapcal, 9 9 $ pplay,pplev,pzlay,pzlev,pz0, 10 10 $ pu,pv,ph,pq,ptsrf,ptsoil,pemis,pqsurf,qsoil, … … 85 85 c Argument added for condensation: 86 86 REAL,INTENT(IN) :: ppopsk(ngrid,nlay) 87 logical,INTENT(IN) :: lecrit88 87 REAL,INTENT(IN) :: pcondicea_co2microp(ngrid,nlay)! tendency due to CO2 condensation (kg/kg.s-1) 89 88 … … 341 340 ENDDO 342 341 343 c ** diagnostique pour l'initialisation344 c ----------------------------------345 346 IF(lecrit) THEN347 ig=ngrid/2+1348 PRINT*,'Pression (mbar) ,altitude (km),u,v,theta, rho dz'349 DO ilay=1,nlay350 WRITE(*,'(6f11.5)')351 s .01*pplay(ig,ilay),.001*pzlay(ig,ilay),352 s pu(ig,ilay),pv(ig,ilay),ph(ig,ilay),za(ig,ilay)353 ENDDO354 PRINT*,'Pression (mbar) ,altitude (km),zb'355 DO ilev=1,nlay356 WRITE(*,'(3f15.7)')357 s .01*pplev(ig,ilev),.001*pzlev(ig,ilev),358 s zb0(ig,ilev)359 ENDDO360 ENDIF361 362 342 c ----------------------------------- 363 343 c Potential Condensation temperature: … … 503 483 end do 504 484 end if 505 506 c ** diagnostique pour le schema de turbulence507 c -----------------------------------------508 509 IF(lecrit) THEN510 PRINT*511 PRINT*,'Diagnostic for the vertical turbulent mixing'512 PRINT*,'Cd for momentum and potential temperature'513 514 PRINT*,zcdv_tmp(ngrid/2+1),zcdh_tmp(ngrid/2+1)515 PRINT*,'Mixing coefficient for momentum and pot.temp.'516 DO ilev=1,nlay517 PRINT*,zkv(ngrid/2+1,ilev),zkh(ngrid/2+1,ilev)518 ENDDO519 ENDIF520 485 521 486 c----------------------------------------------------------------------- … … 1465 1430 & *ptimestep))/ptimestep 1466 1431 1467 c ** diagnostique final1468 c ------------------1469 1470 IF(lecrit) THEN1471 PRINT*,'In vdif'1472 PRINT*,'Ts (t) and Ts (t+st)'1473 WRITE(*,'(a10,3a15)')1474 s 'theta(t)','theta(t+dt)','u(t)','u(t+dt)'1475 PRINT*,ptsrf(ngrid/2+1,:),ztsrf2(ngrid/2+1)1476 DO ilev=1,nlay1477 WRITE(*,'(4f15.7)')1478 s ph(ngrid/2+1,ilev),zhs(ngrid/2+1,ilev),1479 s pu(ngrid/2+1,ilev),zu(ngrid/2+1,ilev)1480 1481 ENDDO1482 ENDIF1483 1484 1432 END SUBROUTINE vdifc 1485 1433
Note: See TracChangeset
for help on using the changeset viewer.