CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: snappyHexMesh and Others

snappyHexMesh does not snap everywhere

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 11, 2011, 06:47
Default snappyHexMesh does not snap everywhere
  #1
Senior Member
 
Join Date: Apr 2010
Posts: 151
Rep Power: 7
flowris is on a distinguished road
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?
Attached Images
File Type: jpg Ball.jpg (32.9 KB, 35 views)
File Type: jpg Mesh.jpg (97.8 KB, 60 views)
Attached Files
File Type: gz files.tar.gz (6.3 KB, 13 views)
flowris is offline   Reply With Quote

Old   February 13, 2011, 18:56
Default
  #2
New Member
 
Aidan
Join Date: Apr 2010
Posts: 18
Rep Power: 7
flowman is on a distinguished road
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))
flowman is offline   Reply With Quote

Old   February 14, 2011, 03:12
Default
  #3
Senior Member
 
Join Date: Apr 2010
Posts: 151
Rep Power: 7
flowris is on a distinguished road
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.
flowris is offline   Reply With Quote

Old   June 4, 2013, 14:23
Default
  #4
New Member
 
Giovani Diniz
Join Date: Jun 2013
Location: Boston
Posts: 13
Rep Power: 4
giovanidiniz is on a distinguished road
Send a message via Skype™ to giovanidiniz
Flowris,

I am having the exact same problem wit my geometry. Did you figure out what was going on?
giovanidiniz is offline   Reply With Quote

Old   June 5, 2013, 13:52
Default
  #5
Senior Member
 
Kent Wardle
Join Date: Mar 2009
Location: Illinois, USA
Posts: 201
Rep Power: 11
kwardle is on a distinguished road
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
kwardle is offline   Reply With Quote

Old   June 11, 2013, 10:40
Default
  #6
Senior Member
 
Mihai Pruna
Join Date: Apr 2010
Location: Boston
Posts: 190
Blog Entries: 1
Rep Power: 7
mihaipruna is on a distinguished road
might sound counterintuitive but try to decrease the maximum global cells.
mihaipruna is offline   Reply With Quote

Old   June 11, 2013, 10:47
Thumbs up
  #7
New Member
 
Giovani Diniz
Join Date: Jun 2013
Location: Boston
Posts: 13
Rep Power: 4
giovanidiniz is on a distinguished road
Send a message via Skype™ to giovanidiniz
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
giovanidiniz 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
problems with snappyHexMesh StSchiff OpenFOAM 7 August 9, 2010 11:11
snappyHexMesh does not snap beto OpenFOAM Native Meshers: snappyHexMesh and Others 7 April 19, 2010 11:51
stitchMesh and snappyHexMesh gdbaldw OpenFOAM 0 December 23, 2009 03:09
Problem with snappyHexMesh samiam1000 OpenFOAM 0 October 3, 2009 05:08
SnappyHexMesh not generate mesh first time mavimo OpenFOAM Mesh Utilities 4 August 26, 2008 07:08


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