こんにちは。
壁面に接するセルでなく、その隣(2層目)を選ぶということでしょうか?
topoSetユーティリティでセルを選択し、セルセットやセルゾーンにしておくと
後処理やfunctionObjectで利用できます。
例えば、パッチ”lowerWall"から2層目のセルを選択するには、下記の様なtopoSetDict
を使います。
actions
(
{
name lowerWallFaces; パッチlowerWallのフェースセット
type faceSet;
action new;
source patchToFace;
sourceInfo
{
name lowerWall;
}
}
{
name lowerWallCells; lowerWallに接するセルセット
type cellSet;
action new;
source faceToCell;
sourceInfo
{
set lowerWallFaces;
option any;
}
}
ここまでで、第1層目のセルがセルセットlowerWallCellsに記録されます
{
name lowerWallCellPoints; lowerWallCellsに含まれるポイントセット
type pointSet;
action new;
source cellToPoint;
sourceInfo
{
set lowerWallCells;
option all;
}
}
{
name secondCells; lowerWallCellPointsを含むセルセット
type cellSet;
action new;
source pointToCell;
sourceInfo
{
set lowerWallCellPoints;
option any;
}
}
{
name secondCells; secondCellsからlowerWallCellsを削除し第二層のみ残す
type cellSet;
action delete;
source cellToCell;
sourceInfo
{
set lowerWallCells;
}
}
ここまでで、第2層がセルセットに記録されます。
{
name secondCellZone; 第2層セルのセルゾーン
type cellZoneSet;
action new;
source setToCellZone;
sourceInfo
{
set secondCells;
}
}
);
ご参考まで。
2015年11月10日火曜日 16時52分38秒 UTC+9 カガヤリョウジ: