隐藏

消隐功能允许您基于变量值,排除区域中特定部分(即选择性显示某些单元格或数据点)的绘制。在三维场景中,其效果类似于剖视图。

消隐设置仅适用于当前活动帧,但可通过帧链接同步多个帧的值消隐设置。关于链接的更多信息,请参阅Frame Linking。体区域的消隐结果取决于Zone Style对话框的"曲面"页面中"要绘制的曲面"设置(详见Surfaces)。

以下讨论中使用了"单元格"一词。在I有序数据集中,单元格指两个相邻点之间的连接;在IJ有序数据集中,单元格指四个相邻数据点围成的四边形区域;在IJK有序数据集中,单元格指八个相邻数据点围成的六面体(六面体)体积。对于有限元数据集,单元格等同于单元。

消隐形式如下:

Value Blanking

基于每个单元格数据点或单元格与约束边界交点处的值消隐变量,排除所选区域或线图映射中的单元格(或单元格部分)。

IJK Blanking

基于索引值包含或排除单个IJK有序区域的单元格(仅限IJK有序区域)。

所有消隐类型可在同一绘图中使用,且具有累积效应:被任一选项消隐的单元格均不显示。值消隐和深度消隐影响所有类型的选定区域,而IJK消隐仅影响单个IJK有序区域。

通常,所有消隐类型会影响所有场图层、区域及其他绘图属性(边缘层除外),但存在以下例外:

表1. 不受消隐影响的绘图属性
消隐类型 未消隐的属性

值消隐

边缘层

IJK消隐

  • 派生对象[1](切片、流线或等值面)

  • 有限元区域

  • 非结构化/非组织区域


1. Derived Objects can opt in or out of blanking. (See Blanking Settings for Derived Objects.)

值消隐

值消隐允许您选择性消除或修剪线图和三维场图中的单元格(仅限)及单元。对于每个活动约束,您需指定一个值消隐变量、一个常量值或另一个变量,以及一个条件语句,告知Tecplot 360根据指定变量或常量消隐该区域。

场图的值消隐

要在绘图中包含值消隐,请前往PlotMenuBlanking→Value Blankingand selectValue Blanking. This

值消隐
dialog contains the following options:

Include Value Blanking

Toggle on to include value blanking.

Note that settings in the Value Blanking dialog can be edited without actually activating blanking. This speeds up blanking setup because the plot does not need to be redrawn after each setting change.

Blank Entire Cell When

Select one of the following blanking styles:

All Corners Blanked

Removes a cell from the plot if all its data points satisfy one or more active blanking constraints.

Any Corner Blanked

Removes a cell from the plot if any of its data points satisfy one or more active blanking constraints.

Primary Value Blanked

Removes a cell from the plot based on its primary value. The primary value of a cell depends on the zone type and variable value location, as shown in the table below. Zone Type Value Location

Primary Value Source

Ordered

Cell Center

Cell value

Cell Centered

Cell value

Ordered

Finite Element

Node

Finite element

Nodal

First node in the element connectivity list

Please refer toZone/Variable Info PageData Set Informationdialog to determine the zone type and value location.

Constraint

Up to eight value blanking constraints can be set. Click the numbered button here to select the constraint to add or modify.

Active

Toggle on to activate the selected constraint.

Blanking condition

For each constraint, set the following parameters:

  • Select the variable for value blanking.

Typically, you canSpecify Equationsdialog (viaData→Alteraccess) to create a new variable. SeeEquation Syntax.
  • Specify an operation describing how the blanking variable is compared to the subsequent constant or variable.

  • Choose to compare the blanking variable with another variable or a constant. If comparing with a variable, select that variable; if comparing with a constant, enter that constant.

Show constraint boundary

Toggle on to display a line that

Color

Select the color of the boundary in the color picker.

Line type

Select the line type for the boundary.

Pattern length

选择图案长度,以帧高度的百分比表示。

线宽

将边界线宽度选择为帧高度的百分比。

值消隐对有序区域的边线没有影响。如果边线处于开启状态,则会绘制整个区域(未应用值消隐)的边线。

下图说明了绘图中各种值消隐模式。

值消隐示例
Figure 1. The effects of the different value blanking options in field plots for a constraint where a variable is less than or equal to zero. The dark shading indicates the areas that are not blanked. Clockwise from upper left: Blank cell when primary value is blanked. Blank cell when all corners are blanked. Trim cells along mathematical constraint boundary. Blank cell when any corner is blanked.

各区域的值消隐设置

使用Zone Style对话框的 Effects 页面(通过Plot菜单或 Plot 侧边栏访问),您可以针对单个区域开启或关闭值消隐。只需高亮选中区域,然后切换"使用值消隐"列中的复选框即可。

线图的值消隐

对于线图,值消隐会将数据点从最终绘图中排除。其设置与Value Blanking for Field Plots相同,只是您无法选择相对于单元的消隐行为,因为这不适用于线图。

作为值消隐的替代或补充方法,您可以使用Mapping Style对话框的 Indices 页面来限制每个映射的索引范围。Curves 页面通过允许您限制单个映射的自变量范围,提供了另一种消隐形式。

Figure 2显示了两幅图。这些图的原始数据包含一些"坏"数据点。坏数据点被识别为 Y 值大于 0.6 的点。左侧的图使用了所有数据点(包括坏数据点)来绘制曲线。右侧的图通过使用值消隐过滤掉了坏数据点,其中如果 Y → 0.6,则移除所有点。消隐不一定必须针对因变量或自变量。

值消隐 xy 示例
Figure 2. XY Line plots showing the effect of value blanking.

IJK 空白处理

IJK 空白处理适用于 2D 和 3D 有序区域,在 2D 和 3D 笛卡尔绘图类型中可用。IJK 空白处理会从绘图中移除一个 IJK 有序区域的选定部分。这允许您创建剖切图:显示某些数据集外部并"切掉"一部分以显示内部的图,例如Figure 3.

中所示的图。要使用 IJK 空白处理,您必须有一个 2D 或 3D IJK 有序区域,并且当前绘图类型必须是 2D 或 3D 笛卡尔。与Value Blanking不同,后者作用于单个帧内的所有区域,而 IJK 空白处理只能用于帧内的单个区域。
ijk空白剖切
Figure 3. A cutaway plot created with IJK Blanking.

要使用 IJK 空白处理,请从Blanking→IJK Blanking菜单中选择Plot。仅当您的数据集至少有一个 IJK 有序区域时,此选项才可用。

ijk 空白处理

此对话框顶部的Use IJK Blanking复选框用于开启或关闭 IJK 空白处理。Definition 页面包含以下选项。

使用 IJK 空白处理

Toggle on to include IJK blanking in the plot.

Zone

Select the zone to apply IJK blanking by clicking on the displayed list of IJK ordered zones. You can only select one zone.

If the dataset contains multiple zones, filtering the zone list can be useful. Enter part of the zone name and press Enter (or click the filter button next to the zone name field) to display only zones whose names contain the entered text.

Specify the domain for IJK blanking by selecting one of the following options:

Interior

Specifies that cells within the index range are hidden, while cells outside the range are plotted. This creates a "hole" in the zone. [T0006] The left side shows an ordered zone with IJK Blanking using the Interior domain.Figure 4shows an ordered zone with IJK Blanking with Interior domain.

Exterior

Specifies that cells outside the index range are hidden, while cells within the range are plotted. The Exterior domain plots a sub-region of the zone. [T0009] The right side shows an ordered zone with IJK Blanking using the Exterior domain.Figure 4shows an ordered zone with IJK Blanking with Exterior domain.

ijk空白外部整数域
Figure 4. IJK Blanking with Interior domain (left) and Exterior domain (right).
Select IJK range using:

Specify the input format for the index range by selecting one of the following option buttons:

Index Value

Specify the I, J, and K index ranges using absolute index values.

Percentage of Maximum

Specify the I, J, and K index ranges as starting and ending percentages of the maximum index. For example, set the start percentage to 33.3 and the end percentage to 66.6 to hide the middle third of the dataset.

When saving a layout, macro, or style sheet, the index range for IJK blanking is stored as a percentage of the maximum index, regardless of how you entered it. This allows a layout to be easily used with datasets containing zones of different sizes.

For information on using animation pages, seeIJK Blanking Animation.

Derived Object Blanking Settings

You can choose to enable or disable blanking for derived objects (isosurfaces, streamlines, or slices) in their respective [T0020] dialogs.Details dialogs.

Isosurface

This option is located in the Style page of the [T0023] dialog (click the [T0024] button to the right of the isosurface in the plot sidebar). SeeIso-surface Details dialog (click the 等值面详细信息 button to the right of Iso-Surfaces in the Plot sidebar). Refer to Iso-Surface Contour and Shade详情请参阅。

Streamtraces(流线)

该选项位于 Integration(积分)页面上的Streamtrace Details dialog (click the 流线追踪详情按钮(位于 Plot(绘图)侧边栏中 Iso-Surfaces 右侧)。请参阅Integration Page以获取详细信息。

Slices(切片)

该选项位于 Definition(定义)页面上的Slice Details对话框中。请参阅Definition Page for details.