FF510 ポスト処理関数-可視化オブジェクト生成-Boundary Surface
 
 ◆ 概要 ◆

FieldView固有の機能へのアクセスを提供するポスト処理関数について説明します。ここでは、ポスト処理関数のうち、可視化オブジェクト-Boundary Surface(境界面)の生成を行う関数について説明します。
※関数の入力引数としてリストされたテーブルの値は、必ずしも必要ではありません。 ほとんどの場合、入力にフィールドが指定されていない場合、そのフィールドのデフォルト値が使用されます。

 ◆ 詳細 ◆
 

Boundary Surface(境界面)の生成

create_boundary(boundary_table)
この関数は、boundary_tableを入力引数として、Boundary Surface(境界面)を生成します。

boundary_table
このテーブルはBoundary Surface(境界面)を表し、create_boundary関数の入力引数となります。
入力フィールド データ型 コメント デフォルト値
dataset number データセット番号 “current dataset"
types table 境界タイプのオプション。“all” または “none” または{“top_wall”, “bot_wall”, “inlet”, “outlet”}のような境界タイプのテーブル。 “none”
geometric_color number
または
string
“white”, “black”, または 1~8の数字  
show_mesh string “on” または “off” “off”
contours string "none", "black", "white", "scalar", "geometric“
scalar_func が “none”の場合に、“none”以外の値に設定すると無効
“none”
number_of_contours number “Filled Contour” が OFFの場合、最大値は500 “Filled Contour” が ONの場合、最大値は100この値よりも高く設定した場合は100に減らされます。 16
transparency number 範囲は0~1で、0, 0.125, 0.25, 0.375, 0.5, 0.625, 0.75, 0.875, 1の最も近い値に丸められます。クエリを実行するとこれらの値が戻ります。 0
line_type string "thin", "medium", "thick" "thin"
scalar_func string スカラー関数名または “none” “none”
scalar_range table min, maxで範囲を指定 n/a
min number   n/a
max number   n/a
use_local number “on” または “off” “off”
vector_func string ベクトル関数名または “none” サーフェスにvector_funcが指定されている場合、サーフェスはベクトルとして表示されるため、display_typeパラメータは無効です。 “none”
threshold_func string スレッショルド関数名または “none” “none”
threshold_range table min, maxで範囲を指定 n/a
min number   n/a
max number   n/a
visibility string “on” または “off” “on”
display_type string “constant_shading”, “faceted_shading”, “smooth_shading”, “mesh_shading”, “contour_lines”, “outline_edges”, “vertices”, “shaded_vertices” “mesh_shading”

例:

boundary_table1 = {
scalar_func = "Normalized density [PLOT3D]",
types = {"body","wing"},
display_type = "smooth_shading"
}

--create boundary surface and assign handle to
--"surface_handle1"
surface_handle1 = create_boundary(boundary_table1)

boundary_table2 = {
vector_func = "Velocity Vectors [PLOT3D]",
threshold_func = "X",
threshold_range = {min=2.4,max=2.5},
types = {"tail"}
}

--create boundary surface and assign handle to
--"surface_handle2"
surface_handle2 = create_boundary(boundary_table2)

・この資料の内容は予告なしに変更されることがあります。
・いかなる場合でも、この資料の内容およびその運用の結果に関しては一切の責任を負いません。
・この資料の一部または全部を無断で使用、作成することはできません。
All rights reserved by Vinas Co., Ltd.
sales@vinas.com