openfoam/tutorials/multiphase/interFoam/laminar/vofToLagrangian/eulerianInjection/system/topoSetDict.createPatch
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

53 lines
1.5 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
(
// Load initial cellSet
{
name c0;
type cellSet;
action new;
source cylinderToCell;
point1 (0.025 1 0.025);
point2 (0.025 0.049 0.025);
radius 0.0015;
}
// Get all faces in cellSet and assign to injectorFaces
{
name injectorFaces;
type faceSet;
action new;
source cellToFace;
set c0;
option all;
}
// Keep in injectorFaces all faces in boundary faces
{
name injectorFaces;
type faceSet;
action subset;
source boundaryToFace;
}
);
// ************************************************************************* //