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

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

 ◆ 詳細 ◆
 

Coordinate Surface(X/Y/Z面)の生成

create_coord(coord_table)
この関数は、coord_tableを入力引数として、Coordinate Surface(X/Y/Z面)を生成します。

coord_table
このテーブルはcoordinate surface(X/Y/Z面)を表し、create_coord関数の入力引数となります。
入力フィールド データ型 コメント デフォルト値
dataset number データセット番号 “current dataset"
geometric_color number
または
string
“white”, “black”, または 1~8の数字  
show_mesh string “on” または “off” “off”
unrolled 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”
axis string Cartesian: “X” または “Y” または “Z”.
RTZ cylindrical: “R” または “T” または “Z”.
RTX cylindrical: “R” または “T” または “X”.
“X” または “R”
X_axis table axis =“X”の場合min, current, max、それ以外ではmin, maxを指定
デカルト座標またはRTX円柱座標の場合
 
min number    
current number axis =“X”の場合  
max number    
Y_axis table axis =“Y”の場合min, current, max、それ以外ではmin, maxを指定
デカルト座標の場合
 
min number    
current number axis =“Y”の場合  
max number    
R_axis table axis =“Z”の場合min, current, max、それ以外ではmin, maxを指定
円柱座標の場合
 
min number    
current number axis =“R”の場合  
max number    
T_axis table axis =“T”の場合min, current, max、それ以外ではmin, maxを指定
円柱座標の場合
 
min number    
current number axis =“T”の場合  
max number    
Z_axis table axis =“Z”の場合min, current, max、それ以外ではmin, maxを指定
デカルト座標またはRTZ円柱座標の場合
 
min number    
current number axis =“Z”の場合  
max number    
display_type string “constant_shading”, “smooth_shading”, “mesh_shading”, “contour_lines”, “crinkle”, “vertices”, “shaded_vertices” “mesh_shading”

FVXはデカルト座標のデータセット上で作成されたcoordinate surface(X/Y/Z面)のルールドグリッドもサポートします。coordinate surfaceの入力テーブルとクエリテーブルには、2つのフィールドruled_gridとruled_grid_options(テーブル)が含まれます。

ruled_grid_subtable
coord_tableのサブテーブルを表します。
入力フィールド データ型 コメント デフォルト値
ruled_grid string “on” または “off” “off”
ruled_grid_options table    
color number
または
String
“white”, “black”, または 1~8の数字  
font string “lee”, “lee bold”, “lee italic”, “lee bold italic”, “leemono”, “leemono bold”, “leemono italic”, “leemono bold italic”, “leese”, “leese bold”, “roman sans serif”, “roman”, “italics”, “script” “lee”
size number フォントサイズを指定する1〜100の整数 10
horizontal_axis table    
label string “X” または “Y“ または ”Z”(読み取り専用)
coord_tableの ‘axis’ フィールドの現在の値によって決定されます。
 
interval number “default“は0より大きい浮動小数点数
"default"は入力値のみです。 デフォルトの計算値に戻る方法として提供されます。 後続のquery()はデフォルトの計算値を返します。
 
grid_lines string “on” または “off” “on”
tick_marks string “on” または “off” “on”
labels string “on” または “off” “on”
labels_parameters table    
numerical_format string “floating_point” または “exponential” “floating_point”
decimal_places number ラベルの有効桁数を選択する0〜6の整数 3
vertical_axis table    
label string “X” または “Y“ または ”Z”(読み取り専用)
coord_tableの ‘axis’ フィールドの現在の値によって決定されます。
 
interval number “default“は0より大きい浮動小数点数
"default"は入力値のみです。 デフォルトの計算値に戻る方法として提供されます。 後続のquery()はデフォルトの計算値を返します。
 
grid_lines string “on” または “off” “on”
tick_marks string “on” または “off” “on”
labels string “on” または “off” “on”
labels_parameters table    
numerical_format string “floating_point” または “exponential” “floating_point”
decimal_places number ラベルの有効桁数を選択する0〜6の整数 3

例:

--define coordinate surface
coord_table = {
  dataset = 1,
  scalar_func = "Pressure [PLOT3D]",
  vector_func = "Vorticity Vectors [PLOT3D]",
  threshold_func = "Density (Q1)",
  threshold_range = {
    min = 0.75,
    max = 0.82,
    },

  visibility = "on",

  axis = "X",
  X_axis = {
    min = -6,
    current = -1.1,
    max = 8,
    }
}

--create coordinate surface and assign handle to "c"
c = create_coord(coord_table)

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