|
[Sponsors] |
July 15, 2024, 04:22 |
snappyHexMesh boundary layer collapsing
|
#1 |
New Member
Join Date: Sep 2023
Posts: 1
Rep Power: 0 |
Im investigating a T-Junction. Trying to resolve the boundary layer i get weird behaviour of the layers around the edges. Does anyone have a suggestion which parameters of the snappyHexMeshDict i should play with? Or does anyone see another way of meshing opensourcewise (mesh needs to be compatible with OpenFOAM)?
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 11 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { format ascii; class dictionary; object snappyHexMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // Which of the steps to run castellatedMesh true; snap true; addLayers true; // Geometry. Definition of all surfaces. All surfaces are of class // searchableSurface. geometry { miniChannelWand.stl { type triSurfaceMesh; name miniChannelWand; } miniChannelUnten.stl { type triSurfaceMesh; name miniChannelUnten; } manifoldLinks.stl { type triSurfaceMesh; name manifoldLinks; } manifoldRechts.stl { type triSurfaceMesh; name manifoldRechts; } manifoldLinksWand.stl { type triSurfaceMesh; name manifoldLinksWand; } manifoldRechtsWand.stl { type triSurfaceMesh; name manifoldRechtsWand; } } // Settings for the castellatedMesh generation. castellatedMeshControls { maxLocalCells 100000000; maxGlobalCells 200000000; minRefinementCells 10; maxLoadUnbalance 0.10; nCellsBetweenLevels 10; features ( { file "miniChannelWand.eMesh"; level 0; } { file "miniChannelUnten.eMesh"; level 0; } { file "manifoldLinks.eMesh"; level 0; } { file "manifoldRechts.eMesh"; level 0; } { file "manifoldLinksWand.eMesh"; level 0; } { file "manifoldRechtsWand.eMesh"; level 0; } ); refinementSurfaces { miniChannelWand { level (2 2); } miniChannelUnten { level (0 0); } manifoldLinks { level (0 0); } manifoldRechts { level (0 0); } manifoldLinksWand { level (2 2); } manifoldRechtsWand { level (2 2); } } resolveFeatureAngle 30; planarAngle 30; refinementRegions { } locationInMesh (0.25 0 0); allowFreeStandingZoneFaces true; extendedRefinementSpan true; } snapControls { nSmoothPatch 3; tolerance 2.0; nSolveIter 30; nRelaxIter 5; nFeatureSnapIter 10; implicitFeatureSnap false; explicitFeatureSnap true; multiRegionFeatureSnap false; } addLayersControls { relativeSizes false; expansionRatio 1.2; firstLayerThickness 0.000005; //thickness 0.0005; minThickness 0.000001; layers { miniChannelWand { nSurfaceLayers 20; } manifoldLinksWand { nSurfaceLayers 20; } manifoldRechtsWand { nSurfaceLayers 20; } } nGrow 0; featureAngle 130; maxFaceThicknessRatio 0.5; nSmoothSurfaceNormals 1; nSmoothThickness 10; minMedialAxisAngle 90; maxThicknessToMedialRatio 0.3; nSmoothNormals 3; slipFeatureAngle 30; nRelaxIter 5; nBufferCellsNoExtrude 0; nLayerIter 50; nRelaxedIter 20; } meshQualityControls { #include "meshQualityDict" relaxed { maxNonOrtho 75; } } mergeTolerance 1e-6; |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
My radial inflow turbine | Abo Anas | CFX | 27 | May 11, 2018 02:44 |
Radiation interface | hinca | CFX | 15 | January 26, 2014 18:11 |
An error has occurred in cfx5solve: | volo87 | CFX | 5 | June 14, 2013 18:44 |
[snappyHexMesh] Boundary layer in a pipe | Clementhuon | OpenFOAM Meshing & Mesh Conversion | 6 | March 12, 2012 13:41 |
errors | Fahad | Main CFD Forum | 0 | March 23, 2004 14:20 |