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

Error message in InterFoam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 13, 2009, 06:04
Default Hi, I've adapted the geometry
  #1
New Member
 
Gareth
Join Date: Mar 2009
Posts: 24
Rep Power: 8
gareth__it_power is on a distinguished road
Hi,
I've adapted the geometry of the damBreak tutorial in InterFoam, and have checked that the blockMeshDict file is correct. blockMesh and setFields both run fine, but upon executing interFoam, the following is returned. Is it possible to tell from this error what the problem is?

Thanks

gareth

Exec : interFoam
Date : Feb 13 2009
Time : 10:03:21
Host : itpower-desktop
PID : 9203
Case : /home/itpower/OpenFOAM/itpower-1.5/run/interFoam_enclosedWalls_newMesh
nProcs : 1

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0


Reading environmentalProperties
Reading field pd

Reading field gamma

Reading field U

Reading/calculating face flux field phi

Reading transportProperties

Selecting incompressible transport model Newtonian
Selecting incompressible transport model Newtonian
Calculating field g.h

#0 Foam::error::printStack(Foam:stream&) in "/home/itpower/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libOpenFOAM.so"
#1 Foam::sigFpe::sigFpeHandler(int) in "/home/itpower/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libOpenFOAM.so"
#2 Uninterpreted: [0xb7f82420]
#3 Foam::surfaceInterpolation::makeDeltaCoeffs() const in "/home/itpower/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libfiniteVolume.so"
#4 Foam::surfaceInterpolation::deltaCoeffs() const in "/home/itpower/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libfiniteVolume.so"
#5 Foam::fvPatch::deltaCoeffs() const in "/home/itpower/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libfiniteVolume.so"
#6 Foam::fvPatchField<double>::snGrad() const in "/home/itpower/OpenFOAM/OpenFOAM-1.5/applications/bin/linuxGccDPOpt/interFoam"
#7 Foam::fv::gaussGrad<double>::correctBoundaryCondit ions(Foam::GeometricField<doub le,> const&, Foam::GeometricField<foam::vector<double>, Foam::fvPatchField, Foam::volMesh>&) in "/home/itpower/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libfiniteVolume.so"
#8 Foam::fv::gaussGrad<double>::grad(Foam::GeometricF ield<double,> const&) const in "/home/itpower/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libfiniteVolume.so"
#9 Foam::tmp<foam::geometricfield<foam::outerproduct< foam::vector<double>, double>::type, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::grad<double>(Foam::GeometricField<doubl e,> const&, Foam::word const&) in "/home/itpower/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libinterfaceProperties.so "
#10 Foam::tmp<foam::geometricfield<foam::outerproduct< foam::vector<double>, double>::type, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::grad<double>(Foam::GeometricField<doubl e,> const&) in "/home/itpower/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libinterfaceProperties.so "
#11 Foam::interfaceProperties::calculateK() in "/home/itpower/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libinterfaceProperties.so "
#12 Foam::interfaceProperties::interfaceProperties(Foa m::GeometricField<double,> const&, Foam::GeometricField<foam::vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::IOdictionary const&) in "/home/itpower/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libinterfaceProperties.so "
#13 main in "/home/itpower/OpenFOAM/OpenFOAM-1.5/applications/bin/linuxGccDPOpt/interFoam"
#14 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6"
#15 Foam::regIOobject::readIfModified() in "/home/itpower/OpenFOAM/OpenFOAM-1.5/applications/bin/linuxGccDPOpt/interFoam"
Floating point exception
gareth__it_power is offline   Reply With Quote

Old   May 25, 2011, 16:54
Default
  #2
Member
 
Walter Schostak
Join Date: May 2011
Posts: 35
Rep Power: 6
wschosta is on a distinguished road
Since this is two years later, I hope you've resolved your problem but in the event that you haven't, it looks like your error is emanating from the createFields.H file. I don't know what you changed so it's hard to say exactly what is wrong but I have been dealing with interFoam a lot in the past few weeks and seen more than my fair share of error messages.

If you're still looking to solve it post your code and I might be able to help.

Regards.
wschosta is offline   Reply With Quote

Old   June 2, 2011, 12:02
Default Floating point exception
  #3
New Member
 
huxiaoxia
Join Date: Oct 2010
Posts: 18
Rep Power: 6
huxiaoxia is on a distinguished road
Hi,

I have the same problem as it described above. I just change the boundary left and right conditions from wall to cyclic, and I didn't touch the creatFields.h file. But I got the same error. Therefore, can you help me with that?

Thanks a lot.
huxiaoxia is offline   Reply With Quote

Old   June 2, 2011, 15:16
Default
  #4
Member
 
Walter Schostak
Join Date: May 2011
Posts: 35
Rep Power: 6
wschosta is on a distinguished road
Are you sure it's the exact same error? Did you make sure to run blockMesh and setFields (or the appropriate ones for your solver) before running your solver?

If you post the beginning of your log file as Gareth did, someone on here might be able to give you a better answer.
wschosta is offline   Reply With Quote

Old   June 3, 2011, 10:46
Default Floating point exception
  #5
New Member
 
huxiaoxia
Join Date: Oct 2010
Posts: 18
Rep Power: 6
huxiaoxia is on a distinguished road
Here is the log file:
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.7.1 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 1.7.1-03e7e056c215
Exec : interFoam
Date : Jun 03 2011
Time : 10:43:30
Host : ip11
PID : 22479
Case : /home/huxiaoxi/OpenFOAM/huxiaoxia/temporalnew
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Reading field p_rgh

Reading field alpha1

Reading field U

Reading/calculating face flux field phi

Reading transportProperties

Selecting incompressible transport model Newtonian
Selecting incompressible transport model Newtonian
Selecting turbulence model type LESModel
Selecting LES turbulence model oneEqEddy
oneEqEddyCoeffs
{
ce 1.048;
ck 0.094;
}


Reading g
Calculating field g.h

time step continuity errors : sum local = 4.2484e-25, global = -2.28964e-25, cumulative = -2.28964e-25
GAMGPCG: Solving for pcorr, Initial residual = 1, Final residual = 2.6484e-06, No Iterations 7
GAMGPCG: Solving for pcorr, Initial residual = 0.0221807, Final residual = 1.23886e-06, No Iterations 5
time step continuity errors : sum local = 1.24084e-17, global = 1.8688e-18, cumulative = 1.8688e-18
Courant Number mean: 1.13971e-06 max: 5.00472e-06

Starting time loop

Courant Number mean: 0.0113857 max: 0.0499972
Interface Courant Number mean: 7.56989e-10 max: 0.000258632
deltaT = 9.99001e-08
Time = 9.99001e-08

#0 Foam::error:rintStack(Foam::Ostream&) in "/home/huxiaoxi/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::sigFpe::sigFpeHandler(int) in "/home/huxiaoxi/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 __restore_rt at sigaction.c:0
#3 Foam::tmp<Foam::Field<Foam::Vector<double> > > Foam:perator/<Foam::Vector<double> >(Foam::UList<Foam::Vector<double> > const&, Foam::tmp<Foam::Field<double> > const&) in "/home/huxiaoxi/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libfiniteVolume.so"
#4 Foam::LimitedScheme<double, Foam::vanLeerLimiter<Foam::NVDTVD>, Foam::limitFuncs::magSqr>::limiter(Foam::Geometric Field<double, Foam::fvPatchField, Foam::volMesh> const&) const in "/home/huxiaoxi/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libfiniteVolume.so"
#5 Foam::limitedSurfaceInterpolationScheme<double>::w eights(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) const in "/home/huxiaoxi/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libinterfaceProperties.so"
#6 Foam::surfaceInterpolationScheme<double>::interpol ate(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) const in "/home/huxiaoxi/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libinterfaceProperties.so"
#7 Foam::fv::gaussConvectionScheme<double>::interpola te(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) const in "/home/huxiaoxi/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libfiniteVolume.so"
#8 Foam::fv::gaussConvectionScheme<double>::flux(Foam ::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) const in "/home/huxiaoxi/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libfiniteVolume.so"
#9 Foam::tmp<Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> > Foam::fvc::flux<double>(Foam::GeometricField<doubl e, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::word const&) in "/home/huxiaoxi/OpenFOAM/OpenFOAM-1.7.1/applications/bin/linux64GccDPOpt/interFoam"
#10 main in "/home/huxiaoxi/OpenFOAM/OpenFOAM-1.7.1/applications/bin/linux64GccDPOpt/interFoam"
#11 __libc_start_main in "/lib64/libc.so.6"
#12 Foam::regIOobject::writeObject(Foam::IOstream::str eamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType) const in "/home/huxiaoxi/OpenFOAM/OpenFOAM-1.7.1/applications/bin/linux64GccDPOpt/interFoam"
Floating point exception

Can anyone help me with that?
huxiaoxia is offline   Reply With Quote

Old   June 5, 2011, 08:00
Default Error message in InterFoam
  #6
ata
Senior Member
 
ata's Avatar
 
ata kamyabi
Join Date: Aug 2009
Location: Kerman
Posts: 322
Rep Power: 9
ata is on a distinguished road
Hi
I think may be you should use better BC our better initialization.
ata is offline   Reply With Quote

Reply

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
Error message-Floating point error Vaibhav FLUENT 3 December 7, 2007 06:38
ERROR MESSAGE: line 1: parse error Lourival FLUENT 1 February 18, 2006 02:35
Error message, help, plz UY CFX 1 August 11, 2005 17:18
help on an error message Sri FLUENT 1 November 24, 2003 10:34
Gambit 2.0 - Error Message (ACIS ERROR 1200) James FLUENT 1 May 14, 2003 08:13


All times are GMT -4. The time now is 10:39.