Floating point exception (core dumped)
Hello, I am having error due to division by zero. I checked all my BCs. Everything looks fine. Any idea about what the problem is?
Code:
PIMPLE: iteration 1 |
As indicated, there should be a "divide by zero" for fields algebra.
You can try the full debug build to get the exact function "Foam::divide" taking arg (Field<T>, T, UList<T>). Or try turn on debugSwitch to help locate the function. |
Thank you kindle,
When I type "unset FOAM_SIGFPE", I get rid of this error. However, I cannot manage to converge my simulation. My momentum equations are not converging. May this have an effect on converge? |
Well, you don't get rid of the problem by unsetting/ignoring the Error. The Info you get above means that there is a division by zero happening and you have to deal with that.
|
All times are GMT -4. The time now is 12:14. |