|
[Sponsors] |
[snappyHexMesh] snappyhexmesh does not remove cells |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 31, 2022, 09:03 |
snappyhexmesh does not remove cells
|
#1 |
Member
Muhammad Ahyar
Join Date: Mar 2020
Posts: 30
Rep Power: 6 |
I want to generate mesh from this geometry that i create using freecad and its format is .obj
but when i tried to generate using snappyhexmesh utility, the mesh doesn't come out as i expected, the background mesh outside the geometry still exists and are not removed by snappyhexmesh. this is my snappyHexMeshDict Code:
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 7 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object snappyHexMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // castellatedMesh true; snap true; addLayers false; geometry { inlet.obj { type triSurfaceMesh; name inlet; } outletBawah.obj { type triSurfaceMesh; name outlet; } outletAtas.obj { type triSurfaceMesh; name outlet; } walls.obj { type triSurfaceMesh; name walls; } } castellatedMeshControls { maxLocalCells 1000000; maxGlobalCells 2000000; minRefinementCells 0; nCellsBetweenLevels 2; maxLoadUnbalance 0.10; features ( { file "inlet.eMesh"; level 3; } { file "walls.eMesh"; level 1; } { file "outletBawah.eMesh"; level 0; } { file "outletAtas.eMesh"; level 0; } ); resolveFeatureAngle 30; refinementSurfaces { inlet { level (2 2); } walls { level (1 1); } outletBawah { level (0 0); } outletAtas { level (0 0); } } refinementRegions { } locationInMesh (0.0 0.0 0.0); // Inside point allowFreeStandingZoneFaces true; } // Settings for the snapping. snapControls { nSmoothPatch 3; tolerance 1.0; nSolveIter 300; nRelaxIter 10; nFeatureSnapIter 10; implicitFeatureSnap true; explicitFeatureSnap false; multiRegionFeatureSnap true; } // Settings for the layer addition. addLayersControls { relativeSizes true; layers { } expansionRatio 1.0; finalLayerThickness 0.3; minThickness 0.25; nGrow 0; featureAngle 30; nRelaxIter 5; nSmoothSurfaceNormals 1; nSmoothNormals 3; nSmoothThickness 10; maxFaceThicknessRatio 0.5; maxThicknessToMedialRatio 0.3; minMedianAxisAngle 90; nBufferCellsNoExtrude 0; nLayerIter 50; nRelaxedIter 20; } meshQualityControls { #include "meshQualityDict" relaxed { maxNonOrtho 150; } } writeFlags ( ); mergeTolerance 1E-6; // ************************************************************************* // and below is my case tankiFlotation.zip |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Foam::error::PrintStack | almir | OpenFOAM Running, Solving & CFD | 92 | May 21, 2024 07:56 |
chtMultiRegionFoam speed up | qwertz | OpenFOAM Running, Solving & CFD | 8 | September 18, 2021 06:16 |
[snappyHexMesh] snappyHexMesh stuck when snap is turned on | yukuns | OpenFOAM Meshing & Mesh Conversion | 3 | February 2, 2021 13:05 |
[snappyHexMesh] SnappyHexMesh for internal Flow | vishwa | OpenFOAM Meshing & Mesh Conversion | 24 | June 27, 2016 08:54 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 21:11 |