流れ場非構造格子クラス
近傍セル探索の結果が妥当かどうかをチェック
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FlowFieldUnstructuredGrid) | :: | self | ||||
real, | intent(in) | :: | X(3) |
探索対象座標 |
||
integer, | intent(in) | :: | NCN |
近傍探索結果セルID |
最近傍セル探索
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FlowFieldUnstructuredGrid), | intent(in) | :: | self | |||
real, | intent(in) | :: | X(3) |
探索対象座標 |
厳密探索かkdツリー探索かはここで切り替える
kdツリーによる最近傍セル探索
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FlowFieldUnstructuredGrid), | intent(in) | :: | self | |||
real, | intent(in) | :: | X(3) |
探索対象座標 |
厳密最近傍セル探索
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FlowFieldUnstructuredGrid), | intent(in) | :: | self | |||
real, | intent(in) | :: | X(3) |
探索対象座標 |
指定IDにおける境界面の移動量ベクトルを返す
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FlowFieldUnstructuredGrid), | intent(in) | :: | self | |||
integer, | intent(in) | :: | ID |
指定IDにおけるセルの流速を返す
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FlowFieldUnstructuredGrid), | intent(in) | :: | self | |||
integer, | intent(in) | :: | ID |
全セルの重心座標を2次元配列で返す
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FlowFieldUnstructuredGrid), | intent(in) | :: | self |
指定IDにおけるセル重心
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FlowFieldUnstructuredGrid), | intent(in) | :: | self | |||
integer, | intent(in) | :: | ID |
節点群の座標最大最小を返す
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FlowFieldUnstructuredGrid) | :: | self | ||||
real, | intent(out) | :: | MIN_CDN(3) | |||
real, | intent(out) | :: | MAX_CDN(3) |
指定IDのセルにおける頂点座標配列を返す 2次元配列:(xyz、頂点)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FlowFieldUnstructuredGrid), | intent(in) | :: | self | |||
integer, | intent(in) | :: | ID |
節点数もしくはセル数を取得
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FlowFieldUnstructuredGrid), | intent(in) | :: | self | |||
character(len=*), | intent(in) | :: | name |
'node' or 'cell' |
FPHファイルから流れ場を取得する
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FlowFieldUnstructuredGrid) | :: | self | ||||
character(len=*), | intent(in) | :: | FNAME |
ファイル名 |
||
logical, | intent(in) | :: | findTopology |
トポロジー情報を取得するフラグ |
||
logical, | intent(in) | :: | findVelocity |
流速情報を取得するフラグ |
FLDファイルから流れ場を取得する
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FlowFieldUnstructuredGrid) | :: | self | ||||
character(len=*), | intent(in) | :: | FNAME |
ファイル名 |
||
logical, | intent(in) | :: | findTopology |
トポロジー情報を取得するフラグ |
||
logical, | intent(in) | :: | findVelocity |
流速情報を取得するフラグ |
INPファイルを読み込み、節点データを要素データに変換する
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FlowFieldUnstructuredGrid) | :: | self | ||||
character(len=*), | intent(in) | :: | FNAME |
独自フォーマットArrayファイルから、流速を読み込む
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FlowFieldUnstructuredGrid) | :: | self | ||||
character(len=*), | intent(in) | :: | FNAME |
VTKファイルから流れ場を取得する
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FlowFieldUnstructuredGrid) | :: | self | ||||
character(len=*), | intent(in) | :: | FNAME |
ファイル名 |
||
logical, | intent(in) | :: | meshOnly |
メッシュだけ読み込み、流速などは無視するフラグ |
流れ場ファイルを読み込み、流れ場を更新する あくまで既存の流れ場の更新目的であり、セル数の異なるメッシュは想定していない セル重心の算出も行う
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FlowFieldUnstructuredGrid) | :: | self | ||||
character(len=*), | intent(in) | :: | FNAME |
流れ場ファイルの読み込み VTK, INP, FLDに対応 独自フォーマットのArrayにも対応 セル重心の算出も行う
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FlowFieldUnstructuredGrid) | :: | self | ||||
character(len=*), | intent(in) | :: | FNAME | |||
character(len=*), | intent(in), | optional | :: | meshFile |
参照セル探索 主に近傍探索が呼ばれるが、探索が芳しくない場合は最近傍探索が呼ばれる
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FlowFieldUnstructuredGrid) | :: | self | ||||
real, | intent(in) | :: | X(3) |
探索対象座標 |
||
integer, | intent(inout) | :: | reference_cell |
参照セル |
||
logical, | optional | :: | stat |
境界面への飛沫付着判定
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FlowFieldUnstructuredGrid), | intent(in) | :: | self | |||
double precision, | intent(in) | :: | position(3) |
飛沫座標 |
||
double precision, | intent(in) | :: | radius |
飛沫半径 |
||
integer, | intent(in) | :: | cellID |
判定対象セルID |
||
integer, | intent(out) | :: | stat |
付着が起こらなければゼロ、起これば付着面の境界面IDが返る |
近傍セル探索の結果が悪いと判断された比率を返す
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FlowFieldUnstructuredGrid) | :: | self |
近傍セル探索の結果が悪いと判断された回数を返す
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FlowFieldUnstructuredGrid) | :: | self |