1 /*--------------------------------*- C++ -*----------------------------------*\
3 | \\ / F ield | foam-extend: Open Source CFD |
4 | \\ / O peration | Version: 3.2 |
5 | \\ / A nd | Web: http://www.foam-extend.org |
6 | \\/ M anipulation | |
7 \*---------------------------------------------------------------------------*/
13 object createPatchDict;
15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17 // This application/dictionary controls:
18 // - optional: create new patches from boundary faces (either given as
19 // a set of patches or as a faceSet)
20 // - always: order faces on coupled patches such that they are opposite. This
21 // is done for all coupled faces, not just for any patches created.
22 // - optional: synchronise points on coupled patches.
25 // - specify where the faces should come from
26 // - specify the type of cyclic. If a rotational specify the rotationAxis
27 // and centre to make matching easier
28 // - pointSync true to guarantee points to line up.
30 // 2. Correct incorrect cyclic:
31 // This will usually fail upon loading:
32 // "face 0 area does not match neighbour 2 by 0.0100005%"
33 // " -- possible face ordering problem."
34 // - change patch type from 'cyclic' to 'patch' in the polyMesh/boundary file.
35 // - loosen match tolerance to get case to load
36 // - regenerate cyclic as above
38 // Tolerance used in matching faces. Absolute tolerance is span of
39 // face times this factor. To load incorrectly matches meshes set this
43 // Do a synchronisation of coupled points after creation of any patches.
44 // Note: this does not work with points that are on multiple coupled patches
45 // with transformations.
60 // Optional: explicitly set transformation tensor.
61 // Used when matching and synchronising points.
62 //transform translational;
63 //separationVector (-2289 0 0);
67 rotationCentre (0 0 0);
70 // How to construct: either from 'patches' or 'set'
71 constructFrom patches;
73 // If constructFrom = patches : names of patches. Wildcards allowed.
74 patches (per1DomA per2DomA);
76 // If constructFrom = set : name of faceSet
88 // Optional: explicitly set transformation tensor.
89 // Used when matching and synchronising points.
90 //transform translational;
91 //separationVector (-2289 0 0);
95 rotationCentre (0 0 0);
98 // How to construct: either from 'patches' or 'set'
99 constructFrom patches;
101 // If constructFrom = patches : names of patches. Wildcards allowed.
102 patches (per1DomB per2DomB);
104 // If constructFrom = set : name of faceSet
109 // ************************************************************************* //