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

[blockMesh] mesh of tube

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 6, 2013, 13:59
Default mesh of tube
  #1
Senior Member
 
Ahmed Khattab's Avatar
 
ahmed
Join Date: Feb 2010
Posts: 182
Blog Entries: 1
Rep Power: 16
Ahmed Khattab is on a distinguished road
Dear Foamers,

I'd like to make mesh of tube with length 1 m and diameter 20 cm and thickness of 1 cm. anyone have an idea how blockMeshDict would like??

thanks in advance.
Ahmed Khattab is offline   Reply With Quote

Old   October 6, 2013, 14:58
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick question: Have you already searched here on the forum, namely in the sub-forum "blockMesh"? OpenFOAM Native Meshers: blockMesh
wyldckat is offline   Reply With Quote

Old   October 7, 2013, 07:56
Default
  #3
Senior Member
 
Ahmed Khattab's Avatar
 
ahmed
Join Date: Feb 2010
Posts: 182
Blog Entries: 1
Rep Power: 16
Ahmed Khattab is on a distinguished road
Dear wyldckat,

yes i searches a lot for it. i found my way to do it. but I'm searching now for better or easier ideas. I'll share my mesh in another post or may be in a blog. because a tube must be done from cylinder then split it to solid part and flow part as my way.

thanks for your reply
Ahmed Khattab is offline   Reply With Quote

Old   November 13, 2013, 04:05
Default
  #4
Member
 
skyinventorbt's Avatar
 
Dr. B T KANNAN
Join Date: Jul 2011
Location: CHENNAI (MADRAS), INDIA
Posts: 55
Rep Power: 14
skyinventorbt is on a distinguished road
Quote:
Originally Posted by Ahmed Khattab View Post
Dear wyldckat,

yes i searches a lot for it. i found my way to do it. but I'm searching now for better or easier ideas. I'll share my mesh in another post or may be in a blog. because a tube must be done from cylinder then split it to solid part and flow part as my way.

thanks for your reply
Four quarter domains with thickened arcs above that will work.

Quarter domains for pipe and arcs for pipe thickness.

--
KANNAN
__________________
--
Dr. B T KANNAN, PhD, M.I.E,
PhD in Aerodynamics (CFD|Turbulence|Experiments)
Alumnus of Indian Institute of Technology - Madras.
skyinventorbt is offline   Reply With Quote

Old   January 6, 2014, 13:44
Default
  #5
Senior Member
 
Ahmed Khattab's Avatar
 
ahmed
Join Date: Feb 2010
Posts: 182
Blog Entries: 1
Rep Power: 16
Ahmed Khattab is on a distinguished road
Quote:
Originally Posted by skyinventorbt View Post
Four quarter domains with thickened arcs above that will work.

Quarter domains for pipe and arcs for pipe thickness.

--
KANNAN
Dear Kannan,

i think i didn't catch your idea, could you please send me example for this mesh.

BR,
Ahmed
Ahmed Khattab is offline   Reply With Quote

Old   January 7, 2014, 01:17
Default blockMesh example
  #6
Member
 
skyinventorbt's Avatar
 
Dr. B T KANNAN
Join Date: Jul 2011
Location: CHENNAI (MADRAS), INDIA
Posts: 55
Rep Power: 14
skyinventorbt is on a distinguished road
Quote:
Originally Posted by Ahmed Khattab View Post
Dear Kannan,

i think i didn't catch your idea, could you please send me example for this mesh.

BR,
Ahmed
Dear Ahmed,

You refer to User guide for making wedge type mesh and your domain in to two blocks as shown in the attachment.

Also refer this code for axisymmetric pipe (Just for example) using single cell thickness. For multi cell, use curved surfaces defined by arc.

Note: Create your own vertices(Use paraFoam block to understand the positioning)

Code:
vertices        
(
    (0 0 0)                          //0
    (0 0.6 0.020943951)              //1
    (0 0.6 -0.020943951)             //2
    (30 0 0)                        //3
    (30 0.6 0.020943951)            //4
    (30 0.6 -0.020943951)           //5
    (0 180 6.283185307)             //6
    (30 180 6.283185307)           //7
    (30 180 -6.283185307)          //8
    (0 180 -6.283185307)          //9
);

blocks          
(
    hex (0 3 3 0 1 4 5 2) (15 1 5) simpleGrading (4 1 1)
    hex (1 4 5 2 6 7 8 9) (15 1 9) simpleGrading (4 1 5)

);
--
KANNAN B T
Attached Images
File Type: jpeg BlockMEshpipe.jpeg (4.0 KB, 35 views)
skyinventorbt is offline   Reply With Quote

Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[snappyHexMesh] Snappyhex mesh: poor inlet mesh Swagga5aur OpenFOAM Meshing & Mesh Conversion 1 December 3, 2016 17:59
[snappyHexMesh] SnappyHexMesh no layers and no decent mesh for complex geometry pizzaspinate OpenFOAM Meshing & Mesh Conversion 1 February 25, 2015 08:05
[ANSYS Meshing] Meshing Strategy for inside geometry powpow ANSYS Meshing & Geometry 6 January 16, 2013 05:32
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 04:52
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55


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