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

snappyHexMesh error

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 17, 2009, 15:01
Default snappyHexMesh error
  #1
New Member
 
Ted Brenner
Join Date: Oct 2009
Location: Oregon, WI
Posts: 12
Rep Power: 7
griztown is on a distinguished road
Hi all,

I'm running snappyHexMesh to create a mesh around a body I have and I get the following error:

--> FOAM Warning :
From function treeBoundBox::treeBoundBox(const UList<point>&, const UList<label>&)
in file octree/treeBoundBox.C at line 157
cannot find bounding box for zero-sized pointFieldreturning zero

I'm having a hard time figuring out where this problem is coming from. Everything was working great with a similar geometry, but now with a new stl file, I'm getting this error. Any ideas on where I should be looking? The error comes up while determining initial surface intersections. Looking through the stl file and the block mesh, there shouldn't be any problems finding an intersection.

Any help is greatly appreciated.
griztown is offline   Reply With Quote

Old   November 27, 2009, 06:33
Default
  #2
Member
 
bruce
Join Date: May 2009
Location: Germany
Posts: 42
Rep Power: 8
bruce is on a distinguished road
I doubt you have some bad tri's in stl surface. find out the bad tri's

I had the similar problem although not the same error message during "surface intersection" check.

alternatively , clean the stl file using OpenFoam tools, e.g surfaceClean,

look at this as well, http://www.varlog.com/index.html

if your case is small then post it.

--
bruce is offline   Reply With Quote

Old   November 30, 2009, 12:38
Default
  #3
New Member
 
Ted Brenner
Join Date: Oct 2009
Location: Oregon, WI
Posts: 12
Rep Power: 7
griztown is on a distinguished road
Thanks for the help Bruce. Unfortunately I couldn't get surfaceClean to work, does it only work on binary stl files? Mine is in ASCII. It consistently tells me that it found 0 triangles and 0 vertices and I've tried varying the min length from 1e27 to 1e-27.
griztown is offline   Reply With Quote

Old   December 2, 2009, 23:49
Default
  #4
Member
 
bruce
Join Date: May 2009
Location: Germany
Posts: 42
Rep Power: 8
bruce is on a distinguished road
Does your stl file is empty? surfaceClean works on ASCII file of couse.

We can not help you as long as you provide no information. upload a test stl file or test case.

You might try surfaceSmooth and surfaceCheck as well?
bruce is offline   Reply With Quote

Old   December 8, 2009, 15:36
Default
  #5
New Member
 
Ted Brenner
Join Date: Oct 2009
Location: Oregon, WI
Posts: 12
Rep Power: 7
griztown is on a distinguished road
Hi Bruce,

Thanks for the help. So actually the problem was mine. The title of the file was a very long winded one with lots of punctuation. When I shortened it I wasn't paying attention and deleted the "solid" that preceded it on the first line. Once that was restored all my problems went away.

Another problem I had was that it kept telling me my LocationInMesh vector was not inside the mesh or on a face. I could clearly see that it wasn't but found out that I had my vertices ordered incorrectly so when running blockMesh, it was turned inside out.

Anyway, if anyone comes across this later, hope this helps.

Thanks again.
griztown 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
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 09:31
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50
Compiling problems with hello worldC fw407 OpenFOAM Installation 21 January 6, 2008 18:38
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51
user subroutine error CFDUSER CFX 2 December 9, 2006 07:31


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