|
[Sponsors] |
June 16, 2015, 10:38 |
LTSInterFoam BC problem
|
#1 |
New Member
xu cong
Join Date: Jun 2015
Posts: 4
Rep Power: 10 |
Hello Foamers
I am new to Openfoam and I am doing a simulation about drainage,you can see model I use from the attachment length=5.5m width=3m depth=0.1m The left side is inlet (Q=20 L/s) The right side is outlet and there is a gully on the bottom.(we can assume the gully is the second outlet) The top floor is atmosphere. I used the LTSInterFoam for simulation because I heard this Foam is faster than interFoam.However, I found some very strange result after simulation: 1.As you can see in the attachment, the water cannot get into the gully. 2.The flow rate of inlet is not equal to the flow rate of two outlets. I think it should be the problem of boundary condition, but I don't know which one it is. So I listed my files U/P_pgh/alpha, I hope someone could help me. P_pgh Code:
dimensions [1 -1 -2 0 0 0 0]; internalField uniform 0; boundaryField { inlet { type buoyantPressure; value uniform 0; } outlet { type zeroGradient; } outlet2 { type zeroGradient; } sides { type buoyantPressure; value uniform 0; } atmosphere { type totalPressure; p0 uniform 0; U U; phi phi; rho rho; psi none; gamma 1; value uniform 0; } lowerwall { type buoyantPressure; value uniform 0; } } Code:
dimensions [0 1 -1 0 0 0 0]; internalField uniform (0 0 0); boundaryField { inlet { type flowRateInletVelocity; volumetricFlowRate constant 20e-3; rhoInlet 1000; } outlet { type zeroGradient; } outlet2 { type zeroGradient; } sides { type fixedValue; value uniform (0 0 0); } atmosphere { type pressureInletOutletVelocity; value uniform (0 0 0); } lowerwall { type fixedValue; value uniform (0 0 0); } } Code:
dimensions [0 0 0 0 0 0 0]; internalField uniform 0; boundaryField { inlet { type inletOutlet; inletValue uniform 1; value uniform 1; } outlet { type zeroGradient; } sides { type zeroGradient; } atmosphere { type inletOutlet; inletValue uniform 0; value uniform 0; } lowerwall { type zeroGradient; } outlet2 { type zeroGradient; } } Any help would be great, thank you so much! |
|
Tags |
boundary condition, flow rate, multiphase flow |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 04:43 |
Gambit - meshing over airfoil wrapping (?) problem | JFDC | FLUENT | 1 | July 11, 2011 05:59 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 06:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 19:13 |
Is this problem well posed? | Thomas P. Abraham | Main CFD Forum | 5 | September 8, 1999 14:52 |