找回密码
 注册
查看: 1444|回复: 1

请教 PATCH(name,PROFIL,NX/2,NX/2,NY/2,NY/2,NZ/2,NZ/2,1,LSTEP)

[复制链接]
发表于 2004-8-29 21:16:14 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
[这个贴子最后由xxwy在 2004/08/29 09:22pm 第 1 次编辑]

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)
这几个语句的作用是什么啊,谢谢了
发表于 2004-8-29 21:30:10 | 显示全部楼层

请教 PATCH(name,PROFIL,NX/2,NX/2,NY/2,NY/2,NZ/2,NZ/2,1,LSTEP)

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.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表