1 /*--------------------------------*- C++ -*----------------------------------*\
3 | \\ / F ield | OpenFOAM Extend Project: Open source CFD |
4 | \\ / O peration | Version: 1.6-ext |
5 | \\ / A nd | Web: www.extend-project.de |
6 | \\/ M anipulation | |
7 \*---------------------------------------------------------------------------*/
16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
18 // Name of set to operate on
21 // One of clear/new/invert/add/delete|subset/list
24 // Actions to apply to cellSet. These are all the topoSetSource's ending
25 // in ..ToCell (see the meshTools library).
29 // Select by explicitly providing cell labels
32 value (12 13 56); // labels of cells
35 // Copy elements from cellSet
44 name ".*Zone"; // Name of cellZone, regular expressions allowed
47 // Cells on master or slave side of faceZone
50 name ".*Zone"; // Name of faceZone, regular expressions allowed
51 option master; // master/slave
54 // Select based on faceSet
57 set f0; // Name of faceSet
59 //option neighbour; // cell with neighbour in faceSet
60 //option owner; // ,, owner
61 option any; // cell with any face in faceSet
62 //option all; // cell with all faces in faceSet
65 // Select based on pointSet
69 option any; // cell with any point in pointSet
70 //option all; // cell with all points in pointSet
73 // Select based on cellShape
76 type hex; // hex/wedge/prism/pyr/tet/tetWedge/splitHex
79 // Cells with cell centre within box
85 // Cells with cell centre within box
86 // Is skewed, rotated box. Given as origin and three spanning vectors.
95 // Cells with centre within cylinder
98 p1 (0.2 0.2 -10); // start point on cylinder axis
99 p2 (0.2 0.2 0); // end point on cylinder axis
103 // Cells with centre within sphere
106 centre (0.2 0.2 -10);
110 // Cells with cellCentre nearest to coordinates
113 points ((0 0 0) (1 1 1)(2 2 2));
116 // Select based on surface
119 file "www.avl.com-geometry.stl";
120 outsidePoints ((-99 -99 -59)); // definition of outside
121 includeCut false; // cells cut by surface
122 includeInside false; // cells not on outside of surf
123 includeOutside false; // cells on outside of surf
124 nearDistance -1; // cells with centre near surf
125 // (set to -1 if not used)
126 curvature 0.9; // cells within nearDistance
127 // and near surf curvature
128 // (set to -100 if not used)
131 // values of field within certain range
134 fieldName U; // Note: uses mag(U) since volVectorField
139 // Mesh region (non-face connected part of (subset of)mesh)
142 set c0; // name of cellSet giving mesh subset
143 insidePoint (1 2 3); // point inside region to select
149 // ************************************************************************* //