@李东岳 李老师你好,我又检查了一下,发现这个应该不是报错的主要原因,完整的报错如下
Courant Number mean: 46953315.2932 max: 138977110367
Time = 0.015s
[10] #0 Foam::error::printStack(Foam::Ostream&) at ??:?
[10] #1 Foam::sigFpe::sigHandler(int) at ??:?
[10] #2 ? in "/lib/x86_64-linux-gnu/libc.so.6"
[10] #3 Foam::symGaussSeidelSmoother::smooth(Foam::word const&, Foam::Field<double>&, Foam::lduMatrix const&, Foam::Field<double> const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, unsigned char, int) at ??:?
[10] #4 Foam::symGaussSeidelSmoother::smooth(Foam::Field<double>&, Foam::Field<double> const&, unsigned char, int) const at ??:?
[10] #5 Foam::smoothSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
[10] #6 ? in "/home/g/OpenFOAM/OpenFOAM-10/platforms/linux64GccDPInt32Opt/bin/pimpleFoam"
[10] #7 ? in "/home/g/OpenFOAM/OpenFOAM-10/platforms/linux64GccDPInt32Opt/bin/pimpleFoam"
[10] #8 ? in "/home/g/OpenFOAM/OpenFOAM-10/platforms/linux64GccDPInt32Opt/bin/pimpleFoam"
[10] #9 ? in "/home/g/OpenFOAM/OpenFOAM-10/platforms/linux64GccDPInt32Opt/bin/pimpleFoam"
[10] #10 ? in "/lib/x86_64-linux-gnu/libc.so.6"
[10] #11 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
[10] #12 ? in "/home/g/OpenFOAM/OpenFOAM-10/platforms/linux64GccDPInt32Opt/bin/pimpleFoam"
[DESKTOP-PM8FS88:01170] *** Process received signal ***
[DESKTOP-PM8FS88:01170] Signal: Floating point exception (8)
[DESKTOP-PM8FS88:01170] Signal code: (-6)
[DESKTOP-PM8FS88:01170] Failing at address: 0x3e800000492
[DESKTOP-PM8FS88:01170] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f9e44753520]
[DESKTOP-PM8FS88:01170] [ 1] /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f9e447a79fc]
[DESKTOP-PM8FS88:01170] [ 2] /lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f9e44753476]
[DESKTOP-PM8FS88:01170] [ 3] /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f9e44753520]
[DESKTOP-PM8FS88:01170] [ 4] /home/g/OpenFOAM/OpenFOAM-10/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam22symGaussSeidelSmoother6smoothERKNS_4wordERNS_5FieldIdEERKNS_9lduMatrixERKS5_RKNS_10FieldFieldIS4_dEERKNS_8UPtrListIKNS_17lduInterfaceFieldEEEhi+0x40c)[0x7f9e4519c36c]
[DESKTOP-PM8FS88:01170] [ 5] /home/g/OpenFOAM/OpenFOAM-10/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam22symGaussSeidelSmoother6smoothERNS_5FieldIdEERKS2_hi+0x2c)[0x7f9e4519c71c]
[DESKTOP-PM8FS88:01170] [ 6] /home/g/OpenFOAM/OpenFOAM-10/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam12smoothSolver5solveERNS_5FieldIdEERKS2_h+0x3b9)[0x7f9e45192759]
[DESKTOP-PM8FS88:01170] [ 7] pimpleFoam(+0x7c88d)[0x55846bbec88d]
[DESKTOP-PM8FS88:01170] [ 8] pimpleFoam(+0x8a03a)[0x55846bbfa03a]
[DESKTOP-PM8FS88:01170] [ 9] pimpleFoam(+0x8a305)[0x55846bbfa305]
[DESKTOP-PM8FS88:01170] [10] pimpleFoam(+0x31f00)[0x55846bba1f00]
[DESKTOP-PM8FS88:01170] [11] /lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f9e4473ad90]
[DESKTOP-PM8FS88:01170] [12] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f9e4473ae40]
[DESKTOP-PM8FS88:01170] [13] pimpleFoam(+0x34c85)[0x55846bba4c85]
[DESKTOP-PM8FS88:01170] *** 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 10 with PID 0 on node DESKTOP-PM8FS88 exited on signal 8 (Floating point exception).
--------------------------------------------------------------------------
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 10
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
Build : 10-03dd22794e29
Exec : reconstructPar
Date : Feb 22 2024
Time : 20:42:13
Host : "DESKTOP-PM8FS88"
PID : 1244
I/O : uncollated
Case : /mnt/e/guo/cfd/openfoam
nProcs : 1
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
中间好像提到了浮点数的问题,这是由于网格质量的原因导致的报错吗?