The Fluid Properties对话框允许您指定可压缩或不可压缩流体的属性。对于不可压缩(均匀密度)流体,您需要指定密度、比热、粘度和导热系数。对于可压缩(变密度)流体,您需要指定气体常数、伽马(比热比)、粘度和导热系数。
默认情况下,每个流体属性均为常数。然而,每个属性(密度除外)都可以被场(数据集)变量覆盖。当分配场变量时,该变量的局部值将用于使用该属性的场计算,而常数值仅用于全局计算,例如参考(自由流)量的计算。要为特定属性分配场变量,请设置Use Field Variable切换开关并点击Select从当前数据集中选择一个变量,通过Select Variable对话框。
提供这些信息。对于包含多个数据集的布局,每个数据集会单独维护设置。您可以使用Save Settings and Load Settings
options in the Analyze menu将设置从一个数据集复制到另一个数据集。这些操作还会传输在Fluid Properties, Geometry
and Boundaries, Field Variables和Unsteady Flow
Options dialogs.
数据分析针对活动帧中的数据执行。其中许多计算需要了解数据所代表的信息。例如,如果您希望根据数据计算压力,则必须识别另外两个热力学状态变量,Tecplot 360 可使用这些变量通过热状态方程执行计算。X、Y 和 Z 取自活动帧中 2D 或 3D 图的轴分配。FLUENT 和 PLOT3D 数据加载器将剩余的大部分或全部信息提供给 Tecplot 360。您也可以使用Field Variables dialog.
For a layout with multiple datasets, separate settings are maintained
for each dataset. You can copy the settings from one dataset to another
using the Save Settings and Load Settings菜单中的Analyze选项提供此信息。这些操作还会传输在Fluid Properties, Geometry
and Boundaries, Reference Values, and Unsteady
Flow Options dialogs.
The State Variables对话框的Pressure, Temperature,
Density, Stagnation Energy, Mach
Number,或Not Used。然后点击Select,Specifying Incompressible Fluid Properties),您可以为一个变量指定压力,为另一个变量指定温度或滞止能量(每单位体积)。
温度必须使用绝对单位,例如开尔文或兰金。
The Select按钮启动Select Variables对话框,
设置几何与边界选项
对于某些计算,您需要指定 Tecplot 360 可能无法自动检测到的数据信息。例如,二维求解可能实际上代表三维轴对称求解,从而影响您执行的任何积分。相邻区域可能相互连接,影响其他计算,如网格拉伸因子、梯度和涡核等流动特征。某些区域或区域表面部分可能代表求解中的壁面边界,在这些边界上可以计算分离线和附着线。当您导入 FLUENT 案例和数据文件时,FLUENT 数据加载器会自动为您识别这些特征中的大部分。您也可以通过Geometry and Boundaries对话框(通过Analyze菜单访问)指定它们。
For a layout with multiple datasets, separate settings are maintained
for each dataset. You can copy the settings from one dataset to another
using the Save Settings and Load Settings options
in the Analyze menu. These actions also transfer
the settings made in the Fluid Properties,
Reference Values, Field Variables, and Unsteady
Flow Options dialogs.
您必须在活动帧中有数据才能启动Geometry
and Boundaries对话框。从Analyze菜单中选择“Geometry and Boundaries”以显示该对话框。
指定轴对称求解
选择Axisymmetric About Variable启用Variable下拉菜单,并允许您在“Equals”字段中输入值。从Variable下拉菜单,并输入定义对称轴的该变量的常数值。若选择轴对称选项,所有积分将通过将积分函数乘以 [T0001] 来执行三维轴对称积分,其中 [T0002] 为到指定对称轴的距离。积分操作详见 [T0003] 连接相邻区域。
where is the distance from the specified axis of symmetry.
Integrations are described in Performing Integrations.
Connecting Adjacent Zones
Tecplot 360 可计算相邻区域(或同一区域)边界上的节点是否重叠。此信息用于计算 [T0005] 网格质量函数(参见 [T0006])、计算梯度以及提取流体流动特征(参见 [T0007])。区域间的连接按单元面逐一计算。当特定边界单元面的所有节点与相邻边界单元面的所有节点重叠时,这两个单元被视为已连接。Stretch Ratio grid
quality function (see I, J, K-stretch Ratio), calculating gradients, and
extracting fluid flow features (see
Extracting Fluid Flow Features). Connections between zones
are calculated cell face by cell face. The two cells are considered
connected wherever all nodes of a particular boundary cell face overlap
all nodes of an adjacent boundary cell face.
对于非定常流动(参见 [T0009]),仅检查同一时间层内的区域连接。要启用此选项,请选择 [T0010] 选项,并在 [T0011] 文本字段中输入两个节点被视为重叠的最大距离。注意,该文本字段的值也用于下文讨论的区域类型边界。Unsteady Flow), only zones within the same time level are
examined for connections. To enable this option, select the
Connect Adjacent Zones option and enter the maximum distance
at which two nodes will be considered to overlap in the Nodal
Proximity text field. Note that this text field value is also used for
zone-type boundaries, discussed below.
区域连接功能会逐单元地被数据集中包含的面邻接关系覆盖。这两种连接机制均会被特定面上设置的任何边界条件覆盖。也就是说,若在 [T0013] 对话框中为特定单元面指定了边界条件,则该面不会与相邻单元连接,无论是否存在面邻接关系或重叠节点。Geometry and
Boundaries dialog that covers a specific cell face, that face will not
be connected to an adjacent cell, irrespective of any face neighbors or
overlapping nodes present.
性能注意事项
建立跨区域边界的连接使 Tecplot 360 能在这些位置计算更精确的梯度量。对于有序区域计算,可能会产生显著的性能开销,因为在这些边界位置,Tecplot 360 使用有限元最小二乘法公式计算梯度。梯度计算的讨论请参见 [T0016]。Gradient Calculations for a discussion of gradient calculations.
If you set a boundary condition on a particular cell boundary face, that
face will not be considered connected to any other cells by the gradient
calculation routines. This may be advantageous, for example, in
solutions containing a thin flat plate, where nodes on either side of
the flat plate overlap and would otherwise be connected by the
connection mechanism.
对于三维流动解,可使用 [T0023] 对话框提取分离线和附着线。这些线仅在被识别为壁面边界的边界上计算。虽然可指定其他边界条件,但除抑制连接外,此信息目前暂未使用。Extract
Flow Features dialog to extract separation and attachment lines. These
lines are only calculated on boundaries you have identified as wall
boundaries. While other boundary conditions may be specified, this
information is not currently used, aside from inhibiting connections.
指定默认边界条件
Tecplot 360 会跟踪所有未连接的边界单元面(参见Setting Geometry and Boundary Options)。对于未按下文所述方式指定边界的未连接面,系统将应用默认边界条件。请从Default Boundary Condition下拉菜单中选择所需的边界条件。默认边界条件位于边界"优先级顺序"的底部。如果某个单元边界面未被任何其他边界条件覆盖,且未通过Geometry and Boundaries连接设置或 Tecplot 360 面邻接关系连接到其他单元,则系统将对其应用默认边界条件。
边界区域是维度比当前绘图类型少一的区域。在 3D 笛卡尔绘图中为曲面,在 2D 笛卡尔绘图中为线。当这些边界区域的节点与 3D 笛卡尔绘图中体区域的边界节点或 2D 笛卡尔绘图中曲面区域的边界节点重合时,即认为存在边界。例如,您可以使用位于四面体(3D)区域表面的三角形区域来标识该四面体区域上的边界区域。当三角形区域的节点与四面体区域的边界节点重叠时,即应用该边界。与连接相邻区域类似,匹配过程通过逐单元面进行,并使用Nodal Proximity对话框的Geometry and Boundaries设置来确定节点需接近到何种程度才被视为重叠。
For a layout with multiple datasets, separate settings are maintained
for each dataset. You can copy the settings from one dataset to another
using the Save Settings and Load Settings options in the
Analyze menu. These actions also transfer
the settings made in the Fluid Properties,
Reference Values, Field Variables, and
Geometry and Boundaries dialogs.
The Unsteady Flow Options对话框中输入此信息,如下所示,该对话框通过选择Unsteady Flow Options在Analyze
menu.
要让 Tecplot 360 将您的数据集视为稳态解,请选择Flow Solution is
Steady-State选项。此设置将禁用对话框的其余部分。
要让 Tecplot 360 将您的数据集视为非稳态解,请取消选中Flow Solution is Steady-State.这将启用对话框的其余部分,您可以在其中标识解的时间级别。
非稳态流动解由一系列表示连续解时间的区域组成。每个时间级别可以由一个或多个区域表示。通过在Zones文本字段中输入特定解时间级别的区域编号,并在Time文本字段中输入它们表示的时间,然后选择 [Add],即可标识解时间级别。区域和关联时间将显示在Solution Time Levels列表中。您可以通过在列表中选择现有时间级别来编辑它。其时间和区域将显示在文本字段中,您可以在其中进行编辑。单击 Replace 将使用修改后的时间级别更新当前选中的列表时间级别。
通过在文本字段中手动输入每个时间及其关联区域,您可以标识当前数据集中的所有解时间级别。对于大量区域,还提供了另外两种输入时间级别的方法。如果您的解(或其部分)是使用恒定时间步长计算的,您可以使用Group Zones by Time Step Dialog一次性输入所有这些时间级别。或者,如果您的区域名称包含每个区域所代表的解时间,您可以通过解析区域名称中对应的解时间来输入所有时间级别。这些选项将在下面讨论。
按时间步长分组区域对话框
The Group Zones by Time Step对话框允许您将一系列解时间级别输入到Unsteady Flow对话框中,比手动输入每个时间级别更简便。
您可以通过New Var Location下拉菜单选择计算过程中创建的新变量的位置(节点或单元中心)。数据集中已存在的变量将保持其原有位置。
按需计算
此选项将所选变量添加到数据集中,但将实际计算延迟到需要时再进行。下文将对此进行更详细的讨论。
计算函数
Selecting Calculate对活动帧中的每个区域执行计算。如果这是首次计算所选函数,则会向数据集中添加一个以该函数命名的新变量。否则,系统将提示您用新值覆盖先前计算的变量。对于向量函数,函数的每个分量都会添加到数据集中,变量名称前会加上X, Y, and Z前缀,并从名称中移除(vector)。如果函数已归一化,则根据所选选项,变量名称后会附加(Max-Normalized) or (RV-Normalized)。计算完成后,您将收到新变量的最小值和最大值及其位置的通知。
共享变量
如果启用了变量共享,则用于计算函数的所有变量在多个区域之间共享,并且这些变量以及计算出的变量都位于相同位置(单元中心或节点),则新变量也将被共享。您可以在Data Set Info
dialog (accessed via the Data menu).
如果数据日志有效,通过以下对话框对数据集所做的更改可以通过选择以下菜单撤销:Calculate对话框Undo
from the Edit菜单。这将导致 Tecplot 360 重新执行数据日志,该过程可能耗时较长。
选择函数
函数名称可输入到以下文本字段中:Name文本字段,或从包含所有可用函数的列表中选择。点击 [Select] 显示:Select Function
dialog.
从此对话框中选择一个函数并选择 [OK] 后,该函数将输入到相应区域。列表中仅适用于 3D 解算数据的函数以以下内容开头:OK向量函数(其名称附加了以下内容)计算三个向量分量:(3D)每个可用函数的说明详见:(vector)选择函数的另一种方法是输入其等效的 PLOT3D 函数编号。这些编号也可在以下位置找到:Calculate Variables Reference.
如果在以下对话框的文本字段中输入有效的函数编号:Calculate Variables Reference文本字段Name对话框CalculateTecplot 360 会将编号替换为对应函数的名称,并根据需要将 Normalize 下拉菜单设置为:None or Reference Values适当的值。
力和力矩计算为六个量:X、Y、Z 方向力以及绕原点的 X、Y、Z 方向力矩。为向后兼容,力也显示为升力、阻力和侧向力。升力和阻力为在 XY 平面内旋转后的力,其中升力垂直于参考流动方向(在Reference Values对话框中指定),阻力平行于该方向。侧向力等于 Z 方向力。
若 I 有序区域(二维)或表面区域(三维)已被定义为表面(二维)或体积(三维)区域的边界,则可对该边界区域进行力和力矩积分。Tecplot 360 从关联区域获取剪切应力和单位法向量。例如,若存在定义表面的线或表面区域,并在Geometry and Boundaries dialog.
向量点积法向
向量与表面单位法向量点积在曲面上的积分。此处向量的分量为数据集变量。
向量平均值
曲面上标量变量的加权平均值。权重函数为向量与表面单位法向量的点积。标量和向量分量均为数据集变量。
向量-切向点积
指定向量与线段单位切向量点积在直线上的积分。
涉及单位法向量的选项必须在可确定单位法向量方向的域内进行积分。可接受的域包括二维直线、三维平面,以及三维中的三角形或四边形区域。向量-切向点积选项仅能在直线上积分。单位法向量的进一步讨论请参见Surface Normal Calculations。,为段或单元质心到对称轴的距离。
涉及表面单位法向量的积分(如质量流量、力和力矩积分)依赖于指向一致方向(即朝向曲面区域同一侧)的表面单位法向量。有序曲面区域可保证这一点,但有限元曲面区域(三角形、四边形或多边形,包括提取的切片)则无法保证。对于这些区域,每个面的表面单位法向量方向通过右手定则结合该面的节点顺序计算。若某些面的节点按顺时针排列,而其他面的节点按逆时针排列(由区域的连接性定义),则这些面的表面法向量将指向不一致方向,任何依赖这些法向量的积分都不会产生有意义的结果。您可使用Surface Normal Calculations.
The Over下拉菜单允许您指定单元、恒定 I、J 或 K 的平面,或变化 I、J 或 K 的直线。对于四面体和砖块型有限元区域,仅允许体积积分。对于四边形和三角形有限元区域,仅允许 K 平面(选择"单元"(Cells)等效于选择 K 平面,因为它们在逻辑上是二维的)。对于二维和三维笛卡尔绘图类型,直线上的积分作为路径积分执行,平面上的积分作为曲面积分执行。XY 线图中的积分沿 X 轴对所选变量进行积分,以计算曲线与 X 轴之间的面积。体积积分应在三维笛卡尔绘图中进行——二维笛卡尔绘图中的体积积分将得到零结果。
若需积分向量点积,则域必须具有可识别的法向或切向方向。在三维笛卡尔绘图中,这通常意味着选择 I、J 或 K 平面。这些情况下的法向量分别指向 +I、+J 和 +K 方向,对于左手系网格则方向相反。I、J 和 K 平面没有可识别的切向方向,因此在平面上进行向量-切向点积积分会产生错误。
若选择 I、J 或 K 直线,则切向量指向正索引方向。向量-法向点积积分也可用,但可能无意义——法向量通过切向量与 +Z 轴的叉积计算。
在二维笛卡尔绘图中,I 平面等效于 J 直线,J 平面等效于 I 直线,K 平面等效于单元。(在二维中最好忽略平面。)所有情况下均可使用法向和切向方向。但 K 平面的法向量指向第三维度;可能无意义。
排除空白区域可能导致意外结果,具体取决于空白设置。特别需要注意的是,空白选项允许在以下情况下隐藏单元:当单元任意节点被空白时、当其"主"(或最低编号)索引被空白时,或仅当所有节点均被空白时。因此,某些节点被空白后,单元仍可能显示。Figure 1此图展示了该效果。索引消隐已用于消隐J=1线上的所有节点,但所有单元仍会显示。对体或K平面的积分将包含整个网格,而对I线或J线的积分则会排除J=1线。通常,若在3D中对体或2D中对平面进行积分,请显示网格图层以查看积分域;若为其余类型的积分域,则显示散点图层。参见[T0001] 执行积分Blanking for more information on blanking.
Figure 1. The effect of blanking on nodes and cells.
Performing the Integration
Selecting Integrate位于Integrate对话框底部
指定显示选项
显示表格化结果
您可以在文本对话框中显示积分结果、绘制结果,或两者兼有。[T0007] 对话框底部Integrate dialog
(accessed via Analyze→Perform Integration) control these
settings. When you have "Show Tabulated Results" toggled-on, integration
results will appear in a text dialog, as shown below.
该对话框提供两个附加选项。选择[T0010] 按钮Save button
displays a file selection dialog which allows you to save the
integration results to a text file. The [Make Text] button places a text
field containing the results into the active frame. Make sure you have
the frame in which you wish to place the results selected as the active
frame before you select this button.
绘制结果
勾选[T0013] 复选框后Plot Results As check box results in the
integration results being plotted in a new frame. Each zone or time
strand used in the integration results in a corresponding zone being
created in this frame. For Cell integrations, the plot will not be
useful, because it will contain only a single point in each zone. For
plane (in 3D) or line integrations where multiple planes or lines are
integrated in each zone or time strand, plotting can be very useful. In
these cases, the results for each plane or line are plotted versus the
corresponding index or indices.
宏命令可通过特定环境变量访问最近一次积分的结果。每个变量代表所有区域的总和(即[T0019] 对话框中显示的最终数值)。除力和力矩外,所有积分类型的单一结果存储在变量Integration Results dialog). For all integration types
except Forces and Moments, the single result is stored in the variable
INTEGRATION_TOTAL.
Table 1中,该表显示了力和力矩的变量名。
Figure 9. The Integration dialog and the integration results for calculating the lift and drag for the data shown in Figure 8.
The results of each zone are listed separately. Scrolling to the bottom
of the Integration Results dialog, we see the total lift
and drag, along with other force and moment data.
指定力矩的原点
When the Forces and Moments integration type is selected, the
[Set Origin] button is active. Selecting this button displays the
Set Origin dialog. In this dialog, you may specify the X, Y, Z-location of the
origin about which the moments will be calculated.
选择区域
To select zones, choose [All], [Active], or
[Select] from the Domain of Integration portion of the
Integrate dialog. By choosing [Select], you may select the
zones you want by clicking in the list, or by selecting [Zone Number] or
[Zone Name] in the resultant Select Zones dialog. Selecting
[Zone Number] calls up the Enter Range dialog, allowing you
to indicate the desired zones by a numeric range. Selecting [Zone Name]
prompts you for a pattern string, which is matched against the names of
all zones. You may use the asterisk as a wildcard when entering the zone
name pattern. All zones whose names match the
pattern are then selected in the list.ht.
计算湍流函数
Tecplot 360 allows you to calculate and add to your dataset any of
four turbulence-related quantities, provided you already have any given
two in your dataset. Turbulent kinetic energy, dissipation rate,
frequency and kinematic viscosity, and dynamic viscosity are available
via the Turbulence dialog.
The Turbulence dialog is displayed by selecting
Calculate Turbulence Functions from the Analyze
menu.
It contains two drop-down menus and associated text fields for you to
identify the two turbulence-related variables in your dataset,
drop-downs for you to select the function you wish to calculate and the
location of the calculated variable, a toggle to select
calculate-on-demand, and a Calculate button to perform the
calculation.
识别湍流变量
The first two drop-down menus on the Turbulence dialog allow
you to specify which turbulence variables are contained in your dataset.
The options are Kinetic Energy (), Dissipation Rate
(), Turbulent Frequency (), Turbulent Kinematic
Viscosity (), and Turbulent Dynamic
Viscosity(). This last option is the
kinematic viscosity, which is equal to the dynamic viscosity divided by
the density.
对于有质量粒子,请启用"粒子具有质量"选项。此操作将激活对话框中其他质量相关控件。点击"质量选项"可显示Particle Mass Options
dialog. (See Particles with Mass)。此外,您可选择存储粒子速度及其他粒子属性,或沿计算粒子路径的局部流动属性。选择"存储粒子速度、温度与质量"可沿粒子路径存储这些值;选择"存储插值解变量"则存储对应值。计算完成后,系统将告知包含这些值的数据集变量。
对于迹线计算,会在整个求解时间内按序列释放粒子。每个粒子的位置使用指定的积分时间步长进行积分。粒子释放的频率由上述控件指定。Calculate按钮。在“Release”(释放)文本字段中,输入在指定时间间隔内要释放的粒子数量。在“particles per”(每...粒子)下拉菜单中,通过选择“Solution Time Level”(求解时间层)或“Unit Solution Time”(单位求解时间)来标识此时间间隔。
如果选择“Solution Time Level”(求解时间层),则会在您标识的每对求解时间层之间,按时间均匀间隔释放指定数量的粒子。如果选择“Unit Solution Time”(单位求解时间),则会在求解覆盖的时间范围内按固定间隔释放粒子。无论哪种情况,都会在求解的最终时间释放一个粒子,以便迹线包含释放点本身。更频繁地释放粒子会产生更详细的迹线(精度由积分时间步长决定),但计算时间会更长。
执行迹线计算后,动画控件Particle Paths and Streaklines对话框将被启用。迹线动画显示积分中的每个连续步骤,是可视化流动非定常性的有效方法。启用Include Zone Animation in the Particle
Paths and Streaklines对话框以对区域和迹线一起进行动画处理。
粒子路径与迹线可保存为I有序区域或单个IJ有序区域。您可以使用以下方式单独删除它们:Delete Zone dialog (accessed via
Data→Delete→Zone)。若要删除所有先前计算的粒子路径与迹线,可使用[Delete All Particle Paths and Streaklines]按钮。此操作将删除所有名称以'Particle Path'或'Streakline'开头的区域。
动画选项
The Animation Options对话框允许您指定将迹线动画保存到文件的选项。可用选项如下:
无质量粒子始终随局部流体速度运动,而具有质量的粒子则遵循更复杂的运动方程,其中流体对粒子产生阻力。此外,具有质量的粒子可能具有与局部流体温度不同的温度,并可能因汽化等烧蚀过程而损失质量。Particle
Mass Options对话框允许您输入系数和粒子属性,以指示这些质量相关效应的计算方式。
The Particle Mass Options对话框通过选择Particle Paths and Streaklines对话框上的Mass Options显示。它允许您指定与粒子轨迹和传热计算相关的一般或详细系数,以及重力和初始粒子速度的选项。若选择计算粒子温度,您可以选择在指定温度终止粒子,或通过详细系数选项使粒子烧蚀直至质量归零。
选择系数集
您可以输入一般系数或详细系数。一般系数是表征粒子的便捷方式,但计算精度较低。仅当粒子阻力系数和传热系数(若计算粒子温度)基本恒定时才应使用。详细系数可提高计算精度,当阻力系数或传热系数可能不恒定时(例如粒子Reynolds Number小于1000),应始终使用详细系数。此外,若要计算粒子烧蚀,必须指定详细系数。通过在Particle Mass Options dialog.
分离线和附着线表示流体流动从无滑移壁面边界分离或重新附着的位置。这些线可以指示数据中分离泡或回流区域出现的位置。要计算它们,必须首先使用Geometry and Boundaries dialog. (See
Setting Geometry and Boundary Options识别一个或多个壁面边界。分离线和附着线将在这些边界上计算。
对于有序区域中的涡核和分离/附着线计算,您可以选择排除空白区域。通过选择Exclude Blanked Regions from Ordered Zones切换开关来启用此选项。这将防止在有序区域中因消隐而未绘制的区域中计算线条。但请注意,这将使数据日志失效。如果随后保存布局文件,系统将提示您同时保存新的数据文件。