Navigation

    CFD中文网

    CFD中文网

    • Login
    • Search
    • 最新

    fvMatrix 的系数正负求解稳定性

    OpenFOAM
    2
    7
    807
    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.
    • Y
      yfclark 讲师 last edited by

      最近修改方程发现
      -fvc::div(phiHbyA)+fvm::laplacian(rAUf, p_rgh)
      fvc::div(phiHbyA)-fvm::laplacian(rAUf, p_rgh)
      求解的稳定性完全不一样前者稳定,后者发散了,觉得很奇怪,大佬们有何高见@东岳

      1 Reply Last reply Reply Quote
      • 李东岳
        李东岳 管理员 last edited by

        这俩个不是一个加一个减么

        CFD课程 改成线上了 http://dyfluid.com/class.html
        CFD高性能服务器 http://dyfluid.com/servers.html

        1 Reply Last reply Reply Quote
        • Y
          yfclark 讲师 last edited by

          @东岳 对的,按照理论来讲只是方程的系数变了一个符号,相当于
          solve(pEqn==0) 和solve(-pEqn==0)

          1 Reply Last reply Reply Quote
          • 李东岳
            李东岳 管理员 last edited by

            后面UEqn也跟着处理了么

            CFD课程 改成线上了 http://dyfluid.com/class.html
            CFD高性能服务器 http://dyfluid.com/servers.html

            1 Reply Last reply Reply Quote
            • Y
              yfclark 讲师 last edited by

              @东岳 Ueqn没有处理,是通量的符号出了问题吗?

              1 Reply Last reply Reply Quote
              • 李东岳
                李东岳 管理员 last edited by

                @yfclark pEqn.flux()跟里面的写法有关系,如果你写反了,那组建U的时候,也要反一下

                CFD课程 改成线上了 http://dyfluid.com/class.html
                CFD高性能服务器 http://dyfluid.com/servers.html

                1 Reply Last reply Reply Quote
                • Y
                  yfclark 讲师 last edited by

                  @东岳 ok,明白了,谢谢东岳老师

                  1 Reply Last reply Reply Quote
                  • First post
                    Last post

                  CFD中文网 | 东岳流体 | 京ICP备15017992号-2