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

icoFoam - Floating point exception (core dumped)

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

Like Tree2Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   July 18, 2013, 05:44
Default
  #21
Member
 
Amin
Join Date: May 2013
Posts: 76
Rep Power: 4
Mirage12 is on a distinguished road
i do not really want to a final steady-state solution, that is why i am trying a transient solver .

but nimasam suggested, that i can use simpleFoam for for laminar flow, that is why i try to add the temperature in the simpleFoam solver.
Mirage12 is offline   Reply With Quote

Old   August 4, 2013, 11:49
Default
  #22
New Member
 
Gabriel Boucher
Join Date: Jul 2013
Posts: 23
Rep Power: 4
Alfalfa is on a distinguished road
Hello everyone, I also have a problem with my courant number.

In order to practice with OpenFOAM (since I'm a beginner), I tried to create a simple nozzle with blockMesh. To run the case, I use the elbow simulation with icoFoam. I changed the meshing to use the one I created and run blockMesh. but when I run the simulation, I get courant number of the magintue e289 on the very first step... I tried a coarse meshing, but nothing changed, I tried really small time step, still nothing and now I don't know what to do .

Here is my meshing:

Code:
convertToMeters 0.1;

vertices
(
    (-25 0 0.5)        //0
    (0 -10 0.5)        //1
    (0 10 0.5)        //2
    (-25 5 0.5)        //3
    (-25 0 -0.5)    //4
    (0 -10 -0.5)    //5
    (0 10 -0.5)        //6
    (-25 5 -0.5)    //7


    
);

blocks
(
    hex (0 1 2 3 4 5 6 7) (25 25 1) simpleGrading (1 1 1)

);

edges
(
);

boundary
(
    inlet
    {
        type patch;
        faces
        (
            (0 3 7 4)
        );
    }
    outlet
    {
        type patch;
        faces
        (
        (1 2 6 5)
        );
    }
    upperWall
    {
        type wall;
        faces
        (
            (3 2 6 7)
        );
    }
    lowerWall
    {
        type wall;
        faces
        (
            (0 1 5 4)
        );
    }
    frontAndBack
    {
        type empty;
        faces
        (
            (0 1 2 3)
            (4 5 6 7)
        );
    }
);

mergePatchPairs
(
);
Here's the controlDict :

Code:
application     icoFoam;

startFrom       latestTime;

startTime       0;

stopAt          endTime;

endTime         0.1;

deltaT          0.001;

writeControl    timeStep;

writeInterval   20;

purgeWrite      0;

writeFormat     ascii;

writePrecision  6;

writeCompression off;

timeFormat      general;

timePrecision   6;

runTimeModifiable true;
I run OpenFOAM 2.2.0 on Ubuntu 12.04 LTS.

Any help would be appreciated. I try to learn OpenFoam by modifying the tutorial and this is my first (pathetic) attempt.

Thanks
Alfalfa is offline   Reply With Quote

Old   August 4, 2013, 12:04
Default
  #23
New Member
 
Gabriel Boucher
Join Date: Jul 2013
Posts: 23
Rep Power: 4
Alfalfa is on a distinguished road
Oh nevermind, I found my error using checkMesh . My mesh orientation was not good.
Alfalfa is offline   Reply With Quote

Reply

Tags
(core dumped), floating point exception, icofoam

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
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
simpleFoam Floating point exception error -help sudhasran OpenFOAM Running, Solving & CFD 3 March 12, 2012 17:23
Pipe flow in settlingFoam floating point exception jochemvandenbosch OpenFOAM Running, Solving & CFD 4 February 16, 2012 04:24
block-structured mesh for t-junction Robert@cfd ANSYS Meshing & Geometry 20 November 11, 2011 05:59
Finished simulation doesn't start: floating point exception [Divide by zero] MaxCFD STAR-CCM+ 3 June 26, 2011 10:31


All times are GMT -4. The time now is 03:49.