|
[Sponsors] |
October 11, 2017, 22:04 |
Floating point exception (core dumped)
|
#1 |
Senior Member
cyln
Join Date: Jul 2016
Posts: 102
Rep Power: 10 |
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 --> FOAM Warning : From function void Foam::lduMatrix::operator-=(const Foam::lduMatrix&) in file matrices/lduMatrix/lduMatrix/lduMatrixOperations.C at line 286 Unknown matrix type combination this : diagonal:0 symmetric:0 asymmetric:1 A : diagonal:0 symmetric:0 asymmetric:0 Normalisation factor = 87582.7 smoothSolver: Iteration 0 residual = 1 smoothSolver: Iteration 4 residual = 8.65356e-09 smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 8.65356e-09, No Iterations 4 Normalisation factor = 0.0721236 smoothSolver: Iteration 0 residual = 0.743557 smoothSolver: Iteration 4 residual = 5.10218e-05 smoothSolver: Solving for Uy, Initial residual = 0.743557, Final residual = 5.10218e-05, No Iterations 4 Normalisation factor = 0.0705167 smoothSolver: Iteration 0 residual = 0.802723 smoothSolver: Iteration 4 residual = 4.89182e-05 smoothSolver: Solving for Uz, Initial residual = 0.802723, Final residual = 4.89182e-05, No Iterations 4 #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::divide(Foam::Field<double>&, double const&, Foam::UList<double> const&) at ??:? #4 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::operator/<Foam::fvPatchField, Foam::volMesh>(Foam::dimensioned<double> const&, Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > const&) in "/opt/openfoam4/platforms/linux64GccDPInt32Opt/bin/pimpleFoam" #5 ? in "/opt/openfoam4/platforms/linux64GccDPInt32Opt/bin/pimpleFoam" #6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #7 ? in "/opt/openfoam4/platforms/linux64GccDPInt32Opt/bin/pimpleFoam" Floating point exception (core dumped) |
|
October 31, 2017, 05:39 |
|
#2 |
New Member
|
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. |
|
October 31, 2017, 14:33 |
|
#3 |
Senior Member
cyln
Join Date: Jul 2016
Posts: 102
Rep Power: 10 |
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? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Floating Point Exception Error | nyox | FLUENT | 11 | November 30, 2018 13:31 |
Floating point exception (core dumped), running a new solver | Mahyar Javidi | OpenFOAM Running, Solving & CFD | 6 | April 7, 2018 13:43 |
simpleFoam: floating point exception | student666 | OpenFOAM Running, Solving & CFD | 9 | March 13, 2016 19:23 |
sonicFoam - Floating point eception (core dumped) | MSans | OpenFOAM Running, Solving & CFD | 12 | August 4, 2015 06:10 |
Floating point exception (core dumped) for GAMG solver | yuhou1989 | OpenFOAM Running, Solving & CFD | 2 | March 24, 2015 20:28 |