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

Having serious difficulty generating a mesh inside a pipe

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

Like Tree5Likes
  • 1 Post By yambanshee
  • 1 Post By RobertHB
  • 1 Post By Tobi
  • 1 Post By RobertHB
  • 1 Post By Rakkiran

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 7, 2018, 00:17
Default Having serious difficulty generating a mesh inside a pipe
  #1
New Member
 
Join Date: Oct 2018
Posts: 4
Rep Power: 2
jeev1 is on a distinguished road
Hello Guys,

I am really new to OpenFOAM. I need to simulate a fluid flow inside a tube. Please recommend a CAD software where i can design a geometry and download in seperate .stl files? eg: inlet, outlet and the tube

Thanks in advance!
jeev1 is offline   Reply With Quote

Old   November 7, 2018, 02:38
Default
  #2
Member
 
Zander Meiring
Join Date: Jul 2018
Posts: 54
Rep Power: 2
yambanshee is on a distinguished road
Salome is a commonly used CAD software for use with openFoam. It has it's own meshing capabilities too.
jeev1 likes this.
yambanshee is offline   Reply With Quote

Old   November 7, 2018, 04:22
Default
  #3
Senior Member
 
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 251
Rep Power: 6
RobertHB is on a distinguished road
Quote:
Originally Posted by jeev1 View Post
Hello Guys,

I am really new to OpenFOAM. I need to simulate a fluid flow inside a tube. Please recommend a CAD software where i can design a geometry and download in seperate .stl files? eg: inlet, outlet and the tube

Thanks in advance!
AutoCAD, FreeCAD, OpenFoam's own BlockMesh, Salome.

You want seperate .stl files for your mesh? That might not work with OpenFoam. But you could do the meshing with salome, which can create different patches from an stl.
jeev1 likes this.
__________________
If you liked my answer to your question, please consider leaving a "Like" in return
RobertHB is offline   Reply With Quote

Old   November 13, 2018, 07:31
Default
  #4
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Augsburg
Posts: 2,186
Blog Entries: 6
Rep Power: 37
Tobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Quote:
Originally Posted by RobertHB View Post
You want seperate .stl files for your mesh? That might not work with OpenFoam.
Maybe I do not get your statement correctly but *.STL files are a common geometry data for OpenFOAM in combination with snappyHexMesh.
jeev1 likes this.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   November 13, 2018, 07:37
Default
  #5
Senior Member
 
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 251
Rep Power: 6
RobertHB is on a distinguished road
Quote:
Originally Posted by Tobi View Post
Maybe I do not get your statement correctly but *.STL files are a common geometry data for OpenFOAM in combination with snappyHexMesh.
You are right Tobias. Seems my answer was misleading.

As i understand OP want's to use seperate .stl files to form one geometry. From my experience, using three seperate cylinders to form a larger one, snappyHexMesh struggles to mesh multiple .stl files into a meaningful topography. I, at least, never got it working.
jeev1 likes this.
__________________
If you liked my answer to your question, please consider leaving a "Like" in return
RobertHB is offline   Reply With Quote

Old   December 21, 2018, 04:36
Default
  #6
New Member
 
Join Date: Oct 2018
Posts: 4
Rep Power: 2
jeev1 is on a distinguished road
Thanks for the reply guys! I used salome to separate the geometry.
jeev1 is offline   Reply With Quote

Old   December 21, 2018, 05:01
Default New to OpenFOAM Meshing -- Need Help
  #7
New Member
 
Join Date: Oct 2018
Posts: 4
Rep Power: 2
jeev1 is on a distinguished road
Hi Guys!

As a part of Masters Thesis, I have to simulate a fluid flow through 1mm thick curved pipe using OpenFOAM. I created my geometry using SolidWorks (Screenshot attached herewith). I created separate geometry for pipe, inlet and outlet and assembled in SolidWorks and finally saved it in .stl file. Correct me if did anything wrong as I'm an absolute beginner when it comes to OpenFOAM.

I tried SnappyHexMesh, ICEM and also Salome to create the mesh but couldn't create a perfect mesh. I know that I am doing it wrong but and I am exhausted searching for a solution. My deadline for Thesis submission is very near and I'm going no where with my simulation.

I hope someone can help me on what is the best way to mesh a geometry such as mine and which is the best software to do so. And also please recommend if there's any tutorial available for this type of meshing.

Thanks in advance!
Attached Images
File Type: jpg Capture.jpg (79.8 KB, 15 views)
jeev1 is offline   Reply With Quote

Old   December 22, 2018, 02:54
Default
  #8
New Member
 
Raj Kiran
Join Date: May 2018
Posts: 9
Rep Power: 2
Rakkiran is on a distinguished road
Hello jeev1,
OpenFOAM is mostly learned by trial and error.
Just try this if it helps you in anyway https://holzmann-cfd.de/openfoam/vid...meshing-a-pipe.
you can even try salome tutorial https://www.youtube.com/watch?v=g5tyw1tP_U0

Regards,
Raj
jeev1 likes this.
Rakkiran is offline   Reply With Quote

Old   January 7, 2019, 04:49
Default
  #9
Senior Member
 
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 251
Rep Power: 6
RobertHB is on a distinguished road
Quote:
Originally Posted by jeev1 View Post
I created separate geometry for pipe, inlet and outlet and assembled in SolidWorks and finally saved it in .stl file.
Make sure that your object, including the inlet/outlet patches, is watertight. Otherwise snappyHexMesh will not create a mesh from it.
__________________
If you liked my answer to your question, please consider leaving a "Like" in return
RobertHB is offline   Reply With Quote

Reply

Tags
meshing 3d, openfoam

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
sliding mesh problem in CFX Saima CFX 45 September 22, 2015 11:53
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation tommymoose ANSYS Meshing & Geometry 48 April 15, 2013 05:24
[GAMBIT] 3D mesh for pipe intersection pranab_jha ANSYS Meshing & Geometry 3 May 28, 2010 02:33
Difficulty in generating 3-D mesh Rucy FLUENT 3 November 10, 2005 10:53
meshing F1 front wing Steve FLUENT 0 April 17, 2003 13:37


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