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

[snappyHexMesh] SnappyHexMesh Internal Flow Example (Diesel Injector)

Register Blogs Community New Posts Updated Threads Search

Like Tree12Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 7, 2013, 06:25
Default
  #21
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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 Danny,

Without an example STL file, there isn't much I can suggest
You can try using OpenFOAM's commands surfaceCheck and surfaceClean.
The other possibility is to use either Blender or Meshlab for repairing the STL file.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   July 8, 2013, 09:00
Default stl file example
  #22
New Member
 
Danny Moore
Join Date: Jun 2013
Location: Vermont, USA
Posts: 14
Rep Power: 13
Dmoore is on a distinguished road
Send a message via Skype™ to Dmoore
here is an example stl file

Danny
Attached Files
File Type: zip contraction.3 - Copy.zip (9.3 KB, 19 views)
Dmoore is offline   Reply With Quote

Old   July 13, 2013, 16:50
Default
  #23
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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 Danny,

I renamed the file to "test.stl" (OpenFOAM dislikes spaces and special characters) and ran:
Code:
surfaceCheck test.stl
And it gave serious indications of a bad surface mesh on this geometry. Almost 70% of the triangles have a quality lesser or equal 0.05 and the one with smallest quality has "0.000133138"!
And there seems to be problems with connections between triangles, since this is indicated:
Code:
Surface is not closed since not all edges connected to two faces:
    connected to one face : 12
    connected to >2 faces : 0
Conflicting face labels:12
But given the low quality triangles, this is only natural to occur.

If I'm not mistaken, the best procedure is to export to Step or IGES format and then use Salome to convert the surface mesh to STL. This is because SolidWorks is doing a very lousy job on converting this to STL.

The other possibility is to export the geometry to STL in binary form, so that you do not loose numerical precision. I say this because, for example from your file:
Code:
vertex 3.125293e+000 3.067232e+000 8.410000e+000
7 digits is far from enough for such bad quality triangles

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   July 15, 2013, 08:45
Default
  #24
New Member
 
Danny Moore
Join Date: Jun 2013
Location: Vermont, USA
Posts: 14
Rep Power: 13
Dmoore is on a distinguished road
Send a message via Skype™ to Dmoore
Thank you Bruno for your help! that makes sense with the troubles I was having! I appreciate your help!

Danny
Dmoore is offline   Reply With Quote

Reply

Tags
snappyhexmesh, surfacefeatureextraction


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
Review: Reversed flow CRT FLUENT 1 May 7, 2018 06:36
Difference between External and Internal flow radiation problems Kummi FLUENT 0 April 10, 2018 04:06
[snappyHexMesh] SnappyHexMesh for internal Flow vishwa OpenFOAM Meshing & Mesh Conversion 24 June 27, 2016 09:54
[snappyHexMesh] snappyHexMesh and blockMesh for internal flow (leaking geometry?) vaina74 OpenFOAM Meshing & Mesh Conversion 10 November 20, 2014 10:14
Internal flow simulation BCs SteveGoat FLUENT 0 May 10, 2012 07:41


All times are GMT -4. The time now is 07:48.