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

laplacianFoam, floating point exception

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 19, 2014, 16:32
Default laplacianFoam, floating point exception
  #1
New Member
 
Max Kern
Join Date: Dec 2014
Posts: 1
Rep Power: 0
blueteeth is on a distinguished road
Hi,

I'm a new OpenFoam user and stuck with a problem you might consider rather trivial.

I tried to run a simulation very similar to the laplacianFoam (flange) tutorial.
controlDict, fvSchemes, transportProperties and fvSolution are the same as in the tutorial.

The Mesh was generated with blockMesh

Code:
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 0.001;
vertices
(
 (-5 -5 0) //0
 (5 -5 0) //1
 (5 5 0) //2
 (-5 5 0) //3
 (-5 -5 50) //4
 (5 -5 50) //5
 (5 5 50) //6
 (-5 5 50) //7

);

blocks
(
 hex (0 1 5 4 3 2 6 7) (10 100 10) simpleGrading (1 1 1) //0
);

edges
(
);

patches
(
 patch front 
 (
 (0 1 2 3)
 )

 patch back
 (
 (4 5 6 7)
 )

 patch tube
 (
 (0 3 7 4)
 (3 2 6 7)
 (1 5 6 2)
 (0 1 5 4)
 )

);
Boundary Conditions:

Code:
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    object      T;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [ 0 0 0 1 0 0 0 ];

internalField   uniform 273;

boundaryField
{

    front
    {
        type            fixedValue;
        value           uniform 273;
    }

    tube
    {
        type            zeroGradient;
    }

    back
    {
        type            fixedValue;
        value           uniform 573;
    }
}

// ************************************************************************* //
blockMesh runs fine but when I try to run laplacianFoam I end up with the following:

Code:
DICPCG:  Solving for T, Initial residual = 0.480419, Final residual = 8.34292e-07, No Iterations 60
#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::sigFpe::sigHandler(int) at ??:?
#2   in "/lib/x86_64-linux-gnu/libc.so.6"
#3  double Foam::sumProd<double>(Foam::UList<double> const&, Foam::UList<double> const&) at ??:?
#4  Foam::PCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
#5  Foam::fvMatrix<double>::solveSegregated(Foam::dictionary const&) at ??:?
#6  Foam::fvMatrix<double>::solve(Foam::dictionary const&) at ??:?
#7  
 at ??:?
#8  
 at ??:?
#9  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#10  
 at ??:?
Floating point exception (core dumped)
Where's my mistake?

Thanks,
Max
blueteeth is offline   Reply With Quote

Reply

Tags
floating point exception, laplacianfoam


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
Floating point exception with pimpleDyMFoam ebah6 OpenFOAM Running, Solving & CFD 9 November 1, 2017 05:58
Inlet Velocity Profile BC - Floating Point exception during solution initialization Janshi STAR-CCM+ 4 March 14, 2012 10:21
simpleFoam Floating point exception error -help sudhasran OpenFOAM Running, Solving & CFD 3 March 12, 2012 16:23
Pipe flow in settlingFoam floating point exception jochemvandenbosch OpenFOAM Running, Solving & CFD 4 February 16, 2012 03:24
block-structured mesh for t-junction Robert@cfd ANSYS Meshing & Geometry 20 November 11, 2011 04:59


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