123 lines
2.7 KiB
C++
123 lines
2.7 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: v2012 |
|
|
| \\ / A nd | Website: www.openfoam.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object snappyHexMeshDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
castellatedMesh true;
|
|
snap true;
|
|
addLayers false;
|
|
|
|
geometry
|
|
{
|
|
BoxRefinement_1
|
|
{
|
|
type searchableBox ;
|
|
min (-3.8 -0.8 -0.2 );
|
|
max (3.8 0.8 0.75 );
|
|
}
|
|
};
|
|
|
|
castellatedMeshControls
|
|
{
|
|
maxLocalCells 200000000;
|
|
maxGlobalCells 300000000;
|
|
minRefinementCells 20;
|
|
nCellsBetweenLevels 4;
|
|
maxLoadUnbalance 0.1;
|
|
allowFreeStandingZoneFaces true;
|
|
resolveFeatureAngle 30;
|
|
features
|
|
(
|
|
);
|
|
|
|
refinementSurfaces
|
|
{
|
|
}
|
|
|
|
refinementRegions
|
|
{
|
|
BoxRefinement_1
|
|
{
|
|
mode inside;
|
|
levels ((1 1));
|
|
}
|
|
}
|
|
|
|
locationInMesh ( 0 0 0 ) ;
|
|
}
|
|
|
|
snapControls
|
|
{
|
|
tolerance 2;
|
|
implicitFeatureSnap false;
|
|
explicitFeatureSnap true;
|
|
multiRegionFeatureSnap true;
|
|
detectNearSurfacesSnap true;
|
|
nSmoothPatch 3;
|
|
nSolveIter 50;
|
|
nRelaxIter 5;
|
|
nFeatureSnapIter 10;
|
|
nSmoothInternal 3;
|
|
nFaceSplitInterval 5;
|
|
}
|
|
|
|
addLayersControls
|
|
{
|
|
}
|
|
|
|
meshQualityControls
|
|
{
|
|
minVol 1e-13;
|
|
minTetQuality 1e-16;
|
|
minArea 1e-13;
|
|
minTwist 0.05;
|
|
minDeterminant 1e-06;
|
|
minFaceWeight 0.02;
|
|
minVolRatio 0.01;
|
|
minTriangleTwist -1;
|
|
minFlatness 0.5;
|
|
maxNonOrtho 70;
|
|
maxBoundarySkewness 20;
|
|
maxInternalSkewness 4;
|
|
maxConcave 80;
|
|
nSmoothScale 4;
|
|
errorReduction 0.75;
|
|
|
|
relaxed
|
|
{
|
|
minVol 1e-30;
|
|
minTetQuality 1e-30;
|
|
minArea 1e-30;
|
|
minTwist 0.001;
|
|
minDeterminant 1e-06;
|
|
minFaceWeight 1e-06;
|
|
minVolRatio 0.01;
|
|
minTriangleTwist -1;
|
|
minFlatness 0.5;
|
|
maxNonOrtho 75;
|
|
maxBoundarySkewness 20;
|
|
maxInternalSkewness 8;
|
|
maxConcave 80;
|
|
nSmoothScale 4;
|
|
errorReduction 0.75;
|
|
}
|
|
}
|
|
|
|
mergeTolerance 1e-08;
|
|
|
|
debug 0;
|
|
|
|
|
|
// ************************************************************************* //
|