CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Question: BC openFOAM vs. FLUENT (http://www.cfd-online.com/Forums/openfoam/82813-question-bc-openfoam-vs-fluent.html)

oehmu December 6, 2010 18:51

Question: BC openFOAM vs. FLUENT
 
Hi,

I would like to know if it is possible to I implement a boundary condition which is pressure outlet with a target mass flow rate (name in FLUENT) in OpenFOAM. I want to fix the mass flow rate at an outlet. Im modeling a steady flow with a k-e model in a river and I need to emulate the same conditions that in FLUENT in order to compare the results.

Thanks in advance

markusrehm December 7, 2010 05:02

Hello,

check if

pressureDirectedInletOutletVelocity

is appropriate for you:

http://foam.sourceforge.net/doc/Doxy...209dbc1d9.html

Markus

oehmu December 14, 2010 17:14

question and tks
 
Hi Markus tks for your help.

Im setting a case of a river flow using simpleFOAM, one inlet one outlet, given the water levels. I set for the U file in 0 folder the following boundary conditions:

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
//inlet
mass_flow_inlet_4
{
type flowRateInletVelocity;
flowRate 6300;
value uniform (0 0 0);
}

//outlet
pressure_outlet_8
{
type flowRateInletVelocity;
flowRate -6300;
value uniform (0 0 0);
}

//upperWall
wall_6
{
type fixedValue;
value uniform (0 0 0);
}

//lowerWall
river_bed_5
{
type fixedValue;
value uniform (0 0 0);
}

//frontAndBack
ws_profile_7
{
type symmetryPlane;
}
}
I set at the pressure outlet an output discharge, my questions are: is this ok? do i need to set a boundary condition for p ?

thanks in advance,


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