- Timestamp:
- Dec 14, 2001, 3:39:31 PM (23 years ago)
- Location:
- LMDZ.3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ.3.3/branches/rel-LF/libf/phylmd/physiq.F
r295 r301 689 689 cKE43 690 690 c Initialisation pour la convection de K.E. (sb): 691 IF (iflag_con. EQ.4) THEN691 IF (iflag_con.GE.3) THEN 692 692 693 693 PRINT*, "*** Convection de Kerry Emanuel 4.3 " … … 1228 1228 . iim,jjmp1,nhori, 1,1,1, -99, 32, 1229 1229 . "ave(X)", zsto,zout) 1230 c1231 1230 cKE43 1232 IF (iflag_con . EQ. 4) THEN ! sb1231 IF (iflag_con .GE. 3) THEN ! sb 1233 1232 c 1234 1233 CALL histdef(nid_mth, "cape", "Conv avlbl pot ener", "J/Kg", … … 1335 1334 1336 1335 CALL histdef(nid_mth, "ptconv", "POINTS CONVECTIFS"," ", 1337 . iim,jjm +1,nhori, klev,1,klev,nvert, 32,1336 . iim,jjmp1,nhori, klev,1,klev,nvert, 32, 1338 1337 . "ave(X)", zsto,zout) 1339 1338 1340 1339 CALL histdef(nid_mth, "ratqs", "RATQS"," ", 1341 . iim,jjm +1,nhori, klev,1,klev,nvert, 32,1340 . iim,jjmp1,nhori, klev,1,klev,nvert, 32, 1342 1341 . "ave(X)", zsto,zout) 1343 1342 … … 1415 1414 c 1416 1415 cKE43 1417 IF (iflag_con. EQ.4) THEN ! (sb)1416 IF (iflag_con.GE.3) THEN ! (sb) 1418 1417 c 1419 1418 CALL histdef(nid_mth, "upwd", "saturated updraft", "Kg/m2/s", … … 1960 1959 itop_con(i) = klev+1 - kctop(i) 1961 1960 ENDDO 1962 ELSE IF (iflag_con.EQ.3) THEN 1963 stop'reactiver le call conlmd dans physiq.F' 1964 c CALL conccm (dtime,paprs,pplay,t_seri,q_seri,conv_q, 1965 c s d_t_con, d_q_con, 1966 c s rain_con, snow_con, ibas_con, itop_con) 1967 cKE43 1968 ELSE IF (iflag_con.EQ.4) THEN 1961 ELSE IF (iflag_con.GE.3) THEN 1969 1962 c nb of tracers for the KE convection: 1970 1963 if (nqmax .GE. 4) then … … 1973 1966 ntra = 1 1974 1967 endif 1975 cke43 (arguments inutiles enleves => des SAVE dans conema43?) 1976 c$$$ CALL conema43(dtime,paprs,pplay,t_seri,q_seri, 1977 c$$$ $ u_seri,v_seri,tr_seri,nbtr, 1978 c$$$ . ema_workcbmf, 1979 c$$$ . d_t_con,d_q_con,d_u_con,d_v_con,d_tr, 1980 c$$$ . wdn, tdn, qdn, 1981 c$$$ . rain_con, snow_con, ibas_con, itop_con, 1982 c$$$ . upwd,dnwd,dnwd0,bas,top,Ma,cape,tvp,rflag, 1983 c$$$ . pbase 1984 c$$$ . ,bbase,dtvpdt1,dtvpdq1,dplcldt,dplcldr, 1985 c$$$ . pori_con,plcl_con,dtma_con,dtlcl_con) 1986 if (0.eq.1) then ! vectorise 1968 if (iflag_con.eq.4) then ! vectorise 1987 1969 CALL conemav (dtime,paprs,pplay,t_seri,q_seri, 1988 1970 . u_seri,v_seri,tr_seri,nbtr, … … 1993 1975 c . Ma,cape,tvp,(/(nint(rflag(i)),i=1,size(rflag))/), 1994 1976 . Ma,cape,tvp,iflagctrl, 1977 . pbase,bbase,dtvpdt1,dtvpdq1,dplcldt,dplcldr) 1978 1979 else 1980 1981 CALL conema (dtime,paprs,pplay,t_seri,q_seri, 1982 . u_seri,v_seri,tr_seri,nbtr, 1983 . ema_work1,ema_work2, 1984 . d_t_con,d_q_con,d_u_con,d_v_con,d_tr, 1985 . rain_con, snow_con, ibas_con, itop_con, 1986 . upwd,dnwd,dnwd0,bas,top, 1987 . Ma,cape,tvp,rflag, 1995 1988 . pbase 1996 1989 . ,bbase,dtvpdt1,dtvpdq1,dplcldt,dplcldr) 1997 1998 else1999 2000 CALL conema (dtime,paprs,pplay,t_seri,q_seri,2001 $ u_seri,v_seri,tr_seri,nbtr,2002 . ema_work1,ema_work2,2003 . d_t_con,d_q_con,d_u_con,d_v_con,d_tr,2004 c$$$ . wdn, tdn, qdn,2005 . rain_con, snow_con, ibas_con, itop_con,2006 . upwd,dnwd,dnwd0,bas,top,Ma,cape,tvp,rflag,2007 . pbase2008 . ,bbase,dtvpdt1,dtvpdq1,dplcldt,dplcldr)2009 c$$$ . pori_con,plcl_con,dtma_con,dtlcl_con)2010 1990 endif 2011 1991 DO i = 1, klon … … 2072 2052 IF (nqmax.GT.2) THEN !--melange convectif de traceurs 2073 2053 c 2074 IF (iflag_con . NE. 2 .AND. iflag_con .NE. 4 ) THEN2054 IF (iflag_con .LT. 2 .AND. iflag_con .GT. 4 ) THEN 2075 2055 PRINT*, 'Pour l instant, seul conflx fonctionne ', 2076 2056 $ 'avec traceurs', iflag_con 2077 2057 PRINT*,' Mettre iflag_con', 2078 $ ' = 2 2058 $ ' = 2, 3 ou 4 dans run.def et repasser' 2079 2059 CALL abort 2080 2060 ENDIF … … 2348 2328 C Pascale : il faut quand meme apeller phytrac car il gere les sorties 2349 2329 cKE43 des traceurs => il faut donc mettre des flags a .false. 2350 IF (iflag_con. EQ.4) THEN2330 IF (iflag_con.GE.3) THEN 2351 2331 c on ajoute les tendances calculees par KE43 2352 2332 c$$$ OM on onhibe la convection sur les traceurs … … 2893 2873 CALL histwrite(nid_mth,"vq",itap,zx_tmp_2d,iim*jjmp1,ndex2d) 2894 2874 cKE43 2895 IF (iflag_con . EQ. 4) THEN ! sb2875 IF (iflag_con .GE. 3) THEN ! sb 2896 2876 c 2897 2877 CALL gr_fi_ecrit(1, klon,iim,jjmp1, cape,zx_tmp_2d) … … 2995 2975 CALL gr_fi_ecrit(klev,klon,iim,jjmp1, zpt_conv, zx_tmp_3d) 2996 2976 CALL histwrite(nid_mth,"ptconv",itap,zx_tmp_3d, 2997 . iim*(jjm +1)*klev,ndex3d)2977 . iim*(jjmp1)*klev,ndex3d) 2998 2978 c 2999 2979 CALL gr_fi_ecrit(klev,klon,iim,jjmp1, ratqs, zx_tmp_3d) 3000 2980 CALL histwrite(nid_mth,"ratqs",itap,zx_tmp_3d, 3001 . iim*(jjm +1)*klev,ndex3d)2981 . iim*(jjmp1)*klev,ndex3d) 3002 2982 c 3003 2983 CALL gr_fi_ecrit(klev,klon,iim,jjmp1, d_t_ajs, zx_tmp_3d) … … 3072 3052 ENDIF 3073 3053 cKE43 3074 IF (iflag_con. EQ.4) THEN ! (sb)3054 IF (iflag_con.GE.3) THEN ! (sb) 3075 3055 c 3076 3056 CALL gr_fi_ecrit(klev,klon,iim,jjmp1, upwd, zx_tmp_3d) -
LMDZ.3.3/trunk/libf/phylmd/convect2.F
r254 r301 585 585 c 586 586 do 380 i=1,ncum*nlp*nlp 587 elij(i,1,1)=0.0588 ment(i,1,1)=0.0589 sij(i,1,1)=0.0590 587 380 continue 591 588 c … … 596 593 uent(i,k,j)=u(i,j) 597 594 vent(i,k,j)=v(i,j) 595 elij(i,k,j)=0.0 596 ment(i,k,j)=0.0 597 sij(i,k,j)=0.0 598 598 385 continue 599 599 390 continue
Note: See TracChangeset
for help on using the changeset viewer.