CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] Problem with rectangular holes

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 2, 2019, 13:34
Default Problem with rectangular holes
  #1
New Member
 
felipe ortega
Join Date: Sep 2019
Posts: 15
Rep Power: 6
flowwwww is on a distinguished road
Hello everyone.
I am working in a rectangular duct geometry. At the inlet, the duct has rectangular holes where the fluid pass through.
Captura de pantalla de 2019-12-02 15-21-09.png


I am stuggling with the mesh at the rectangular holes area. The rectangular figure get lost when i snap the mesh so i obtain a bad mesh there.
Here i attach the results of the castellated mesh and the snaped mesh.

Captura de pantalla de 2019-12-02 15-20-06.png CASTELLATED MESH
Captura de pantalla de 2019-12-02 15-20-31.png SNAP MESH




My snappyHexMeshDict is the following.


Code:
castellatedMesh true;
snap            true;
addLayers       false;



geometry
{
    walls.stl
    {
        type triSurfaceMesh;
        name walls;
    }

    inlet.stl
    {
        type triSurfaceMesh;
        name inlet;
    }


castellatedMeshControls
{
    maxLocalCells 100000;
    maxGlobalCells 2000000;
    minRefinementCells 10;
    maxLoadUnbalance 0.10;
    nCellsBetweenLevels 3;
    features
    (

        {
            file "walls.eMesh";
            level 3;
        }
    refinementSurfaces
    {
        walls
        {
            level (3 3);
            patchInfo
            {
                type wall;
                inGroups (walls);
            }
        }
        inlet
        {
            level (3 3);
            patchInfo
            {
                type patch;
                inGroups (inlet);
            }
       }
    resolveFeatureAngle 30;
    locationInMesh (4.0 2.0 0.5);
    allowFreeStandingZoneFaces true;


snapControls
{
    nSmoothPatch 10;
    tolerance 1.0;
    nSolveIter 100;
    nRelaxIter 10;

    // Feature snapping
        nFeatureSnapIter 35;
        implicitFeatureSnap false;
        explicitFeatureSnap true;
        multiRegionFeatureSnap false;
}


meshQualityControls
{
    maxNonOrtho 90;
    maxBoundarySkewness 20;
    maxInternalSkewness 4;
    maxConcave 80;
    minVol -1e30;
    minTetQuality 1e-30;
    minArea -1;
    minTwist 0.02;
    minDeterminant 0.001;
    minFaceWeight 0.02;
    minVolRatio 0.01;
    minTriangleTwist -1;

    // Advanced
    nSmoothScale 4;
    errorReduction 0.75;
}


// Advanced
debug 0;
mergeTolerance 1e-6;

Last edited by flowwwww; December 9, 2019 at 12:11.
flowwwww is offline   Reply With Quote

Reply

Tags
meshing 3d, snappy hex mesh


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fluent Parallelization Problem After AC Power Dropped pawl Hardware 5 November 13, 2016 06:08
[ICEM] Problem with meshing a rectangular channel me_ano_123 ANSYS Meshing & Geometry 0 November 2, 2015 01:22
Sloshing Problem in Rectangular Baffled tanks Prabodh FLUENT 1 September 27, 2013 13:27
Can I solve this problem by Fluent? Kai_kc FLUENT 1 October 27, 2010 05:29
GAMBIT meshing problem Gauthier Lambert Main CFD Forum 1 August 3, 2000 09:22


All times are GMT -4. The time now is 10:05.