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

[blockMesh] Cylindrical pipe junction

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Linse

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 9, 2008, 06:47
Default Cylindrical pipe junction
  #1
New Member
 
Luca Liberti
Join Date: Mar 2009
Location: Rome, Italy
Posts: 22
Rep Power: 17
fugu is on a distinguished road
Hi everyone,
I am trying to mesh a cylindrical pipe with a smaller cylindical pipe joining ot 90 deg its lateral surface.
Thanks to the posts found on this forum I successfully created the main pipe geometry using blockMesh. Now my problem is create the second pipe and join it to the main one.
I am not sure it is possible to achieve the task using blockMesh and the standard meshing tools provided with OF.
Has anyone created a similar geometry ?
Thank you
Luca
fugu is offline   Reply With Quote

Old   April 13, 2010, 07:55
Default
  #2
New Member
 
Benedikt Goeppner
Join Date: Jan 2010
Posts: 15
Rep Power: 16
bgoeppner is on a distinguished road
Hi Luca,

did you find any solution to this problem? I'm currently facing the same difficulties (almost, my pipes don't meet 90 but 20 degrees...) and therefore would appreciate any suggestions on how to solve this...

I managed to create an unstructured grid with netgen, but somehow this seems to be messed up because the simulation crashes after a while... And to be honest, I'd rather prefer some structured mesh ;-) Do you have some advise how to solve this? (w/o using commercial meshing software)

Thanks a lot,
Ben
bgoeppner is offline   Reply With Quote

Old   August 6, 2010, 10:45
Default
  #3
Senior Member
 
Bernhard Linseisen
Join Date: May 2010
Location: Heilbronn
Posts: 183
Blog Entries: 1
Rep Power: 15
Linse is on a distinguished road
Actually, I do have exactly the same problem on my side! One tube of d=800 mm is joined by another one with d=600 mm.

At the moment I am still struggling with this problem, but I hope to have a solution after the weekend.

What I did:
- First I did simplify the tubes as prisms. The smaller one I set to the interconnection point, so the basic forms were correct already.
- Then I did replace the usual connection lines with arcs. The additional points for defining the arc I had calculated by hand.
Therein I used the same calculated Y- and Z-values for the arcs at every point where it would help defining a common line within the different tubes.
- The tubes I did connect with matchPatchPairs.

Up to now my problem is when I do use the lower arcs in blockMesh.
All other arcs work and look fine at least in paraview. But these two arcs make the whole thing fail with a "duplicate point" error...
The "simpleSpline" specification did not work for me, as it put in strong angles into the line...


My solution for the moment will be to keep this "side-arcs" extremely small (I will keep you posted about the success), but I would prefer the arcs to work.
pari_sa likes this.
Linse is offline   Reply With Quote

Old   August 14, 2010, 16:26
Default
  #4
Senior Member
 
Nilesh Rane
Join Date: Apr 2010
Posts: 122
Rep Power: 16
nileshjrane is on a distinguished road
I also want to mesh such geometry. Have any one found the way to do it properly??? Please help..
__________________
Imagination is more important than knowledge..
nileshjrane is offline   Reply With Quote

Old   September 13, 2010, 17:06
Default
  #5
New Member
 
Join Date: Aug 2010
Posts: 11
Rep Power: 15
guy_smiling is on a distinguished road
Hi guys,

I have had some success with this. My dimensions are quite small (on the mm/micron scale) but it seems like it's ok anyways. I have a pipe that's 2cm long and 1/2mm diameter intersected with a pipe that is 1/4mm diameter. It seems to work, although as I've tried to increase the number of cells, the skewness at some points has increased (using checkMesh I have 24 highly skewed cells out of almost 70 000) but it seems to work so far and there aren't any weird effects at the joins.

The key to making it work is "mergePatchPairs". I started with just making hexahedra and joining them together. Normally you'd create a mesh for each section (so for a 2D cross you'd make 5 sections) and then make sure that everything lines up correctly and blockMesh will be happy. However, in the case of round tubes this will never happen.

You need to specify the patches that you want to line up from the large tube and the small cross-tube (so have them as their own separate patch). You probably want the large tube to stay as you define it, and match the small tube to join. The large tube patch will then be the master, and the small will be the slave patch.

Here is a first try:

vertices
(

//central hex
(2 2 0)
(-2 2 0)
(-2 -2 0)
(2 -2 0)

(2 2 10) //4
(-2 2 10)
(-2 -2 10)
(2 -2 10)

( 1 4 5) //8
( 1 10 5)
(-1 10 5)
(-1 4 5)

( 1 4 6) //12
( 1 10 6)
(-1 10 6)
(-1 4 6)

);

blocks
(
hex (0 1 2 3 4 5 6 7) (8 8 12) simpleGrading (1 1 1)
hex (8 9 10 11 12 13 14 15) (8 8 3) simpleGrading (1 1 1)
);

edges
(
arc 0 1 (0 2.8284 0)
arc 4 5 (0 2.8284 10)
);

patches
(
patch inlet
(
(4 5 6 7)
)

patch outlet
(
(0 1 2 3)

(9 10 14 13)
)


wall walls
(
(1 2 6 5)
(2 3 7 6)
(3 0 4 7)

(10 11 15 14)
(12 13 9 8)
(12 13 14 15)
(8 9 10 11)
)

patch masterpatch
(
(0 1 5 4)
)

patch slavepatch
(
(8 11 15 12)
)

);

mergePatchPairs
(
(masterpatch slavepatch)
);


You'll need to define the patches in your P, U, T etc files. For me they are walls so I have them as zeroGradient.
guy_smiling is offline   Reply With Quote

Old   September 13, 2010, 17:36
Default
  #6
Senior Member
 
Nilesh Rane
Join Date: Apr 2010
Posts: 122
Rep Power: 16
nileshjrane is on a distinguished road
Quote:
Originally Posted by guy_smiling View Post
The key to making it work is "mergePatchPairs". I started with just making hexahedra and joining them together. Normally you'd create a mesh for each section (so for a 2D cross you'd make 5 sections) and then make sure that everything lines up correctly and blockMesh will be happy. However, in the case of round tubes this will never happen.
I had already tried it, but the mergePatchPairs creates irregular polyhedrals at the junction. see this post: http://www.cfd-online.com/Forums/ope...e-comment.html

For me these cells are blowing my solution off the track. So i chucked the thought of mergePatchPair. instead a late but straight way is to decompose the volume is bunch of pieces and you can have good hex mesh. It seems possible and m trying it.

Nilesh
__________________
Imagination is more important than knowledge..
nileshjrane is offline   Reply With Quote

Old   September 13, 2010, 17:54
Default
  #7
New Member
 
Join Date: Aug 2010
Posts: 11
Rep Power: 15
guy_smiling is on a distinguished road
From the link you posted:
The top of your cylinder seems to be oddly defined but I can't really tell from the pictures you posted. Do you have an internal block (such as a square with four rounded blocks attached), or just the cylinder defined?
guy_smiling is offline   Reply With Quote

Old   September 14, 2010, 05:05
Default
  #8
Senior Member
 
Nilesh Rane
Join Date: Apr 2010
Posts: 122
Rep Power: 16
nileshjrane is on a distinguished road
What i did is i meshed the big cylinder with radially oriented hex mesh and same for small pipes. And i defined the intersection face bet the two accurately. and then merged the patched, master is the round face of the big cylinder and the face of the end of small cylinder (which would be the intersection face of the small cylinder when you would do boolean subtract on the two cylinder volumes..) i have decomposed the cylinders in 4 sectors. no cube inside.
__________________
Imagination is more important than knowledge..
nileshjrane is offline   Reply With Quote

Old   September 14, 2010, 05:09
Default
  #9
Senior Member
 
Nilesh Rane
Join Date: Apr 2010
Posts: 122
Rep Power: 16
nileshjrane is on a distinguished road
What i did is i meshed the big cylinder with radially oriented hex mesh and same for small pipes. And i defined the intersection face bet the two accurately. and then merged the patched, master is the round face of the big cylinder and the face of the end of small cylinder (which would be the end face of the small cylinder when you would do boolean subtract on the two cylinder volumes..) i have decomposed the cylinders in 4 sectors. no cube inside.
__________________
Imagination is more important than knowledge..
nileshjrane is offline   Reply With Quote

Reply


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
[ICEM] Blocking strategy for sharp angle junction (Pipe) Daniel_Khazaei ANSYS Meshing & Geometry 6 February 19, 2015 11:31
[Other] Cylindrical Pipe Mesh Generation Shivam Sinha OpenFOAM Meshing & Mesh Conversion 3 November 7, 2014 12:53
T junction pipe flows selvam2487 CFX 1 July 23, 2013 16:55
[GAMBIT] 3D Two pipe T-shape junction mesh Jing ANSYS Meshing & Geometry 8 April 26, 2013 12:27
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 09:11


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