|
[Sponsors] |
[snappyHexMesh] Inconsistent Layers SnappyHexMesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 10, 2021, 14:42 |
Inconsistent Layers SnappyHexMesh
|
#1 |
New Member
Anon
Join Date: Dec 2020
Posts: 20
Rep Power: 5 |
Hi All,
I'm trying to add layers to my snappyHexMesh, and while I can get them added at parts of the mesh, they stop forming at certain points (see attached image) If anyone would be able to advise, that would be greatly appreciated BlockMeshDict and SnappyHexMeshDict below BlockMesh convertToMeters 1; vertices ( (0 518200 0) (2150 518200 0) //was 150 //was 2150 (2150 519270 0) //was 320 (0 519270 0) (0 518200 475) (2150 518200 475) (2150 519270 475) (0 519270 475) //was -100 ); blocks ( hex (0 1 2 3 4 5 6 7) (8 3 2) simpleGrading (1 1 1) ); edges ( ); boundary ( outlet { type patch; faces ( (0 4 7 3) (1 5 4 0) ); } inlet { type patch; faces ( (2 6 5 1) ( 3 7 6 2 ) ); } DuneField { type wall; faces ( (0 3 2 1) ); } top { type patch; faces ( (4 5 6 7) ); } ); mergePatchPairs ( ); SnappyHexMesh castellatedMesh true; snap true; addLayers true; geometry { refinementBox { type searchableBox; min (-140 518150 0); max (2195 519320 190); } DuneField { type triSurfaceMesh; file "DuneField1m.stl"; } }; castellatedMeshControls { maxLocalCells 2000000000; maxGlobalCells 2000000000; minRefinementCells 1; maxLoadUnbalance 0.10; nCellsBetweenLevels 1; features ( //{ // file "someLine.eMesh"; // level 2; //} ); refinementSurfaces { DuneField { level (0 0); } } resolveFeatureAngle 5; refinementRegions { refinementBox { mode inside; levels ((5 5)); } locationInMesh (0 518500 250); allowFreeStandingZoneFaces true; } snapControls { nSmoothPatch 20; tolerance 2.0; . nSolveIter 30; nRelaxIter 5; } addLayersControls { relativeSizes true; layers { NiliDuneField { nSurfaceLayers 3; } /*inlet { nSurfaceLayers 3; } outlet { nSurfaceLayers 3; } */ } expansionRatio 1.4; finalLayerThickness 0.5; minThickness 0.1; nGrow 0; featureAngle 60; nRelaxIter 25; nSmoothSurfaceNormals 10; nSmoothNormals 15; nSmoothThickness 10; maxFaceThicknessRatio 0.6; maxThicknessToMedialRatio 0.4; minMedianAxisAngle 90; nBufferCellsNoExtrude 0; nLayerIter 50; } meshQualityControls { maxNonOrtho 45; maxBoundarySkewness 10; maxInternalSkewness 2; maxConcave 80; minVol 1e-13; minTetQuality 1e-30; minArea -1; minTwist 0.05; minDeterminant 0.001; minFaceWeight 0.05; minVolRatio 0.01; minTriangleTwist -1; nSmoothScale 4; errorReduction 0.75; relaxed { maxNonOrtho 45; } } mergeTolerance 1e-6; |
|
Tags |
layers addition, shm |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Triangular elements in boundary layers generated by snappyHexMesh | mike.franky | OpenFOAM Meshing & Mesh Conversion | 0 | June 3, 2018 10:46 |
[snappyHexMesh] SnappyHexMesh no layers and no decent mesh for complex geometry | pizzaspinate | OpenFOAM Meshing & Mesh Conversion | 1 | February 25, 2015 08:05 |
[snappyHexMesh] 2D snappyHexMesh with layers | grjmell | OpenFOAM Meshing & Mesh Conversion | 2 | May 27, 2013 13:00 |
[snappyHexMesh] Adding layers goes wrong with SnappyHexMesh | Elise | OpenFOAM Meshing & Mesh Conversion | 1 | April 22, 2013 03:32 |
[snappyHexMesh] SnappyHexMesh doesn't succeed in adding several layers | eti0123456789 | OpenFOAM Meshing & Mesh Conversion | 5 | April 9, 2013 03:36 |