Outlet Boundary Condition for MassFLow at inlet? - BuoyantBoussinesqSimpleFoam
1 Attachment(s)
Hi
I have imposed the inlet boundary condition: inlet { type flowRateInletVelocity; massFlowRate constant 0.04; rho rho; rhoInlet 1; } I had zeroGradient for outlet BC but receive an error like so: FOAM FATAL ERROR: Continuity error cannot be removed by adjusting the outflow. Please check the velocity boundary conditions and/or run potentialFoam to initialise the outflow. Total flux : 0.00932974 Specified mass inflow : 0.04 Specified mass outflow : 0 Adjustable mass outflow : 1.59195e-18 I am using buoyantBoussinesqSimpleFoam any help would be appreciated |
Hi,
I use bouyantSimpleFoam and for the U I use inlet { type flowRateInletVelocity; massFlowRate constant 0.01; value uniform (0 0 0); } outlet { type inletOutlet; value uniform (0 0 0); inletValue uniform (0 0 0); } maybe it could help Atlan |
Hello atlan,
1. Continuity error cannot be removed by adjusting the outflow. This means you are trying to calculate closed geometry with only inlet field. So to make things flow there must be an outlet, and this is main issue. There are several tutorials with simpleFoam, rhoSimpleFoam, simpleFoam with Boussinesq approximation where outlet have zeroGradient BC. More BC`s are here: http://foam.sourceforge.net/docs/cpp/a10486.html Try it, should work. seav |
All times are GMT -4. The time now is 10:10. |