openfoam/tutorials/mesh/extrudeMesh/faceZoneExtrusion/system/topoSetDict
Mark Olesen 500c7047b2 TUT: remove superfluous 'sourceInfo' (topo sets)
- update annotated dicts, remove tabs

- use point1/point2 for cylinder sources
2022-05-27 14:10:31 +02:00

71 lines
1.7 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2206 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object topoSetDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
actions
(
{
name f0;
type faceSet;
action new;
source boxToFace;
box (-100 -100 -100) (1.01 1.01 1.01);
}
{
name f0;
type faceSet;
action delete;
source boundaryToFace;
}
////- Remove internal faces; do boundary faces only
//{
// name f0;
// type faceSet;
// action clear;
//}
//- Add single external face (min-z)
{
name f0;
type faceSet;
action add;
source boxToFace;
box (-100 -100 -100) (1.01 1.01 0.01);
}
{
name c0;
type cellSet;
action new;
source nearestToCell;
points ((0.5 0.5 0.5));
}
{
name f0Zone;
type faceZoneSet;
action new;
source setsToFaceZone;
faceSet f0;
cellSet c0;
}
);
// ************************************************************************* //