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

[snappyHexMesh] snappyHexMesh error

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

Reply
 
LinkBack Thread Tools Search this Thread 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: 16
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: 16
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: 16
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: 16
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: 16
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries NickG OpenFOAM Installation 3 December 30, 2019 01:21
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 10:00
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 19:00
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 10:17
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51


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