Navigation

    CFD中文网

    CFD中文网

    • Login
    • Search
    • 最新

    求问一个公式在OpenFOAM中的表示方法?

    OpenFOAM
    2
    9
    1534
    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.
    • strive_DUT
      strive_DUT last edited by

      公式如果所示,请问在OpenFOAM中如何表示呢?
      QQ截图20200915104148.png

      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
        • strive_DUT
          strive_DUT last edited by

          这是整个公式,李老师
          QQ截图20200915124245.png

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

            看起来是LaunderSharma方程的源项:magSqrGradGrad(U)

            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

              @东岳 谢谢李老师!我去找找源代码

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

                嗯 http://dyfluid.com/docs/tensor.html 这里也有magSqrGradGrad(U)

                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

                  @东岳 多谢李老师!请问这个不用以源项的形式实现吧,直接在方程中给出就行吧?还有个问题,就是方程中的fw是需要求解一个二阶齐次方程,这个应该怎么实现呢,李老师?还请您指教!
                  QQ截图20200915165541.png

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

                    看起来你需要植入类似的东西:

                    fvm::laplacian(fw) = fw;
                    

                    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

                      @东岳 谢谢李老师!:ok:

                      1 Reply Last reply Reply Quote
                      • First post
                        Last post

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