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

boudary condition for velocity component

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 19, 2014, 01:04
Default boudary condition for velocity component
  #1
New Member
 
Kai Liang
Join Date: Nov 2013
Posts: 19
Rep Power: 12
ljjouc is on a distinguished road
Hi, everyone;

I am using OpenFoam 2.2.0.
Now, I have a top boundaryField in my 0/U file and I want to assign a zeroGradient boundary condition for Ux,Uy and a fixedValue for Uz.

This is what I have considered :

top
{
U.component(0)
(
type zeroGradient;
)
U.component(1)
(
type zeroGradient;
)
U.component(2)
(
type fixedValue;
value uniform 0;
)
}
But I am not sure whether it is right? Shall someone can confirm this or tell me the right way to do this?
Thanks in advance for your help.
Kai
ljjouc is offline   Reply With Quote

Old   April 19, 2014, 02:07
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi Kai,

It looks like a slip boundary. Simply use "type slip;".

Kind regards,

Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   April 19, 2014, 02:27
Default
  #3
New Member
 
Kai Liang
Join Date: Nov 2013
Posts: 19
Rep Power: 12
ljjouc is on a distinguished road
Thanks, Niels. I will try this slip boundary condition.
Best wishes!
Kai
ljjouc is offline   Reply With Quote

Old   April 20, 2014, 04:25
Default
  #4
Senior Member
 
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15
babakflame is on a distinguished road
Dear Foamers

My computational domain is a cylinder containing three distinct inlet boundaries. One of the inlets is a swirl flow. In simple definition, my velocity file is as:

Code:
boundaryField
{
    outlet
    {
        type            zeroGradient;
    }
    side
    {
        type            zeroGradient;
    }
    bluffbody
    {
        type            fixedValue;
        value           uniform (0 0 0);
    }
    inletAir
    {
        type          turbulentInlet;
        referenceField   uniform (0 20 0);
        fluctuationScale (0.02 0.1 0.02);  
    value            uniform (0 20 0);
    }
    inletFuel
    {
        type          turbulentInlet;
        referenceField   uniform (0 32.7 0);
        fluctuationScale (0.04 0.2 0.04);  
    value            uniform (0 32.7 0);
    }
    inletSwirl
    {
        type          swirlFlowRateInletVelocity;
        flowRate         0.0107;
        rpm              6632.42; 
    value            uniform (0 0 0);
    }
}
However, If I use cylindrical inlet boundary for inletSwirl It becomes as:

inlet_swirl
{
type cylindricalInletVelocity;
axis (0 1 0);
centre (0 0 0);
axialVelocity 38.2;
radialVelocity 0;
rpm 6079.9;
value uniform (0 0 0);
}

My question is:
The velocity components in paraview are in cartesian coordinates or cylindrical coordinates by using cylindricalInletVelocity or not using it?


Regards
Bobi
babakflame 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
Momentum source coefficient, cylindrical coordinates, circumferential component? polakse CFX 15 January 18, 2016 02:40
boudary condition at the wall ypchen FLUENT 0 December 22, 2011 01:40
azimuthal component in U boundary condition leejc OpenFOAM 3 September 2, 2009 08:44
Outlet Boudary Condition for Fully Developed Flow Saad Main CFD Forum 5 November 19, 2004 13:22
outlet boudary condition for a flow in the pipe Atit CFX 2 November 9, 2004 17:43


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