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

[Other] no snapping to features

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 26, 2015, 09:12
Default no snapping to features
  #1
New Member
 
Duncan Roy van der Heul
Join Date: May 2010
Posts: 26
Rep Power: 16
Duncan_vdH is on a distinguished road
Dear All,

I am trying to mesh an old case that did not present a problem with an older version of snappyHexMesh.

The problem is that for a coarse discretisation the mesh (nearly) correctly snaps to the
features in the grid, but not when the mesh is refined.

The first picture shows the mesh, with strong refinement near a kink in the surface that snappyHexMesh does not want to resolve. The second picture shows (in red) the features extracted.

Does anybody know the reason for this behavior?
Here is an exempt from the snappyHexMeshDict. I tried changing the number of
iterations, but observed no effect.

Code:
snapControls
{
    nSmoothPatch 3;

    //- Relative distance for points to be attracted by surface feature point
    //  or edge. True distance is this factor times local
    //  maximum edge length.
    tolerance 2.0;

    //- Number of mesh displacement relaxation iterations.
    nSolveIter 15;

    //- Maximum number of snapping relaxation iterations. Should stop
    //  before upon reaching a correct mesh.
    nRelaxIter 15;

    // Feature snapping

        //- Number of feature edge snapping iterations.
        //  Leave out altogether to disable.
        nFeatureSnapIter 45;

        //- Detect (geometric only) features by sampling the surface
        //  (default=false).
        implicitFeatureSnap true;

        //- Use castellatedMeshControls::features (default = true)
        explicitFeatureSnap true;

        //- Detect points on multiple surfaces (only for explicitFeatureSnap)
        multiRegionFeatureSnap true;
}
Attached Images
File Type: jpg no_snap.jpg (205.8 KB, 17 views)
File Type: jpg no_snap_edges.jpg (206.1 KB, 17 views)
Duncan_vdH is offline   Reply With Quote

Reply


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
[surface handling] surfaceFeatureExtract generated features in .eMesh.gz format in triSurface file jiaodanuma OpenFOAM Meshing & Mesh Conversion 1 July 26, 2016 09:22
[snappyHexMesh] SHM not snapping to some surfaces Swift OpenFOAM Meshing & Mesh Conversion 13 January 4, 2016 01:56
[snappyHexMesh] Snapping problem, non orthogonal faces Zephiro88 OpenFOAM Meshing & Mesh Conversion 7 April 17, 2015 02:56
[snappyHexMesh] Snapping not enough (even with surfaceFeatureExtract) ironclad OpenFOAM Meshing & Mesh Conversion 1 November 8, 2013 02:58
[snappyHexMesh] Weird snapping outside a refinement region jasimpson89 OpenFOAM Meshing & Mesh Conversion 0 July 29, 2012 20:46


All times are GMT -4. The time now is 21:07.