CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

no snapping to features

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   October 26, 2015, 10:12
Default no snapping to features
New Member
Duncan Roy van der Heul
Join Date: May 2010
Posts: 21
Rep Power: 9
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.

    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, 15 views)
File Type: jpg no_snap_edges.jpg (206.1 KB, 15 views)
Duncan_vdH is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Snapping problem, non orthogonal faces Zephiro88 OpenFOAM Native Meshers: snappyHexMesh and Others 7 April 17, 2015 02:56
snapping doesn't work properly estang OpenFOAM Native Meshers: snappyHexMesh and Others 7 January 12, 2015 02:06
Snapping not enough (even with surfaceFeatureExtract) ironclad OpenFOAM Native Meshers: snappyHexMesh and Others 1 November 8, 2013 03:58
Weird snapping outside a refinement region jasimpson89 OpenFOAM Meshing & Mesh Conversion 0 July 29, 2012 20:46
optimize snapping foam_noob OpenFOAM Native Meshers: snappyHexMesh and Others 28 August 2, 2010 07:46

All times are GMT -4. The time now is 06:43.