Sunday, December 9, 2018

owh....how do I run to prevent floating point exceptions???? Here is an example here....

For running the case:

https://github.com/bshambaugh/openfoam-experiments/tree/master/bkup_BS_JG_pitzDaily

Time = 28

smoothSolver:  Solving for Ux, Initial residual = 0.223626, Final residual = 0.00841321, No Iterations 1
smoothSolver:  Solving for Uy, Initial residual = 0.123804, Final residual = 0.0119879, No Iterations 2
smoothSolver:  Solving for Uz, Initial residual = 0.0302533, Final residual = 0.00182838, No Iterations 2
#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::sigFpe::sigHandler(int) at ??:?
#2  ? in "/lib/x86_64-linux-gnu/libc.so.6"
#3  Foam::GAMGSolver::scale(Foam::Field<double>&, Foam::Field<double>&, Foam::lduMatrix const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, Foam::Field<double> const&, unsigned char) const at ??:?
#4  Foam::GAMGSolver::Vcycle(Foam::PtrList<Foam::lduMatrix::smoother> const&, Foam::Field<double>&, Foam::Field<double> const&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::PtrList<Foam::Field<double> >&, Foam::PtrList<Foam::Field<double> >&, unsigned char) const at ??:?
#5  Foam::GAMGSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
#6  Foam::fvMatrix<double>::solveSegregated(Foam::dictionary const&) at ??:?
#7  Foam::fvMatrix<double>::solve(Foam::dictionary const&) at ??:?
#8  Foam::fvMatrix<double>::solve() at ??:?
#9  ? at ??:?
#10  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#11  ? at ??:?
Floating point exception (core dumped)

See error message:
https://www.cfd-online.com/Forums/openfoam-solving/122962-floating-point-exception-core-dumped.html

See Also::

https://www.cfd-online.com/Forums/openfoam-solving/58365-simplefoam-convergence-problems.html

Try initializing with OpenFoam:
https://www.cfd-online.com/Forums/openfoam-solving/107559-initialization-potentialfoam.html

No comments:

Post a Comment