snappyHexMeshDict
snappyHexMeshDict
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1906 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object snappyHexMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// refinementBox
// {
// type box;
// min (-0.4 -0.4 -0.15);
// max ( 0.4 0.4 0.3);
// }
}
// Refinement parameters
// ~~~~~~~~~~~~~~~~~~~~~
// The surface refinement loop might spend lots of iterations refining just a
// few cells. This setting will cause refinement to stop if <= minimumRefine
// are selected for refinement. Note: it will at least do one iteration
// (unless the number of cells to refine is 0)
minRefinementCells 10;//set to 0
// Specifies two levels for every surface. The first is the minimum level,
// every cell intersecting a surface gets refined up to the minimum level.
// The second level is the maximum level. Cells that 'see' multiple
// intersections where the intersections make an
// angle > resolveFeatureAngle get refined up to the maximum level.
refinementSurfaces
{
float
{
// Surface-wise min and max refinement level
level (2 2);
// Region-wise refinement
// ~~~~~~~~~~~~~~~~~~~~~~
refinementRegions
{
// refinementBox
// {
// mode inside;
// levels ((2 2));
// }
}
// Mesh selection
// ~~~~~~~~~~~~~~
// Feature snapping
// // If points get not extruded do nGrow layers of connected faces that are
// // also not grown. This helps convergence of the layer addition process
// // close to features.
// // Note: changed(corrected) w.r.t 1.7.x! (didn't do anything in 1.7.x)
// nGrow 0;
// // Advanced settings
// // Overall max number of layer addition iterations. The mesher will exit
// // if it reaches this number of iterations; possibly with an illegal
// // mesh.
// nLayerIter 50;
}
// Advanced
// Advanced
// Write flags
writeFlags
(
scalarLevels
layerSets
layerFields // write volScalarField for layer coverage
);
// ************************************************************************* //