CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Boundary conditions (http://www.cfd-online.com/Forums/openfoam/109492-boundary-conditions.html)

zaynah04 November 19, 2012 07:38

Boundary conditions
 
Hi

in Gambit my velocity inlet was 4m/s how do I enter the same value for my Boundary condition in openFoam?


Thanksss
zaynah

Traib November 19, 2012 10:28

Hi zaynah,

You can set the velocity boundary condition in 0/U dictionary using fixedValue boundary condition:

inlet
{
type fixedValue;
value 4.0;
}

.. (set other boundaries similarly)

zaynah04 November 19, 2012 10:29

thanks am doing ....

meindert November 19, 2012 11:07

Did you take the time to read the User Guide? It would be a good start...

zaynah04 November 19, 2012 11:33

yes i did...

but it does not explain many things on boundary that i wished to know..:(

Lieven November 19, 2012 11:59

Have a good look at the tutorials that come with the OF installation. Having a look at examples is often more explanatory than the manual.

Just a small detail, if you add 'uniform' to the value- on field in fixedValue if you don't want to get a warning:

Quote:

inlet
{
type fixedValue;
value uniform 4.0;
}

Ahmed Khattab November 19, 2012 19:16

velocity value
 
Quote:

Originally Posted by Lieven (Post 393007)
Have a good look at the tutorials that come with the OF installation. Having a look at examples is often more explanatory than the manual.

Just a small detail, if you add 'uniform' to the value- on field in fixedValue if you don't want to get a warning:


just a remark you should enter U in vector form,

value uniform (4 0 0);

but you can put the pressure in scalar form,

value uniform 4;

good luck.:)


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