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

simpleFoam Floating point exception error -help

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 17, 2011, 09:12
Default simpleFoam Floating point exception error -help
  #1
New Member
 
sudharsan
Join Date: Aug 2011
Posts: 1
Rep Power: 0
sudhasran is on a distinguished road
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:rintStack(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
sudhasran is offline   Reply With Quote

Old   February 8, 2012, 02:32
Default Floating error
  #2
Member
 
Join Date: Jan 2012
Posts: 58
Rep Power: 14
sheikh nasir is on a distinguished road
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
sheikh nasir is offline   Reply With Quote

Old   March 12, 2012, 12:41
Default same
  #3
New Member
 
Brendan
Join Date: Dec 2011
Posts: 7
Rep Power: 14
guitarbren is on a distinguished road
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 is offline   Reply With Quote

Old   March 12, 2012, 17:23
Default
  #4
New Member
 
Brendan
Join Date: Dec 2011
Posts: 7
Rep Power: 14
guitarbren is on a distinguished road
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...
guitarbren is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
MPI Error - simpleFoam - Floating Point Exception scott OpenFOAM Running, Solving & CFD 3 April 13, 2012 17:34
simpleFoam errors... timestep continuity error/Floating point exception headwing OpenFOAM 1 January 15, 2011 04:04
reactingFoam floating point exception pajofego OpenFOAM 0 November 6, 2010 18:29
Cannot Open .sim (Floating Point Exception) trex930 STAR-CCM+ 1 July 30, 2010 07:51
[Gmsh] Gmsh and samplesurface touf OpenFOAM Meshing & Mesh Conversion 2 December 10, 2007 03:27


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