运行报错



  • [2] #0  Foam::error::printStack(Foam::Ostream&) at ??:?
    [2] #1  Foam::sigFpe::sigHandler(int) at ??:?
    [2] #2  ? in /lib/x86_64-linux-gnu/libc.so.6
    [2] #3  Foam::hePsiThermo<Foam::psiReactionThermo, Foam::SpecieMixture<Foam::reactingMixture<Foam::sutherlandTransport<Foam::species::thermo<Foam::janafThermo<Foam::perfectGas<Foam::specie> >, Foam::sensibleEnthalpy> > > > >::calculate(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, bool) at ??:?
    [2] #4  Foam::hePsiThermo<Foam::psiReactionThermo, Foam::SpecieMixture<Foam::reactingMixture<Foam::sutherlandTransport<Foam::species::thermo<Foam::janafThermo<Foam::perfectGas<Foam::specie> >, Foam::sensibleEnthalpy> > > > >::correct() at ??:?
    [2] #5  ? in ~/OpenFOAM/dyfluid-v1812/platforms/linux64GccDPInt32Opt/bin/coalChemistryAlphaFoam
    [2] #6  __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
    [2] #7  ? in ~/OpenFOAM/dyfluid-v1812/platforms/linux64GccDPInt32Opt/bin/coalChemistryAlphaFoam
    [dyfluid:21221] *** Process received signal ***
    [dyfluid:21221] Signal: Floating point exception (8)
    [dyfluid:21221] Signal code:  (-6)
    [dyfluid:21221] Failing at address: 0x3e8000052e5
    [dyfluid:21221] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x3ef20)[0x7f5313e60f20]
    [dyfluid:21221] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7)[0x7f5313e60e97]
    [dyfluid:21221] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x3ef20)[0x7f5313e60f20]
    [dyfluid:21221] [ 3] /home/dyfluid/OpenFOAM/OpenFOAM-v1812/platforms/linux64GccDPInt32Opt/lib/libreactionThermophysicalModels.so(_ZN4Foam11hePsiThermoINS_17psiReactionThermoENS_13SpecieMixtureINS_15reactingMixtureINS_19sutherlandTransportINS_7species6thermoINS_11janafThermoINS_10perfectGasINS_6specieEEEEENS_16sensibleEnthalpyEEEEEEEEEE9calculateERKNS_14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEEERSL_SO_SO_SO_SO_b+0x214)[0x7f5318b204b4]
    [dyfluid:21221] [ 4] /home/dyfluid/OpenFOAM/OpenFOAM-v1812/platforms/linux64GccDPInt32Opt/lib/libreactionThermophysicalModels.so(_ZN4Foam11hePsiThermoINS_17psiReactionThermoENS_13SpecieMixtureINS_15reactingMixtureINS_19sutherlandTransportINS_7species6thermoINS_11janafThermoINS_10perfectGasINS_6specieEEEEENS_16sensibleEnthalpyEEEEEEEEEE7correctEv+0x50)[0x7f5318b20ba0]
    [dyfluid:21221] [ 5] coalChemistryAlphaFoam(+0x65368)[0x55b421cae368]
    [dyfluid:21221] [ 6] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7f5313e43b97]
    [dyfluid:21221] [ 7] coalChemistryAlphaFoam(+0x6beca)[0x55b421cb4eca]
    [dyfluid:21221] *** End of error message ***
    --------------------------------------------------------------------------
    mpirun noticed that process rank 2 with PID 0 on node dyfluid exited on signal 8 (Floating point exception).
    --------------------------------------------------------------------------
    
    

    各位老师们,我想问一下这个报错是什么原因,有什么解决办法吗?谢谢!


  • 管理员

    可能温度越界了,看不出来具体原因



  • @东岳 谢谢李老师,确实是温度越界了,请问有什么解决办法吗?这是我热物理模型的选取,谢谢!

    thermoType
    {
        type            hePsiThermo;
        mixture         reactingMixture;
        transport       sutherland;
        thermo          janaf;
        energy          sensibleEnthalpy;
        equationOfState perfectGas;
        specie          specie;
    }
    


  • @鲸落 如果大概知道温度范围的话或许可以用fvoption做一个limitTemperature?但也不一定有用



  • 如果是发散的话可能都原因太多了啊


  • 管理员

    嗯 不好说 原因太多了 :138: :138: :138:



  • 非常感谢老师们的指点,我去试试看


Log in to reply
 


CFD中文网 | 东岳流体学术 | 东岳流体商业 | 吉ICP备20003622号-1