CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Problem with both parallel and serial (

lcg44 September 30, 2011 17:27

Problem with both parallel and serial
Hi, when I run interFoam I meet this error, both in parallel and serial, I can't understand what causes this. Could you help me?

#0 Foam::error::printStack(Foam::Ostream&) in "/work/c28li/hound/OpenFOAM201/OpenFOAM-2.0.1/platforms/linux64GccDPOpt/lib/"
#1 Foam::sigFpe::sigHandler(int) in "/work/c28li/hound/OpenFOAM201/OpenFOAM-2.0.1/platforms/linux64GccDPOpt/lib/"
#2 __restore_rt at sigaction.c:0
#3 Foam::GAMGSolver::scalingFactor(Foam::Field<double >&, Foam::Field<double> const&, Foam::Field<double> const&, Foam::Field<double> const&) const in "/work/c28li/hound/OpenFOAM201/OpenFOAM-2.0.1/platforms/linux64GccDPOpt/lib/"
#4 Foam::GAMGSolver::scalingFactor(Foam::Field<double >&, Foam::lduMatrix const&, Foam::Field<double>&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, Foam::Field<double> const&, unsigned char) const in "/work/c28li/hound/OpenFOAM201/OpenFOAM-2.0.1/platforms/linux64GccDPOpt/lib/"
#5 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 "/work/c28li/hound/OpenFOAM201/OpenFOAM-2.0.1/platforms/linux64GccDPOpt/lib/"
#6 Foam::GAMGSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in "/work/c28li/hound/OpenFOAM201/OpenFOAM-2.0.1/platforms/linux64GccDPOpt/lib/"
#7 Foam::fvMatrix<double>::solve(Foam::dictionary const&) in "/work/c28li/hound/OpenFOAM201/OpenFOAM-2.0.1/platforms/linux64GccDPOpt/lib/"
#8 main in "/work/c28li/hound/OpenFOAM201/OpenFOAM-2.0.1/platforms/linux64GccDPOpt/bin/interFoam"
#9 __libc_start_main in "/lib64/"
#10 Foam::regIOobject::writeObject(Foam::IOstream::str eamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType) const in "/work/c28li/hound/OpenFOAM201/OpenFOAM-2.0.1/platforms/linux64GccDPOpt/bin/interFoam"
/var/spool/torque/mom_priv/jobs/335481.saw-admin.saw.sharcnet.SC: line 3: 29480 Floating point exceptioninterFoam

Thank you very much.

alberto October 1, 2011 15:02

The provided information does not seem sufficient. When does this happen? If it is at the beginning of the simulation, and the tutorial runs fine, probably you should check the setup of your case.

wyldckat October 1, 2011 17:13

Greetings Chenguang Li and welcome to the forum!

I had that problem, namely with "GAMGSolver::scalingFactor" or something similar to that the other day, and I vaguely remember that the problem was related to an excessively high maxCo value in "system/controlDict". Either that or I wasn't using the automatic deltaT adjustment.

If you had posted the lines of the latest 1 or 2 iterations, it would be easier to figure out if this was the issue or not.

The other possibility is that the mesh is damaged. Run checkMesh to confirm this.

Yet another possibility is that the parameters for using GAMG aren't sufficient for the complexity of your mesh... but unfortunately I don't know enough about it to be of any help with that :(

Best regards,

edit: Hi Alberto, didn't see you had already posted, because I had an old version of this page :)

lcg44 October 1, 2011 22:50

Thank you very much. I'll try to find which one is the right reason as you suggested.
I'm so excited that my question was answered by you so quickly. I love this forum!

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