数值传热学讲义
合集下载
相关主题
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
When. TRUE. , F (I, J, NF) is printed. When. TRUE. , We solve for F (I, J, NF). When. TRUE. Computation stops. The value of I for the last grid location in the x direction. (L1-1). (L1-2). Index for the coordinate system; =1 for
二维椭圆型流动传热通用程序
变量表及算例说明
(本材料仅供教学参考)
西
安
交 通
大
学
CFD&NHT/EHT 研究中心
陶文铨教授
2002/10/15 西 安
1
目录 ……………………………………………………………………………………………… 2
一、 FORTRAN 变量表…………………………………………………………………………3 二 、关于程序的主要说明………………………………………………………………………6
).
The area of the main C.V. face normal to the x direction. The part of ARX (J) that overlaps on the C.V. for V (I, J). The part of ARX (J) that overlaps on the C.V. for V (I, J+1).
xy , =2 for rx , =3 for r
.
The value of I for the last grid location in the y direction. (M1-1). (M1-2). Temporary storage for NF. Index denoting a particular
Temporary storage. Time t for unsteady problems. Alphabetic title for F (I, J, NF). The x-direction velocity u. The y-direction velocity v. Volume of the C.V. The values of x at grid points. The x-direction widths of main C.V.. The part of XCV (I) that overlaps on the C.V. for U (I, J). The part of XCV (I) that overlaps on the C.V. for U (I+1,J). The x-direction width of the staggered C.V. for U (I, J). The difference X (I)-X (I-1). The x-direction length of the calculation domain. The locations of the C.V. faces; i.e. the location of U (I, J). The values of y at grid points. The y-direction widths of main C.V. The area The area
.
The largest value of NF for which storage is assigned. NFMAX+3; GAM (I, J) can be considered as F (I, J, NGAM). NFMAX+1; P (I, J) can be considered as F (I, J, NP). NFMAX+2; RHO (I, J) can be considered as F (I, J, NRHO). The number of repetitions of the sweeps in SOLVE for the variable F (I, J, NF). The pressure p. The pressure correction
Interpolation factors, which give the interface. Density RHOM (at the location of U (I, J)) as FX (I)
RHO (I, J)+FXM (I)
RHO (I-1, J).
FY (J) FYM (J) Interpolation factors, which give the interface. Density RHOM (at the location of V (I, J)) as FY (J)
. The value of
The density
for a constant-density problem.
The value of radius r for the location to which V (I, J) refers.
SMAX SSUM SX (J) SXMN (J)
The largest absolute value of the “mass source” used in the The algebraic sum of all the “mass sources” in the
The coefficient The coefficient The coefficient The coefficient The coefficient
aW .
aE .
aS .
aN .
aP ; also S P in GAMSOR.
/ t .
The unsteady term
Local variable, usually the area of a C.V. face. Local variable, (area) (
5
TEMP TIME TITLE (NF) U (I, J) V (I, J) VOL X (I) XCV (I) XCVI (I) XCVIP (I) XCVS (I) XDIF (I) XL XU (I) Y (J) YCV (J) YCVR (J) YCVRS (J) YCVS (J) YDIF (J) YL YV (J)
Index denoting the position in y. Temporary index used in PRINT. Similar to ILST. Temporary index Similar to ILST Similar to IPREF. The first internal-point value of J. JST-1; used in SOLVE.
LPRINT (NF) LSOLVE (NF) LSTOP L1 L2 L3 MODE M1 M2 M3 N NF NFMAX NGAM NP NRHO NTIMES (NF) P (I, J) PC (I, J) PREF PT (I) or PT (J) QT (I) or QT (J) R (J) REL RELAX (NF) RHO (I, J) RHOCON RMN (J)
Temporary storage. Diffusion conductance D. The time step
t .
d e Influencing U (I, J).
d n Influencing V (I, J).
Various
.
Temporary storage leading to FLOW. Temporary storage leading to FLOW. Mass flow rate through a C.V. face. Temporary storage leading to FLOW.
p ' equation.
p'
equation.
Leabharlann Baidu
Scale factor for the x direction at the main grid locations Y (J). Scale factor for the x direction at interface locations YV(J).
(1) 二维椭圆型流动和传热问题通用计算机算法方面的特点………………………………6 (2) 各程序的主要功能…………………………………………………………………………7 (3) 三种坐标系统………………………………………………………………………………8 (4) 网格系统与节点命名方法…………………………………………………………………9
RHO (I, J)+FYM (J)
RHO (I, J-1).
GAM (I, J) I IBEG IEND IFST II IPREF IST ISTF ITER IT1 Temporary values used in SOLVE. IT2 J JFL JFST JJ JLST JPREF JST JSTF JT1 Temporary values used in SOLVE. JT2 LAST LBLK (NF) The maximum number of iterations allowed by the user. When. TRUE. The block correction for F (I, J, NF) is used.
p' .
The pressure at the reference point.
Transformed coefficients in the TDMA. The radius r for a main grid point I, J. 1.0-RELAX (NF). Relaxation factor for F (I, J, NF).
4
The diffusion coefficient
.
Index denoting the position in x. Temporary values used in PRINT. The first value of I for which the print-out is arranged; used in PRINT. Temporary index. The value of I for the grid point, which is used as a reference for pressure. The first internal-point value of I. IST-1; used in SOLVE. A counter for iterations.
3
FV (J) FVP (J)
Interpolation factors which give the mass flow
vr At a main grid vr (I,J+1)
point, I, J as FV (J)
vr (I,
J)+FVP (I, J)
FX (I) FXM (I)
2
一、 FORTRAN 变量表 List of FORTRAN Variables
ACOF
Quantity calculated by subroutine DIFLOW to give the combined convection and diffusion effect.
AIM (I, J) AIP (I, J) AJM (I, J) AJP (I, J) AP (I, J) t APT AREA ARHO ARX (J) ARXJ (J) ARXJP (J) BL BLC BLM BLP CON (I, J)
Coefficients used in the block correction.
The constant term b in the discrimination equation; also stands for GAMSOR.
sC
in
DENOM DIFF DT DU (I, J) DV (I, J) F (I, J, NF) FL FLM FLOW FLP
十一个例题的已知条件与求解内容…………………………………………………………12
例题 1 直角坐标中二维稳态无内热源的导热……………………………………………………12 例题 2 空心圆柱内的稳态热传导…………………………………………………………………12 例题 3 正方形管道内的充分发展对流换热………………………………………………………13 例题 4 内壁上有直肋的环形通道内充分发展对流换热…………………………………………13 例题 5 给定流场条件下温度场的计算……………………………………………………………14 例题 6 二维突扩通道中的流动与换热……………………………………………………………14 例题 7 方形通道内的复杂充分流动………………………………………………………………15 例题 8 旋转圆盘上的冲击流动……………………………………………………………………15 例题 9 轴对称燃烧内的瞬间燃烧过程……………………………………………………………16 例题 10 带中心射流的通道内的紊流换热……………………………………………………… 16 例题 11 有质量源的流动问题……………………………………………………………………17