OpenFoam, SALOME, all free tools for engineers
snappyHexMash and 'waved' snapping
Posted August 13, 2013 at 05:54 by skeptik
I had a problem
I've analyzed the problem successfully today.
1. To prevent such behavior of sHM the mesh should not have 'empty' patches. So if you need prism layer at the symmetryPlane, you should change patch type only on final stage of your meshing process.
2. So when you have 'empty' patches you will get such messages:
and then strange message like this one
3. I didn't have 2D case (i just wanted to have projected prisms on my symmPlane), so my mesh has a lot of bad elements and sHM gave up my mesh. At the end I had 'waved' mesh as i described at topic.
I've analyzed the problem successfully today.
1. To prevent such behavior of sHM the mesh should not have 'empty' patches. So if you need prism layer at the symmetryPlane, you should change patch type only on final stage of your meshing process.
2. So when you have 'empty' patches you will get such messages:
Code:
Correcting 2-D mesh motion--> FOAM Warning : From function twoDPointCorrector::twoDPointCorrector(const polyMesh& mesh, const vector& n) in file twoDPointCorrector/twoDPointCorrector.C at line 152 the number of vertices in the geometry is odd - this should not be the case for a 2-D case. Please check the geometry. --> FOAM Warning : From function twoDPointCorrector::twoDPointCorrector(const polyMesh& mesh, const vector& n) in file twoDPointCorrector/twoDPointCorrector.C at line 164 The number of points in the mesh is not equal to twice the number of edges normal to the plane - this may be OK only for wedge geometries. Please check the geometry or adjust the orthogonality tolerance.
Code:
Correcting 2-D mesh motion ...done
Total Comments 0