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

[blockMesh] How to use blockMesh to generate cylindrical T-junction

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 12, 2012, 22:45
Smile How to use blockMesh to generate cylindrical T-junction
  #1
New Member
 
Bin Xu
Join Date: Apr 2012
Location: Singapore
Posts: 23
Rep Power: 14
norkistar is on a distinguished road
Hi Forums, I am new to OpenFOAM. I am struggling to use blockMesh to generate cylindrical T-junction geometry. Can anyone give clue or can post a simple blockMeshDict file that is two cylinder with same diameter then intersect to form a T-junction? Many thanks
norkistar is offline   Reply With Quote

Old   January 26, 2013, 03:08
Default
  #2
Senior Member
 
starter
Join Date: Sep 2012
Posts: 125
Rep Power: 16
sihaqqi is on a distinguished road
Hi

I have tried to do it because this is also my problem but I am getting errors on this one. If you have done it already perhaps you can guide me,

convertToMeters 0.001;

vertices
(
(0 0 0) // point 0
(0 0 60) // point 1
(0 0 -60) // point 2
(0 60 0) // point 3
(0 -60 0) // point 4
(1500 0 0) // point 5
(1500 0 60) // point 6
(1500 0 -60) // point 7
(1500 60 0) // point 8
(1500 -60 0) // point 9
(690 0 60) // point 10
(810 0 60) // point 11
(750 60 60) // point 12
(750 -60 60) // point 13
(750 0 750) // point 14
(690 0 750) // point 15
(810 0 750) // point 16
(750 60 750) // point 17
(750 -60 750) // point 18
);

blocks
(
hex (1 3 2 4 6 8 7 9) (20 20 1) simpleGrading (1 1 1)
hex (11 12 10 13 16 17 15 18) (20 20 1) simpleGrading (1 1 1)
);

edges
(
arc 1 3 (0 30 50)
arc 3 2 (0 30 -50)
arc 2 4 (0 -30 -50)
arc 4 1 (0 -30 50)
arc 6 8 (0 30 50)
arc 8 7 (0 30 -50)
arc 7 9 (0 -30 -50)
arc 9 6 (0 -30 50)
arc 11 12 (50 30 0)
arc 12 10 (-50 30 0)
arc 10 13 (-50 -30 0)
arc 13 11 (50 -30 0)
arc 16 17 (50 30 0)
arc 17 15 (-50 30 0)
arc 15 18 (-50 -30 0)
arc 18 16 (50 -30 0)
);

boundary
(
fixedWalls
{
type wall;
faces
(
(1 2 3 4)
(6 7 8 9)
(15 16 17 18)
(1 3 6 8)
(3 2 8 7)
(2 4 7 9)
(4 1 9 6)
(11 12 16 17)
(12 10 17 15)
(10 13 15 18)
(13 11 18 16)
);
}
);

mergePatchPairs
(
);


// ************************************************** *********************** //
sihaqqi is offline   Reply With Quote

Old   January 28, 2013, 21:53
Default
  #3
New Member
 
Bin Xu
Join Date: Apr 2012
Location: Singapore
Posts: 23
Rep Power: 14
norkistar is on a distinguished road
Hi, my T-junction is formed by two cylinders, where the interface is not a arc which cannot be obtained by blockMesh. I just use GID to generate mesh and then import to OpenFOAM. Can you give a schematic illustration about your geometry and the location of each point? Best regards
norkistar 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
[blockMesh] External flow around cube with blockMesh Woody8 OpenFOAM Meshing & Mesh Conversion 0 March 31, 2015 15:54
[blockMesh] set of xyz data in blockMesh psk OpenFOAM Meshing & Mesh Conversion 12 August 27, 2013 09:37
[blockMesh] tutorial 2.2 Stress(...) trouble with blockMesh colinB OpenFOAM Meshing & Mesh Conversion 8 January 22, 2012 11:32
How to generate tetrahedral/hybrid grids by blockmesh Tarak OpenFOAM 0 October 4, 2010 16:00
Cylindrical Obstacle Simulation Abdelraheem Main CFD Forum 0 August 5, 2010 06:57


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