Changeset 254 for LMDZ.3.3/trunk
- Timestamp:
- Jul 4, 2001, 4:58:03 PM (23 years ago)
- Location:
- LMDZ.3.3/trunk/libf/phylmd
- Files:
-
- 4 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ.3.3/trunk/libf/phylmd/physiq.F
r250 r254 472 472 SAVE bbase 473 473 REAL rflag(klon) ! flag fonctionnement de convect 474 INTEGER iflagctrl(klon) ! flag fonctionnement de convect 474 475 c -- convect43: 475 476 INTEGER ntra ! nb traceurs pour convect4.3 … … 691 692 cKE43 692 693 c Initialisation pour la convection de K.E. (sb): 693 IF (iflag_con. EQ.4) THEN694 IF (iflag_con.GE.3) THEN 694 695 695 696 PRINT*, "*** Convection de Kerry Emanuel 4.3 " … … 1086 1087 . "ave(X)", zsto,zout) 1087 1088 cKE43 1088 IF (iflag_con . EQ. 4) THEN ! sb1089 IF (iflag_con .GE. 3) THEN ! sb 1089 1090 c 1090 1091 CALL histdef(nid_mth, "cape", "Conv avlbl pot ener", "J/Kg", … … 1271 1272 c 1272 1273 cKE43 1273 IF (iflag_con. EQ.4) THEN ! (sb)1274 IF (iflag_con.GE.3) THEN ! (sb) 1274 1275 c 1275 1276 CALL histdef(nid_mth, "upwd", "saturated updraft", "Kg/m2/s", … … 1713 1714 itop_con(i) = klev+1 - kctop(i) 1714 1715 ENDDO 1715 ELSE IF (iflag_con.EQ.3) THEN 1716 stop'reactiver le call conlmd dans physiq.F' 1717 c CALL conccm (dtime,paprs,pplay,t_seri,q_seri,conv_q, 1718 c s d_t_con, d_q_con, 1719 c s rain_con, snow_con, ibas_con, itop_con) 1720 cKE43 1721 ELSE IF (iflag_con.EQ.4) THEN 1716 ELSE IF (iflag_con.GE.3) THEN 1722 1717 c nb of tracers for the KE convection: 1723 1718 if (nqmax .GE. 4) then … … 1726 1721 ntra = 1 1727 1722 endif 1728 cke43 (arguments inutiles enleves => des SAVE dans conema43?) 1729 c$$$ CALL conema43(dtime,paprs,pplay,t_seri,q_seri, 1730 c$$$ $ u_seri,v_seri,tr_seri,nbtr, 1731 c$$$ . ema_workcbmf, 1732 c$$$ . d_t_con,d_q_con,d_u_con,d_v_con,d_tr, 1733 c$$$ . wdn, tdn, qdn, 1734 c$$$ . rain_con, snow_con, ibas_con, itop_con, 1735 c$$$ . upwd,dnwd,dnwd0,bas,top,Ma,cape,tvp,rflag, 1736 c$$$ . pbase 1737 c$$$ . ,bbase,dtvpdt1,dtvpdq1,dplcldt,dplcldr, 1738 c$$$ . pori_con,plcl_con,dtma_con,dtlcl_con) 1739 CALL conema (dtime,paprs,pplay,t_seri,q_seri, 1740 $ u_seri,v_seri,tr_seri,nbtr, 1723 if (iflag_con.eq.4) then ! vectorise 1724 CALL conemav (dtime,paprs,pplay,t_seri,q_seri, 1725 . u_seri,v_seri,tr_seri,nbtr, 1741 1726 . ema_work1,ema_work2, 1742 1727 . d_t_con,d_q_con,d_u_con,d_v_con,d_tr, 1743 c$$$ . wdn, tdn, qdn,1744 1728 . rain_con, snow_con, ibas_con, itop_con, 1745 . upwd,dnwd,dnwd0,bas,top,Ma,cape,tvp,rflag, 1746 . pbase 1729 . upwd,dnwd,dnwd0, 1730 c . Ma,cape,tvp,(/(nint(rflag(i)),i=1,size(rflag))/), 1731 . Ma,cape,tvp,iflagctrl, 1732 . pbase 1747 1733 . ,bbase,dtvpdt1,dtvpdq1,dplcldt,dplcldr) 1748 c$$$ . pori_con,plcl_con,dtma_con,dtlcl_con) 1734 1735 else 1736 1737 CALL conema (dtime,paprs,pplay,t_seri,q_seri, 1738 . u_seri,v_seri,tr_seri,nbtr, 1739 . ema_work1,ema_work2, 1740 . d_t_con,d_q_con,d_u_con,d_v_con,d_tr, 1741 . rain_con, snow_con, ibas_con, itop_con, 1742 . upwd,dnwd,dnwd0,bas,top, 1743 . Ma,cape,tvp,rflag, 1744 . pbase 1745 . ,bbase,dtvpdt1,dtvpdq1,dplcldt,dplcldr) 1746 endif 1747 1748 1749 1749 DO i = 1, klon 1750 1750 ema_pcb(i) = pbase(i) … … 1809 1809 IF (nqmax.GT.2) THEN !--melange convectif de traceurs 1810 1810 c 1811 IF (iflag_con .NE. 2 .AND. iflag_con . NE. 4) THEN1811 IF (iflag_con .NE. 2 .AND. iflag_con .LT. 3 ) THEN 1812 1812 PRINT*, 'Pour l instant, seul conflx fonctionne ', 1813 1813 $ 'avec traceurs', iflag_con … … 2101 2101 C Pascale : il faut quand meme apeller phytrac car il gere les sorties 2102 2102 cKE43 des traceurs => il faut donc mettre des flags a .false. 2103 IF (iflag_con. EQ.4) THEN2103 IF (iflag_con.GE.3) THEN 2104 2104 c on ajoute les tendances calculees par KE43 2105 2105 DO iq=1, nqmax-2 ! Sandrine a -3 ??? … … 2440 2440 CALL histwrite(nid_mth,"vq",itap,zx_tmp_2d,iim*jjmp1,ndex2d) 2441 2441 cKE43 2442 IF (iflag_con . EQ. 4) THEN ! sb2442 IF (iflag_con .GE. 3) THEN ! sb 2443 2443 c 2444 2444 CALL gr_fi_ecrit(1, klon,iim,jjmp1, cape,zx_tmp_2d) … … 2542 2542 CALL gr_fi_ecrit(klev,klon,iim,jjmp1, zpt_conv, zx_tmp_3d) 2543 2543 CALL histwrite(nid_mth,"ptconv",itap,zx_tmp_3d, 2544 . iim* jjmp1*klev,ndex3d)2544 . iim*(jjmp1)*klev,ndex3d) 2545 2545 c 2546 2546 CALL gr_fi_ecrit(klev,klon,iim,jjmp1, ratqs, zx_tmp_3d) 2547 2547 CALL histwrite(nid_mth,"ratqs",itap,zx_tmp_3d, 2548 . iim* jjmp1*klev,ndex3d)2548 . iim*(jjmp1)*klev,ndex3d) 2549 2549 c 2550 2550 CALL gr_fi_ecrit(klev,klon,iim,jjmp1, d_t_ajs, zx_tmp_3d) … … 2619 2619 ENDIF 2620 2620 cKE43 2621 IF (iflag_con. EQ.4) THEN ! (sb)2621 IF (iflag_con.GE.3) THEN ! (sb) 2622 2622 c 2623 2623 CALL gr_fi_ecrit(klev,klon,iim,jjmp1, upwd, zx_tmp_3d) -
LMDZ.3.3/trunk/libf/phylmd/printflag.F
r2 r254 35 35 , ******' 36 36 ELSE IF ( iflag_con.EQ. 3 ) THEN 37 PRINT *,' ***** Shema convection CCM 37 PRINT *,' ***** Shema convection Emanuel version LMD 38 , ******' 39 ELSE IF ( iflag_con.EQ. 4 ) THEN 40 PRINT *,' ***** Shema convection Emanuel version 4vec 38 41 , ******' 39 42 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.