CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Boundary Conditions: Pressure Inlet, Velocity Outlet (http://www.cfd-online.com/Forums/openfoam-solving/108520-boundary-conditions-pressure-inlet-velocity-outlet.html)

BigPapi34 October 25, 2012 09:05

Boundary Conditions: Pressure Inlet, Velocity Outlet
 
Hi there,

I am looking for some general assistance with regard to setting up some boundary conditions for internal flow. I have had success with setting up my cases with:

U
Inlet: fixedValue
Outlet: zeroGradient

p
Inlet: zeroGradient
Outlet: fixedValue

However, I now wish to fix the pressure at the inlet and perform analyses on what impact the varying inlet pressure has on the system. Unfortunately I have had no success so far in this regard and would be extremely grateful if anyone has any experience setting up a case in this way is willing to assist.

Any information would be great.

Cheers

fpierart May 2, 2013 06:38

Quote:

Originally Posted by BigPapi34 (Post 388481)
Hi there,

I am looking for some general assistance with regard to setting up some boundary conditions for internal flow. I have had success with setting up my cases with:

U
Inlet: fixedValue
Outlet: zeroGradient

p
Inlet: zeroGradient
Outlet: fixedValue

However, I now wish to fix the pressure at the inlet and perform analyses on what impact the varying inlet pressure has on the system. Unfortunately I have had no success so far in this regard and would be extremely grateful if anyone has any experience setting up a case in this way is willing to assist.

Any information would be great.

Cheers


Hi, could you solve your problem? I have the same problem

sharonyue May 3, 2013 03:05

Quote:

Originally Posted by BigPapi34 (Post 388481)
Hi there,

I am looking for some general assistance with regard to setting up some boundary conditions for internal flow. I have had success with setting up my cases with:

U
Inlet: fixedValue
Outlet: zeroGradient

p
Inlet: zeroGradient
Outlet: fixedValue

However, I now wish to fix the pressure at the inlet and perform analyses on what impact the varying inlet pressure has on the system. Unfortunately I have had no success so far in this regard and would be extremely grateful if anyone has any experience setting up a case in this way is willing to assist.

Any information would be great.

Cheers

Try use this B.C.:

P:
pressure-inlet-9
{
type fixedValue;
value uniform 0.2;
}
U:
pressure-inlet-9
{
type pressureInletVelocity;
phi phi;
rho rho;
value uniform (0 0 0);
}

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

mwaqas August 1, 2014 13:05

Quote:

Originally Posted by BigPapi34 (Post 388481)
Hi there,

I am looking for some general assistance with regard to setting up some boundary conditions for internal flow. I have had success with setting up my cases with:

U
Inlet: fixedValue
Outlet: zeroGradient

p
Inlet: zeroGradient
Outlet: fixedValue

However, I now wish to fix the pressure at the inlet and perform analyses on what impact the varying inlet pressure has on the system. Unfortunately I have had no success so far in this regard and would be extremely grateful if anyone has any experience setting up a case in this way is willing to assist.

Any information would be great.

Cheers

Hello BigPapi
I am also trying to solve same same internal flow problem using simpleFoam. I am facing a problem. My solution is not converging. Residuals goes upto 0.01. I wanted to ask you which boundary conditions have you used for wall for both parameters.
Thank you

Roman1 August 2, 2014 11:39

Hello. For the purpose of the modeling of the atmosphere (doors, windows) good results give the BC totalPressure with the value 101325. May be this BC with the different values will be usefull for you case.


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