CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Meshing & Mesh Conversion

Problems viewing mesh from snappyHexMesh

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 21, 2013, 23:16
Default Problems viewing mesh from snappyHexMesh
  #1
New Member
 
David Ouellette
Join Date: Feb 2013
Location: Ottawa, Ontario, Canada
Posts: 12
Rep Power: 4
DavidOuellette is on a distinguished road
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
DavidOuellette is offline   Reply With Quote

Old   March 24, 2013, 14:47
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,251
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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
wyldckat is offline   Reply With Quote

Old   March 24, 2013, 22:45
Default
  #3
New Member
 
David Ouellette
Join Date: Feb 2013
Location: Ottawa, Ontario, Canada
Posts: 12
Rep Power: 4
DavidOuellette is on a distinguished road
Hi Bruno,

Thanks for your response! I guess I was correct, my question was a little silly 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
DavidOuellette is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SnappyHexMesh for internal Flow vishwa OpenFOAM Native Meshers: snappyHexMesh and Others 23 August 6, 2014 03:50
No layers in a small gap bobburnquist OpenFOAM Native Meshers: snappyHexMesh and Others 2 November 25, 2012 09:54
Add Mesh Layers doesnt work on the whole surface Kryo OpenFOAM Native Meshers: snappyHexMesh and Others 8 September 13, 2012 09:28
Layers:problem with curvature giulio.topazio OpenFOAM Native Meshers: snappyHexMesh and Others 10 August 22, 2012 09:03
2D Mesh Generation Tutorial for GMSH aeroslacker Open Source Meshers: Gmsh, Netgen, CGNS, ... 12 January 19, 2012 04:52


All times are GMT -4. The time now is 00:13.