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

[snappyHexMesh] snappyHexMesh does not snap everywhere

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 16
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, 47 views)
File Type: jpg Mesh.jpg (97.8 KB, 89 views)
Attached Files
File Type: gz files.tar.gz (6.3 KB, 19 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: 16
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: 16
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, 15:23
Default
  #4
New Member
 
Giovani Diniz
Join Date: Jun 2013
Location: Boston
Posts: 13
Rep Power: 13
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, 14:52
Default
  #5
Senior Member
 
Kent Wardle
Join Date: Mar 2009
Location: Illinois, USA
Posts: 219
Rep Power: 21
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, 11:40
Default
  #6
Senior Member
 
Mihai Pruna
Join Date: Apr 2010
Location: Boston
Posts: 195
Rep Power: 16
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, 11:47
Thumbs up
  #7
New Member
 
Giovani Diniz
Join Date: Jun 2013
Location: Boston
Posts: 13
Rep Power: 13
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

Old   February 17, 2019, 06:17
Default
  #8
New Member
 
Join Date: Mar 2016
Posts: 2
Rep Power: 0
SeaFD is on a distinguished road
Thank you!!!
I had the same problem and have tried the suggestions in all the other threads and nothing was working. Seems it was as simple, though not obvious, as changing one of my boundaries from 'empty' to 'patch' and it works fine now.
SeaFD is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[snappyHexMesh] Run snappyHexMesh steps (castellated, snap, addlayer) separately Glc OpenFOAM Meshing & Mesh Conversion 6 October 8, 2021 03:50
[snappyHexMesh] snappyHexMesh doesnt snap staustrahltriebwerk OpenFOAM Meshing & Mesh Conversion 47 March 18, 2018 15:19
[snappyHexMesh] only snap edges of specific region with snappyHexMesh mike.franky OpenFOAM Meshing & Mesh Conversion 0 July 19, 2017 07:56
[snappyHexMesh] SnappyHexMesh refine but does not snap malaboss OpenFOAM Meshing & Mesh Conversion 6 December 10, 2014 06:31
[snappyHexMesh] snappyHexMesh failure to snap to geometry Yadasol OpenFOAM Meshing & Mesh Conversion 1 November 17, 2014 06:00


All times are GMT -4. The time now is 18:50.