initial commit for version 1.6.x patch release
[OpenFOAM-1.6.x.git] / applications / utilities / mesh / manipulation / pointSet / pointSetDict
blob7d4dd656ae87fdb50d79a22b939b08da2b5db8ac
1 /*--------------------------------*- C++ -*----------------------------------*\
2 | =========                 |                                                 |
3 | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
4 |  \\    /   O peration     | Version:  1.6                                   |
5 |   \\  /    A nd           | Web:      http://www.OpenFOAM.org               |
6 |    \\/     M anipulation  |                                                 |
7 \*---------------------------------------------------------------------------*/
8 FoamFile
10     version     2.0;
11     format      ascii;
12     class       dictionary;
13     object      pointSetDict;
16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
18 // Name of set to operate on
19 name p0;
21 // One of clear/new/invert/add/delete|subset/list
22 action new;
24 // Actions to apply to pointSet. These are all the topoSetSource's ending
25 // in ..ToPoint (see the meshTools library).
26 topoSetSources
28     // Copy elements from pointSet
29     pointToPoint
30     {
31         set p1;
32     }
34     // Select based on cellSet
35     cellToPoint
36     {
37         set c0;
38         option all;         // all points of cell
39     }
41     // Select based on faceSet
42     faceToPoint
43     {
44         set f0;             // name of faceSet
45         option all;         // all points of face
46     }
48     // Select by explicitly providing point labels
49     labelToPoint
50     {
51         value (12 13 56);   // labels of points
52     }
54     // All points in pointzone
55     zoneToPoint
56     {
57         name ".*Zone";      // name of pointZone, regular expressions allowed
58     }
60     // Points nearest to coordinates
61     nearestToPoint
62     {
63        points ((0 0 0) (1 1 1));
64     }
66     // Points with coordinate within box
67     boxToPoint
68     {
69        box   (0 0 0) (1 1 1);
70     }
72     // Select based on surface
73     surfaceToPoint
74     {
75         file            "www.avl.com-geometry.stl";
76         nearDistance    0.1;    // points near to surface
77         includeInside   false;  // points on inside of surface
78                                 // (requires closed surface with consistent
79                                 //  normals)
80         includeOutside  false;  //   ,,    outside  ,,
81     }
84 // ************************************************************************* //