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 autoRefineMeshDict;
15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
20 // What is outside. These points have to be inside a cell (so not on a face!)
21 outsidePoints ((-0.99001 -0.99001 -0.99001));
24 // Selection of cells to refine
27 // If smallest edge of mesh > maxEdgeLen select all cut cells for refinement.
28 // If < maxEdgeLen select only those cut cells which are closer than
29 // curvatureDistance to surface
30 // and with cos of angle between normals on surface < curvature.
32 curvatureDistance 1.0;
35 // if > 0: Remove inside cells at every step. Inside is given by number of
36 // layers separating outside from inside.
37 // (note that we cannot remove outside
38 // cells since these contain the outsidePoints)
39 // Do not use this option if you want mesh to spill through a hole which is
40 // not visible on the coarsest level but only becomes visible after refinement
43 // Refine until smallest edge of mesh < minEdgeLen
46 // Or until the number of cells would become more than (stops one level before
51 // Selection of final set
54 // Select based on side of surface. Usually select inside cells and project
55 // outwards or select outside cells and project inwards.
59 // Leave out cell closer than nearDistance to the surface. Usually
60 // 0.5*minEdgeLen. Set to -1 to disable.
63 // Some cells on the surface of the selected cells might have all their
64 // points on the 'outside'. These would get flattened when projecting so
65 // are either kept and refined (selectHanging) or removed from the set
69 // Refinement parameters
72 // Type of coordinate system
73 coordinateSystem global;
74 //coordinateSystem patchLocal;
76 // .. and its coefficients. x,y in this case. (normal = tan1^tan2)
85 patch outside; // Normal direction is facenormal of zero'th face of patch
90 // List of directions to refine
98 // refinement level difference between neighbouring cells. Set to large if
99 // there is no need for a limit.
102 // Cut purely geometric (will cut hexes through vertices) or take topology
106 // Whether to use hex topology. This will never cut hex through vertices.
109 // Write meshes from intermediate steps
112 // ************************************************************************* //