Skip to content
  • 最新
  • 版块
  • 东岳流体
  • 随机看[请狂点我]
皮肤
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • 默认(不使用皮肤)
  • 不使用皮肤
折叠
CFD中文网

CFD中文网

  1. CFD中文网
  2. OpenFOAM
  3. pimpleFoam报错

pimpleFoam报错

已定时 已固定 已锁定 已移动 OpenFOAM
4 帖子 2 发布者 2.7k 浏览
  • 从旧到新
  • 从新到旧
  • 最多赞同
回复
  • 在新帖中回复
登录后回复
此主题已被删除。只有拥有主题管理权限的用户可以查看。
  • G 离线
    G 离线
    Guoguo
    写于 最后由 编辑
    #1

    在使用pimpleFoam进行瞬态仿真时,运行过程中发生如下报错,求大神解答是什么原因造成

    --> FOAM Warning :
        From function static Foam::instantList Foam::timeSelector::select0(Foam::Time&, const Foam::argList&)
        in file db/Time/timeSelector.C at line 269
        No time specified or available, selecting 'constant'
    
    1 条回复 最后回复
  • 李东岳李 离线
    李东岳李 离线
    李东岳 管理员
    写于 最后由 编辑
    #2

    不用管这个warning

    http://dyfluid.com/index.html
    需要帮助debug算例的看这个 https://cfd-china.com/topic/8018

    G 1 条回复 最后回复
  • G 离线
    G 离线
    Guoguo
    在 中回复了 李东岳 最后由 编辑
    #3

    @李东岳 李老师你好,我又检查了一下,发现这个应该不是报错的主要原因,完整的报错如下

    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
    

    中间好像提到了浮点数的问题,这是由于网格质量的原因导致的报错吗?

    1 条回复 最后回复
  • 李东岳李 离线
    李东岳李 离线
    李东岳 管理员
    写于 最后由 编辑
    #4

    这个就是发散了,目前看不出来什么原因

    http://dyfluid.com/index.html
    需要帮助debug算例的看这个 https://cfd-china.com/topic/8018

    1 条回复 最后回复

  • 登录

  • 登录或注册以进行搜索。
  • 第一个帖子
    最后一个帖子
0
  • 最新
  • 版块
  • 东岳流体
  • 随机看[请狂点我]