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] Problems viewing mesh from snappyHexMesh (https://www.cfd-online.com/Forums/openfoam-meshing/115025-problems-viewing-mesh-snappyhexmesh.html)

DavidOuellette March 21, 2013 22: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?

https://sites.google.com/site/snappy...mesh/cube-case

Thanks,
David

wyldckat March 24, 2013 13: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:
Code:

snappyHexMesh -overwrite
When in doubt:
Code:

snappyHexMesh -help
Best regards,
Bruno

DavidOuellette March 24, 2013 21: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!
David


All times are GMT -4. The time now is 23:58.