CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion > OpenFOAM Native Meshers: snappyHexMesh and Others

Problems meshing a pipe

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

LinkBack Thread Tools Display Modes
Old   November 16, 2010, 07:19
Default Problems meshing a pipe
New Member
Ulrich Golling
Join Date: Oct 2010
Posts: 7
Rep Power: 9
U.Golling is on a distinguished road
Dear Foamers,
I want to mesh a pipe-system with snappyHexMesh. The best way to do it seems to be: 3 stl-Files one for the pipe, one for the inlet and one for outlet. Right?
But i don't get it right. Can you tell me, how the geometries behind this stl-Files have to look like? Can i define just areas for Inlet and Outlet and the wall of the pipe (my CAD-programm (Inventor Prof.2011) says: no, a geometry has to be a volume-body to export it as *.stl)?

I am still a beginner in OpenFoam and so thankfull for every help and hint you can give, concerning simulating internal flow problems.

U.Golling is offline   Reply With Quote

Old   November 23, 2010, 01:12
Paul Reichl
Join Date: Feb 2010
Location: Melbourne, Victoria, Australia
Posts: 33
Rep Power: 9
preichl is on a distinguished road
Hi Ulrich,

Specifying 3 stl files is how I have looked at similar problems in the past. I normally export my geometries from SolidWorks and I am able to export stl files for both the entire 3D geometry and for selected surfaces.
In SolidWorks I can select a surface from the 3D part and then select save as an STL file and it will ask if I want to save just the surface or everything. Selecting just the surface is what I choose to get an stl file for each boundary.
I am not familiar with Inventor Prof 2011, but have you tried doing something similar?
The basic format of an STL files is discussed at

I hope this helps somewhat.


preichl is offline   Reply With Quote

Old   November 30, 2010, 06:24
New Member
Ulrich Golling
Join Date: Oct 2010
Posts: 7
Rep Power: 9
U.Golling is on a distinguished road
Hello Paul,

thank you for your help. As far as i know, until now, Inventor cannot export just a surface in a stl-File. But it is not a problem anymore, for me.
In the end my biggest mistake in this case was something other: Open Foam is in meter and my inventor-stl-file was in mm. A slight mistake.
Thanks and
U.Golling is offline   Reply With Quote


flow, intern, internal, mesh, pipe

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
Problems with Cyclic & init. BCs for turbulent (k-eps) pipe flow florian_krause OpenFOAM 3 December 1, 2012 05:11
Problem meshing very thin pipe B. Hemmen FLUENT 2 May 16, 2006 08:29
digitizing an aerofoil/ meshing problems Simon FLUENT 2 February 27, 2006 12:18
Problems in boundary layer meshing Henriques FLUENT 1 February 18, 2006 06:54
meshing hollow part of pipe rai FLUENT 0 December 19, 2005 01:46

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