CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM Meshing & Mesh Conversion

How to mesh a pipe network using helyxOS

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

Like Tree1Likes
  • 1 Post By chegdan

Reply
 
LinkBack Thread Tools Display Modes
Old   January 23, 2014, 16:01
Lightbulb How to mesh a pipe network using helyxOS
  #1
New Member
 
Euan Foster
Join Date: Jan 2014
Posts: 12
Rep Power: 2
EFoster2 is on a distinguished road
Hey all,

I am trying to make a pipe network for my dissertation this year. So far I have just been creating simple singular rectangular pipes using helyxOS. I am now trying to expand that so I have a bifurcating network as shown in the attachments and try and achieve the level of refinement in the corners as shown in the mesh refinement photo.

I have had two ideas so far and that would be to create a stl of the geometry and snap to it or create lots of surface/volume regions. I reckon the former might be a bit more computationally intensive than the later but since I have very little experience with linux and openFoam in general that's where my ideas run out altogether.

I was wondering if anyone on this forum would be able to give their opinions on what might be the best out of the two options and briefly describe the steps they would take to accomplish this geometry? Bare in mind computational resources are pretty limited as I am in the middle of building a new pc and only have my laptop.

I appreciate any help I get.

Euan!
Attached Images
File Type: jpg mesh refinement.jpg (29.7 KB, 21 views)
File Type: png bifurcating network 1.png (3.3 KB, 15 views)
File Type: png bifurcating network 2.png (47.6 KB, 18 views)
EFoster2 is offline   Reply With Quote

Old   January 23, 2014, 16:26
Default
  #2
Senior Member
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 525
Rep Power: 17
chegdan will become famous soon enough
Greetings!

I noticed this is your first post, so welcome to the forum! My suggestion is to start with the easier option first. Create your geometry as an STL and then adjust the featureAngle as needed to capture more of the features. Most of the time, to capture more you need to lower your base mesh spacing. I would look at a few presentations to get you going

Some changes have happened in snappyHexMesh and HELYX-OS that are a little different than these talks...but you can always ask a question if its not clear.
EFoster2 likes this.
__________________
Dan

Find me on twitter @dancombest
chegdan is offline   Reply With Quote

Old   February 3, 2014, 16:24
Default
  #3
New Member
 
Euan Foster
Join Date: Jan 2014
Posts: 12
Rep Power: 2
EFoster2 is on a distinguished road
Hey Dan,

Thanks a lot for the help! I tried doing that and it worked fine. My supervisor though wanted something a bit more streamlined and better thought out.

I extended the mesh by creating the full 207 vertices required in blockMesh. I found this post pretty useful on how to create the mesh using blockMesh - multiregion mesh with blockMesh.

I occasionally transferred my mesh into helyxOS to check I had selected all the right patches and were labeling them correctly. Likewise, I found this helpful - OpenFOAM mesh in Helyx-OS.

Again thanks for the reply. I also checked out your twitter. You seem like THE man when it comes to CFD in general.

Euan
EFoster2 is offline   Reply With Quote

Old   February 3, 2014, 17:05
Default
  #4
Senior Member
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 525
Rep Power: 17
chegdan will become famous soon enough
Glad it helped you so far and thanks for the compliment! If you find blockMesh does it for you then by all means go with what works. You may also be able to do it directly with snappyHexMesh using something like

Code:
twoBoxes 
 { 
      type searchableSurfaceCollection; 
      mergeSubRegions true; 
 
      boxA 
      { 
           surface box; 
            scale (1.0 1.0 2.1); 
            transform 
            { 
                 type cartesian; 
                 origin (2 2 0); 
                 e1 (1 0 0); 
                 e3 (0 0 1); 
            } 
       } 
      boxB 
      { 
            surface box; 
            scale (1.0 1.0 2.1); 
            transform 
            { 
                 type cartesian; 
                 origin (3.5 3 0); 
                 e1 (1 0 0); 
                 e3 (0 0 1); 
            } 
       } 
 }
but use cylinders instead.

Dan
__________________
Dan

Find me on twitter @dancombest
chegdan is offline   Reply With Quote

Reply

Tags
bifurcating network, helyos, meshing, openfoam, pipe network

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
[GAMBIT] 3D Two pipe T-shape junction mesh Jing ANSYS Meshing & Geometry 8 April 26, 2013 13:27
[ANSYS Meshing] block and mesh pipe in pipe Nunuuika ANSYS Meshing & Geometry 3 November 28, 2011 05:26
snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Native Meshers: snappyHexMesh and Others 2 March 27, 2011 22:11
Help needed to generate a graded pipe mesh. jenright OpenFOAM Native Meshers: blockMesh 0 August 22, 2009 09:58
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 19:10


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