|
[Sponsors] |
November 17, 2009, 15:01 |
snappyHexMesh error
|
#1 |
New Member
Ted Brenner
Join Date: Oct 2009
Location: Oregon, WI
Posts: 12
Rep Power: 16 |
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. |
|
November 27, 2009, 06:33 |
|
#2 |
Member
bruce
Join Date: May 2009
Location: Germany
Posts: 42
Rep Power: 16 |
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. -- |
|
November 30, 2009, 12:38 |
|
#3 |
New Member
Ted Brenner
Join Date: Oct 2009
Location: Oregon, WI
Posts: 12
Rep Power: 16 |
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.
|
|
December 2, 2009, 23:49 |
|
#4 |
Member
bruce
Join Date: May 2009
Location: Germany
Posts: 42
Rep Power: 16 |
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? |
|
December 8, 2009, 15:36 |
|
#5 |
New Member
Ted Brenner
Join Date: Oct 2009
Location: Oregon, WI
Posts: 12
Rep Power: 16 |
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. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |