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

[snappyHexMesh] snappyHexMesh stops working at "edge intersection testing"

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 6, 2012, 08:11
Default snappyHexMesh stops working at "edge intersection testing"
  #1
New Member
 
Join Date: Nov 2012
Posts: 3
Rep Power: 13
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, 16:06
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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, 04:26
Default
  #3
New Member
 
Join Date: Nov 2012
Posts: 3
Rep Power: 13
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, 16:53
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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


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: Feature snapping of thin membrane edge gooofy OpenFOAM Meshing & Mesh Conversion 7 September 19, 2016 04:29
[Commercial meshers] foamMeshToFluent not working with snappyhexmesh calim_cfd OpenFOAM Meshing & Mesh Conversion 3 January 9, 2012 09:10
[snappyHexMesh] Working with SnappyHexMesh unnikrsn OpenFOAM Meshing & Mesh Conversion 0 January 9, 2012 06:05
Actuator disk model audrich FLUENT 0 September 21, 2009 07:06
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 11:34.