Changeset 1543 for trunk/LMDZ.TITAN/libf
- Timestamp:
- Apr 22, 2016, 9:02:11 AM (9 years ago)
- Location:
- trunk/LMDZ.TITAN/libf/phytitan
- Files:
-
- 2 deleted
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.TITAN/libf/phytitan/calchim.F
r1530 r1543 17 17 use common_mod, only:utilaer,maer,prodaer,csn,csh,psurfhaze, 18 18 . NLEV,NLRT,NC,ND,NR 19 USE comgeomphy, only: rlatd20 19 USE moyzon_mod, only: tmoy,playmoy,zlaymoy,zlevmoy,klat 21 20 use mod_grid_phy_lmdz, only: nbp_lat -
trunk/LMDZ.TITAN/libf/phytitan/muphys3D.F
r1056 r1543 65 65 use dimphy 66 66 c use radcommon_h, only : volume,rayon,vrat,drayon,dvolume 67 USE comgeomphy, only: rlatd67 USE geometry_mod, only: latitude 68 68 69 69 IMPLICIT NONE … … 235 235 c*************************************************************** 236 236 if((IHOR.eq.1) 237 & .or.( rlatd(IHOR).ne.rlatd(im1))237 & .or.(latitude(IHOR).ne.latitude(im1)) 238 238 & .or.(microfi.eq.2)) then 239 239 c*************************************************************** -
trunk/LMDZ.TITAN/libf/phytitan/pg2.old
r175 r1543 42 42 43 43 use dimphy 44 USE comgeomphy44 USE geometry_mod, ONLY: latitude 45 45 #include "dimensions.h" 46 46 #include "microtab.h" … … 180 180 lati(1) = 0.5*RPI 181 181 DO ig=2,ngrid-1 182 lati(ig) = rlatd(2+(ig-2)*iim)*RPI/180.182 lati(ig) = latitude(2+(ig-2)*iim)*RPI/180. 183 183 ENDDO 184 184 lati(ngrid) = -0.5*RPI … … 197 197 c print*,"ENTREE PG2 PREMIER APPEL" 198 198 c print*,airetot,' airetot?= ',4.*RPI*RA*RA 199 c print*,1, rlatd(1),aire(1),aire(1)/airetot,' aires'199 c print*,1,latitude(1),aire(1),aire(1)/airetot,' aires' 200 200 c DO ig=2,ngrid-1 201 c print*,ig, rlatd(2+(ig-2)*iim),aire(ig),aire(ig)/airetot,' aires'201 c print*,ig,latitude(2+(ig-2)*iim),aire(ig),aire(ig)/airetot,' aires' 202 202 c ENDDO 203 c print*,ngrid, rlatd(klon),aire(ngrid),aire(ngrid)/airetot,' aires'203 c print*,ngrid,latitude(klon),aire(ngrid),aire(ngrid)/airetot,' aires' 204 204 c stop 205 205 -
trunk/LMDZ.TITAN/libf/phytitan/phyetat0.F90
r1530 r1543 13 13 USE iostart 14 14 USE infotrac 15 USE comgeomphy, only: rlatd,rlond15 USE geometry_mod, only: latitude,longitude 16 16 USE time_phylmdz_mod, only: itau_phy, raz_date 17 17 … … 76 76 77 77 ! read latitudes 78 call get_field("latitude", rlatd,found)78 call get_field("latitude",latitude,found) 79 79 IF (.not.found) THEN 80 80 PRINT*, 'phyetat0: Le champ <latitude> est absent' … … 83 83 84 84 ! read longitudes 85 call get_field("longitude", rlond,found)85 call get_field("longitude",longitude,found) 86 86 IF (.not.found) THEN 87 87 PRINT*, 'phyetat0: Le champ <longitude> est absent' … … 319 319 resch4(1) = 0. ! pole nord = 1 point 320 320 DO i=2,klon 321 if (( rlatd(i).ge.75..and.rlatd(i).le.85.).or. &322 ( rlatd(i).ge.-85.and.rlatd(i).le.-75.)) then321 if ((latitude(i).ge.75..and.latitude(i).le.85.).or. & 322 (latitude(i).ge.-85.and.latitude(i).le.-75.)) then 323 323 resch4(i) = 2. 324 324 else … … 352 352 353 353 ! do some more initializations 354 call init_iophy_new( rlatd,rlond)354 call init_iophy_new(latitude,longitude) 355 355 356 356 end subroutine phyetat0 -
trunk/LMDZ.TITAN/libf/phytitan/phyredem.F90
r1530 r1543 12 12 put_var,put_field 13 13 USE infotrac 14 USE comgeomphy, only: rlatd,rlond14 USE geometry_mod, only: longitude, latitude 15 15 USE time_phylmdz_mod, only: day_end, annee_ref, itau_phy, raz_date 16 16 … … 64 64 65 65 CALL put_field("longitude", & 66 "Longitudes de la grille physique", rlond)66 "Longitudes de la grille physique",longitude) 67 67 68 CALL put_field("latitude","Latitudes de la grille physique",rlatd) 68 CALL put_field("latitude", & 69 "Latitudes de la grille physique",latitude) 69 70 70 71 ! variables -
trunk/LMDZ.TITAN/libf/phytitan/physiq.F
r1530 r1543 58 58 USE infotrac 59 59 use dimphy 60 USE comgeomphy60 USE geometry_mod, ONLY: longitude, latitude, cell_area, dx, dy 61 61 use cpdet_mod, only: cpdet, t2tpot 62 62 USE mod_phys_lmdz_para, only : is_parallel,jj_nb … … 678 678 IF (if_ebil.ge.1) THEN 679 679 ztit='after dynamic' 680 CALL diagetpq( airephy,ztit,ip_ebil,1,1,dtime680 CALL diagetpq(cell_area,ztit,ip_ebil,1,1,dtime 681 681 e , t_seri,zero_v2,zero_v2,zero_v2,u_seri,v_seri,paprs,pplay 682 682 s , d_h_vcol, d_qt, d_qw, d_ql, d_qs, d_ec) … … 685 685 C est egale a la variation de la physique au pas de temps precedent. 686 686 C Donc la somme de ces 2 variations devrait etre nulle. 687 call diagphy( airephy,ztit,ip_ebil687 call diagphy(cell_area,ztit,ip_ebil 688 688 e , zero_v, zero_v, zero_v, zero_v, zero_v 689 689 e , zero_v, zero_v, zero_v, ztsol … … 726 726 DO k = 1, klev 727 727 DO i = 1, klon 728 omega(i,k) = RG*flxmw(i,k) / airephy(i)728 omega(i,k) = RG*flxmw(i,k) / cell_area(i) 729 729 END DO 730 730 END DO … … 786 786 787 787 DO i=2,klon 788 if ( rlatd(i).ne.rlatd(i-1)) then788 if (latitude(i).ne.latitude(i-1)) then 789 789 DO l=1,klev 790 790 c zzlaybar(i,l)=(zphibar(i,l)+zphisbar(i))/RG … … 861 861 862 862 c dans zenang, Ls en degres ; dans mucorr, Ls en radians 863 call mucorr(klon,zls, rlatd,rmu0bar,fractbar)863 call mucorr(klon,zls,latitude,rmu0bar,fractbar) 864 864 IF (cycle_diurne) THEN 865 865 zdtime=dtime*REAL(radpas) ! pas de temps du rayonnement (s) 866 CALL zenang(zlsdeg,gmtime,zdtime, rlatd,rlond,rmu0,fract)866 CALL zenang(zlsdeg,gmtime,zdtime,latitude,longitude,rmu0,fract) 867 867 ELSE 868 868 rmu0 = rmu0bar … … 917 917 $ paprs,pplay,ppk,radsol,falbe, 918 918 e solsw, sollw, sollwdown, fder, 919 e rlond, rlatd, cuphy, cvphy,919 e longitude, latitude, dx, dy, 920 920 e debut, lafin, 921 921 s d_t_vdf,d_u_vdf,d_v_vdf,d_ts, … … 966 966 IF (if_ebil.ge.2) THEN 967 967 ztit='after clmain' 968 CALL diagetpq( airephy,ztit,ip_ebil,2,1,dtime968 CALL diagetpq(cell_area,ztit,ip_ebil,2,1,dtime 969 969 e , t_seri,zero_v2,zero_v2,zero_v2,u_seri,v_seri,paprs,pplay 970 970 s , d_h_vcol, d_qt, d_qw, d_ql, d_qs, d_ec) 971 call diagphy( airephy,ztit,ip_ebil971 call diagphy(cell_area,ztit,ip_ebil 972 972 e , zero_v, zero_v, zero_v, zero_v, sens 973 973 e , zero_v, zero_v, zero_v, ztsol … … 1055 1055 IF (if_ebil.ge.2) THEN 1056 1056 ztit='after dry_adjust' 1057 CALL diagetpq( airephy,ztit,ip_ebil,2,2,dtime1057 CALL diagetpq(cell_area,ztit,ip_ebil,2,2,dtime 1058 1058 e , t_seri,zero_v2,zero_v2,zero_v2,u_seri,v_seri,paprs,pplay 1059 1059 s , d_h_vcol, d_qt, d_qw, d_ql, d_qs, d_ec) 1060 call diagphy( airephy,ztit,ip_ebil1060 call diagphy(cell_area,ztit,ip_ebil 1061 1061 e , zero_v, zero_v, zero_v, zero_v, sens 1062 1062 e , zero_v, zero_v, zero_v, ztsol … … 1270 1270 IF (if_ebil.ge.2) THEN 1271 1271 ztit='after rad' 1272 CALL diagetpq( airephy,ztit,ip_ebil,2,2,dtime1272 CALL diagetpq(cell_area,ztit,ip_ebil,2,2,dtime 1273 1273 e , t_seri,zero_v2,zero_v2,zero_v2,u_seri,v_seri,paprs,pplay 1274 1274 s , d_h_vcol, d_qt, d_qw, d_ql, d_qs, d_ec) 1275 call diagphy( airephy,ztit,ip_ebil1275 call diagphy(cell_area,ztit,ip_ebil 1276 1276 e , topsw, toplw, solsw, sollw, zero_v 1277 1277 e , zero_v, zero_v, zero_v, ztsol … … 1368 1368 c A ADAPTER POUR VENUS ET TITAN!!! 1369 1369 c CALL lift_noro(klon,klev,dtime,paprs,pplay, 1370 c e rlatd,zmea,zstd,zpic,zgam,zthe,zpic,zval,1370 c e latitude,zmea,zstd,zpic,zgam,zthe,zpic,zval, 1371 1371 c e igwd,idx,itest, 1372 1372 c e t_seri, u_seri, v_seri, … … 1425 1425 c==================================================================== 1426 1426 if (ballons.eq.1) then 1427 CALL ballon(30,pdtphys,rjourvrai,gmtime, rlatd,rlond,1427 CALL ballon(30,pdtphys,rjourvrai,gmtime,latitude,longitude, 1428 1428 c C t,pplay,u,v,pphi) ! alt above surface (smoothed for GCM) 1429 1429 C t,pplay,u,v,zphi) ! alt above planet average radius … … 1459 1459 CALL aaam_bud (27,klon,klev,rjourvrai,gmtime, 1460 1460 C ra,rg,romega, 1461 C rlatd,rlond,pphis,1461 C latitude,longitude,pphis, 1462 1462 C zustrdr,zustrli,zustrcl, 1463 1463 C zvstrdr,zvstrli,zvstrcl, … … 1499 1499 IF (if_ebil.ge.1) THEN 1500 1500 ztit='after physic' 1501 CALL diagetpq( airephy,ztit,ip_ebil,1,1,dtime1501 CALL diagetpq(cell_area,ztit,ip_ebil,1,1,dtime 1502 1502 e , t_seri,zero_v2,zero_v2,zero_v2,u_seri,v_seri,paprs,pplay 1503 1503 s , d_h_vcol, d_qt, d_qw, d_ql, d_qs, d_ec) … … 1506 1506 C est egale a la variation de la physique au pas de temps precedent. 1507 1507 C Donc la somme de ces 2 variations devrait etre nulle. 1508 call diagphy( airephy,ztit,ip_ebil1508 call diagphy(cell_area,ztit,ip_ebil 1509 1509 e , topsw, toplw, solsw, sollw, sens 1510 1510 e , zero_v, zero_v, zero_v, ztsol … … 1545 1545 c DO k = 1, klev 1546 1546 c DO i = 1, klon 1547 c mang(i,k) = RA*cos( rlatd(i)*RPI/180.)1548 c . *(u_seri(i,k)+RA*cos( rlatd(i)*RPI/180.)*ROMEGA)1549 c . * airephy(i)*(paprs(i,k)-paprs(i,k+1))/RG1547 c mang(i,k) = RA*cos(latitude(i)*RPI/180.) 1548 c . *(u_seri(i,k)+RA*cos(latitude(i)*RPI/180.)*ROMEGA) 1549 c . *cell_area(i)*(paprs(i,k)-paprs(i,k+1))/RG 1550 1550 c mangtot=mangtot+mang(i,k) 1551 1551 c ENDDO -
trunk/LMDZ.TITAN/libf/phytitan/radlwsw.F
r1530 r1543 35 35 c====================================================================== 36 36 use dimphy 37 USE comgeomphy38 37 USE phys_state_var_mod, only: falbe,heat,cool,radsol, 39 38 . topsw,toplw,solsw,sollw,sollwdown,lwnet,swnet, -
trunk/LMDZ.TITAN/libf/phytitan/radtitan.F
r1461 r1543 33 33 USE infotrac 34 34 use dimphy 35 USE comgeomphy35 USE geometry_mod, ONLY: latitude 36 36 USE optcld, only : iniqcld 37 37 use moyzon_mod, only:plevmoy … … 214 214 somcoslat=0. 215 215 do j=1,klon 216 coslat(j) = cos( rlatd(j)*RPI/180.)216 coslat(j) = cos(latitude(j)*RPI/180.) 217 217 somcoslat=somcoslat+coslat(j) 218 218 enddo -
trunk/LMDZ.TITAN/libf/phytitan/write_histday.h
r1056 r1543 14 14 15 15 call histwrite_phy(nid_day,.false.,"phis",itau_w,pphis) 16 call histwrite_phy(nid_day,.false.,"aire",itau_w, airephy)16 call histwrite_phy(nid_day,.false.,"aire",itau_w,cell_area) 17 17 18 18 ccccccc axe Ls ... Faudrait le reduire a axe temporel seulement... -
trunk/LMDZ.TITAN/libf/phytitan/write_histins.h
r1056 r1543 14 14 15 15 call histwrite_phy(nid_ins,.false.,"phis",itau_w,pphis) 16 call histwrite_phy(nid_ins,.false.,"aire",itau_w, airephy)16 call histwrite_phy(nid_ins,.false.,"aire",itau_w,cell_area) 17 17 18 18 ccccccc axe Ls ... Faudrait le reduire a axe temporel seulement... -
trunk/LMDZ.TITAN/libf/phytitan/write_histmth.h
r1356 r1543 11 11 12 12 call histwrite_phy(nid_mth,.false.,"phis",itau_w,pphis) 13 call histwrite_phy(nid_mth,.false.,"aire",itau_w, airephy)13 call histwrite_phy(nid_mth,.false.,"aire",itau_w,cell_area) 14 14 15 15 ccccccc axe Ls ... Faudrait le reduire a axe temporel seulement...
Note: See TracChangeset
for help on using the changeset viewer.