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/193511-error-floating-point-exception-core-dumped.html)

gian93 September 26, 2017 12:04

ERROR Floating point exception (core dumped)
 
hi guys, i start a new thread because in the previous one i've made a mistake in the solver.
the correct error that i encounter is this. it happens both in serial and in parallel running.
could you help me?

>>>serial running error (entire ):

No MRF models present

No finite volume options present


Starting time loop

Time = 1

smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 0.0579352, No Iterations 2
smoothSolver: Solving for Uy, Initial residual = 1, Final residual = 0.0929238, No Iterations 2
smoothSolver: Solving for Uz, Initial residual = 1, Final residual = 0.0542617, No Iterations 2
smoothSolver: Solving for e, Initial residual = 0.000261764, Final residual = 7.74102e-07, No Iterations 1
GAMG: Solving for p, Initial residual = 1, Final residual = 0.0663316, No Iterations 3
GAMG: Solving for p, Initial residual = 0.0278163, Final residual = 0.00266582, No Iterations 14
time step continuity errors : sum local = 37.3853, global = 2.26347, cumulative = 2.26347
rho max/min : 1.17844 1.12039
smoothSolver: Solving for omega, Initial residual = 0.00222518, Final residual = 4.56574e-05, No Iterations 2
smoothSolver: Solving for k, Initial residual = 0.999003, Final residual = 0.00154568, No Iterations 2
bounding k, min: 6.24333e-16 max: 7139.05 average: 1.00464
ExecutionTime = 57.48 s ClockTime = 57 s

Time = 2

smoothSolver: Solving for Ux, Initial residual = 0.250381, Final residual = 0.0101435, No Iterations 4
smoothSolver: Solving for Uy, Initial residual = 0.258735, Final residual = 0.00835699, No Iterations 4
smoothSolver: Solving for Uz, Initial residual = 0.244236, Final residual = 0.0126606, No Iterations 4
smoothSolver: Solving for e, Initial residual = 1, Final residual = 0.181467, No Iterations 1
#0 Foam::error: printStack(Foam::Ostream&) at ??:?
#1 Foam::sigFpe::sigHandler(int) at ??:?
#2 ? in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam::hePsiThermo<Foam:siThermo, Foam:
pureMixture<Foam::sutherlandTransport<Foam::specie s::thermo<Foam::hConstThermo<Foam:perfectGas<Foam: :specie> >, Foam::sensibleInternalEnergy> > > >::calculate() at ??:?
#4 Foam::hePsiThermo<Foam:psiThermo, Foam:ureMixture<Foam::sutherlandTransport<Foam::sp ecies::thermo<Foam::hConstThermo<Foam:perfectGas<F oam::specie> >, Foam::sensibleInternalEnergy> > > >::correct() at ??:?
#5 ? in "/opt/openfoam4/platforms/linux64GccDPInt32Opt/bin/rhoSimpleFoam"
#6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#7 ? in "/opt/openfoam4/platforms/linux64GccDPInt32Opt/bin/rhoSimpleFoam"
Floating point exception (core dumped)


HERE INSTEAD
>>PARALLEL RUNNING ERROR (some extranct)

[1] [3] #0 Foam::error:printStack(Foam::Ostream&)#0 Foam::error::pprintStack(Foam::Ostream&)[0] #0 Foam::error:printStack(Foam::Ostream&)[2] #0 Foam::error:printStack(Foam::Ostream&) at ??:?
[1] #1 Foam::sigFpe::sigHandler(int) at ??:?
[3] #1 Foam::sigFpe::sigHandler(int) at ??:?
[0] #1 Foam::sigFpe::sigHandler(int) at ??:?
[2] #1 Foam::sigFpe::sigHandler(int) at ??:?
[1] #2 ? at ??:?
[3] #2 ? at ??:?
[0] #2 ? at ??:?
[2] #2 ? in "/lib/x86_64-linux-gnu/libc.so.6"
[1] #3 Foam::hePsiThermo<Foam:psiThermo, Foam:ureMixture<Foam::sutherlandTransport<Foam::sp ecies::thermo<Foam:
:hConstThermo<Foam:perfectGas<Foam::specie> >, Foam::sensibleInternalEnergy> > > >: calculate() in "/lib/x86_64-linux-gnu/libc.so.6"

..
..
.
..
..
..
..

_11pureMixtureINS_19sutherlandTransportINS_7specie s6thermoINS_12hConstThermoINS_10perfectGasINS_6spe cieEEEEENS_22sensibleInternalEnergyEEEEEEEE9calcul ateEv+0x187)[0x7fd6fdfe4377]
[gio-HP-EliteBook-8460p:05818] [ 4] /opt/openfoam4/platforms/linux64GccDPInt32Opt/lib/libfluidThermophysicalModels.so(_ZN4Foam11hePsiThe rmoINS_9psiThermoENS_11pureMixtureINS_19sutherland TransportINS_7species6thermoINS_12hConstThermoINS_ 10perfectGasINS_6specieEEEEENS_22sensibleInternalE nergyEEEEEEEE7correctEv+0x2a)[0x7fd6fe00072a]
[gio-HP-EliteBook-8460p:05818] [ 5] rhoSimpleFoam(+0x26d1d)[0x559a688cad1d]
[gio-HP-EliteBook-8460p:05818] [ 6] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7fd6f89573f1]
[gio-HP-EliteBook-8460p:05818] [ 7] rhoSimpleFoam(+0x2c39a)[0x559a688d039a]
[gio-HP-EliteBook-8460p:05818] *** End of error message ***
--------------------------------------------------------------------------
mpirun noticed that process rank 3 with PID 5821 on node gio-HP-EliteBook-8460p exited on signal 8 (Floating point exception).

gian93 September 27, 2017 03:52

how can i solve it?
:confused::confused::confused:


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