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

Exception en virgule flottante

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   January 16, 2011, 08:13
Thumbs up [RESOLVED] Exception en virgule flottante
  #1
Member
 
William Tougeron
Join Date: Jan 2011
Location: Czech Republic
Posts: 70
Rep Power: 15
taalf is on a distinguished road
Hello everybody,

I'm proud to post my first comment in this forum . I don't speak English so good so I apologize for every English mistakes .

And, to show how much I am motivated, I will put pictures in my post : I set a good example, isn't it ?

Ok, I'm a false beginner in OpenFOAM that I study for my Final Project and it happens something that I don't understand and that I very would like to solve.

My problem is that when I make a coarse blockMesh geometry for a own icoFoam case, it works, but when I use a finer mesh, it makes an "Exception en virgule flottante" during calculation after very few first iterations.

Here is my coarse case (a 2D case with 2 "empty" boundary conditions and only one cell in the z direction) :



with, in my transportProperties file :

Code:
transportModel  Newtonian;

nu              nu [0 2 -1 0 0 0 0] 1e-06;
and, in my controlDict file :

Code:
application     icoFoam;

startFrom       startTime;

startTime       0;

stopAt          endTime;

endTime         1;

deltaT          0.001;

writeControl    timeStep;

writeInterval   100;


and the results :



Pretty good, isn't it ?

Then, I tried to use a finer mesh by only modifying the simpleGrading values in the blockMeshDict:



but this happens when I launch icoFoam after deleting the old time directories (0 0.1 0.2 etc.) :

Code:
Time = 0.011

Courant Number mean: 1.01727e+34 max: 7.44368e+37
DILUPBiCG:  Solving for Ux, Initial residual = 5.77125e-09, Final residual = 5.77125e-09, No Iterations 0
DILUPBiCG:  Solving for Uy, Initial residual = 2.41172e-09, Final residual = 2.41172e-09, No Iterations 0
#0  Foam::error:: printStack(Foam::Ostream&) in "/opt/openfoam171/lib/linuxGccDPOpt/libOpenFOAM.so"
#1  Foam::sigFpe::sigFpeHandler(int) in "/opt/openfoam171/lib/linuxGccDPOpt/libOpenFOAM.so"
#2  Uninterpreted: 
#3  Foam:: DICPreconditioner::calcReciprocalD(Foam::Field<double>&, Foam::lduMatrix const&) in "/opt/openfoam171/lib/linuxGccDPOpt/libOpenFOAM.so"
#4  Foam:: DICPreconditioner:: DICPreconditioner(Foam::lduMatrix::solver const&, Foam::dictionary const&) in "/opt/openfoam171/lib/linuxGccDPOpt/libOpenFOAM.so"
#5  Foam::lduMatrix:: preconditioner::addsymMatrixConstructorToTable<Foam:: DICPreconditioner>::New(Foam::lduMatrix::solver const&, Foam::dictionary const&) in "/opt/openfoam171/lib/linuxGccDPOpt/libOpenFOAM.so"
#6  Foam::lduMatrix:: preconditioner::New(Foam::lduMatrix::solver const&, Foam::dictionary const&) in "/opt/openfoam171/lib/linuxGccDPOpt/libOpenFOAM.so"
#7  Foam::PCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in "/opt/openfoam171/lib/linuxGccDPOpt/libOpenFOAM.so"
#8  Foam::fvMatrix<double>::solve(Foam::dictionary const&) in "/opt/openfoam171/lib/linuxGccDPOpt/libfiniteVolume.so"
#9  
 in "/opt/openfoam171/applications/bin/linuxGccDPOpt/icoFoam"
#10  __libc_start_main in "/lib/libc.so.6"
#11  
 in "/opt/openfoam171/applications/bin/linuxGccDPOpt/icoFoam"
Exception en point flottant
Even if I reduce the time between iterations :

Code:
deltaT          0.0000001;
it stops after few iterations with the same error.

My extraordinary happiness when I computed my first case totally collapsed when I realized I wasn't able to redo it with fine mesh !

Does somebody have an idea ?

Last edited by taalf; January 17, 2011 at 07:17. Reason: Resolved !
taalf is offline   Reply With Quote

 


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 16:34
reactingFoam floating point exception pajofego OpenFOAM 0 November 6, 2010 17:29
Cannot Open .sim (Floating Point Exception) trex930 STAR-CCM+ 1 July 30, 2010 06:51
turbFoam floating point exception and k-epsilon Hectux OpenFOAM Running, Solving & CFD 4 April 28, 2009 07:10
"exception : return code 139" june Siemens 0 January 8, 2008 20:20


All times are GMT -4. The time now is 08:31.