openfoam/tutorials/multiphase/interFoam/laminar/vofToLagrangian/eulerianInjection/system/topoSetDict.createPatch
2020-06-29 17:27:54 +01:00

52 lines
1.4 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2006 |
| \\ / 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;
p1 (0.025 1 0.025);
p2 (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;
}
);
// ************************************************************************* //