tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

Draft: Setup to debug checkpointing with kOmegaSST

Open MakisH opened this issue 5 months ago • 0 comments

Trying to create a setup to trigger and debug https://github.com/precice/openfoam-adapter/issues/158.

It currently does not trigger the checkpointing issue (OpenFOAM v2312), but instead diverges (the numerical setup is arbitrary, but it should already trigger the checkpointing issue before):

Courant Number mean: 51.1606 max: 4247.53
Time = 0.3

PIMPLE: iteration 1
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCGStab:  Solving for Ux, Initial residual = 0.802428, Final residual = 3.49139e-07, No Iterations 36
DILUPBiCGStab:  Solving for Uy, Initial residual = 0.779756, Final residual = 7.00548e-08, No Iterations 40
DILUPBiCGStab:  Solving for h, Initial residual = 0.868425, Final residual = 7.90218e-07, No Iterations 35
DICPCG:  Solving for p_rgh, Initial residual = 0.841614, Final residual = 0.00718705, No Iterations 70
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors : sum local = 4.42713, global = -3.13549, cumulative = -3.14201
DICPCG:  Solving for p_rgh, Initial residual = 0.699451, Final residual = 8.56824e-09, No Iterations 186
[stack trace]
=============
#1  Foam::sigFpe::sigHandler(int) in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
#2  ? in /lib/x86_64-linux-gnu/libc.so.6
#3  Foam::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
#4  ? in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/bin/buoyantPimpleFoam
#5  ? in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/bin/buoyantPimpleFoam
#6  ? in /lib/x86_64-linux-gnu/libc.so.6
#7  __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
#8  ? in /usr/lib/openfoam/openfoam2312/platforms/linux64GccDPInt32Opt/bin/buoyantPimpleFoam
=============
Floating point exception (core dumped)

MakisH avatar Mar 10 '24 16:03 MakisH