CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Problem with both parallel and serial

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   September 30, 2011, 17:27
Default Problem with both parallel and serial
New Member
Chenguang Li
Join Date: Sep 2011
Posts: 14
Rep Power: 5
lcg44 is on a distinguished road
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:rintStack(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.
lcg44 is offline   Reply With Quote

Old   October 1, 2011, 15:02
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,894
Rep Power: 26
alberto will become famous soon enoughalberto will become famous soon enough
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.
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image.
OpenQBMM - An open-source implementation of quadrature-based moment methods
alberto is offline   Reply With Quote

Old   October 1, 2011, 17:13
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,258
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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

Last edited by wyldckat; October 1, 2011 at 17:16. Reason: see "edit:"
wyldckat is offline   Reply With Quote

Old   October 1, 2011, 22:50
New Member
Chenguang Li
Join Date: Sep 2011
Posts: 14
Rep Power: 5
lcg44 is on a distinguished road
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!
lcg44 is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
different results between serial solver and parallel solver wlt_1985 FLUENT 10 April 11, 2012 15:25
Serial OK parallel failsmesh conversion problem r2d2 OpenFOAM Running, Solving & CFD 15 July 31, 2008 15:04
Help: Serial code to parallel but even slower Zonexo Main CFD Forum 4 May 14, 2008 10:26
Problem with Parallel not with Serial iyer_arvind OpenFOAM Running, Solving & CFD 0 September 18, 2006 06:03
parallel mode - small problem? co2 FLUENT 2 June 1, 2004 23:47

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