CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Floating point exception crash at writeInterval (https://www.cfd-online.com/Forums/openfoam-solving/168190-floating-point-exception-crash-writeinterval.html)

matthiasd March 17, 2016 05:06

Floating point exception crash at writeInterval
 
Hi,

I am very new to OpenFOAM, so this initial post might miss some important information. But I will provide as much information as I can, if you could hint me in the right direction :-)

My Problem is as follows:
I have a quite simple cube-setup where I try to test a solver made by a colleague. This solver is basically a modified buoyantBoussinesqPimpleFoam.
I have no Problems when running it with the cluster version of OpenFOAM(3.0.0). But as I had to do some changes I decided to compile my own OpenFOAM version from github (3.0.x).

With this version my solver crashes with a Floating point exception exactly at the given writeInterval with the following error:
Code:

#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::sigFpe::sigHandler(int) at ??:?
#2  ? in "/lib64/libc.so.6"
#3  Foam::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) at ??:?
#4  Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::operator/<Foam::fvPatchField, Foam::volMesh (Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > const&) at ??:?
#5  ? at ??:?
#6  __libc_start_main in "/lib64/libc.so.6"
#7  ? at ??:?

The results before the crash look alright. No wired numbers, all iterations done within few runs, etc.
I can even do the run with the cluster-version until the first writeInterval and then continue from that point with the selfcompiled version. It then crashes at the next writeInterval.

So I am not sure if the error above does say something to you (it sure doesn't help me very much...). But I would much appreciate if you could at least point me in some direction.

And as I said, let me know what further information could help to understand that problem.

Cheers,
Matthias


All times are GMT -4. The time now is 09:25.