Changeset 1541 for trunk/LMDZ.MARS/libf/phymars/dyn1d
- Timestamp:
- Apr 17, 2016, 10:23:21 PM (9 years ago)
- Location:
- trunk/LMDZ.MARS/libf/phymars/dyn1d
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/dyn1d/testphys1d.F
r1535 r1541 5 5 use infotrac, only: nqtot, tname 6 6 use comsoil_h, only: volcapa, layer, mlayer, inertiedat, nsoilmx 7 use comgeomfi_h, only: lati, long, area,sinlat, ini_fillgeom7 use comgeomfi_h, only: sinlat, ini_fillgeom 8 8 use surfdat_h, only: albedodat, z0_default, emissiv, emisice, 9 9 & albedice, iceradius, dtemisice, z0, … … 12 12 use slope_mod, only: theta_sl, psi_sl 13 13 use phyredem, only: physdem0,physdem1 14 use comgeomphy, only: initcomgeomphy, airephy, cuphy, cvphy, 15 & rlond, rlatd 14 use comgeomphy, only: initcomgeomphy, cell_area 16 15 use planete_h, only: year_day, periheli, aphelie, peri_day, 17 16 & obliquit, emin_turb, lmixmin … … 534 533 c ------------------------------------- 535 534 c mesh surface (not a very usefull quantity in 1D) 536 area(1)=1.E+0 537 airephy(1)=area(1) 535 cell_area(1)=1.E+0 538 536 539 537 c surface geopotential is not used (or useful) since in 1D … … 560 558 u(ilayer)=gru 561 559 v(ilayer)=grv 560 w(ilayer)=0 ! default: no vertical wind 562 561 ENDDO 563 562 … … 580 579 IF (co2ice(1).eq.1.E+0) THEN 581 580 emis=emisice(1) ! northern hemisphere 582 IF(lati (1).LT.0) emis=emisice(2) ! southern hemisphere581 IF(latitude(1).LT.0) emis=emisice(2) ! southern hemisphere 583 582 ENDIF 584 583 … … 654 653 ! thermo=0: initialize over all atmospheric layers 655 654 thermo=0 656 call inichim_newstart(q,psurf,sig,nq,lati ,long,area,657 $ thermo,qsurf)655 call inichim_newstart(q,psurf,sig,nq,latitude,longitude, 656 $ cell_area,thermo,qsurf) 658 657 endif 659 658 … … 683 682 c It is needed to transfert physics variables to "physiq"... 684 683 685 call physdem0("startfi.nc",long ,lati,nsoilmx,ngrid,llm,nq,686 . dtphys,float(day0),time,area,687 .albedodat,inertiedat,zmea,zstd,zsig,zgam,zthe)684 call physdem0("startfi.nc",longitude,latitude,nsoilmx,ngrid,llm, 685 & nq,dtphys,float(day0),time,cell_area, 686 & albedodat,inertiedat,zmea,zstd,zsig,zgam,zthe) 688 687 call physdem1("startfi.nc",nsoilmx,ngrid,llm,nq, 689 688 . dtphys,time, … … 703 702 call solarlong(day*1.0,zls) 704 703 write(103,*) 'Ls=',zls*180./pi 705 write(103,*) 'Lat=', lati (1)*180./pi704 write(103,*) 'Lat=', latitude(1)*180./pi 706 705 write(103,*) 'Tau=', tauvis/odpref*psurf 707 706 write(103,*) 'RunEnd - Atmos. Temp. File' 708 707 write(103,*) 'RunEnd - Atmos. Temp. File' 709 708 write(104,*) 'Ls=',zls*180./pi 710 write(104,*) 'Lat=', lati (1)709 write(104,*) 'Lat=', latitude(1) 711 710 write(104,*) 'Tau=', tauvis/odpref*psurf 712 711 write(104,*) 'RunEnd - Atmos. Temp. File' … … 753 752 754 753 c For some tests : No coriolis force at equator 755 c if(lati (1).eq.0.) then754 c if(latitude(1).eq.0.) then 756 755 DO ilayer=1,nlayer 757 756 du(ilayer)=du(ilayer)+ (gru-u(ilayer))/1.e4
Note: See TracChangeset
for help on using the changeset viewer.