mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
84 lines
1.9 KiB
C++
84 lines
1.9 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: 6
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object snappyHexMeshDict.cfg;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
castellatedMesh true;
|
|
snap true;
|
|
addLayers true;
|
|
|
|
castellatedMeshControls
|
|
{
|
|
maxLocalCells 100000;
|
|
maxGlobalCells 100000000;
|
|
minRefinementCells 10;
|
|
maxLoadUnbalance 0.10;
|
|
nCellsBetweenLevels 3;
|
|
resolveFeatureAngle 30;
|
|
allowFreeStandingZoneFaces true;
|
|
features
|
|
(
|
|
);
|
|
}
|
|
|
|
snapControls
|
|
{
|
|
nSmoothPatch 3;
|
|
tolerance 2.0;
|
|
nSolveIter 100;
|
|
nRelaxIter 5;
|
|
|
|
nFeatureSnapIter 10;
|
|
|
|
explicitFeatureSnap false;
|
|
multiRegionFeatureSnap false;
|
|
implicitFeatureSnap true;
|
|
}
|
|
|
|
addLayersControls
|
|
{
|
|
featureAngle 100;
|
|
slipFeatureAngle 30;
|
|
|
|
nLayerIter 50;
|
|
nRelaxedIter 20;
|
|
nRelaxIter 5;
|
|
|
|
nGrow 0;
|
|
|
|
nSmoothSurfaceNormals 1;
|
|
nSmoothNormals 3;
|
|
nSmoothThickness 10;
|
|
maxFaceThicknessRatio 0.5;
|
|
maxThicknessToMedialRatio 0.3;
|
|
|
|
minMedialAxisAngle 90;
|
|
nMedialAxisIter 10;
|
|
|
|
nBufferCellsNoExtrude 0;
|
|
additionalReporting false;
|
|
// nSmoothDisplacement 0;
|
|
// detectExtrusionIsland false;
|
|
}
|
|
|
|
meshQualityControls
|
|
{
|
|
#include "${FOAM_CASE}/system/meshQualityDict"
|
|
}
|
|
|
|
debug 0;
|
|
mergeTolerance 1e-6;
|
|
|
|
// ************************************************************************* //
|