1 /*--------------------------------*- C++ -*----------------------------------*\
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 \*---------------------------------------------------------------------------*/
13 object autoRefineMeshDict;
16 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
22 // What is outside. These points have to be inside a cell (so not on a face!)
23 outsidePoints ((-0.99001 -0.99001 -0.99001));
27 // Selection of cells to refine
30 // If smallest edge of mesh > maxEdgeLen select all cut cells for refinement.
31 // If < maxEdgeLen select only those cut cells which are closer than
32 // curvatureDistance to surface
33 // and with cos of angle between normals on surface < curvature.
35 curvatureDistance 1.0;
38 // if > 0: Remove inside cells at every step. Inside is given by number of
39 // layers separating outside from inside.
40 // (note that we cannot remove outside
41 // cells since these contain the outsidePoints)
42 // Do not use this option if you want mesh to spill through a hole which is
43 // not visible on the coarsest level but only becomes visible after refinement
46 // Refine until smallest edge of mesh < minEdgeLen
49 // Or until the number of cells would become more than (stops one level before
55 // Selection of final set
58 // Select based on side of surface. Usually select inside cells and project
59 // outwards or select outside cells and project inwards.
63 // Leave out cell closer than nearDistance to the surface. Usually
64 // 0.5*minEdgeLen. Set to -1 to disable.
67 // Some cells on the surface of the selected cells might have all their
68 // points on the 'outside'. These would get flattened when projecting so
69 // are either kept and refined (selectHanging) or removed from the set
75 // Refinement parameters
78 // Type of coordinate system
79 coordinateSystem global;
80 //coordinateSystem patchLocal;
83 // .. and its coefficients. x,y in this case. (normal = tan1^tan2)
92 patch outside; // Normal direction is facenormal of zero'th face of patch
97 // List of directions to refine
105 // refinement level difference between neighbouring cells. Set to large if
106 // there is no need for a limit.
109 // Cut purely geometric (will cut hexes through vertices) or take topology
113 // Whether to use hex topology. This will never cut hex through vertices.
116 // Write meshes from intermediate steps
119 // ************************ vim: set sw=4 sts=4 et: ************************ //