Find answers, ask questions, and connect with our <br>community around the world.

Home Forums OpenFOAM Forum golf ball case crashing

  • golf ball case crashing

    Posted by YUVRAJ on March 31, 2023 at 10:53 am

    My Simulation is crashing after 6 iterations.

     

    /*—————————————————————————*\
    | ========= | |
    | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
    | \\ / O peration | Version: 2212 |
    | \\ / A nd | Website: http://www.openfoam.com |
    | \\/ M anipulation | |
    \*—————————————————————————*/
    Build : _c9081d5d-20230220 OPENFOAM=2212 patch=230110 version=2212
    Arch : “LSB;label=32;scalar=64”
    Exec : simpleFoam -parallel
    Date : Mar 31 2023
    Time : 12:47:32
    Host : asus
    PID : 9706
    I/O : uncollated
    Case : /home/yuvraj/OpenFOAM/yuvraj-v2212/run/golf_ball_test_case
    nProcs : 4
    Hosts :
    (
    (asus 4)
    )
    Pstream initialized with:
    floatTransfer : 0
    nProcsSimpleSum : 0
    commsType : nonBlocking
    polling iterations : 0
    trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE).
    fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 5, maxFileModificationPolls 20)
    allowSystemOperations : Allowing user-supplied system call operations

    // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
    Create time

    Create mesh for time = 0

    SIMPLE: convergence criteria
    field p tolerance 0.0001
    field U tolerance 0.0001
    field “(k|omega|epsilon)” tolerance 0.0001

    Reading field p

    Reading field U

    Reading/calculating face flux field phi

    Selecting incompressible transport model Newtonian
    Selecting turbulence model type RAS
    Selecting RAS turbulence model kEpsilon
    RAS
    {
    RASModel kEpsilon;
    turbulence on;
    printCoeffs on;
    Cmu 0.09;
    C1 1.44;
    C2 1.92;
    C3 0;
    sigmak 1;
    sigmaEps 1.3;
    }

    No MRF models present

    No finite volume options present

    Starting time loop

    Time = 1

    smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 0.00375872, No Iterations 1
    smoothSolver: Solving for Uy, Initial residual = 0.999995, Final residual = 0.00293826, No Iterations 1
    smoothSolver: Solving for Uz, Initial residual = 0.999993, Final residual = 0.00143317, No Iterations 1
    GAMG: Solving for p, Initial residual = 1, Final residual = 0.0340603, No Iterations 2
    time step continuity errors : sum local = 0.170305, global = -0.140229, cumulative = -0.140229
    smoothSolver: Solving for epsilon, Initial residual = 0.0337871, Final residual = 0.00114044, No Iterations 2
    smoothSolver: Solving for k, Initial residual = 1, Final residual = 0.0190033, No Iterations 2
    ExecutionTime = 1.52 s ClockTime = 2 s

    Time = 2

    smoothSolver: Solving for Ux, Initial residual = 0.273452, Final residual = 0.0261735, No Iterations 1
    smoothSolver: Solving for Uy, Initial residual = 0.270163, Final residual = 0.0154545, No Iterations 1
    smoothSolver: Solving for Uz, Initial residual = 0.268854, Final residual = 0.0156201, No Iterations 1
    GAMG: Solving for p, Initial residual = 0.53896, Final residual = 0.0187835, No Iterations 2
    time step continuity errors : sum local = 0.122251, global = -0.100367, cumulative = -0.240596
    smoothSolver: Solving for epsilon, Initial residual = 0.00187091, Final residual = 0.000126396, No Iterations 1
    bounding epsilon, min: -0.467422 max: 21138.3 average: 532.779
    smoothSolver: Solving for k, Initial residual = 0.535599, Final residual = 0.0422829, No Iterations 1
    ExecutionTime = 2.55 s ClockTime = 3 s

    Time = 3

    smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 0.0203603, No Iterations 1
    smoothSolver: Solving for Uy, Initial residual = 1, Final residual = 0.0203603, No Iterations 1
    smoothSolver: Solving for Uz, Initial residual = 1, Final residual = 0.0203603, No Iterations 1
    GAMG: Solving for p, Initial residual = 1, Final residual = 0.0278047, No Iterations 1
    time step continuity errors : sum local = 1.15486e+11, global = -1.85825e+10, cumulative = -1.85825e+10
    smoothSolver: Solving for epsilon, Initial residual = 1, Final residual = 0.021015, No Iterations 1
    bounding epsilon, min: -3.41283e+12 max: 1.22241e+15 average: 4.66586e+10
    smoothSolver: Solving for k, Initial residual = 1, Final residual = 0.0126904, No Iterations 1
    bounding k, min: -4.89654e+12 max: 2.06353e+14 average: 3.23783e+09
    ExecutionTime = 3.56 s ClockTime = 4 s

    Time = 4

    smoothSolver: Solving for Ux, Initial residual = 0.651472, Final residual = 0.0474899, No Iterations 1
    smoothSolver: Solving for Uy, Initial residual = 0.665284, Final residual = 0.0483525, No Iterations 1
    smoothSolver: Solving for Uz, Initial residual = 0.665953, Final residual = 0.0483635, No Iterations 1
    GAMG: Solving for p, Initial residual = 0.999344, Final residual = 0.0946561, No Iterations 1
    time step continuity errors : sum local = 1.16244e+12, global = -3.96895e+11, cumulative = -4.15478e+11
    smoothSolver: Solving for epsilon, Initial residual = 1, Final residual = 0.0817058, No Iterations 3
    bounding epsilon, min: -9.81779e+26 max: 6.51596e+27 average: 1.67954e+23
    smoothSolver: Solving for k, Initial residual = 1, Final residual = 0.0987156, No Iterations 3
    bounding k, min: -8.22703e+19 max: 9.30598e+26 average: 1.55146e+22
    ExecutionTime = 4.66 s ClockTime = 5 s

    Time = 5

    smoothSolver: Solving for Ux, Initial residual = 0.517239, Final residual = 0.0303572, No Iterations 1
    smoothSolver: Solving for Uy, Initial residual = 0.561788, Final residual = 0.0365521, No Iterations 1
    smoothSolver: Solving for Uz, Initial residual = 0.626753, Final residual = 0.0440021, No Iterations 1
    GAMG: Solving for p, Initial residual = 1, Final residual = 0.0841801, No Iterations 1
    time step continuity errors : sum local = 1.44544e+39, global = -3.85931e+38, cumulative = -3.85931e+38
    smoothSolver: Solving for epsilon, Initial residual = 1, Final residual = 0.0798069, No Iterations 1
    bounding epsilon, min: -9.39865e+57 max: 2.36364e+59 average: 8.51737e+54
    smoothSolver: Solving for k, Initial residual = 1, Final residual = 0.0580882, No Iterations 1
    bounding k, min: -2.59911e+57 max: 1.16979e+59 average: 6.20772e+53
    ExecutionTime = 5.72 s ClockTime = 6 s

    Time = 6

    smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 0.048235, No Iterations 3
    smoothSolver: Solving for Uy, Initial residual = 1, Final residual = 0.0483943, No Iterations 3
    smoothSolver: Solving for Uz, Initial residual = 1, Final residual = 0.0482368, No Iterations 3
    GAMG: Solving for p, Initial residual = 1, Final residual = 0.096644, No Iterations 3
    time step continuity errors : sum local = 1.57099e+107, global = 1.28978e+107, cumulative = 1.28978e+107
    smoothSolver: Solving for epsilon, Initial residual = 1, Final residual = 0.0412015, No Iterations 3
    bounding epsilon, min: -9.29719e+164 max: 4.4958e+165 average: 3.31658e+160
    smoothSolver: Solving for k, Initial residual = 1, Final residual = 0.0666583, No Iterations 2
    bounding k, min: -2.39788e+163 max: 2.96402e+164 average: 8.97166e+158

     

    [0] #0  Foam::error::printStack(Foam::Ostream&)[1] #0  Foam::error::printStack(Foam::Ostream&)[2] #0  Foam::error::printStack(Foam::Ostream&)[3] #0  Foam::error::printStack(Foam::Ostream&) in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt
    /lib/libOpenFOAM.so
    in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
    in [1] #1  [0] #1  Foam::sigFpe::sigHandler(int)/usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
    [2] #1  Foam::sigFpe::sigHandler(int)Foam::sigFpe::sigHandler(int) in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
    [3] #1  Foam::sigFpe::sigHandler(int) in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
    in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
    in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
    [0] #[1] #2[2] #2  ?2  ?  ? in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
    [3] #2  ? in /lib/x86_64-linux-gnu/libc.so.6
    [0] #3  ? in /lib/x86_64-linux-gnu/libc.so.6
    [2] #3  ? in /lib/x86_64-linux-gnu/libc.so.6
    [1] #3  ? in /lib/x86_64-linux-gnu/libc.so.6
    [3] #3  ? in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so
    [2] #4  ? in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so
    [0] #4  ? in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so
    [1] #4  ? in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so
    [3] #4  ? in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so
    [0] #5  ? in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so
    [2] #5  ? in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so
    [1] #5  ? in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so
    [3] #5  ? in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so
    [0] #6  ? in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so
    [2] #6  ? in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so
    [3] #6  ? in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so
    [1] #6  ? in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so
    [0] #7   in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so
    [2] #7   in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so
    [3] #7   in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so
    [1] #7  ???? in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/bin/simpleFoam
    [0] #8  ? in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/bin/simpleFoam
    [2] #8  ? in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/bin/simpleFoam
    [3] #8  ? in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/bin/simpleFoam
    [1] #8  ? in /lib/x86_64-linux-gnu/libc.so.6
    [0] #9  __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
    in /lib/x86_64-linux-gnu/libc.so.6
    [2] #9  __libc_start_main[3] #9  __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
    [1] #9  __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
    [0] #10   in /lib/x86_64-linux-gnu/libc.so.6
    [3] #10   in /lib/x86_64-linux-gnu/libc.so.6
    [2] #10   in /lib/x86_64-linux-gnu/libc.so.6
    [1] #10  ???? in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/bin/simpleFoam
    [asus:09709] *** Process received signal ***
    [asus:09709] Signal: Floating point exception (8)
    [asus:09709] Signal code:  (-6)
    [asus:09709] Failing at address: 0x3e8000025ed
    [asus:09709] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x3bcf0)[0x7f7c9563bcf0]
    [asus:09709] [ 1] /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x11b)[0x7f7c9569226b]
    [asus:09709] [ 2] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x16)[0x7f7c9563bc46]
    [asus:09709] [ 3]  in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/bin/simpleFoam
    /lib/x86_64-linux-gnu/libc.so.6(+0x3bcf0)[0x7f7c9563bcf0]
    [asus:09709] [ 4] /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so(+0x90375)[0x7f7c96890375]
    [asus:09709] [ 5] /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so(+0x949fc)[0x7f7c968949fc]
    [asus:09709] [ 6] /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so(+0xe0e8c)[0x7f7c968e0e8c]
    [asus:09709] [ 7] /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so(+0xdf0dd)[0x7f7c968df0dd]
    [asus:09709] [ 8] simpleFoam(+0x17923)[0x55bd184c1923]
    [asus:09709] [ 9] /lib/x86_64-linux-gnu/libc.so.6(+0x23510)[0x7f7c95623510]
    [asus:09709] [10] [asus:09706] *** Process received signal ***
    [asus:09706] Signal: Floating point exception (8)
    [asus:09706] Signal code:  (-6)
    [asus:09706] Failing at address: 0x3e8000025ea
    /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x89)[0x7f7c956235c9]
    [asus:09709] [11] simpleFoam(+0x1a9f5)[0x55bd184c49f5]
    [asus:09709] *** End of error message ***
    [asus:09706] [ 0]  in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/bin/simpleFoam
    /lib/x86_64-linux-gnu/libc.so.6(+0x3bcf0)[0x7f2212a3bcf0]
    [asus:09708] *** Process received signal ***
    [asus:09708] Signal: Floating point exception (8)
    [asus:09708] Signal code:  (-6)
    [asus:09708] Failing at address: 0x3e8000025ec
    [asus:09708] [ 0] [asus:09706] [ 1] /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x11b)[0x7f2212a9226b]
    [asus:09706] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x3bcf0)[0x7fab3e03bcf0]
    [asus:09708] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x16)[0x7f2212a3bc46]
    [asus:09706] [ 3] /lib/x86_64-linux-gnu/libc.so.6(+0x3bcf0)[0x7f2212a3bcf0]
    [asus:09706] [ 4] /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so(+0x90375)[0x7f2213c90375]
    [asus:09706] [ 5] /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so(+0x949fc)[0x7f2213c949fc]
    [asus:09706] [ 6] /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so(+0xe0e8c)[0x7f2213ce0e8c]
    [asus:09706] [ 7] /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so(+0xdf0dd)[0x7f2213cdf0dd]
    [asus:09706] [ 8] simpleFoam(+0x17923)[0x55778d4b0923]
    [asus:09706] [ 9] /lib/x86_64-linux-gnu/libc.so.6(+0x23510)[0x7f2212a23510]
    [asus:09706] [10] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x89)[0x7f2212a235c9]
    [asus:09706] [11] simpleFoam(+0x1a9f5)[0x55778d4b39f5]
    [asus:09706] *** End of error message ***
    /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x11b)[0x7fab3e09226b]
    [asus:09708] [ 2] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x16)[0x7fab3e03bc46]
    [asus:09708] [ 3] /lib/x86_64-linux-gnu/libc.so.6(+0x3bcf0)[0x7fab3e03bcf0]
    [asus:09708] [ 4] /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so(+0x90375)[0x7fab3f290375]
    [asus:09708] [ 5] /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so(+0x949fc)[0x7fab3f2949fc]
    [asus:09708] [ 6] /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so(+0xe0e8c)[0x7fab3f2e0e8c]
    [asus:09708] [ 7] /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so(+0xdf0dd)[0x7fab3f2df0dd]
    [asus:09708] [ 8] simpleFoam(+0x17923)[0x56203e373923]
    [asus:09708] [ 9] /lib/x86_64-linux-gnu/libc.so.6(+0x23510)[0x7fab3e023510]
    [asus:09708] [10] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x89)[0x7fab3e0235c9]
    [asus:09708] [11] simpleFoam(+0x1a9f5)[0x56203e3769f5]
    [asus:09708] *** End of error message ***
    in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/bin/simpleFoam
    [asus:09707] *** Process received signal ***
    [asus:09707] Signal: Floating point exception (8)
    [asus:09707] Signal code:  (-6)
    [asus:09707] Failing at address: 0x3e8000025eb
    [asus:09707] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x3bcf0)[0x7efc52e3bcf0]
    [asus:09707] [ 1] /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x11b)[0x7efc52e9226b]
    [asus:09707] [ 2] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x16)[0x7efc52e3bc46]
    [asus:09707] [ 3] /lib/x86_64-linux-gnu/libc.so.6(+0x3bcf0)[0x7efc52e3bcf0]
    [asus:09707] [ 4] /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so(+0x90375)[0x7efc54090375]
    [asus:09707] [ 5] /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so(+0x949fc)[0x7efc540949fc]
    [asus:09707] [ 6] /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so(+0xe0e8c)[0x7efc540e0e8c]
    [asus:09707] [ 7] /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so(+0xdf0dd)[0x7efc540df0dd]
    [asus:09707] [ 8] simpleFoam(+0x17923)[0x55acd06bf923]
    [asus:09707] [ 9] /lib/x86_64-linux-gnu/libc.so.6(+0x23510)[0x7efc52e23510]
    [asus:09707] [10] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x89)[0x7efc52e235c9]
    [asus:09707] [11] simpleFoam(+0x1a9f5)[0x55acd06c29f5]
    [asus:09707] *** End of error message ***
    ————————————————————————–
    Primary job  terminated normally, but 1 process returned
    a non-zero exit code. Per user-direction, the job has been aborted.
    ————————————————————————–
    ————————————————————————–
    mpirun noticed that process rank 0 with PID 0 on node asus exited on signal 8 (Floating point exception).

     

    Barış Bicer replied 1 year ago 2 Members · 1 Reply
  • 1 Reply
  • Barış Bicer

    Moderator
    April 1, 2023 at 10:40 am

    Hi,

    Look at your k and epsilon. They are diverging and most probably your initial conditions are wrong assigned. Check them. You can also try laminar close turbulence model option and try laminar and see whether simulation is going on not.

    Fyi.

Log in to reply.

error: Content is protected !!