CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Error message in InterFoam (http://www.cfd-online.com/Forums/openfoam-solving/57964-error-message-interfoam.html)

gareth__it_power February 13, 2009 06:04

Hi, I've adapted the geometry
 
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:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&) 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

wschosta May 25, 2011 16:54

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.

huxiaoxia June 2, 2011 12:02

Floating point exception
 
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.

wschosta June 2, 2011 15:16

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.

huxiaoxia June 3, 2011 10:46

Floating point exception
 
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::printStack(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::operator/<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?

ata June 5, 2011 08:00

Error message in InterFoam
 
Hi
I think may be you should use better BC our better initialization.


All times are GMT -4. The time now is 17:12.