jherb |
February 19, 2019 11:08 |
Crashes of buoyantPimpleFoam (starting with OpenFOAM-6)
I run across a strange bug in buoyantPimpleFoam. If using nOuterCorrectors, at some point of time (and iteration), it crashes at the beginning of a new iteration:
Code:
PIMPLE: Iteration 7
DILUPBiCGStab: Solving for Ux, Initial residual = 0.0026433, Final residual = 6.27222e-06, No Iterations 1
DILUPBiCGStab: Solving for Uy, Initial residual = 0.00255987, Final residual = 6.41521e-06, No Iterations 1
DILUPBiCGStab: Solving for Uz, Initial residual = 0.0026433, Final residual = 6.27221e-06, No Iterations 1
DILUPBiCGStab: Solving for h, Initial residual = 0.00181503, Final residual = 8.62371e-06, No Iterations 1
DICPCG: Solving for p_rgh, Initial residual = 0.00737213, Final residual = 5.90448e-05, No Iterations 35
DICPCG: Solving for p_rgh, Initial residual = 5.906e-05, Final residual = 5.01722e-07, No Iterations 10
DICPCG: Solving for p_rgh, Initial residual = 5.03358e-07, Final residual = 4.33555e-09, No Iterations 16
diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 2.42194e-07, global = 2.42194e-07, cumulative = 0.000212064
DICPCG: Solving for p_rgh, Initial residual = 0.00283376, Final residual = 2.0804e-05, No Iterations 35
DICPCG: Solving for p_rgh, Initial residual = 2.0808e-05, Final residual = 1.8005e-07, No Iterations 10
DICPCG: Solving for p_rgh, Initial residual = 1.82666e-07, Final residual = 6.11662e-09, No Iterations 14
diagonal: Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 2.4238e-07, global = 2.4238e-07, cumulative = 0.000212306
#0 Foam::error::printStack(Foam::Ostream&) at ??:?
#1 Foam::sigFpe::sigHandler(int) at ??:?
#2 ? in "/lib64/libc.so.6"
#3 Foam::convergenceControl::getInitialResiduals(Foam::fvMesh const&, Foam::word const&, int, Foam::ITstream&, double&, double&) at ??:?
Waiting for data... (interrupt to abort)/home/hej/OpenFOAM/OpenFOAM-6/bin/tools/RunFunctions: line 53: 9825 Floating point exception$APP_RUN "$@" > log.$LOG_SUFFIX 2>&1
#4 Foam::singleRegionCorrectorConvergenceControl::corrCriteriaSatisfied() const at ??:?
#5 Foam::pimpleLoop::loop(Foam::correctorConvergenceControl&) at ??:?
#6 Foam::pimpleControl::loop() at ??:?
#7 ? at ??:?
#8 __libc_start_main in "/lib64/libc.so.6"
#9 ? at /usr/src/packages/BUILD/glibc-2.11.3/csu/../sysdeps/x86_64/elf/start.S:116
The exact time step and number of iteration seems to depend on the computer, the numbers of CPUs used, ...!?!
It happens with OpenFOAM 6 and -dev, but not using OpenFOAM-5.x
I reported it at the OpenFOAM bug tracker: https://bugs.openfoam.org/view.php?id=3173
But perhaps, somebody else has seen this before? google doesn't find anything related to the stack trace.
Any ideas?
|