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

[Other] Having serious difficulty generating a mesh inside a pipe

Register Blogs Community New Posts Updated Threads Search

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: 5
Rep Power: 8
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
Senior Member
 
Zander Meiring
Join Date: Jul 2018
Posts: 125
Rep Power: 8
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: 292
Rep Power: 12
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: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52
Tobi has a spectacular aura aboutTobi 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: 292
Rep Power: 12
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: 5
Rep Power: 8
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: 5
Rep Power: 8
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, 24 views)
jeev1 is offline   Reply With Quote

Old   December 22, 2018, 02:54
Default
  #8
New Member
 
Raj Kiran
Join Date: May 2018
Posts: 24
Rep Power: 8
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: 292
Rep Power: 12
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

Old   February 14, 2019, 17:54
Default hopscotch cylinder hex meshing
  #10
New Member
 
Tom Alderweireldt
Join Date: Jan 2015
Location: Schilde, Belgium
Posts: 16
Rep Power: 11
Talder is on a distinguished road
http://matveichev.blogspot.com/2013/...with-gmsh.html


For me this enlightened me to start building arbitrary piping hex meshes.


Hope you like it too,


Tom.
Talder is offline   Reply With Quote

Reply

Tags
meshing 3d, openfoam


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
Gambit problems Althea FLUENT 22 January 4, 2017 04:19
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 10:38
Doxygen documentation Tanay OpenFOAM Installation 9 September 23, 2011 12:40
[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


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