blueteeth |
December 19, 2014 16:32 |
laplacianFoam, floating point exception
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
|