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

Boundary Conditions for Internal compressible Flow

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   November 18, 2009, 06:33
Default Boundary Conditions for Internal compressible Flow
  #1
Member
 
Carlos Xisto
Join Date: Nov 2009
Location: Covilhã, Portugal
Posts: 53
Rep Power: 16
xisto is on a distinguished road
Send a message via MSN to xisto
Hello all,

First of all i am a newbie in OpenFOAM

I' m trying to simulate a compressible flow in a duct with a bump using laminar rhoPisoFoam.

I used Fluent to verify the case. In Fluent i used for bc's Presure inlet (total pressure and tempreture) and pressure Outlet (static pressure).

Now i want to reply these bc's in Foam, but i dont no how.

I'am trying with these, please tell me if i'm rigth.

FOR PRESSURE:
internalField uniform 126453;
boundaryField
{
sidewalls
{
type zeroGradient;
}

up_wall
{
type zeroGradient;
}

low_wall
{
type zeroGradient;
}
inlet
{
type totalPressure;
p0 uniform 150000;

gamma 1.4;
value uniform 150000;
}
outlet
{
type fixedValue;
value uniform 126453;
}

}

FOR VELOCITY

internalField uniform (0 0 0);

boundaryField
{
sidewalls
{
type zeroGradient;
}

up_wall
{
type zeroGradient;
}
low_wall
{
type zeroGradient;
}
inlet
{

type zeroGradient;

}

outlet
{

type zeroGradient;

}

}

FOR TEMPERATURE
dimensions [0 0 0 1 0 0 0];

internalField uniform 300;

boundaryField
{
sidewalls
{
type zeroGradient;
}

up_wall
{
type zeroGradient;
}
low_wall
{
type zeroGradient;
}
inlet
{
type fixedValue;
value uniform 300;
}
outlet
{

type inletOutlet;
inletValue uniform 300;

}
}

Thanks in advance

CX
xisto is offline   Reply With Quote

 


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
Wind turbine simulation Saturn CFX 58 July 3, 2020 01:13
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 05:21
Help needed with laminar couette flow boundary conditions bengt OpenFOAM Running, Solving & CFD 0 March 19, 2009 08:25
boundary conditions for boundary layer flow A. Al-zoubi CFX 0 November 3, 2007 07:11
compressible flow boundary conditions yangqing FLUENT 2 January 22, 2002 10:19


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