求教各位大佬,我在使用snappyHexMeshDict一个建筑的室内外网格进行加密的时候遇到了两个问题,首先是想通过控制level从(3,3)到(4,4)在壁面附近对网格进行加密,但是画出来的网格只有在拐角的地方有加密,平面区域没变;
12.png
没办法只能通过增加边界层来加密,但是在直角处生成的边界层网格看着不是均匀的正六面体网格
11.png
虽然checkMesh显示的网格质量还OK,但是有没有进一步提高的方法
castellatedMesh true; snap true; addLayers false; geometry { case.stl { type triSurfaceMesh; name case; regions { geo 0 ...... } } } castellatedMeshControls { maxLocalCells 1000000; maxGlobalCells 8000000; minRefinementCells 10; maxLoadUnbalance 0.10; nCellsBetweenLevels 1; features ({file "case.eMesh"; level 3;} ); refinementSurfaces { case { level (3 3); regions { geo1 { level (3 3); } ...... } } } } resolveFeatureAngle 60; refinementRegions{} locationInMesh (0.0 200.0 220.0); allowFreeStandingZoneFaces true; } snapControls { nSmoothPatch 5; nSmoothInternal 5; tolerance 2; nSolveIter 100; nRelaxIter 8; nFeatureSnapIter 10; nFaceSplitInterval 5; extractFeaturesRefineLevel true; explicitFeatureSnap true; } addLayersControls { relativeSizes false; layers { geo0 { nSurfaceLayers 3; expansionRatio 1.2; } ...... } expansionRatio 1.2; firstLayerThickness 0.015; minThickness 0.015; nGrow 0; featureAngle 180; slipFeatureAngle 75; nRelaxIter 5; nsmoothSurfaceNormals 1; nSmoothThickness 10; nSmoothNormals 3; maxFaceThicknessRatio 0.5; maxThicknessToMedialRatio 0.3; minMedianAxisAngle 130; nBufferCellsNoExtrude 0; nLayerIter 50; nRelaxedIter 20; } meshQualityControls { maxNonOrtho 50; maxBoundarySkewness 4; maxInternalSkewness 4; maxConcave 80; minFlatness 0.5; minVol 1e-13; minTetQuality 1e-15; minArea -1; minTwist 0.02; minDeterminant 1e-30; minFaceWeight 1e-30; maxFaceThicknessRatio 0.3; minVolRatio 1e-30; minTriangleTwist -1; nSmoothScale 4; errorReduction 0.75; relaxed { maxNonOrtho 60; } } ```