CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

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

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 3, 2012, 12:09
Default Foam::error::printStack(Foam::Ostream&)- please help me!
  #1
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
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 is offline   Reply With Quote

Old   November 6, 2012, 07:24
Default
  #2
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
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??!?
adambarfi is offline   Reply With Quote

Old   March 15, 2013, 01:22
Post Hello adambarfi,
  #3
Senior Member
 
T. Chourushi
Join Date: Jul 2009
Posts: 321
Blog Entries: 1
Rep Power: 18
Tushar@cfd is on a distinguished road
In your case Co seems to be decreasing during the simulation..
Tushar@cfd is offline   Reply With Quote

Old   July 16, 2013, 02:24
Default
  #4
Member
 
Mohammad Bahreini
Join Date: Dec 2012
Posts: 36
Rep Power: 13
mecman is on a distinguished road
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:rintStack(Foam::Ostream&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
plz help
regard
mecman is offline   Reply With Quote

Old   July 16, 2013, 03:02
Default
  #5
Senior Member
 
adambarfi's Avatar
 
Mostafa Mahmoudi
Join Date: Jan 2012
Posts: 322
Rep Power: 15
adambarfi is on a distinguished road
Send a message via Yahoo to adambarfi Send a message via Skype™ to adambarfi
Quote:
Originally Posted by mecman View Post
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:rintStack(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
adambarfi is offline   Reply With Quote

Old   July 16, 2013, 03:36
Default
  #6
Member
 
Mohammad Bahreini
Join Date: Dec 2012
Posts: 36
Rep Power: 13
mecman is on a distinguished road
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:rintStack(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:bjectRegistry::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:imensionedField<double, Foam::volMesh>:imensionedField(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:perator*<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 is offline   Reply With Quote

Old   July 16, 2013, 03:48
Default
  #7
Member
 
Mohammad Bahreini
Join Date: Dec 2012
Posts: 36
Rep Power: 13
mecman is on a distinguished road
i'm very confused...now i just want runing a toturial case (interphasechangeFoam-cavitating Bulet) again,and same error for that! what Happen!!
mecman is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 06:40.