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

snappyHexMesh stops working at "edge intersection testing"

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 6, 2012, 09:11
Default snappyHexMesh stops working at "edge intersection testing"
  #1
New Member
 
Join Date: Nov 2012
Posts: 3
Rep Power: 4
electron is on a distinguished road
hi,

as i said, SHM stops working at this point. it tells me, there are a number of edges, and the same number of edges to retest, but it does not go on.

i don't know, what the problem is. i created a backgroundmesh, using gambit, converted it to foam with the fluentMeshToFoam command, and tried to run snappyHexMesh.

my first thought was, that there may be an intersection of the trisurfacemesh and the background, but i checked that.

i testet the geometry with a backgroundmesh, that was only a cube, not the complicatet geometry, i wanted to use, and it worked quite fine. this tells me, the problem must lie within the backgroundmesh.

can anybody tell me, what might cause that error in snappyHexMesh?

thanks
electron is offline   Reply With Quote

Old   November 7, 2012, 17:06
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,521
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings electron and welcome to the forum!

First check the base mesh converted from Gambit:
Code:
checkMesh -constant
You might even want to make a full check:
Code:
checkMesh -constant -allGeometry -allTopology
Any flaws in the converted mesh can prove to be the reason why snappyHexMesh quits early!

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   November 12, 2012, 05:26
Default
  #3
New Member
 
Join Date: Nov 2012
Posts: 3
Rep Power: 4
electron is on a distinguished road
Thank you for the welcome and the answer!

i followed your advice and checked the mesh. Most of it seems to be ok, but it says, there are negative volumes. and then the checkMesh operation quits with a "floating point exception" error.

is there a tool in openFoam, which can repair such mesh?

best regards
electron is offline   Reply With Quote

Old   November 12, 2012, 17:53
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,521
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi electron,

AFAIK, there is no tool in OpenFOAM that will fix meshes. The closest one I suspect that could help is modifyMesh, but I've never tried it.

With OpenFOAM, the standard method for these bad meshes is simple: do the mesh again with better quality parameters!

For more about snappyHexMesh: http://openfoamwiki.net/index.php/SnappyHexMesh

Best regards,
Bruno
wyldckat 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
foamMeshToFluent not working with snappyhexmesh calim_cfd OpenFOAM Mesh Utilities 3 January 9, 2012 10:10
Working with SnappyHexMesh unnikrsn OpenFOAM Native Meshers: snappyHexMesh and Others 0 January 9, 2012 07:05
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
Linux: when the job suddenly stops working. Stevie Wonder CFX 3 August 15, 2004 18:36


All times are GMT -4. The time now is 23:58.