CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Native Meshers: snappyHexMesh and Others (http://www.cfd-online.com/Forums/openfoam-meshing-snappyhexmesh/)
-   -   snappyHexMesh does not snap everywhere (http://www.cfd-online.com/Forums/openfoam-meshing-snappyhexmesh/84900-snappyhexmesh-does-not-snap-everywhere.html)

flowris February 11, 2011 06:47

snappyHexMesh does not snap everywhere
 
3 Attachment(s)
Hello,

I am trying to make a mesh around a polyhedron that approximates a ball, using snappyHexMesh in 1.7.1. I try to snap the surface, but this only works out around the "equator" (xy-plane). Near the "poles" the mesh remains blocky and does not follow the surface.

What did I forget?

flowman February 13, 2011 18:56

It's not snapping to the surface because you have the refinement turned off.

In the refinementSurfaces section set level (1 1) to level (1 2) and in the refinementRegions section set levels ((1e5 0)) to levels ((1e5 2))

flowris February 14, 2011 03:12

I am sorry, but that does not help. I thought that anything that had to do with the snapping action, was in the snapControls subdictionary.

giovanidiniz June 4, 2013 14:23

Flowris,

I am having the exact same problem wit my geometry. Did you figure out what was going on?

kwardle June 5, 2013 13:52

Hello ~ this does seem like odd behavior and just looking at your dict file I don't see any obvious problems. However, you are using an old version of OF, one in which snappy was still relatively new. Many developments, especially with surface/feature snapping, have happened since then. I would suggest that you try it with a new(er) version and verify that you still have this problem.
-Kent

mihaipruna June 11, 2013 10:40

might sound counterintuitive but try to decrease the maximum global cells.

giovanidiniz June 11, 2013 10:47

Hi,

So, I figured out what the problem was.

In the blockMeshDict I had set the inlet and outlet patches as "empty".
As soon as I set them as "patches", everything worked out.

Thanks for the reply, though!

Cheers


All times are GMT -4. The time now is 02:26.