CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Meshing & Mesh Conversion (
-   -   Problems viewing mesh from snappyHexMesh (

DavidOuellette March 21, 2013 23:16

Problems viewing mesh from snappyHexMesh
Hey everyone,

This may seem like a silly question, but whenever I have tried to produce a mesh using snappyHexMesh (such as for the case discussed in the link below), I consistently receive an identical mesh to what is produced by blockMesh, regardless of the conditions I input into the snappyHexMeshDict file. Even when I change the inputs, the number of folders that are produced change (ie: the numbered folders, 1, 2, 3 ....). Indicating that sHM is doing something, but oddly enough, the mesh does not change in when viewed in paraView. The only thing I can think of is that I have to manually import the mesh into paraView, but I can't figure out how to this. Unfortunately, this situation has been consistent with each tutorial for snappyHexMesh I have attempted. Does anyone have any ideas?


wyldckat March 24, 2013 14:47

Greetings David,

You haven't fully studied the OpenFOAM tutorials or you've been reading things too fast! ;)

The new time folders are the meshes respective to each step that snappy does: 1 -> castellated, 2 -> snapping, 3 -> layers.
To view these meshes, you have to skip to the respective time instance in ParaView, using the time control on the top middle-right of the window.

To have only a single mesh folder, use the "-overwrite" option:

snappyHexMesh -overwrite
When in doubt:

snappyHexMesh -help
Best regards,

DavidOuellette March 24, 2013 22:45

Hi Bruno,

Thanks for your response! I guess I was correct, my question was a little silly :p What I was missing from each tutorial was to advance the mesh in each time instance in paraView. I was expecting to see the final mesh right away.

Thanks again for your help Bruno!

All times are GMT -4. The time now is 17:41.