|
[Sponsors] |
June 27, 2013, 10:50 |
error: Floating point exception
|
#1 |
New Member
suhas jain suresh
Join Date: Aug 2012
Location: Stanford, USA
Posts: 27
Rep Power: 13 |
Hi everyone,
I am trying to implement level Set Method in OpenFoam, but I got this error in pEqn.H. I have not changed anything in "pEqn.H" or related to that. Any advice? " #0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #1 Foam::sigFpe::sigHandler(int) in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #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 in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #4 Foam::GAMGSolver::Vcycle(Foam::PtrList<Foam::lduMa trix::smoother> const&, Foam::Field<double>&, Foam::Field<double> const&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::PtrList<Foam::Field<double> >&, Foam::PtrList<Foam::Field<double> >&, unsigned char) const in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #5 Foam::GAMGSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #6 Foam::fvMatrix<double>::solveSegregated(Foam::dict ionary const&) in "/opt/openfoam220/platforms/linux64GccDPOpt/lib/libfiniteVolume.so" #7 Foam::fvMatrix<double>::solve(Foam::dictionary const&) at /opt/openfoam220/src/finiteVolume/lnInclude/fvMatrixSolve.C:81 #8 at ~/OpenFOAM/suhas-2.2.0/applications/solvers/levelSetFoam/pEqn.H:37 #9 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #10 in "/home/suhas/OpenFOAM/suhas-2.2.0/platforms/linux64GccDPOpt/bin/levelSetFoam" Floating point exception " Thanks, |
|
July 5, 2013, 04:33 |
|
#2 |
Member
Nicklas Linder
Join Date: Jul 2012
Location: Germany
Posts: 35
Rep Power: 13 |
Hi,
I can recommend to build a OF-Version with debugging enabled. That helped me with the same kind of error http://openfoamwiki.net/index.php/Ho...UG_-_libraries your problem might be a division by zero, or infinity or a multiplication of fields of different size. I also thought the problem was in the pEqn.H but i turned out it was a lot earlier.. Greetings Nicklas |
|
July 5, 2013, 04:57 |
|
#3 |
New Member
suhas jain suresh
Join Date: Aug 2012
Location: Stanford, USA
Posts: 27
Rep Power: 13 |
Hi Nicklas,
Thank you for the reply. I found out the error using nemiver. There was a mistake in defining Heaviside function which gave an error in pEqn.H. Now everything's working fine!!.. Thanks, |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ercoftac centrifugal pump case study bug, Openfoam 1.6-ext (Floating point exception) | ArianeJasmin | OpenFOAM Programming & Development | 1 | April 4, 2012 14:11 |
simpleFoam Floating point exception error -help | sudhasran | OpenFOAM Running, Solving & CFD | 3 | March 12, 2012 16:23 |
Finished simulation doesn't start: floating point exception [Divide by zero] | MaxCFD | STAR-CCM+ | 3 | June 26, 2011 10:31 |
Flouting point exception twoPhaseEulerFoam - I set delta t | cristina87 | OpenFOAM | 1 | May 26, 2011 15:35 |
Cannot Open .sim (Floating Point Exception) | trex930 | STAR-CCM+ | 1 | July 30, 2010 06:51 |