FOAM FATAL ERROR: Continuity error cannot be removed by adjusting the outflow.
Hello,
I'm trying to run a simulation it gives the following error: Code:
--> FOAM FATAL ERROR: This are the initial conditions for velocity and pressure: Velocity Code:
dimensions [0 1 -1 0 0 0 0]; Code:
dimensions [0 2 -2 0 0 0 0]; Does anyone know how to help me? |
Hi,
you could try to set the pressure outlet boundary to type fixedValue; value uniform 0; Keep the other settings as you posted it here. |
Found the solution.
The error was that in the output patch both velocity and pressure were set to zeroGradient. By setting an outlet pressure the solution could be found! Thanks anyway |
Just found out. Thanks anyway HorstPeter!
|
Mixing elbow
Hello
I am new comer to open Foam. could you please somebody help me for this alarm. --> FOAM FATAL IO ERROR: keyword inletValue is undefined in dictionary "/home/farshad/Desktop/elbow/0/k.boundaryField.pressure-outlet-7" file: /home/farshad/Desktop/elbow/0/k.boundaryField.pressure-outlet-7 from line 35 to line 36. From function dictionary::lookupEntry(const word&, bool, bool) const in file db/dictionary/dictionary.C at line 402. FOAM exiting |
This alarm says that you haven't defined a value for k.
This might be a better thread for you: https://www.cfd-online.com/Forums/op...condition.html |
BC for Outlet
Quote:
hi how did you set your BC for outlet I become the same error message but I couldn't fix it thx for your help |
Hi getting a same error, can anybody help ??
velocity
dimensions [0 1 -1 0 0 0 0]; internalField uniform (0 0 0); boundaryField { upperWall { type noSlip; } frontAndBack { type noSlip; } lowerWall { type noSlip; } inlet1 { type fixedValue; value uniform (8 0 0); } inlet2 { type fixedValue; value uniform (10 0 0); } outlet { type pressureInletOutletVelocity; value uniform (0 0 0); } defaultFaces { type empty; } } Pressure [p_rgh] dimensions [1 -1 -2 0 0 0 0]; internalField uniform 0; boundaryField { upperWall { type fixedFluxPressure; value uniform 0; } frontAndBack { type fixedFluxPressure; value uniform 0; } lowerWall { type fixedFluxPressure; value uniform 0; } inlet1 { type fixedFluxPressure; value uniform 0; } inlet2 { type fixedFluxPressure; value uniform 0; } outlet { type fixedFluxPressure; value uniform 0; } defaultFaces { type empty; } } |
All times are GMT -4. The time now is 17:30. |