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 modifyMeshDict;
15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
18 // Every entry is two coordinates. First one is location of the point to move,
19 // the second is the position to move to.
22 (( -0.17861 -0.45073 0.75276)( -0.18 -0.45073 0.75276))
26 // First coord is a point on the edge to cut, second is the position of the
27 // newly introduced point
30 (( -0.17692 -0.45312 0.74516)( -0.18 -0.45 0.742))
33 // Triangulate a face:
34 // First coord is a point on the face to triangulate. It will introduce a
35 // point on the face, triangulate and move the point to the second coordinate.
38 (( -0.039123 -0.45045 0.74083) (-0.03844 -0.45049 0.73572))
41 // Edges to collapse. First coord is point on the edge, second is coordinate
45 ((0.054975 0.099987 0.0044074)(0.054975 0.099987 0.0044074))
49 // First coord is a point inside the cell to split. A point inside the cell will
50 // be introduced and the cell will get decomposed into polygonal base pyramids
51 // with this new point as top. (so the original faces will not get split)
54 (( -0.039123 -0.45045 0.74083) (-0.03844 -0.45049 0.73572))
58 // Changes patchID of faces. Coord selects the face, label is the patch index.
61 (( -0.039123 -0.45045 0.74083) 1)
65 //// Creates a cell on the boundary given a face covering a cavity. Gets
66 //// the vertices of the face (outwards pointing normal) and a point internal
67 //// to the new cell. (used to check the orientation of the face). Walks all
68 //// boundary faces reachable from any edge on the face and constructs cell
73 // ((0 0 0) (1 0 0) (1 1 0) (0 1 0)) // vertices of face
74 // (0.5 0.5 0.1) // cell centre
78 // ************************************************************************* //