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

[snappyHexMesh] ignored parts of geometry during refinement

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

Like Tree1Likes
  • 1 Post By kalle

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 18, 2012, 07:37
Default ignored parts of geometry during refinement
  #1
Senior Member
 
Eloïse
Join Date: Jul 2012
Location: Trondheim, Norway
Posts: 113
Rep Power: 13
Eloise is on a distinguished road
Hello,

A part of my geometry is composed of poles, for which I impose a given refinement level. Most of the poles are refined as expected, but some of them are ignored in the refinement stage. They end up with very large resolution (see attached image).
Do you know how I can avoid this?

Remarks:
- The maximum amount of cells is not reached during castellation step.
- minRefinementCells was set to 0 without any impact.
- all the poles are part of the same STL input file and should therefore be treated the same way.

Thanks for your help,
Eloïse
Attached Images
File Type: png problem.png (61.6 KB, 40 views)
Eloise is offline   Reply With Quote

Old   September 20, 2012, 08:26
Default
  #2
Senior Member
 
Eloïse
Join Date: Jul 2012
Location: Trondheim, Norway
Posts: 113
Rep Power: 13
Eloise is on a distinguished road
no idea?
I must say it is not really critical in my mesh, but I'm curious to find out its reason
Eloise is offline   Reply With Quote

Old   September 25, 2012, 05:21
Default
  #3
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Quote:
Originally Posted by Eloise View Post
no idea?
I must say it is not really critical in my mesh, but I'm curious to find out its reason
Hey ...
maybe your sHM stop refining couse of reaching "maxGloballCells". So if your mesh reaches that limit, sHM stop direct without refining other zone.

Set that value higher - maybe that is the solution for your problem.
Tobi is offline   Reply With Quote

Old   September 25, 2012, 06:15
Default
  #4
Senior Member
 
Eloïse
Join Date: Jul 2012
Location: Trondheim, Norway
Posts: 113
Rep Power: 13
Eloise is on a distinguished road
Hi Tobi,
The maxGlobalCells is not the problem, I've already checked that point.
Thanks anyway
Eloise is offline   Reply With Quote

Old   September 25, 2012, 06:39
Default
  #5
Senior Member
 
Karl-Johan Nogenmyr
Join Date: Mar 2009
Location: Linköping
Posts: 279
Rep Power: 21
kalle is on a distinguished road
Hi,

did you specify surface refinement or feature line refinement?

K
kalle is offline   Reply With Quote

Old   September 26, 2012, 09:23
Default
  #6
Senior Member
 
Eloïse
Join Date: Jul 2012
Location: Trondheim, Norway
Posts: 113
Rep Power: 13
Eloise is on a distinguished road
Hi Karl,

Surface refinement is the same for all the geometry as it comes from a single STL file.
But the feature edges refinement did the trick. All geometry is refined, and mesh quality was slightly improved. However, I haven't used the "snap to feature edges" option as this results in the following error message from sHM "Did not succesfully snap mesh. Giving up."

Thanks,
Eloïse
Eloise is offline   Reply With Quote

Old   September 28, 2012, 01:45
Default
  #7
Senior Member
 
Karl-Johan Nogenmyr
Join Date: Mar 2009
Location: Linköping
Posts: 279
Rep Power: 21
kalle is on a distinguished road
I see... I was asking since there is a bug which causes snappy to ignore some refining specified on feature lines:

http://www.openfoam.org/mantisbt/view.php?id=552

Since you only specified surface refinement, you should not be affected by that.

I'd guess the error message you get is because snappy could not snap to the surface while maintaining good mesh quality... playing around with settings may help:

http://openfoamwiki.net/index.php/SnappyHexMesh

Good luck,
K
aow likes this.
kalle is offline   Reply With Quote

Old   September 28, 2012, 02:36
Default
  #8
Senior Member
 
Eloïse
Join Date: Jul 2012
Location: Trondheim, Norway
Posts: 113
Rep Power: 13
Eloise is on a distinguished road
Hi Karl,

I am not especially looking for snapping at those feature edges so I will leave it as it is. If I had to snap, I should first increase the refinement level, but then my mesh would get very large. I have to avoid that.

I am also aware of this bug in 2.0 as I have this issue in another location in my geometry. I'm trying to upgrade to 2.1 but it is not as easy as it looks like... I hope I will soon be a part of the "2.1 foamers community"

Eloïse
Eloise is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[snappyHexMesh] snappyHexMesh does not create any mesh except one for the reference cell Arman_N OpenFOAM Meshing & Mesh Conversion 1 May 20, 2019 17:16
[snappyHexMesh] Removing further cells after SHM zonda OpenFOAM Meshing & Mesh Conversion 14 September 15, 2017 07:50
[snappyHexMesh] SnappyHexMesh not enough refinement simplefoam OpenFOAM Meshing & Mesh Conversion 2 August 30, 2013 03:37
how to mesh my geometry with two parts of volumes chankhar FLUENT 1 June 5, 2006 07:38
CFX10 post, geometry parts not visible Claudia CFX 0 May 19, 2006 07:22


All times are GMT -4. The time now is 14:57.