db7fac3f24
git-svn-id: https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Core/OpenFOAM-1.5-dev@1731 e4e07f05-0c2f-0410-a05a-b8ba57e0c909
80 lines
2.2 KiB
Text
80 lines
2.2 KiB
Text
/*---------------------------------------------------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: 1.0 |
|
|
| \\ / A nd | Web: http://www.openfoam.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
|
|
root "/home/penfold/mattijs/foam/mattijs2.2/run/icoFoam";
|
|
case "cavityTut";
|
|
instance "system";
|
|
local "";
|
|
|
|
class dictionary;
|
|
object pointSetDict;
|
|
}
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
// Name of set to operate on
|
|
name p0;
|
|
|
|
// One of clear/new/invert/add/delete|subset/list
|
|
action new;
|
|
|
|
// Actions to apply to pointSet. These are all the topoSetSource's ending
|
|
// in ..ToPoint (see the meshTools library).
|
|
topoSetSources
|
|
(
|
|
// Copy elements from pointSet
|
|
pointToPoint
|
|
{
|
|
set p1;
|
|
}
|
|
|
|
// Select based on cellSet
|
|
cellToPoint
|
|
{
|
|
set c0;
|
|
option all; // all points of cell
|
|
}
|
|
|
|
// Select based on faceSet
|
|
faceToPoint
|
|
{
|
|
set f0; // name of faceSet
|
|
option all; // all points of face
|
|
}
|
|
|
|
// Select by explicitly providing point labels
|
|
labelToPoint
|
|
{
|
|
value (12 13 56); // labels of points
|
|
}
|
|
|
|
// Points with coordinate within box
|
|
boxToPoint
|
|
{
|
|
box (0 0 0) (1 1 1);
|
|
}
|
|
|
|
// Select based on surface
|
|
surfaceToPoint
|
|
{
|
|
file "www.avl.com-geometry.stl";
|
|
nearDistance 0.1; // points near to surface
|
|
includeInside false; // points on inside of surface
|
|
// (requires closed surface with consistent
|
|
// normals)
|
|
includeOutside false; // ,, outside ,,
|
|
}
|
|
);
|
|
|
|
|
|
// ************************************************************************* //
|