/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.2.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object snappyHexMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // castellatedMesh true; snap true; addLayers false; geometry { Fluid.stl { type triSurfaceMesh; name Fluid; } Rohr.stl { type triSurfaceMesh; name Rohr; } }; castellatedMeshControls { maxLocalCells 1000000; maxGlobalCells 2000000; minRefinementCells 10; nCellsBetweenLevels 1; features ( { file "Fluid.eMesh"; level 1; } { file "Rohr.eMesh"; level 1; } ); refinementSurfaces { Fluid { level (1 1); cellZone Fluid; cellZoneInside inside; } Rohr { level (1 1); cellZone Rohr; cellZoneInside inside; } } resolveFeatureAngle 30; refinementRegions { } locationInMesh (0.001 0.001 0.01); allowFreeStandingZoneFaces false; } snapControls { nSmoothPatch 3; tolerance 4.0; nSolveIter 30; nRelaxIter 5; nFeatureSnapIter 15; implicitFeatureSnap false; explicitFeatureSnap true; multiRegionFeatureSnap true; } addLayersControls { relativeSizes true; layers { } expansionRatio 1.2; finalLayerThickness 0.3; minThickness 0.1; nGrow 1; featureAngle 90; nRelaxIter 3; nSmoothSurfaceNormals 1; nSmoothNormals 3; nSmoothThickness 10; maxFaceThicknessRatio 0.5; maxThicknessToMedialRatio 1; minMedianAxisAngle 90; nBufferCellsNoExtrude 0; nLayerIter 50; } meshQualityControls { maxNonOrtho 65; maxBoundarySkewness 20; maxInternalSkewness 4; maxConcave 80; minFlatness 0.5; minVol 1e-13; minTetQuality 1e-9; minArea -1; minTwist 0.02; minDeterminant 0.001; minFaceWeight 0.02; minVolRatio 0.01; minTriangleTwist -1; nSmoothScale 4; errorReduction 0.75; } debug 0; mergeTolerance 1E-6; // ************************************************************************* //