CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   initial velocity field with a pressure difference (http://www.cfd-online.com/Forums/openfoam-solving/66740-initial-velocity-field-pressure-difference.html)

 sven82 July 23, 2009 04:20

initial velocity field with a pressure difference

hi,

Im not really sure about my initial fields, and i hope everyone help me with this problem.
first of all I create a simple geometries.
For the next step I will initial my p and U fields
.
The problem now my velocity field is define by a pressure difference .

The question is that the correct definition, for this problem?

/************************************** p *************/
outlet
{
type fixedValue;
value uniform -50000;
}
inlet
{
}
.
.
.
/************************************************** ***/

/************************************** U *************/
outlet
{
}
inlet
{
}
.
.
.
/************************************************** ***/

 Schag July 23, 2009 04:59

Hi,

I think there is something missing here.
If you want your flow to be defined by a pressure difference, you have to put fixedValue to outlet AND inlet, otherwise your domain is going to have a uniform relative pressure equal to -50000, and in theory no velocity...

For further precision, we'll need explanations on geometry, solver used...

 kjetil July 23, 2009 05:05

Also, this seems to be the boundary condition - not actually the initial field? The initial condition can be set in the internalField, located above you boundaryField. For example internalField uniform <your-number>; .

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