CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] What types of stl files are needed in snappyhexmesh?

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

Like Tree2Likes
  • 2 Post By dybuk

LinkBack Thread Tools Search this Thread Display Modes
Old   February 18, 2015, 10:17
Red face What types of stl files are needed in snappyhexmesh?
New Member
Paul Handy
Join Date: Sep 2014
Location: Idaho, USA
Posts: 21
Rep Power: 11
phandy is on a distinguished road
I'm trying to figure out how to take models from my cad suite (autodesk inventor), and use snappyhexmesh (or any other native openfoam mesher) for pre-processing.

Now, it was my understanding that for flows with an inlet and outlet, that I would need separate stl files as those surfaces. However, Inventor doesn't explicitly allow the exporting of surfaces to *.stl. Do I need to have just the inlet/outlet/wall surfaces to export, or can I make volumes?

If I need to have surfaces only, it looks like I'll need to export the surfaces as STEP, and use a different program to generate STL files for use with snappyhexmesh, which isn't an especially enticing option.

Also, do I need the whole volume of the flow channel as its own STL for snappyhexmesh? And how do I check if my stl is watertight?

Any help here is very appreciated.

Edit: from this page, it appears that if I can export a single solid stl with separate regions, then perhaps I can do this without exporting surfaces to stl. Am I right?

Last edited by phandy; February 18, 2015 at 10:47. Reason: did some googling.
phandy is offline   Reply With Quote

Old   February 19, 2015, 05:36
Join Date: Oct 2012
Posts: 35
Rep Power: 13
dybuk is on a distinguished road
Yes, you are right

In geometry definition:

        type triSurfaceMesh;
        name  surface_with_regions;
			region_1	{name  region_1;}
			region_2    {name   region_2;}

And in refinementSurfaces

        level (1 2); //global refinement settings for surface
            level (5 6);        // local refinement
                type wall;
            level (5 7);        // local refinement
                type patch;
vbnhfylbh and phandy like this.
dybuk is offline   Reply With Quote


inlet and outlet, snappyhexmesh 3d, stl file, surface & solid bodies

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
Blender: generate stl files student666 OpenFOAM Pre-Processing 0 June 6, 2017 02:45
Generating a proper STL mesh for snappyHexMesh riccardomaione OpenFOAM Pre-Processing 2 August 25, 2015 02:17
[snappyHexMesh] STL exported from CATIA and snappyHexMesh ma- OpenFOAM Meshing & Mesh Conversion 3 April 9, 2012 14:06
Problems in compiling paraview in Suse 10.3 platform chiven OpenFOAM Installation 3 December 1, 2009 07:21
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 20:51

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