68.关PATCH(name,PROFIL,NX/2,NX/2,NY/2,NY/2,NZ/2,NZ/2,1,LSTEP)
问:PATCH(name,PROFIL,NX/2,NX/2,NY/2,NY/2,NZ/2,NZ/2,1,LSTEP)
PLOT(name,P1,0.0,0.0)
PLOT(name,W1,0.0,0.0)
In a parabolic calculation, the following setting,
PATCH(name,PROFIL,1,1,1,1,1,NZ,1,1)
PLOT(name,W1,0.0,0.0)
这几个语句的作用是什么啊,谢谢了
答:PLOT
---- Autoplot Help ----
PL[OT] [j]
Plot data elements i - j using a solid line to join the data points. If i & j are unspecified, all data elements in memory but not on the screen will be plotted.
See also HELP on : BLOB, BLB, DOT
PLOT
------ Command; group 23 -------------- -
PLOT....command used for plotting field values as CONTURs or PROFILes, according to the PATCH-type set and over the PATCH prescribed. It has four arguments.
(a) CONTUR plots
Contour plots for one or more variables may be elicited over any portion of a plane of constant IX, IY or IZ indicated by the arguments of PATCH, when it has CONTUR as its second argument. In this case, the significance of the 3rd and 4th arguments of PLOT are as follows. The third argument of the corresponding PLOT command is significant only when the CARTES is F ( ie the polar-coordinate grid is employed) and the contours are being plotted for a plane of constant z; then a zero gives a rectangular plot (angle is horizontal, radius vertical ); whereas insertion of 1.0 will produce a polar plot. The fourth argument indicates how many contour intervals are required.
For example, the following commands give contour plots for H1 ( in 20 intervals ) and for C1 ( in 10 intervals ) in one quadrant of the plane at IX=3:
PATCH(name,CONTUR,3,3,NY/2,NY,NZ/2,NZ,1,1) PLOT(name,H1,0.0,20.0) PLOT(name,C1,0.0,10.0)
See CONTUR, NCOLCO and NROWCO for related information.
(b) PROFILe plots
Profile plots for one or more variables may be elicited over any row ( or portion of row ) of cells at constant IX, IY, constant IX, IZ, constant IY,IZ and constant IX,IY,IZ in transient calculations. The row of cells is indicated by the last 8 arguments of PATCH when it has PROFIL as its second argument.
The profiles corresponding to the dependent variables mentioned in the PLOT statements may be plotted either singly or together. In the former case, the values are plotted horizontally, and in the latter they are plotted vertically. IPROF=0 gives the former arrangement, and IPROF=1, 2 or 3 gives the latter. See IPROF, for further information, including the various meanings of the PLOT arguments.
For the default of IPROF=1, the following commands plot the variation with time of P1 and W1 at the cell NX/2, NY/2, NZ/2, on the same plot:
PATCH(name,PROFIL,NX/2,NX/2,NY/2,NY/2,NZ/2,NZ/2,1,LSTEP)
PLOT(name,P1,0.0,0.0)
PLOT(name,W1,0.0,0.0)
In a parabolic calculation, the following setting,
PATCH(name,PROFIL,1,1,1,1,1,NZ,1,1)
PLOT(name,W1,0.0,0.0)
plots the profile of the axial velocity as a function of IZ.
See also PROFIL and IPROF for related information, and ABSIZ and ORSIZ for control of the box size printed.
Many examples of the use of PROFIL and CONTUR line-printer plots are to be found in the PHOENICS Input Library. |