CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   How to set velocity-inlet as a boundary of a tank in interfoam? (http://www.cfd-online.com/Forums/openfoam/111467-how-set-velocity-inlet-boundary-tank-interfoam.html)

waynezoon January 8, 2013 02:57

How to set velocity-inlet as a boundary of a tank in interfoam?
 
Dear,
I am a new hand,How to set velocity-inlet as a boundary of a tank in interfoam? thank you!

fabian_roesler January 8, 2013 11:28

Hi,

I would just fixedValue for velocity and alpha. So 0 if you want an gas inlet and 1 if you want liquid inlet.

boundary velocity
{
type fixedValue;
value uniform (X Y Z);
}

boundary alpha
{
type fixedValue;
value uniform 1;
}

Regards

Fabian

Andrea1984 January 9, 2013 12:04

Hi,

In alternative you can specify the volumetric mass flow rate as

INLET
{
type flowRateInletVelocity;
flowRate constant xyz;
value uniform (0 0 0);
}

Andrea

bioexplore January 11, 2013 10:30

Quote:

Originally Posted by fabian_roesler (Post 400751)
Hi,

I would just fixedValue for velocity and alpha. So 0 if you want an gas inlet and 1 if you want liquid inlet.

boundary velocity
{
type fixedValue;
value uniform (X Y Z);
}

boundary alpha
{
type fixedValue;
value uniform 1;
}

Regards

Fabian

Then, how to set the pressure boundary?


All times are GMT -4. The time now is 15:07.