paraFoamにはconstant/polyMesh/setsディレクトリやcellZonesのデータを読み込んで、その領域を指定して表示出来たと思います。->私のparaFoamは不安定であまり使っていないので要確認
そのsetsやcellZonesを作成するのに以下のページにあるようにtopoSetが使えます。
http://www.geocities.co.jp/penguinitis2002/study/OpenFOAM/set.html
この作業は、以前setSetやcellSetを用いて対話式で作成していたので私には理解不能でしたが、上記ページに書いてあるようにDictを使ってtemplate的に扱えるようになったので、作業が非常に楽になったと思います。
使い方は上記ページを参照し、topoSetで何ができるかは以下のDictファイルを参考にすれば、
src/applications/utilities/mesh/manipulation/topoSet/topoSetDict
wall patchに接するowner cell(neighbor cell?)をsetsデータとして出力出来ると思います。
->OpenFOAMの壁第一層のowner cellには有限の速度が入っているはずです。
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object topoSetDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
actions
(
{
name buildingFace;
type faceSet;
action new;
source patchToFace;
sourceInfo
{
name building;
}
}
{
name nearBuilingCell;
type cellSet;
action new;
source faceToCell;
sourceInfo
{
set buildingFace;
option owner;
}
}
);
// ************************************************************************* //