CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   BC for Bernoulli's principle (https://www.cfd-online.com/Forums/openfoam-pre-processing/86803-bc-bernoullis-principle.html)

ST1 April 2, 2011 11:00

BC for Bernoulli's principle
 
Hi colleagues,
If I want to set the velocity on inlet end and pressure on outlet, correct if the next?

1) Input pressure

internalField uniform 0;

bottom
{
type buoyantPressure;
value uniform 0;
}

top
{
type fixedValue;
value uniform 17387000; //173.87bar
}
......
}

2) Output velocity


internalField uniform (0 0 0);

boundaryField
{
bottom
{
type fixedValue;
value uniform ( 0 0 1.95 );
}

top
{
type inletOutlet;
inletValue uniform (0 0 0);
value uniform (0 0 0);
}

......
}


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