No convergence
Hi,
i'm trying to simulate a 2D flow over an airfoil. I'm using the simpleFoam with a k-epsilon turbulence model, these are my system files: fvSolution: Code:
/*--------------------------------*- C++ -*----------------------------------*\ Code:
/*--------------------------------*- C++ -*----------------------------------*\ Code:
#0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam201/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" Denis |
It is easier to understand to post a larger part of the log file (before the actual error occurs).
In this case you put relTol to 0.1, which seems high to me. Try to pose a more strict condition on this one. |
1 Attachment(s)
Hi Bernhard,
thank you for your fast response. So I've changed the tol, maybe you can explain me, what´s the difference between "relTol" and "tolerance". I attached a plot of the residuals: there you can see a "zig-zacking" of all residuals and you can see that they are "bounded". Do you have an explanation for that? Denis |
Hi Denis,
I got the same error running simpleFoam, I wonder if you have resolved this issue. If so, could you post the solution? Thank you! Best, Hang |
relTol and tolerance
Hi Denis.
Both tolerance and relTol are used for terminating a sub-iteration of each equation. If the residual reaches tolerance or becomes less than the tolerance you set, then the computation of corresponding equation will be terminated. If the residual reaches or goes to below than (relTol) x (Initial residual), then the iteration will be terminated as well. When you set the relTol as 0, then the iteration will be terminated only if the final residual becomes less than the tolerance. Regards, Geon-Hong. |
All times are GMT -4. The time now is 06:16. |