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

[snappyHexMesh] SHM doesn´t snap reliable to feature edge

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes
  • 2 Post By OpenFOOL
  • 1 Post By decanter
  • 2 Post By Ship Designer

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   June 16, 2019, 10:30
Default SHM doesn´t snap reliable to feature edge
  #1
New Member
 
Join Date: May 2019
Posts: 3
Rep Power: 7
OpenFOOL is on a distinguished road
Hi folks,


first of all I want to say that this forum helped me a lot already just by reading threads. Unfortunately I have to open my first thread, because I despair of using SnappyHexMesh with my geometry. Originally I use several STL files which form a pump passage geometry (therefore it´s more complex), but to make things as simple as possible I will use another geometry to describe the problems I am facing. I get the same "problematic" results with those geometrys.

The main problem is SnappyHexMesh not snapping to the edges in a reliable manner.

The white lines represent the detected feature edges. So every edge was detected correctly. But SHM fails at the snapping process, see pictures below. My settings are as follows...


Code:
castellatedMeshControls
{
    maxLocalCells 100000;
    maxGlobalCells 2000000;
    minRefinementCells 0;
    maxLoadUnbalance 0.1;
    nCellsBetweenLevels 2;

    features
    (

    {
            file        "model1c.eMesh";
            level       3;
        }

    );
Code:
refinementSurfaces
    {
        model1c
        {
            level       (2 2);
        }
    }
Code:
snapControls
{
    nSmoothPatch 4;
    tolerance 5;
    nSolveIter 300;
    nRelaxIter 5;
    nFeatureSnapIter 10;
    implicitFeatureSnap false;
    explicitFeatureSnap true;
    multiRegionFeatureSnap true;
}
Apparently it does not matter what settings I use. Sometimes I get a slightly better result but those defects won´t disappear completely. At the inlet of the pump are four rippled locations, all 90° apart. Those ones seem to be too far away for SHM to snap to the edge (castellated circle, so there are 4 locations of the same distance to the edge, see Pumpe_2.jpeg). But changing the tolerance won´t let them disappear.

Does somebody see my mistake? It´s a quite common geometry, so I think it should be possible to mesh it with SHM. If you have any idea or suggestion or if you need more information, please let me know. Many thanks in advance.


Leon


Edit: I am stupid. I wondered why there's no surface refinement step in my castellated mesh. I looked at the number of cells...they are above the maximum global cells. So SHM won't be refine anything at all. Now I used a higher maximum global cells setting and got better results, but defects are still there. Maybe I am on the right way at least.
Attached Images
File Type: jpg Pumpe_5.jpg (73.8 KB, 212 views)
File Type: jpg Pumpe_5_Castellated.jpg (74.2 KB, 222 views)
File Type: jpg Pump.jpg (76.6 KB, 277 views)
File Type: jpg Pumpe_2_Castellated.jpg (85.9 KB, 277 views)
File Type: jpg Pumpe_2.jpg (75.7 KB, 227 views)
lourencosm and davcrisp like this.

Last edited by OpenFOOL; June 17, 2019 at 08:20.
OpenFOOL is offline   Reply With Quote

 

Tags
feature edge handling, snap controls, snappy hex mesh, watertight


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
[snappyHexMesh] Failed Edge Snap with box geometry and correct feature capture thiagomarinho OpenFOAM Meshing & Mesh Conversion 7 May 7, 2022 09:19
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 06:09
[snappyHexMesh] SHM: sharp edge resolving problem with explicit feature edges piotr.mecht OpenFOAM Meshing & Mesh Conversion 21 May 9, 2020 14:56
[snappyHexMesh] SHM: feature edge snapping not conforming thab OpenFOAM Meshing & Mesh Conversion 3 November 26, 2012 14:04
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55


All times are GMT -4. The time now is 17:51.