CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   interFoam open channel (https://www.cfd-online.com/Forums/openfoam-solving/96987-interfoam-open-channel.html)

Gildeh February 6, 2012 15:39

interFoam open channel
 
Hello every body,

I am pretty new in using of OpenFoam. I am trying to solve a problem with OpenFoam and I am using interFoam solver, laminar. However, I have problem in my inlet.
I think the problem should be in inlet boundary condition. I am modeling an open channel that at the top I have a small inlet which creates a water jet that comes down from air phase into the water phase.And I do not have outlet. But when I define my boundary conditions as below:
for 0/alpha1
inlet
{
type fixedValue;
value uniform 1;

}
and for 0/U
inlet
{
type fixedValue;
value uniform (4 0 0);
}
and for 0/P_rgh
{

type buoyantPressure;
value uniform 0;
}
I do not have a continuous water entry in the inlet. It looks like that at time 0 the condition is water but when the program runs it is just air in the inlet. How can I figure out this problem?
If any body knows what should I do, please let me know. Because I think this is a pretty simple problem and I am missing some small items maybe in boundary conditions that I can not see a continuous water flow in my inlet.

Thank you indeed in anticipation.

Gildeh


All times are GMT -4. The time now is 22:02.