CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [snappyHexMesh] Explicit feature edge ref&snap in OF2.2 (https://www.cfd-online.com/Forums/openfoam-meshing/135145-explicit-feature-edge-ref-snap-of2-2-a.html)

Eloise May 9, 2014 11:39

Explicit feature edge ref&snap in OF2.2
 
1 Attachment(s)
Hello Foamers,

I struggle with the new feature edge handling in OF2.2.x. I hope someone can help me there!

What I want to do here is to refine the feature edges through the "old" explicit method: I give an eMesh file in the "features" section with a given refinement level. Then, I want the mesh to snap on the same feature edges. Here are some parts of what I have in snappyHexMeshDict to attempt achieving it:
Code:

castellatedMeshControls
{ [...]
    features
    ( { file "Column_F.eMesh"; level 4; } );

    refinementSurfaces
    { Column
        { level (3 4); }
    }
    resolveFeatureAngle 30;   
    [...]
}

snapControls
{
    nSmoothPatch 3;
    tolerance 1.0;
    nSolveIter 300;
    nRelaxIter 5;

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

As you can see from the attached image (the feature edges from the eMesh are highlighted in white):
1) The mesh is only partially refined at level 4 along the feature edges.
2) The mesh didn't snap along the feature edges.

As I have several eMesh to insert with different refinement levels, I don't want to use the implicit feature edge handling. Can anyone give me some advices?

Regards,
Eloïse


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