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/)
-   -   Foam::error::printStack(Foam::Ostream&)- please help me! (https://www.cfd-online.com/Forums/openfoam-solving/108872-foam-error-printstack-foam-ostream-please-help-me.html)

adambarfi November 3, 2012 12:09

Foam::error::printStack(Foam::Ostream&)- please help me!
 
Hi everybody,

any body knows what is the meaning of this error:
Code:

#0  Foam::error::printStack(Foam::Ostream&) in "/home/mostafa/OpenFOAM/OpenFOAM-2.1.0/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#1  Foam::sigFpe::sigHandler(int) in "/home/mostafa/OpenFOAM/OpenFOAM-2.1.0/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#2  Uninterpreted:
#3  Foam::DILUPreconditioner::calcReciprocalD(Foam::Field<double>&, Foam::lduMatrix const&) in "/home/mostafa/OpenFOAM/OpenFOAM-2.1.0/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#4  Foam::DILUPreconditioner::DILUPreconditioner(Foam::lduMatrix::solver const&, Foam::dictionary const&) in "/home/mostafa/OpenFOAM/OpenFOAM-2.1.0/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#5  Foam::lduMatrix::preconditioner::addasymMatrixConstructorToTable<Foam::DILUPreconditioner>::New(Foam::lduMatrix::solver const&, Foam::dictionary const&) in "/home/mostafa/OpenFOAM/OpenFOAM-2.1.0/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#6  Foam::lduMatrix::preconditioner::New(Foam::lduMatrix::solver const&, Foam::dictionary const&) in "/home/mostafa/OpenFOAM/OpenFOAM-2.1.0/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#7  Foam::PBiCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in "/home/mostafa/OpenFOAM/OpenFOAM-2.1.0/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#8  Foam::fvMatrix<double>::solve(Foam::dictionary const&) in "/home/mostafa/OpenFOAM/OpenFOAM-2.1.0/platforms/linuxGccDPOpt/lib/libfiniteVolume.so"
#9  Foam::fvMatrix<double>::solve() in "/home/mostafa/OpenFOAM/OpenFOAM-2.1.0/platforms/linuxGccDPOpt/bin/bbvff32"
#10 
 in "/home/mostafa/OpenFOAM/OpenFOAM-2.1.0/platforms/linuxGccDPOpt/bin/bbvff32"
#11  __libc_start_main in "/lib/i386-linux-gnu/libc.so.6"
#12 
 in "/home/mostafa/OpenFOAM/OpenFOAM-2.1.0/platforms/linuxGccDPOpt/bin/bbvff32"
Floating point exception

I'm solving natural convection with a modified viscoelasticFluidFoam solver.

Thank you

adambarfi November 6, 2012 07:24

in the wiki I found this:

Quote:

There is lots of interesting information in there. It shows the type of error (sigFpe which means a division by zero or any other operation causing an invalid floating point number) and who caused it (operator/ of an fvPatchField). Further down is the origin, kEpsilon::correct(), which obviously does some divisions. A good guess is that one of the patch fields of k or epsilon is 0.
but I check whole the code I have written before and I checked the boundary conditions. there isn't any divide by zero and also I didn't use kEpsilon.

I'm still struggling with this error :(. is here anybody knows the source of this error??!?

Tushar@cfd March 15, 2013 01:22

Hello adambarfi,
 
In your case Co seems to be decreasing during the simulation..

mecman July 16, 2013 02:24

Hi Mostafa
i have same error when i modified interphasechangeFoam solver and add Temp Eq...:(
now,do you know how to solve this problem?
my error:
Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
plz help
regard

adambarfi July 16, 2013 03:02

Quote:

Originally Posted by mecman (Post 439927)
Hi Mostafa
i have same error when i modified interphasechangeFoam solver and add Temp Eq...:(
now,do you know how to solve this problem?
my error:
Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
plz help
regard

hi
please post the complete text of error.
your co number?

best

mecman July 16, 2013 03:36

T N Q for reply
As i said,i modified interPhasechangfoam solver and just add Temp Eq (compile without problem) ,after that i want run a tutorial case(cavitating Bulet) after modified,but i have this error:
Create time

Create mesh for time = 0


Reading g
Reading field p_rgh

Reading field alpha1

Reading field U

Reading transportProperties

Reading field T

Reading/calculating face flux field phi

Creating phaseChangeTwoPhaseMixture

Selecting phaseChange model SchnerrSauer
Selecting incompressible transport model Newtonian
Selecting incompressible transport model Newtonian
Selecting turbulence model type laminar
Calculating field g.h


PIMPLE: Operating solver in PISO mode

time step continuity errors : sum local = 1.25705e-22, global = 0, cumulative = 0
GAMG: Solving for pcorr, Initial residual = 0.992372, Final residual = 2.53967e-09, No Iterations 17
GAMG: Solving for pcorr, Initial residual = 1.2747e-09, Final residual = 1.2747e-09, No Iterations 0
time step continuity errors : sum local = 7.07088e-23, global = 0, cumulative = 0
Courant Number mean: 8.69565e-05 max: 8.69565e-05

Starting time loop

Courant Number mean: 8.69557e-05 max: 8.69557e-05
deltaT = 1.19998e-08
Time = 1.19998e-08

#0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::sigSegv::sigHandler(int) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam::HashTable<Foam::regIOobject*, Foam::word, Foam::string::hash>::resize(int) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#4 at objectRegistry.C:0
#5 Foam::objectRegistry::checkIn(Foam::regIOobject&) const in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#6 Foam::regIOobject::checkIn() in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#7 Foam::regIOobject::regIOobject(Foam::IOobject const&, bool) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#8 Foam::DimensionedField<double, Foam::volMesh>::DimensionedField(Foam::IOobject const&, Foam::fvMesh const&, Foam::dimensionSet const&, bool) in "/home/mohammad/OpenFOAM/mohammad-2.1.1/platforms/linux64GccDPOpt/bin/myInterPhaseChangeFoam"
#9
at myInterPhaseChangeFoam.C:0
#10 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::operator*<double, Foam::fvPatchField, Foam::volMesh>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensioned<double> const&) in "/home/mohammad/OpenFOAM/mohammad-2.1.1/platforms/linux64GccDPOpt/bin/myInterPhaseChangeFoam"
#11
in "/home/mohammad/OpenFOAM/mohammad-2.1.1/platforms/linux64GccDPOpt/bin/myInterPhaseChangeFoam"
#12
in "/home/mohammad/OpenFOAM/mohammad-2.1.1/platforms/linux64GccDPOpt/bin/myInterPhaseChangeFoam"
#13 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#14
in "/home/mohammad/OpenFOAM/mohammad-2.1.1/platforms/linux64GccDPOpt/bin/myInterPhaseChangeFoam"
Segmentation fault (core dumped)
regard...:)

mecman July 16, 2013 03:48

i'm very confused...now i just want runing a toturial case (interphasechangeFoam-cavitating Bulet) again,and same error for that! what Happen!!:confused::confused:


All times are GMT -4. The time now is 03:20.