openfoam/tutorials/compressible/rhoPimpleFoam/RAS/squareBendLiq/system/topoSetDict
Mark Olesen ce45a12918 TUT: improve parameterization of squareBend geometry
- orient blocks in global x/y/z.
  Provisioning for coarser/smaller geometries.
2021-03-08 17:31:18 +01:00

58 lines
1.5 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2012 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object topoSetDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
actions
(
{
name mid-plane;
type faceZoneSet;
action new;
source planeToFaceZone;
point (0 0 0);
normal (0 0 1);
}
{
name mid-plane;
type faceSet;
action new;
source zoneToFace;
zone mid-plane;
}
{
name mid-plane;
type faceSet;
action subset;
source boxToFace;
min (0 -1000 -1000);
max (1000 1000 1000);
}
{
name mid-plane;
type faceZoneSet;
action new;
source setToFaceZone;
faceSet mid-plane;
}
{
name mid-plane;
type faceSet;
action remove;
}
);
// ************************************************************************* //