Главная Журналы ENTRY GRID HEADER=POTENTIAL FLOW OVER A BLOCK PRINTF=PRINT14 PL0TF=PL0T14 CALL INTA2(NCVLX,12,NCVLY,10) CALL DATA2(XL,9.,YL,4.) CALL EZGRID RETURN ENTRY BEGIN TITLE(1)= VEL. POT. TITLE(2)= и VELOCITY TITLE(3)= V VELOCITY CALL INTA8(KSOLVE(1),1,KPRINT(1),1,KPLOT (1),1, 1 KPRINT (2) ,1, KPLOT(2),1,KPRINT (3) ,1,KPLOT(3) ,1,LAST,3) DO 100 J=1,M1 DO 100 1=1,Ll POT(I,J)=-X(I) 100 CONTINUE RETURN ENTRY OUTPUT CALCULATE U AND V VELOCITIES AT THEIR STAGGERED LOCATIONS DO 200 J=3,M2 DO 200 1=2,L2 V(I,J)=-(POT(I,J)-POT(I,J-1))/(Y(J)-Y(J-l)) 200 CONTINUE DO 210 J=2,M2 DO 220 1=3,L2 и(I,J)=-(POT(I,J)-POT(I-l, J))/(X(I)-X(I-l)) 220 CONTINUE U{2,J)=FLUXI1(J,1) и(Ll,J)=-FLUXL1(J,1) 210 CONTINUE DO 230 J=2,M2 DO 230 1=2,L2 IF(X(I).GT.3..AND.X(I).LT.6..AND.Y(J).LT.2.) THEN U(I,J)=0. U(I+1,J)=0. V(I,J)=0. V(I,J+1)=0. ENDIF 230 CONTINUE DO 240 IUNIT=IU1,IU2 IF(ITER.EQ.O) WRITe(IUNIT,250) 250 FORMAT(IX, ITER,2X, PHI(3,5) ,3X, U ( 3,5) ,4X, 1 •V(3,5) ,3X, •PHI(5,5) •,3X, •U(5,5) ,4X, V(5,5) ) WRITE(lUNIT,2 60) ITER,POT(3,5),U(3,5),V(3,5), 1 P0T(5,5),U(5,5),V(5,5) 260 FORMAT(1X,I2,2X,1P6E10.2) 240 CONTINUE IF(ITER.EQ.LAST) THEN CALL PRINT COME HERE TO FILL IBLOCK(I,J) BEFORE CALLING PLOT DO 270 J=2,M2 DO 270 1=2,L2 IF(X(I).GT.3..AND.X(I).LT.6..AND.Y(J).LT.2. 1 IBLOCK(I,J)=0. 270 CONTINUE С- CALL PLOT ENDIF RETURN ENTRY PHI DO 300 J=2,M2 DO 300 1=2,L2 GAM(I,J)=l. IF(X(I) .GT.3. .AND.X(I) .LT.6. .AND.Y (J) .LT.2.) 1 GAM(I,J)=0. 300 CONTINUE COME HERE TO SPECIFY BOUNDARY CONDITIONS DO 310 1=2,L2 KBCJl(I)=2 KBCMl (I)=2 310 CONTINUE RETURN END С CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC 11.4.5. Результаты расчетов RESULTS OF CONDUCT FOR CARTESIAN COORDINATE SYSTEM ************************************************** POTENTIAL FLOW OVER A BLOCK ITER PHI(3,5) U(3,5) V(3,5) PHI (5, 5) U(5,5) V(5,5) 0 -1.13E+00 1.OOE+00 O.OOE+00 -2.63E+00 1.OOE+00 O.OOE+00 1 -6.23E-01 5.51E-01 I.22E-01 -1.28E+00 3.71E-01 4.OlE-01 2 -6.23E-01 5.51E-01 1.22E-01 -1.28E+00 3.71E-01 4.OlE-01 3 -6.23E-01 5.51E-01 I.22E-01 -1.28E+00 3.71E-01 4.OlE-01 1= I 2 3 4 5 6 7 X= 0.OOE+00 3.75E-01 1.13E+00 1.88E+00 2.63E+00 3.38E+00 4.13E+00 1= 8 9 10 11 12 13 14 X= 4.88E+00 5.63E+00 6.38E+00 7.13E+00 7.88E+00 8.63E+00 9.OOE+00 J= 1 2 3 4 5 6 7 Y= O.OOE+00 2.OOE-01 6.OOE-01 1.OOE+00 1.40E+00 1.80E+00 2.20E+00 J= 8 9 10 11 12 Y= 2.60E+00 3.OOE+00 3.40E+00 3.80E+00 4.OOE+00 ****** vEL. POT. ****** 1= 1 2 3 4 5 12 0.OOE+OO -2.93E-01 -8.93E-01 -1.55E+00 -2.29E+00 11 O.OOE+00 -2.93E-01 -8.91E-01 -1.54E+00 -2.28E+00 10 0.OOE+OO -2.88E-01 -8.76E-01 -1.52E+00 -2.25E+00 9 O.OOE+00 -2.78E-01 -8.46E-01 -1.46E+00 -2.19E+00 8 O.OOE+00 -2.64E-0I -8.OlE-01 -1.38E+00 -2.07E+00 7 0.OOE+OO -2.47E-01 -7.45E-01 -1.26E+00 -I.87E+00 -3.14E+00 -4.O4E+00 -3.13E+00 -4.04E+00 -3.12E+00 -4.04E+00 -3.09E+00 -4.03E+00 -3.05E+00 -4.02E+00 -3.OlE+00 -4.0IE+00
****** и VELOCITY ******
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 [ 85 ] 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |