Changeset 2421
- Timestamp:
- Jan 6, 2016, 9:38:55 AM (9 years ago)
- Location:
- LMDZ5/trunk/libf
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/dynphy_lonlat/phylmd/callphysiq_mod.F90
r2418 r2421 89 89 zdtfi_omp, & 90 90 zdqfi_omp, & 91 zdpsrf_omp, & 92 pducov) 91 zdpsrf_omp) 93 92 94 93 -
LMDZ5/trunk/libf/phylmd/dyn1d/lmdz1d.F90
r2418 r2421 243 243 integer :: k,l,i,it=1,mxcalc 244 244 integer jcode 245 integer jjmp1246 parameter (jjmp1=jjm+1-1/jjm)247 REAL dudyn(iim+1,jjmp1,llm)248 245 INTEGER read_climoz 249 246 !Al1 … … 940 937 plev,play,phi,phis,presnivs, & 941 938 u,v, rot, temp,q,omega2, & 942 du_phys,dv_phys,dt_phys,dq,dpsrf, & 943 dudyn) 939 du_phys,dv_phys,dt_phys,dq,dpsrf) 944 940 firstcall=.false. 945 941 -
LMDZ5/trunk/libf/phylmd/physiq_mod.F90
r2419 r2421 14 14 u,v,rot,t,qx, & 15 15 flxmass_w, & 16 d_u, d_v, d_t, d_qx, d_ps & 17 , dudyn) 16 d_u, d_v, d_t, d_qx, d_ps) 18 17 19 18 USE ioipsl, only: histbeg, histvert, histdef, histend, histsync, & … … 720 719 ! PARAMETER(imp1jmp1=(iim+1)*jjmp1) 721 720 !ym A voir plus tard 722 REAL zx_tmp((nbp_lon+1)*nbp_lat) 723 REAL airedyn(nbp_lon+1,nbp_lat) 724 REAL padyn(nbp_lon+1,nbp_lat,klev+1) 725 REAL dudyn(nbp_lon+1,nbp_lat,klev) 726 REAL rlatdyn(nbp_lon+1,nbp_lat) 721 ! REAL zx_tmp((nbp_lon+1)*nbp_lat) 722 ! REAL airedyn(nbp_lon+1,nbp_lat) 727 723 !IM 190504 END 728 724 LOGICAL ok_msk -
LMDZ5/trunk/libf/phylmd/write_histday_seri.h
r2399 r2421 52 52 zx_tmp_2d,nbp_lon*nbp_lat,ndex2d) 53 53 ! 54 !IM 151004 BEG55 IF(1.EQ.0) THEN56 !57 DO k=1, klev58 DO i=1, klon59 zx_tmp_fi3d(i,k)=u_seri(i,k)*RA*cos(pir*latitude_deg(i))60 ENDDO61 ENDDO62 !63 CALL moyglo_pondaima(klon, klev, zx_tmp_fi3d, &64 cell_area, paprs, moyglo)65 zx_tmp_fi2d(1:klon)=moyglo66 !67 CALL gr_fi_ecrit(1, klon,nbp_lon,nbp_lat, zx_tmp_fi2d,zx_tmp_2d)68 CALL histwrite(nid_day_seri,"momang",itau_w,zx_tmp_2d, &69 nbp_lon*nbp_lat,ndex2d)70 !71 ! friction torque72 !73 DO i=1, klon74 zx_tmp_fi2d(i)=zxfluxu(i,1)*RA* cos(pir*latitude_deg(i))75 ENDDO76 !77 ok_msk=.FALSE.78 CALL moyglo_pondaire(klon, zx_tmp_fi2d, cell_area, &79 ok_msk, msk, moyglo)80 zx_tmp_fi2d(1:klon)=moyglo81 !82 CALL gr_fi_ecrit(1, klon,nbp_lon,nbp_lat, zx_tmp_fi2d,zx_tmp_2d)83 CALL histwrite(nid_day_seri,"frictor",itau_w,zx_tmp_2d, &84 nbp_lon*nbp_lat,ndex2d)85 !86 ! mountain torque87 !88 !IM 190504 BEG89 CALL gr_fi_dyn(1,klon,nbp_lon+1,nbp_lat,cell_area,airedyn)90 CALL gr_fi_dyn(klev+1,klon,nbp_lon+1,nbp_lat,paprs,padyn)91 CALL gr_fi_dyn(1,klon,nbp_lon+1,nbp_lat,latitude_deg,rlatdyn)92 mountor=0.93 airetot=0.94 DO j = 1, nbp_lat95 DO i = 1, nbp_lon+196 ij=i+(nbp_lon+1)*(j-1)97 zx_tmp(ij)=0.98 DO k = 1, klev99 zx_tmp(ij)=zx_tmp(ij)+dudyn(i,j,k)*airedyn(i,j)* &100 (padyn(i,j,k+1)-padyn(i,j,k))/RG101 airetot=airetot+airedyn(i,j)102 ENDDO103 !IM 190504 mountor=mountor+zx_tmp(ij)*airedyn(i,j)*RA*104 mountor=mountor+zx_tmp(ij)*RA* &105 cos(pir* rlatdyn(i,j))106 ENDDO107 ENDDO108 !IM 151004 BEG109 IF(itap.EQ.1) PRINT*,'airetot=',airetot,airetot/klev110 !IM 151004 END111 !IM 190504 mountor=mountor/(airetot*airetot)112 mountor=mountor/airetot113 !114 !IM 190504 END115 zx_tmp_2d(1:nbp_lon,1:nbp_lat)=mountor116 CALL histwrite(nid_day_seri,"mountor",itau_w,zx_tmp_2d, &117 nbp_lon*nbp_lat,ndex2d)118 !119 ENDIF !(1.EQ.0) THEN120 54 ! 121 55 ! 122 CALL gr_fi_dyn(1,klon,nbp_lon+1,nbp_lat,cell_area,airedyn)123 56 CALL gr_fi_ecrit(1,klon,nbp_lon,nbp_lat,cell_area,zx_tmp_2d) 124 57 airetot=0. 125 ! DO j = 1, nbp_lat126 ! DO i = 1, nbp_lon+1127 ! ij=i+(nbp_lon+1)*(j-1)128 ! DO k = 1, klev129 ! airetot=airetot+airedyn(i,j)130 ! airetot=airetot+airedyn(i,j)131 ! ENDDO !k132 ! ENDDO !i133 ! ENDDO !j134 !135 58 DO i=1, klon 136 59 airetot=airetot+cell_area(i)
Note: See TracChangeset
for help on using the changeset viewer.