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

[snappyHexMesh] SnappyHexMesh fails to create patches of .stl files

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By ruikeradity1

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 2, 2015, 14:23
Default SnappyHexMesh fails to create patches of .stl files
  #1
Member
 
Werner
Join Date: Jul 2015
Location: West Lafayette, USA
Posts: 34
Rep Power: 11
WernerW is on a distinguished road
Dear OpenFoam community,

I'm having problems with snappyHexMesh because it doesn't create the patch of the .stl files introduced in it. That is, after snappyHexMesh is ready I have the same Patches I blockMesh created.

When I check the Log.snappyHexMesh I see a strange message:

Quote:
Detecting near surfaces ...
Overriding nearest with intersection of close gaps at 297 out of 314403 points.
Overriding displacement on features :
implicit features : false
explicit features : true
multi-patch features : false

--> FOAM Warning :
From function autoSnapDriver::calcNearestFace(..)
in file autoHexMesh/autoHexMeshDriver/autoSnapDriverFeature.C at line 338
Did not find surface near face centre (-0.00929559 -0.0821789 -0.262716)
And guess this shows the error because all other process of sHM seem very normal.

I collected the files, where probably the error is (including the log files of the last time I ran ./Allrun.pre) in a folder called Check SHM. I'm uploading my whole case to help you help me .

I guess it might be a problem of the .stl files that I'm introducing in the triSurface folder (. I created them with AutoCAD Inventor 2014, setting file format ASCI and the standard definitions for medium Quality. Unfortunately I couldn't upload these files because they're too big.

Has anyone dealt with this kind of issue ? Do you have any ideas ?

Thanks in advance,
Werner
Attached Files
File Type: gz WindTurbine-DyM.tar.gz (39.7 KB, 25 views)
WernerW is offline   Reply With Quote

Old   November 10, 2015, 04:06
Default
  #2
Member
 
Thomas Sprich
Join Date: Mar 2015
Posts: 76
Rep Power: 11
Swift is on a distinguished road
Hi Werner,

Did you ever manage to resolve this? I have a very similar problem where I get the same error message.

Regards,
Thomas
Swift is offline   Reply With Quote

Old   November 10, 2015, 11:06
Default Work with other CAD software
  #3
Member
 
Werner
Join Date: Jul 2015
Location: West Lafayette, USA
Posts: 34
Rep Power: 11
WernerW is on a distinguished road
Hi Thomas,

yes, i manage to solve it exporting the .stl file from solid edge and not from Inventor in ASCI format). That did the trick. Perhaps inventor doesn't write the files in a proper way or had problems to do it in my case because the geometry was made initially in Solid Edge jejeje.

let me know if it works for you or if you have other problems with snappyHexMesh. I've struggled a lot with it :P.
WernerW is offline   Reply With Quote

Old   November 11, 2015, 02:53
Default
  #4
Member
 
Thomas Sprich
Join Date: Mar 2015
Posts: 76
Rep Power: 11
Swift is on a distinguished road
Greetings Werner,

I am glad you found a solution! I also exporting from Inventor. In my case it is not the exporting from Inventor that's the problem. I've posted my problem here:
http://www.cfd-online.com/Forums/ope...-surfaces.html

As you can see I think I have a workaround solution, but it is very cumbersome.

Anyway, thanks for your reply and happy snappyHexMesh-ing ;-)

Thomas
Swift is offline   Reply With Quote

Old   September 26, 2017, 01:59
Default
  #5
New Member
 
Aaditya Maharashtra
Join Date: Aug 2017
Posts: 7
Rep Power: 9
ruikeradity1 is on a distinguished road
i am not OF expert but in one of my project on axial fan in which i stuck withe same problem.
i reduced resolveFeatureAngle in SHM in castallated control
and it worked for me.

also increse nSolveIter and let implicitFeatureSnap true
wht and davcrisp like this.
ruikeradity1 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
Possible bug with stitchMesh and cyclics in OpenFoam Jack001 OpenFOAM Pre-Processing 0 May 21, 2016 09:00
[snappyHexMesh] How to create internal boundaries using snappyHexMesh robyTKD OpenFOAM Meshing & Mesh Conversion 2 October 19, 2014 10:57
[snappyHexMesh] SnappyHexMesh large number of patches written prapanj OpenFOAM Meshing & Mesh Conversion 0 July 15, 2009 09:11
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 21:51


All times are GMT -4. The time now is 03:26.