Files
OpenFOAM-12/tutorials/mesh/foamyHexMesh/simpleShapes/system/topoSetDict
Henry Weller bbaba1a645 topoSetDict: Corrected/updated formatting
Patch contributed by Institute of Fluid Dynamics, Helmholtz-Zentrum
Dresden - Rossendorf (HZDR)
2022-03-14 13:49:07 +00:00

121 lines
2.2 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
format ascii;
class dictionary;
object topoSetDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
actions
(
{
name z;
type cellSet;
action new;
source boxToCell;
box (-100 -100 0)(100 100 100);
}
{
name zf;
type faceSet;
action new;
source cellToFace;
set z;
option all;
}
{
name z;
type cellSet;
action invert;
}
{
name zf;
type faceSet;
action subset;
source cellToFace;
set z;
option all;
}
// ~~~~~~~~~~~~~~~~ //
{
name y;
type cellSet;
action new;
source boxToCell;
box (-100 0.1 -100)(100 100 100);
}
{
name yf;
type faceSet;
action new;
source cellToFace;
set y;
option all;
}
{
name y;
type cellSet;
action invert;
}
{
name yf;
type faceSet;
action subset;
source cellToFace;
set y;
option all;
}
// ~~~~~~~~~~~~~~~~ //
{
name x;
type cellSet;
action new;
source boxToCell;
box (0.3 -100 -100)(100 100 100);
}
{
name xf;
type faceSet;
action new;
source cellToFace;
set x;
option all;
}
{
name x;
type cellSet;
action invert;
}
{
name xf;
type faceSet;
action subset;
source cellToFace;
set x;
option all;
}
);
// ************************************************************************* //