Navigation

    CFD中文网

    CFD中文网

    • Login
    • Search
    • 最新

    可压缩求解器为什么密度残差一直为0,迭代步也一直是0

    OpenFOAM
    4
    7
    1920
    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.
    • 孟豪龙
      孟豪龙 last edited by

      可压缩求解器为什么密度残差一直为0,迭代步也一直是0
      0_1536640461874_415ddb8f-12b0-472f-ae55-eecf66ba8cc7-image.png

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

        对角矩阵求解,不需要迭代。$Ax=b$,$A$是对角阵

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

        strive_DUT 1 Reply Last reply Reply Quote
        • 孟豪龙
          孟豪龙 last edited by

          谢谢你。

          1 Reply Last reply Reply Quote
          • C
            cccrrryyy 教授 last edited by

            求解器代码里面好像有一个if判定,在一定条件下才会调用rhoEqn.H。手机没法细看,楼主可以自己查查

            I don't want to survive, I want to thrive.

            1 Reply Last reply Reply Quote
            • strive_DUT
              strive_DUT @李东岳 last edited by

              @东岳 李老师,fvSolution中关于密度的求解定义:矩阵求解器为PCG,preconditioner 为DIC预条件,为什么求解密度时会变成diagonal预条件呢?就像上图一样,我刚刚试了rhoPisoFoam,也是同样的问题。麻烦老师指教:chigua:

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

                @strive_DUT 这些求解器都可以degenerate成为diagonal,这就是个纯对角阵,不需要任何迭代,直接除过去完事

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

                strive_DUT 1 Reply Last reply Reply Quote
                • strive_DUT
                  strive_DUT @李东岳 last edited by

                  @东岳 在 可压缩求解器为什么密度残差一直为0,迭代步也一直是0 中说:

                  degenerate

                  感谢李老师指导!:ok3:

                  1 Reply Last reply Reply Quote
                  • First post
                    Last post

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