 |
Computational Surface(I/J/K面)の生成
create_comp(comp_table) この関数は、comp_tableを入力引数として、Computational Surface(I/J/K面)を生成します。
comp_table
このテーブルはComputational Surface(I/J/K面)を表し、create_comp関数の入力引数となります。 |
| 入力フィールド |
データ型 |
コメント |
デフォルト値 |
| Dataset
|
number |
データセット番号
|
“current dataset" |
| Grid |
number |
グリッド番号
|
|
| Axis |
string |
“I” または “J” または “K”
|
“I” |
| I_inc
|
number |
|
|
| I_axis |
table |
axis =“I”の場合min, current, max、それ以外ではmin, maxを指定
|
|
| min |
number |
|
|
| current |
number |
axis =“I”の場合
|
|
| max |
number |
|
|
| J_inc |
number |
|
|
| J_axis |
table |
axis =“J”の場合min, current, max、それ以外ではmin, maxを指定
|
|
| min |
number |
|
|
| current |
number |
axis =“J”の場合
|
|
| max |
number |
|
|
| K_inc
|
number |
|
|
| K_axis |
table |
axis =“K”の場合min, current, max、それ以外ではmin, maxを指定
|
|
| min |
number |
|
|
| current |
number |
axis =“K”の場合
|
|
| max |
number |
|
|
| 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”
|
例:
--define computational surface
comp_table = {
dataset = 3,
grid = 2,
axis = "I",
I_inc = 1,
I_axis = {
min = 1,
current = 1,
max = 20,
},
scalar_func = “Density (Q1)”,
vector_func = “Velocity Vectors [PLOT3D]”,
threshold_func = “Density (Q1)”,
threshold_range = {
min = 0.75,
max = 1.01,
},
visibility = "on",
}
-– call function and assign handle to "c"
c = create_comp(comp_table)
|