Navigation

    CFD中文网

    CFD中文网

    • Login
    • Search
    • 最新

    运行出错

    OpenFOAM
    3
    8
    4508
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      lv1995 last edited by 赵一铭

      运行的时候一直出错,有没有大神可以帮忙看一下是什么问题啊

      #0  Foam::error::printStack(Foam::Ostream&) at ??:?
      #1  Foam::sigFpe::sigHandler(int) at ??:?
      #2  ? in "/lib/x86_64-linux-gnu/libc.so.6"
      #3  Foam::GaussSeidelSmoother::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 ??:?
      #4  Foam::GaussSeidelSmoother::smooth(Foam::Field<double>&, Foam::Field<double> const&, unsigned char, int) const at ??:?
      #5  Foam::smoothSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
      #6  Foam::fvMatrix<double>::solveSegregated(Foam::dictionary const&) at ??:?
      #7  Foam::fvMatrix<double>::solve(Foam::dictionary const&) at ??:?
      #8  Foam::fvMatrix<double>::solve() at ??:?
      #9  Foam::SolverPerformance<double> Foam::solve<double>(Foam::tmp<Foam::fvMatrix<double> > const&) at ??:?
      #10  Foam::kOmegaSST<Foam::eddyViscosity<Foam::RASModel<Foam::IncompressibleTurbulenceModel<Foam::transportModel> > >, Foam::IncompressibleTurbulenceModel<Foam::transportModel> >::correct() at ??:?
      #11  ? at ??:?
      #12  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
      #13  ? at ??:?
      浮点数例外 (核心已转储)
      
      1 Reply Last reply Reply Quote
      • 赵
        赵一铭 last edited by

        只不过是发散了,很多原因导致,无法判断出具体原因。

        L 1 Reply Last reply Reply Quote
        • L
          lv1995 @赵一铭 last edited by

          @赵一铭 那么请问,导致发散的原因有哪些呢?怎么进行进一步的判断?

          I 1 Reply Last reply Reply Quote
          • I
            Izumi @lv1995 last edited by

            @lv1995 你好,我也遇到了这种情况,请问你算的是什么?你的time step continuity errors怎么样?我是算压缩机,我的time step continuity errors特别大。

            1 Reply Last reply Reply Quote
            • L
              lv1995 last edited by

              我算的是风力机,我的time step continuity errors还好,但是NO iteration特别大,改了一下以后好像可以算了
              这个是找到的发散的原因 http://blog.sina.com.cn/s/blog_5fdfa7e601010rkx.html

              I 1 Reply Last reply Reply Quote
              • I
                Izumi @lv1995 last edited by

                @lv1995 根据你给的链接,发现我的问题出在非正交修正。我的网格正交性较差,修改了非正交修正次数后,计算就不发散了,得到了结果。十分感谢!

                L 1 Reply Last reply Reply Quote
                • L
                  lv1995 @Izumi last edited by

                  @Izumi 我的网格也不是正交的,你用的什么网格?非正交修正次数改的多少呢?

                  1 Reply Last reply Reply Quote
                  • I
                    Izumi last edited by Izumi

                    @lv1995 网格这块我不太懂,应该是六面体网格。checkMesh检查出来的非正交性大概50-60,我把非正交修正次数从“0”改为“1”就不发散了,没试过更大的非正交修正系数。看教程上也说一般设置为“0”或“1”。

                    1 Reply Last reply Reply Quote
                    • First post
                      Last post

                    CFD中文网 | 东岳流体 | 京ICP备15017992号-2
                    论坛登录问题反馈可联系 li.dy@dyfluid.com