CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   ERROR : Floating point exception (core dumped) (https://www.cfd-online.com/Forums/openfoam-solving/126315-error-floating-point-exception-core-dumped.html)

sam.ho November 14, 2013 01:27

ERROR : Floating point exception (core dumped)
 
1 Attachment(s)
Hi
I am simulating a overflow valve with simple foam.
Velocity of fluid is 0.27 m/s
Dynamic Viscosity = 8.26 X 10^-6 Kg/m.s
Density = 830 Kg / m3
Radius of the inlet = 6.9 mm

I am getting the error which is attached and also looked in to many discussions on this topic but not able to fix this issue..
Please help me

Ralinus November 14, 2013 04:33

Your viscosity maybe too small. Try a bigger value and see if this fixes your error.
This shown error is a preconditioner failure, if increasing viscosity does not help try tuning preconditioner parameters.

sam.ho November 14, 2013 05:00

simpleFOAM SOLVER
 
[FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

solvers
{
p
{
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0.01;
}

U
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}

k
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}

epsilon
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}

R
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}

nuTilda
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}
}

SIMPLE
{
nNonOrthogonalCorrectors 2;
pRefCell 101;
pRefCell 58;
pRefCell 767;
pRefCell 527;
pRefValue 0;
residualControl
{
p 1e-2;
U 1e-3;
"(k|epsilon|omega)" 1e-3;
}
}

relaxationFactors
{
fields
{
p 0.3;
}
equations
{
U 0.7;
k 0.7;
epsilon 0.7;
R 0.7;
nuTilda 0.7;
}
}


// ************************************************** *********************** //]

THis is the solver file... Please check let me know anything need to be changed ?

Ralinus November 14, 2013 05:40

Try setting the dynamic viscosity to a bigger value (like 8e-3 instead of 8e-6). I don't actually know which changes you have to make to get you preconditioner able to handle these viscosities.

sam.ho November 14, 2013 06:03

Hi,
I should not change dynamic viscosity as these are defined values for my case ...


All times are GMT -4. The time now is 17:33.