openfoam/tutorials/mesh/moveDynamicMesh/faceZoneBlock/system/topoSetDict
2024-12-12 16:13:32 +00:00

44 lines
1.3 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2312 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object topoSetDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
actions
(
{
name c0;
type cellSet;
action new;
source boxToCell;
box (-1 -1 -1)(1 1 1);
}
{
name movingZoneFaces;
type faceSet;
action new;
source cellToFace;
set c0;
option outside;
}
{
name movingZone;
type faceZoneSet;
action new;
source setToFaceZone;
faceSet movingZoneFaces;
}
);
// ************************************************************************* //