上传一下我的snappyhexMeshDict文件,请各位老师帮忙看看```
code_text
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 10
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
format ascii;
class dictionary;
object snappyHexMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#includeEtc "caseDicts/mesh/generation/snappyHexMeshDict.cfg"
castellatedMesh true;
snap true;
addLayers true;
geometry
{
cylinder
{
type triSurfaceMesh;
file "cylinder.stl";
}
refinementBox
{
type searchableBox;
min (0.0 0.0 0.08);
max (1.2 0.2 0.22);
}
};
castellatedMeshControls
{
maxLocalCells 200000;
maxGlobalCells 5000000;
minRefinementCells 10;
maxLoadUnbalance 0.10;
nCellsBetweenLevels 6;
features
(
{ file "cylinder.eMesh"; level 3; }
);
refinementSurfaces
{
cylinder
{
level (3 3);
patchInfo { type wall; }
}
}
refinementRegions
{
refinementBox
{
mode inside;
level 1;
}
}
insidePoint (0.4 0.1 0.15);
}
snapControls
{
nSmoothPatch 3;
tolerance 2.0;
nSolveIter 30;
nRelaxIter 5;
nFeatureSnapIter 10;
explicitFeatureSnap true;
implicitFeatureSnap false;
multiRegionFeatureSnap false;
}
addLayersControls
{
layers
{
"(cylinder_stl_face<stlunit=MM>|cylinder_stl_top<stlunit=MM>)"
{
nSurfaceLayers 10;
}
}
relativeSizes true;
expansionRatio 1.05;
finalLayerThickness 0.8;
minThickness 0.5;
}
meshQualityControls
{}
writeFlags
(
// scalarLevels
// layerSets
// layerFields
);
mergeTolerance 1e-6;
// ************************************************************************* //