InterFoam and boundary conditions
Hello!
I'm new in CFD so please excuse my ignorance. I want to simulate a 3D flow in a channel with free surface and an inflow and outflow boundary. I'm using interFoam to do this, but i can't get the boundary conditions right. I have tried on the inlet boundary to use a fixed value for U, zerogradient for p and fixed value for alpha, but i don't know what to prescribe on the outlet boundary (inletOutlet for U and totalPressure for p?). Please help me on this, Thanks, Matej 
InterFoam and boundary conditions
Hi
You can use totalPressure for p_rgh and pressureInletOutletVelocity for U and zeroGradient for alpha1 Good luck 
Thank you for your answer...I don't know if i understand this totalPressure boundary, does this mean than you prescribe a constant total energy and the water surface then adjusts itself according to the calculated velocity? Is the pressureInletOutletVelocity boundary for U as a zerogradient for the outflow? thanks

Hi
Not exactly. You can see the source code for details. Good luck Ata 
All times are GMT 4. The time now is 23:06. 