Code:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //convertToMeters 1;
vertices
(
(-2.22045e-18 -0.02 -0.02)
(0.185 -0.02 -0.02)
(0.185 0.02 -0.02)
(-2.22045e-18 0.02 -0.02)
(-2.22045e-18 -0.02 0.165)
(0.185 -0.02 0.165)
(0.185 0.02 0.165)
(-2.22045e-18 0.02 0.165)
);
blocks
(
hex (0 1 2 3 4 5 6 7) (93 20 93) simpleGrading (1 1 1)
);
edges
();
patches
();
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object snappyHexMeshDict;
}
SURFACE_FEATURE_EMESH "Geometrie.extendedFeatureEdgeMesh"; //
castellatedMesh true;
snap true;
addLayers true;
geometry
{
Geometrie.stl
{
type triSurfaceMesh;
name geometrie;
}
};
castellatedMeshControls
{
maxLocalCells 100000;
maxGlobalCells 50000000;
minRefinementCells 0;
maxLoadUnbalance 0.10;
nCellsBetweenLevels 1;
features
(
{
file "Geometrie.extendedFeatureEdgeMesh";
level 4;
}
);
refinementSurfaces
{
geometrie
{
level (2 3);
}
}
resolveFeatureAngle 5;
planarAngle 30;
refinementRegions
{
}
locationInMesh (0.02 0 0);
allowFreeStandingZoneFaces true;
}
snapControls
{
nSmoothPatch 3;
tolerance 2.0;
nSolveIter 30;
nRelaxIter 5;
nFeatureSnapIter 10;
implicitFeatureSnap false;
explicitFeatureSnap true;
multiRegionFeatureSnap true;
}
addLayersControls
{
relativeSizes true;
expansionRatio 1.1;
finalLayerThickness 0.4;
minThickness 0.1;
layers
{
geometrie_wall
{
nSurfaceLayers 4;
}
geometrie_inlet
{
nSurfaceLayers 1;
}
geometrie_outlet
{
nSurfaceLayers 1;
}
}
nGrow 0;
featureAngle 130;
maxFaceThicknessRatio 0.5;
nSmoothSurfaceNormals 1;
nSmoothThickness 10;
maxThicknessToMedialRatio 0.3;
nSmoothNormals 3;
minMedialAxisAngle 90;
slipFeatureAngle 65;
nRelaxIter 5;
nBufferCellsNoExtrude 0;
nLayerIter 50;
nRelaxedIter 20;
}
meshQualityControls
{
#include "meshQualityDict"
relaxed
{
maxNonOrtho 75;
}
nSmoothScale 4;
errorReduction 0.75;
}
debugFlags
(
mesh
intersections
featureSeeds
attraction
layerInfo
);
writeFlags
(
scalarLevels
layerSets
layerFields
);
mergeTolerance 1e-6;
// ************************************************************************* //
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object meshQualityDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
maxNonOrtho 65;
maxBoundarySkewness 20;
maxInternalSkewness 4;
maxConcave 80;
minVol 1e-13;
minTetQuality 1e-15;
minArea -1;
minTwist 0.02;
minDeterminant 0.001;
minFaceWeight 0.05;
minVolRatio 0.01;
minTriangleTwist -1;
// ************************************************************************* //