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/)
-   -   simpleFoam Floating point exception error -help (http://www.cfd-online.com/Forums/openfoam-solving/91627-simplefoam-floating-point-exception-error-help.html)

sudhasran August 17, 2011 09:12

simpleFoam Floating point exception error -help
 
1. I generated the mesh in netgen and exported it to gmsh-version, Then used gmshTofoam to convert it to openFoam mesh.
2. Then i changed all the boundary conditions according to patchs in my boundary file from 'pitzDaily' tutorial folder
3. when i run simpleFoam i get the following, can anyone help with this ?
"/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.7.0 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 1.7.0-113391ee57bd
Exec : simpleFoam
Date : Jul 17 2011
Time : 02:53:43
Host : caelinux
PID : 2683
Case : /media/sf_caelinux_shared/netgen_mesh/pitzDaily(copy)
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

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

Create mesh for time = 0

// using new solver syntax:
p
{
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0.01;
}

// using new solver syntax:
U
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}

Reading field p

Reading field U

Reading/calculating face flux field phi

Selecting incompressible transport model Newtonian
Selecting RAS turbulence model laminar

Starting time loop

Time = 1

#0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam170/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::sigFpe::sigFpeHandler(int) in "/opt/openfoam170/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 in "/lib/libc.so.6"
#3 void Foam::fvc::surfaceIntegrate<Foam::Vector<double> >(Foam::Field<Foam::Vector<double> >&, Foam::GeometricField<Foam::Vector<double>, Foam::fvsPatchField, Foam::surfaceMesh> const&) in "/opt/openfoam170/lib/linux64GccDPOpt/libfiniteVolume.so"
#4 Foam::tmp<Foam::GeometricField<Foam::Vector<double >, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::surfaceIntegrate<Foam::Vector<double> >(Foam::GeometricField<Foam::Vector<double>, Foam::fvsPatchField, Foam::surfaceMesh> const&) in "/opt/openfoam170/lib/linux64GccDPOpt/libfiniteVolume.so"
#5 Foam::tmp<Foam::GeometricField<Foam::Vector<double >, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::surfaceIntegrate<Foam::Vector<double> >(Foam::tmp<Foam::GeometricField<Foam::Vector<doub le>, Foam::fvsPatchField, Foam::surfaceMesh> > const&) in "/opt/openfoam170/lib/linux64GccDPOpt/libfiniteVolume.so"
#6 Foam::fv::gaussDivScheme<Foam::Tensor<double> >::fvcDiv(Foam::GeometricField<Foam::Tensor<double >, Foam::fvPatchField, Foam::volMesh> const&) in "/opt/openfoam170/lib/linux64GccDPOpt/libfiniteVolume.so"
#7 Foam::tmp<Foam::GeometricField<Foam::innerProduct< Foam::Vector<double>, Foam::Tensor<double> >::type, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::div<Foam::Tensor<double> >(Foam::GeometricField<Foam::Tensor<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::word const&) in "/opt/openfoam170/lib/linux64GccDPOpt/libincompressibleRASModels.so"
#8 Foam::tmp<Foam::GeometricField<Foam::innerProduct< Foam::Vector<double>, Foam::Tensor<double> >::type, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::div<Foam::Tensor<double> >(Foam::GeometricField<Foam::Tensor<double>, Foam::fvPatchField, Foam::volMesh> const&) in "/opt/openfoam170/lib/linux64GccDPOpt/libincompressibleRASModels.so"
#9 Foam::incompressible::RASModels::laminar::divDevRe ff(Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>&) const in "/opt/openfoam170/lib/linux64GccDPOpt/libincompressibleRASModels.so"
#10
in "/opt/openfoam170/applications/bin/linux64GccDPOpt/simpleFoam"
#11 __libc_start_main in "/lib/libc.so.6"
#12
in "/opt/openfoam170/applications/bin/linux64GccDPOpt/simpleFoam"
Floating point exception"


Thanks in advance

sheikh nasir February 8, 2012 02:32

Floating error
 
Hello.
I am getting floating error:invalid number. I am working on train moving in tunnel. Can any body help me. My email is sheikhnasir39@gmail.com
thanks

guitarbren March 12, 2012 13:41

same
 
Hi, I get exactly the same error after running snappyhexmesh and then trying to run my solver (buoyantBoussineqSimpleFoam) if anyone has ideas on this I'd love to know!

guitarbren March 12, 2012 18:23

I'm currently working on a 2D temperature driven flow and using a symmetry plane.

I've realised mine only crashes like this when I move the symmetry plane towards the geometry which was snapped to with snappyhexmesh. I'm not sure why it is doing this. Basically I need the symmetryplane or the edge of my domain to be closer to the geometry without it killing itself with this error...


All times are GMT -4. The time now is 13:21.