initial commit for version 1.6.x patch release
[OpenFOAM-1.6.x.git] / applications / utilities / mesh / manipulation / faceSet / faceSetDict
blobfd0ea0c09d1e291f3f4166ebc933ac9835dab7f0
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      faceSetDict;
16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
18 // Name of set to operate on
19 name f0;
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 ..ToFace (see the meshTools library).
26 topoSetSources
28     // Copy elements from faceSet
29     faceToFace
30     {
31         set f1;
32     }
34     // Select based on cellSet
35     cellToFace
36     {
37         set c0;
38         option all;         // All faces of cells
39         //option both;      // Only faces whose owner&neighbour are in cellSet
40     }
42     // Select based on pointSet
43     pointToFace
44     {
45         set p0;
46         option any;         // Faces using any point in pointSet
47         //option all        // Faces with all points in pointSet
48     }
50     //  Select by explicitly providing face labels
51     labelToFace
52     {
53         value (12 13 56);   // labels of faces
54     }
56     // All faces of patch
57     patchToFace
58     {
59         name ".*Wall";      // Name of patch, regular expressions allowed
60     }
62     // All faces of faceZone
63     zoneToFace
64     {
65         name ".*Zone1";     // Name of faceZone, regular expressions allowed
66     }
68     // Faces with face centre within box
69     boxToFace
70     {
71         box  (0 0 0) (1 1 1);
72     }
74     // Faces with normal to within certain angle aligned with vector.
75     normalToFace
76     {
77         normal (0 0 1);     // Vector
78         cos     0.01;       // Tolerance (max cos of angle)
79     }
82 // ************************************************************************* //