CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Hydraulic Pipe Flow, which solver & BC:s? (https://www.cfd-online.com/Forums/openfoam-solving/97003-hydraulic-pipe-flow-solver-bc-s.html)

magjohan February 7, 2012 04:16

Hydraulic Pipe Flow, which solver & BC:s?
 
Hi!

Im trying to run a hydraulic pipe flow case. The case is basically very simple, more or less a pipe with a converget-divergent nozzle. Im assumed to know the inlet pressure and outlet pressure. Nothing else, i.e unknown velocities.

1. Initially, which solver should i use?
I've tried with simpleFoam

2. Which pressure BCs should i use?
My set-up now looks like this:

boundaryField
{
inlet
{
type fixedValue;
value uniform 12000000;
}
wall
{
type zeroGradient;
}
outlet
{
type fixedValue;
value uniform 2000000;
}
}

3. Which U BCs should i use?
Im now using a set-up like this
{
inlet
{
type pressureInletOutletVelocity; ;
value uniform (0 0 0);
}
wall
{
type fixedValue;
value uniform (0 0 0);
}
outlet
{
type pressureInletOutletVelocity;
value uniform (0 0 0);
}
}

I've also tried zeroGradient without success!


Plz help me out, its so easy to setup using Ansys CFX, a verification in OF would be preferable!

BR
/magjohan

Andrev February 7, 2012 10:50

U zeroGradient inlet
 
Did you try to set U as zeroGradient in the inlet BC ?
I mean :
{
inlet
{
type zeroGradient;
}
wall
{
type fixedValue;
value uniform (0 0 0);
}
outlet
{
type pressureInletOutletVelocity;
value uniform (0 0 0);
}

Abhinay Kulkarni February 8, 2012 09:52

Hi johan,

I am a new to openfoam and cfd in general.
I want to simulate a steady state, compressible flow of air through a bent pipe. Which solver can i use for this in Openfoam??

It would be great to get some help regarding my problem.

Thanking you in advance

Regards
Abhinay

magjohan February 8, 2012 16:02

Hi, I have tried with the mentioned boundary conditions, without any good results.

Andrev: I would make it simple and use the already implemented rhoSimplecFoam

yipiyaya8 February 28, 2012 06:58

Quote:

Originally Posted by magjohan (Post 343457)
Hi, I have tried with the mentioned boundary conditions, without any good results.

Andrev: I would make it simple and use the already implemented rhoSimplecFoam


Hi Johan, do u have any improvement?

My case is i know inlet T, P and Velocity...also outlet T, P....

Hoever i want to let the openfoam to calculate the outlet Velocity ...I tried to use

oulet
{
type pressureInletOutletVelocity;
value uniform (0 0 0);
}


but i dont know if setting value uniform (0 0 0); is correct or not?!
}


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