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

[CAD formats] stl geometry is not close

Register Blogs Community New Posts Updated Threads Search

Like Tree10Likes
  • 3 Post By jokerito
  • 2 Post By KaLium
  • 2 Post By bhakar.raju98
  • 3 Post By the_edge123

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 16, 2014, 18:55
Unhappy stl geometry is not close
  #1
New Member
 
Join Date: Sep 2013
Posts: 3
Rep Power: 13
ignacio.12 is on a distinguished road
Hello!!
I am new in the forum. I have a problem with snappyHexMesh. I make a geometry with CAD and export to .stl, buy when i run snappyHex say that the geometry is not close. I have proved different ways to make a stl file: with MeshLab, ICEM, ACAD, SolidWorks and always gave me the same error.

Here is the error:
--> FOAM FATAL ERROR:
Shell TURBINA.stl does not support testing for outside
Probably it is not closed.

From function shellSurfaces::shellSurfaces(const searchableSurfaces&, const PtrList<dictionary>&)
in file autoHexMesh/shellSurfaces/shellSurfaces.C at line 134.

The geometry is a wind turbine. First i think it was the complex of the geometry that make the error, but i made a simple cylinder an exported with ICEM and gave me the same error.

I hope you can help me.
ignacio.12 is offline   Reply With Quote

Old   August 29, 2014, 05:03
Default
  #2
New Member
 
Join Date: Jul 2014
Posts: 22
Rep Power: 12
jokerito is on a distinguished road
Hello,

First of all, helping you without log files or the snappyHexMeshDict is nearly impossible, so upload them and I can have a look at it.

My first suggestion would be, that you are using the refinementRegions command as well.

Code:
refinementRegions
    {
        refinementBox
        {
            mode inside;   // inside;
            levels ((1.0e+15 4));  //1E15 4
        }
    }
maybe try to set this in a comment and try it again. But this is only a guess, because I don't know what you are doing exactly...

Best Regards
Mike
jokerito is offline   Reply With Quote

Old   May 16, 2017, 08:48
Default
  #3
New Member
 
raju ram bhakar
Join Date: May 2017
Posts: 11
Rep Power: 9
bhakar.raju98 is on a distinguished road
Did you found the solution to this problem.
I'm also having the same problem.
I have a ship model which cannot be closed( I don't understand the actual meaning of closed)
Shell ship.stl does not support testing for inside
Probably it is not closed.
bhakar.raju98 is offline   Reply With Quote

Old   May 16, 2017, 09:04
Default
  #4
New Member
 
Join Date: Sep 2013
Posts: 3
Rep Power: 13
ignacio.12 is on a distinguished road
Hello. I am sorry bhakar.raju98, since some years I am not any more a user of OpenFOAM, so I am outdated. Best, Ignacio!
ignacio.12 is offline   Reply With Quote

Old   May 17, 2017, 06:24
Default
  #5
Senior Member
 
KaLium's Avatar
 
Kal-El
Join Date: Apr 2017
Location: Finland
Posts: 150
Rep Power: 9
KaLium is on a distinguished road
Quote:
Originally Posted by bhakar.raju98 View Post
Did you found the solution to this problem.
I'm also having the same problem.
I have a ship model which cannot be closed( I don't understand the actual meaning of closed)
Shell ship.stl does not support testing for inside
Probably it is not closed.
I don't know if this helps, but I once had this problem when I had several parts in one STL and I tried to use that file in refinementRegions. There was no problems with refinementSurfaces or user defined regions.
ARTisticCFD and Rabbita like this.

Last edited by KaLium; May 17, 2017 at 08:02.
KaLium is offline   Reply With Quote

Old   May 17, 2017, 07:51
Default
  #6
New Member
 
raju ram bhakar
Join Date: May 2017
Posts: 11
Rep Power: 9
bhakar.raju98 is on a distinguished road
Thankyou Kalium and Ignacio.

I got the solution for this problem.
We have to repair the stl file using blender or any other 3d editor and repairing means we have to make it close surface no open surfaces are allowed because we will be removing the mesh inside the surface boundary.
LeeRuns and hogsonik like this.
bhakar.raju98 is offline   Reply With Quote

Old   July 13, 2017, 12:52
Default
  #7
New Member
 
Join Date: Jul 2017
Posts: 6
Rep Power: 9
the_edge123 is on a distinguished road
You have to use:
surfaceCheck <yourSTL>
It should output no errors.
If an error occurs, you may use
surfaceSubset surfaceSubsetDict <yourSTL> stlProblems.stl
and visualise stlProblems.stl

--
Fabien
namsivag, hogsonik and parthigcar like this.
the_edge123 is offline   Reply With Quote

Old   June 24, 2020, 14:13
Default
  #8
Member
 
Join Date: Feb 2016
Posts: 41
Rep Power: 10
LeeRuns is on a distinguished road
Quote:
Originally Posted by bhakar.raju98 View Post
Thankyou Kalium and Ignacio.

I got the solution for this problem.
We have to repair the stl file using blender or any other 3d editor and repairing means we have to make it close surface no open surfaces are allowed because we will be removing the mesh inside the surface boundary.

Do you know how to make the stl or obj in blender with named faces. I can make a closed geometry using the 3d Printer addon, but that only applied it to a single blender object. On the other hand I can make a set of blender objects and export those to multiple stl files then name the faces as solids and combine them. Both result in open geometry. Just cannot seem to get the right setup to have both named faces and a closed manifold.
LeeRuns is offline   Reply With Quote

Reply

Tags
snappyhexmesh, stl file


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
How to turn a STL geometry in OPENFOAM SnappyMax OpenFOAM Pre-Processing 7 April 25, 2017 12:48
[ANSYS Meshing] CATIA Geometry Generation and Meshing danielsullivan ANSYS Meshing & Geometry 0 April 3, 2017 22:11
[ICEM] simplify STL geometry and export it to COMSOL CRT ANSYS Meshing & Geometry 2 November 13, 2012 09:19
[snappyHexMesh] Mesh a geometry without stl file eysteinn OpenFOAM Meshing & Mesh Conversion 0 May 5, 2011 11:15
vitual _ real deneb FLUENT 3 January 22, 2007 05:31


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