|
[Sponsors] |
October 5, 2011, 16:07 |
InterFoam and boundary conditions
|
#1 |
New Member
Matej Muller
Join Date: Oct 2011
Location: Slovenia
Posts: 25
Rep Power: 14 |
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 |
|
October 6, 2011, 13:58 |
InterFoam and boundary conditions
|
#2 |
Senior Member
ata kamyabi
Join Date: Aug 2009
Location: Kerman
Posts: 323
Rep Power: 17 |
Hi
You can use totalPressure for p_rgh and pressureInletOutletVelocity for U and zeroGradient for alpha1 Good luck |
|
October 7, 2011, 08:46 |
|
#3 |
New Member
Matej Muller
Join Date: Oct 2011
Location: Slovenia
Posts: 25
Rep Power: 14 |
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
|
|
October 7, 2011, 12:28 |
|
#4 |
Senior Member
ata kamyabi
Join Date: Aug 2009
Location: Kerman
Posts: 323
Rep Power: 17 |
Hi
Not exactly. You can see the source code for details. Good luck Ata |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlet boundary condition for wave flume with interFoam solver | Arnoldinho | OpenFOAM | 9 | July 10, 2018 05:15 |
Different boundary conditions between OF-1.6 and OF-1.7.1 for interFoam | aha | OpenFOAM | 16 | August 6, 2012 06:39 |
Boundary Conditions for internal faces in 3D interFoam | unikrsn | OpenFOAM | 9 | September 27, 2011 12:09 |
Boundary conditions when simulating injection molding | skovhus | OpenFOAM | 2 | April 6, 2010 08:22 |
Creating new boundary conditions from existing ones | rassilon | OpenFOAM Running, Solving & CFD | 0 | February 12, 2010 02:43 |