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

SnappyHexMesh: parameter & refinement choice

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

Like Tree1Likes
  • 1 Post By marango

Reply
 
LinkBack Thread Tools Display Modes
Old   August 19, 2011, 02:03
Default SnappyHexMesh: parameter & refinement choice
  #1
New Member
 
Join Date: Jun 2010
Location: Germany
Posts: 13
Rep Power: 6
marango is on a distinguished road
Hi @ all,

for a few weeks I'm working with OpenFOAM 2.0.0. So I don't have much experience working with it.

Now I'd like to mesh a complex geometry with snappyHexMesh. Snappy is working fine and the created mesh looks good, but when I check the mesh with checkMesh some errors occur, like:

***Error in face pyramids: 45 faces are incorrectly oriented.
<<Writing 45 faces with incorrect orientation to set wrongOrientedFaces
***Max skewness = 6.578289, 3 highly skew faces detected which may impair the quality of the results
<<Writing 3 skew faces to set skewFaces

It gets even worse when I do further refinements.

I guess there are several ways to avoid these errors. So I tried to change some parameters in snappyHexMeshDict but without success. The mesh quality didnt raise. So, can anybody give me some advice, what's a good choice for parameters in snappyHexMeshDict?

Another point I'd like to know is the choice of refinement. Is it better to generate a coarse mesh with blockMesh and do the refinement with snappy or to make a fine mesh with blockMesh and less refinement with snappy?

Thanks a lot for your help.

Marango
kflora likes this.
marango is offline   Reply With Quote

Old   August 29, 2011, 07:15
Default
  #2
Member
 
Join Date: Nov 2009
Location: Germany
Posts: 96
Rep Power: 7
val46 is on a distinguished road
Hi marango,

I also experienced these wrong oriented faces with OF2.0.0
Before I had never such an error. It could be this error comes from the new snap feature although I'm not sure.
__________________
"When I meet God, I am going to ask him two questions: Why relativity? And why turbulence? I really believe he will have an answer for the first." Werner Heisenberg
val46 is offline   Reply With Quote

Old   August 30, 2011, 04:08
Default
  #3
New Member
 
Join Date: Jun 2010
Location: Germany
Posts: 13
Rep Power: 6
marango is on a distinguished road
Thanks val46 for your reply. That's a good hint and I try find out whether the error is created by the new feature.

I also tried another way. I decreased the mesh quality and chose a very low value for minTetQuality. Now the error didn't appear but the the generated mesh was not usable. I guess the problem could also be a matter of finding the right parameters for snappy...
marango 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 not refining surfaces Hydro1004 OpenFOAM 3 August 29, 2012 11:56
snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Native Meshers: snappyHexMesh and Others 2 March 27, 2011 21:11
snappyHexMesh aborting Tobi OpenFOAM Native Meshers: snappyHexMesh and Others 0 November 10, 2010 04:23
snappyHexMesh refinement vinz OpenFOAM Native Meshers: snappyHexMesh and Others 1 December 19, 2009 15:13
snappyHexMesh - Floating point error derjames OpenFOAM Mesh Utilities 4 September 19, 2009 14:14


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