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

the correct Type for axis of pipe in a 3D case

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 10, 2013, 02:02
Default the correct Type for axis of pipe in a 3D case
  #1
Member
 
Arjang Behnoud
Join Date: Oct 2012
Posts: 61
Rep Power: 13
AmirBaqa1987 is on a distinguished road
Hi Everyone

for simulating laminar duct flow in a pipe I've model only a quarter of pipe and the blockMeshDict is like below:
Code:
convertToMeters 1;
//- half angle of wedge in degrees
halfAngle 45.0;
//- Radius of pipe [m]
radius 0.00625;
radHalfAngle    #calc "degToRad($halfAngle)";
y               #calc "$radius*sin($radHalfAngle)";
minY            #calc "-1.0*$y";
z               #calc "$radius*cos($radHalfAngle)";
minZ            #calc "-1.0*$z";
//-length of pipe [m]
l 1;
vertices
(
    (0.0    0.0 0)      //0
    ($l     0.0 0)
    ($l     0.0 0)      //2
    (0.0    0.0 0)
    (0.0    $minY $z)   //4
    ($l     $minY $z)
    ($l     $y $z)      //6
    (0.0    $y $z)
);

blocks
(
    // inlet block
    hex (0 1 2 3  4 5 6 7) (300 20 20) simpleGrading (1 1 .2)
);

edges
(
    arc 4 7 (0 0 $radius)
    arc 5 6 ($l 0 $radius)
);

boundary
(
    inlet
    {
        type patch;
        faces
        (
            (0 4 7 3)
        );
    }

    outlet
    {
        type patch;
        faces
        (
            (1 2 6 5)
        );
    }

    side1
    {
        type cyclic;
        neighbourPatch side2;
        faces
        (
            (0 1 5 4)
        );

        transform rotational;
        rotationAxis (1 0 0);
        rotationCentre (0 0 0);
    }

    side2
    {
        type cyclic;
        neighbourPatch side1;
        faces
        (
            (7 6 2 3)
        );

        transform rotational;
        rotationAxis (1 0 0);
        rotationCentre (0 0 0);
    }

    walls
    {
        type wall;
        faces
        (
            (4 5 6 7)
           //(3 2 1 0)
        );
    }

   axis
    {
        type slip;
        faces
        (
             (3 2 1 0)
        );
    } 
);
once I omit the axis because the case is 3D but when I type blockMesh in terminal, I find out that one defaultFace is created and its type is empty finally I decide Slip type for axis but now after running the solver when I open parafoam it is obvious that the flow is not fully developed at outlet of pipe(it should be fully developed).

(pictures are attached)

now I want to know what is the problem, slip type is not correct for axis or maybe the quality of mesh (300 20 20) is not good?

Thanks.
Arjang
Attached Images
File Type: jpg after rescale Data.jpg (14.5 KB, 15 views)
File Type: jpg before resclae Data.jpg (13.1 KB, 11 views)
AmirBaqa1987 is offline   Reply With Quote

Old   October 11, 2013, 01:24
Default
  #2
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
Dear Arjang Behnoud,Try type "empty" for axis !!

--
KANNAN
skyinventorbt is offline   Reply With Quote

Old   October 12, 2013, 02:02
Default
  #3
Member
 
Arjang Behnoud
Join Date: Oct 2012
Posts: 61
Rep Power: 13
AmirBaqa1987 is on a distinguished road
first I've tried empty type for axis.but It was not good .
AmirBaqa1987 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
[CGNS] CGNS converters available mbeaudoin OpenFOAM Meshing & Mesh Conversion 137 December 14, 2018 04:20
Why Menter's SST model low-Re issue has not been seriously investigated? vkrastev OpenFOAM 58 January 8, 2018 15:20
boundary conditions for simpleFoam calculation foam_noob OpenFOAM Running, Solving & CFD 8 July 1, 2015 08:07
rhoSimpleFoam claco OpenFOAM 7 April 20, 2010 04:32
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 12:24


All times are GMT -4. The time now is 03:19.