1 /*--------------------------------*- C++ -*----------------------------------*\
3 | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
4 | \\ / O peration | Version: 2.0.0 |
5 | \\ / A nd | Web: www.OpenFOAM.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 // - always create both halves in one invocation with correct 'neighbourPatch'
30 // - optionally pointSync true to guarantee points to line up.
32 // 2. Correct incorrect cyclic:
33 // This will usually fail upon loading:
34 // "face 0 area does not match neighbour 2 by 0.0100005%"
35 // " -- possible face ordering problem."
36 // - in polyMesh/boundary file:
37 // - loosen matchTolerance of all cyclics to get case to load
38 // - or change patch type from 'cyclic' to 'patch'
39 // and regenerate cyclic as above
41 // Do a synchronisation of coupled points after creation of any patches.
42 // Note: this does not work with points that are on multiple coupled patches
43 // with transformations (i.e. cyclics).
53 // Dictionary to construct new patch from
57 neighbourPatch cyc_half1;
59 // Optional: explicitly set transformation tensor.
60 // Used when matching and synchronising points.
63 rotationCentre (0 0 0);
64 // transform translational;
65 // separationVector (1 0 0);
67 // Optional non-default tolerance to be able to define cyclics
69 //matchTolerance 1E-2;
72 // How to construct: either from 'patches' or 'set'
73 constructFrom patches;
75 // If constructFrom = patches : names of patches. Wildcards allowed.
78 // If constructFrom = set : name of faceSet
85 // Dictionary to construct new patch from
89 neighbourPatch cyc_half0;
91 // Optional: explicitly set transformation tensor.
92 // Used when matching and synchronising points.
94 rotationAxis ( 0 0 1 );
95 rotationCentre ( 0.3 0 0 );
98 // How to construct: either from 'patches' or 'set'
99 constructFrom patches;
101 // If constructFrom = patches : names of patches. Wildcards allowed.
104 // If constructFrom = set : name of faceSet
109 // ************************************************************************* //