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/)
-   -   Why is my rhopimplefoam crashing? (https://www.cfd-online.com/Forums/openfoam-solving/211505-why-my-rhopimplefoam-crashing.html)

marxlolop November 15, 2018 12:51

Why is my rhopimplefoam crashing?
 
Running on blueCFD and no idea why this is failing

Code:

/*---------------------------------------------------------------------------*\
| =========                |                                                |
| \\      /  F ield        | OpenFOAM: The Open Source CFD Toolbox          |
|  \\    /  O peration    | Version:  5.x                                  |
|  \\  /    A nd          | Web:      www.OpenFOAM.org                      |
|    \\/    M anipulation  |                                                |
\*---------------------------------------------------------------------------*/
/*  Windows 32 and 64 bit porting by blueCAPE: http://www.bluecape.com.pt  *\
|  Based on Windows porting (2.0.x v4) by Symscape: http://www.symscape.com  |
\*---------------------------------------------------------------------------*/
Build  : 5.x-963176928289
Exec  : rhopimpleFoam -parallel
Date  : Nov 15 2018
Time  : 23:26:14
Host  : "DESKTOP-96FVRJH"
PID    : 23544
I/O    : uncollated
Case  : C:/PROGRA~1/blueCFD-Core-2017/ofuser-of5/run/HEHE
nProcs : 6
Slaves :
5
(
"DESKTOP-96FVRJH.21168"
"DESKTOP-96FVRJH.22224"
"DESKTOP-96FVRJH.1288"
"DESKTOP-96FVRJH.23488"
"DESKTOP-96FVRJH.10844"
)

Pstream initialized with:
    floatTransfer      : 0
    nProcsSimpleSum    : 0
    commsType          : nonBlocking
    polling iterations : 0
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

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

Create mesh for time = 0


PIMPLE: no residual control data found. Calculations will employ 3 corrector loops

Reading thermophysical properties

Selecting thermodynamics package
{
    type            hePsiThermo;
    mixture        pureMixture;
    transport      const;
    thermo          eConst;
    equationOfState perfectGas;
    specie          specie;
    energy          sensibleInternalEnergy;
}

[0] Generating stack trace...
[2] Generating stack trace...
[1]

Generating stack trace...
[5] Generating stack trace...
[4] Generating stack trace...
[3] Generating stack trace...
[1]

Backtrace:
        ZN10StackTraceC1Ev [0x705c1465+0x25]
                module: C:\PROGRA~1\blueCFD-Core-2017\ThirdParty-5.x\platforms\mingw_w64GccDPInt32\lib\libstack_trace.dll
        ZN4Foam5error10printStackERNS_7OstreamE [0x10e1c88+0x218]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
        ZN4Foam6sigFpe13sigFpeHandlerEi [0x10e2af3+0x33]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
        (No symbol) [0x4042bd]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\rhopimpleFoam.exe
        _C_specific_handler [0x7ffc805c7c58+0x98]
                module: C:\Windows\System32\msvcrt.dll
        0_chkstk [0x7ffc80bded3d+0x11d]
                module: C:\Windows\SYSTEM32\ntdll.dll
        RtlWalkFrameChain [0x7ffc80b46c86+0x13f6]
                module: C:\Windows\SYSTEM32\ntdll.dll
        KiUserExceptionDispatcher [0x7ffc80bddc6e+0x2e]
                module: C:\Windows\SYSTEM32\ntdll.dll
        ZN4Foam8heThermoINS_9psiThermoENS_11pureMixtureINS_14constTransportINS_7species6thermoINS_12eConstThermoINS_10perfectGasINS_6specieEEEEENS_22sensibleInternalEnergyEEEEEEEE4initEv [0x6a36a3ac+0xbc]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libfluidThermophysicalModels.dll
        ZN4Foam8heThermoINS_9psiThermoENS_11pureMixtureINS_14constTransportINS_7species6thermoINS_12eConstThermoINS_10perfectGasINS_6specieEEEEENS_22sensibleInternalEnergyEEEEEEEEC2ERKNS_6fvMeshERKNS_4wordE [0x6a36a844+0x214]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libfluidThermophysicalModels.dll
        ZN4Foam11hePsiThermoINS_9psiThermoENS_11pureMixtureINS_14constTransportINS_7species6thermoINS_12eConstThermoINS_10perfectGasINS_6specieEEEEENS_22sensibleInternalEnergyEEEEEEEEC1ERKNS_6fvMeshERKNS_4wordE [0x6a31b2ce+0xe]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libfluidThermophysicalModels.dll
        ZN4Foam11fluidThermo27addfvMeshConstructorToTableINS_11hePsiThermoINS_9psiThermoENS_11pureMixtureINS_14constTransportINS_7species6thermoINS_12eConstThermoINS_10perfectGasINS_6specieEEEEENS_22sensibleInternalEnergyEEEEEEEEEE3NewERKNS_6fvMeshERKNS_4wordE [0x6a31996f+0x2f]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libfluidThermophysicalModels.dll
        ZN4Foam11basicThermo3NewINS_11fluidThermoEEENS_7autoPtrIT_EERKNS_6fvMeshERKNS_4wordE [0x6a318caa+0x23a]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libfluidThermophysicalModels.dll
        ZN4Foam11fluidThermo3NewERKNS_6fvMeshERKNS_4wordE [0x6a3052dd+0xd]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libfluidThermophysicalModels.dll
        (No symbol) [0x45df20]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\rhopimpleFoam.exe
        (No symbol) [0x4013f7]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\rhopimpleFoam.exe
        (No symbol) [0x40152b]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\rhopimpleFoam.exe
        BaseThreadInitThunk [0x7ffc7e813034+0x14]
                module: C:\Windows\System32\KERNEL32.DLL
        RtlUserThreadStart [0x7ffc80bb1471+0x21]
                module: C:\Windows\SYSTEM32\ntdll.dll
[4]

Backtrace:
        ZN10StackTraceC1Ev [0x705c1465+0x25]
                module: C:\PROGRA~1\blueCFD-Core-2017\ThirdParty-5.x\platforms\mingw_w64GccDPInt32\lib\libstack_trace.dll
        ZN4Foam5error10printStackERNS_7OstreamE [0x1111c88+0x218]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
        ZN4Foam6sigFpe13sigFpeHandlerEi [0x1112af3+0x33]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
        (No symbol) [0x4042bd]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\rhopimpleFoam.exe
        _C_specific_handler [0x7ffc805c7c58+0x98]
                module: C:\Windows\System32\msvcrt.dll
        0_chkstk [0x7ffc80bded3d+0x11d]
                module: C:\Windows\SYSTEM32\ntdll.dll
        RtlWalkFrameChain [0x7ffc80b46c86+0x13f6]
                module: C:\Windows\SYSTEM32\ntdll.dll
        KiUserExceptionDispatcher [0x7ffc80bddc6e+0x2e]
                module: C:\Windows\SYSTEM32\ntdll.dll
        ZN4Foam8heThermoINS_9psiThermoENS_11pureMixtureINS_14constTransportINS_7species6thermoINS_12eConstThermoINS_10perfectGasINS_6specieEEEEENS_22sensibleInternalEnergyEEEEEEEE4initEv [0x6a36a3ac+0xbc]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libfluidThermophysicalModels.dll
        ZN4Foam8heThermoINS_9psiThermoENS_11pureMixtureINS_14constTransportINS_7species6thermoINS_12eConstThermoINS_10perfectGasINS_6specieEEEEENS_22sensibleInternalEnergyEEEEEEEEC2ERKNS_6fvMeshERKNS_4wordE [0x6a36a844+0x214]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libfluidThermophysicalModels.dll
        ZN4Foam11hePsiThermoINS_9psiThermoENS_11pureMixtureINS_14constTransportINS_7species6thermoINS_12eConstThermoINS_10perfectGasINS_6specieEEEEENS_22sensibleInternalEnergyEEEEEEEEC1ERKNS_6fvMeshERKNS_4wordE [0x6a31b2ce+0xe]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libfluidThermophysicalModels.dll
        ZN4Foam11fluidThermo27addfvMeshConstructorToTableINS_11hePsiThermoINS_9psiThermoENS_11pureMixtureINS_14constTransportINS_7species6thermoINS_12eConstThermoINS_10perfectGasINS_6specieEEEEENS_22sensibleInternalEnergyEEEEEEEEEE3NewERKNS_6fvMeshERKNS_4wordE [0x6a31996f+0x2f]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libfluidThermophysicalModels.dll
        ZN4Foam11basicThermo3NewINS_11fluidThermoEEENS_7autoPtrIT_EERKNS_6fvMeshERKNS_4wordE [0x6a318caa+0x23a]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libfluidThermophysicalModels.dll
        ZN4Foam11fluidThermo3NewERKNS_6fvMeshERKNS_4wordE [0x6a3052dd+0xd]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libfluidThermophysicalModels.dll
        (No symbol) [0x45df20]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\rhopimpleFoam.exe
        (No symbol) [0x4013f7]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\rhopimpleFoam.exe
        (No symbol) [0x40152b]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\rhopimpleFoam.exe
        BaseThreadInitThunk [0x7ffc7e813034+0x14]
                module: C:\Windows\System32\KERNEL32.DLL
        RtlUserThreadStart [0x7ffc80bb1471+0x21]
                module: C:\Windows\SYSTEM32\ntdll.dll
[2]

Backtrace:
        ZN10StackTraceC1Ev [0x705c1465+0x25]
                module: C:\PROGRA~1\blueCFD-Core-2017\ThirdParty-5.x\platforms\mingw_w64GccDPInt32\lib\libstack_trace.dll
        ZN4Foam5error10printStackERNS_7OstreamE [0x11e1c88+0x218]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
        ZN4Foam6sigFpe13sigFpeHandlerEi [0x11e2af3+0x33]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFOAM.dll
        (No symbol) [0x4042bd]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\rhopimpleFoam.exe
        _C_specific_handler [0x7ffc805c7c58+0x98]
                module: C:\Windows\System32\msvcrt.dll
        0_chkstk [0x7ffc80bded3d+0x11d]
                module: C:\Windows\SYSTEM32\ntdll.dll
        RtlWalkFrameChain [0x7ffc80b46c86+0x13f6]
                module: C:\Windows\SYSTEM32\ntdll.dll
        KiUserExceptionDispatcher [0x7ffc80bddc6e+0x2e]
                module: C:\Windows\SYSTEM32\ntdll.dll
        ZN4Foam8heThermoINS_9psiThermoENS_11pureMixtureINS_14constTransportINS_7species6thermoINS_12eConstThermoINS_10perfectGasINS_6specieEEEEENS_22sensibleInternalEnergyEEEEEEEE4initEv [0x6a36a3ac+0xbc]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libfluidThermophysicalModels.dll
        ZN4Foam8heThermoINS_9psiThermoENS_11pureMixtureINS_14constTransportINS_7species6thermoINS_12eConstThermoINS_10perfectGasINS_6specieEEEEENS_22sensibleInternalEnergyEEEEEEEEC2ERKNS_6fvMeshERKNS_4wordE [0x6a36a844+0x214]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libfluidThermophysicalModels.dll
        ZN4Foam11hePsiThermoINS_9psiThermoENS_11pureMixtureINS_14constTransportINS_7species6thermoINS_12eConstThermoINS_10perfectGasINS_6specieEEEEENS_22sensibleInternalEnergyEEEEEEEEC1ERKNS_6fvMeshERKNS_4wordE [0x6a31b2ce+0xe]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libfluidThermophysicalModels.dll
        ZN4Foam11fluidThermo27addfvMeshConstructorToTableINS_11hePsiThermoINS_9psiThermoENS_11pureMixtureINS_14constTransportINS_7species6thermoINS_12eConstThermoINS_10perfectGasINS_6specieEEEEENS_22sensibleInternalEnergyEEEEEEEEEE3NewERKNS_6fvMeshERKNS_4wordE [0x6a31996f+0x2f]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libfluidThermophysicalModels.dll
        ZN4Foam11basicThermo3NewINS_11fluidThermoEEENS_7autoPtrIT_EERKNS_6fvMeshERKNS_4wordE [0x6a318caa+0x23a]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libfluidThermophysicalModels.dll
        ZN4Foam11fluidThermo3NewERKNS_6fvMeshERKNS_4wordE [0x6a3052dd+0xd]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libfluidThermophysicalModels.dll
        (No symbol) [0x45df20]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\rhopimpleFoam.exe
        (No symbol) [0x4013f7]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\rhopimpleFoam.exe
        (No symbol) [0x40152b]
                module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\rhopimpleFoam.exe
        BaseThreadInitThunk [0x7ffc7e813034+0x14]
                module: C:\Windows\System32\KERNEL32.DLL
        RtlUserThreadStart [0x7ffc80bb1471+0x21]
                module: C:\Windows\SYSTEM32\ntdll.dll

job aborted:
[ranks] message

[0] terminated

[1-2] process exited without calling finalize

[3] terminated

[4] process exited without calling finalize

[5] terminated

---- error analysis -----

[1-2,4] on DESKTOP-96FVRJH
rhopimpleFoam ended prematurely and may have crashed. exit code 3

---- error analysis -----

Any suggestions?

wyldckat January 6, 2019 17:39

Quick answer: Sorry for the late reply, but essentially the critical detail is that:
Code:

ZN4Foam6sigFpe13sigFpeHandlerEi
has "sigFpe" in there, which means that there was a floating point error. This means that either a division by zero or some other illegal mathematical operation was attempted.


The illegal mathematical operation occurred at:
Code:

    ZN4Foam8heThermoINS_9psiThermoENS_11pureMixtureINS_14constTransportINS_7species6thermoINS_12eConstThermoINS_10perfectGasINS_6specieEEEEENS_22sensibleInternalEnergyEEEEEEEE4initEv [0x6a36a3ac+0xbc]
        module: C:\PROGRA~1\blueCFD-Core-2017\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libfluidThermophysicalModels.dll

So in other words, it occurred at a thermodynamic calculation. Usually this is associated with an absolute pressure value of 0 Pa or a absolute temperature of 0 K.

This likely occurred when you switched from pimpleFoam to rhoPimpleFoam, given that rhoPimpleFoam works with absolute pressures and not relative pressures as in pimpleFoam.


All times are GMT -4. The time now is 15:32.