Navigation

    CFD中文网

    CFD中文网

    • Login
    • Search
    • 最新

    关于fvOption的一个疑问

    OpenFOAM
    3
    8
    5265
    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
      yuan_neu last edited by CFD中文网

      在pinplefoam里面的UEqn,扩散项是包含在fvOptions里面了吗?如果是的话,是不是就意味着扩散项被当作源项处理了?那么需要在case文件里面定义扩散项吗?

          5 tmp<fvVectorMatrix> tUEqn
          6 (
          7     fvm::ddt(U) + fvm::div(phi, U)
          8   + MRF.DDt(U)
          9   + turbulence->divDevReff(U)
         10  ==
         11     fvOptions(U)
         12 );
      
      1 Reply Last reply Reply Quote
      • Y
        yuan_neu last edited by CFD中文网

          103 Foam::fv::options& Foam::fv::options::New(const fvMesh& mesh)
          104 {
          105     if (mesh.thisDb().foundObject<options>(typeName))
          106     {
          107         return const_cast<options&>
          108         (
          109             mesh.lookupObject<options>(typeName)
          110         );
          111     }
          112     else
          113     {
          114         if (debug)
          115         {
          116             InfoInFunction
          117                 << "Constructing " << typeName
          118                 << " for region " << mesh.name() << endl;
          119         }
          120 
          121         options* objectPtr = new options(mesh);
          122         regIOobject::store(objectPtr);
          123         return *objectPtr;
          124     }
          125 }
        

        追溯createfvOptions.h,里面用到了上述的New函数,但是小弟不太看得明白!!请求高人指点

        1 Reply Last reply Reply Quote
        • C
          CFD中文网 last edited by

          其实是包含在turbulence->divDevReff(U)中。找一个湍流模型,查看divDevReff函数即可。

          CFD中国标准用户测试帐号
          目前由徐笑笑登录

          Y 1 Reply Last reply Reply Quote
          • C
            CFD中文网 last edited by

            No, fvOptions用来添加的是源项。:sunglasses:

            CFD中国标准用户测试帐号
            目前由徐笑笑登录

            金石为开 1 Reply Last reply Reply Quote
            • Y
              yuan_neu @CFD中文网 last edited by

              @cfd-china 谢谢你的指点!!!
              另外下面再补充本人查找的几个关于fvoption的链接吧
              感觉里面说得比较详细。确实里面都明确提到了fvoption就是用来添加源项的
              http://caefn.com/tag/openfoam/
              http://www.cfd-online.com/Forums/openfoam-programming-development/130503-using-fvoptions-add-momentum-source.html
              http://openfoam.org/release/2-2-0/fv-options/
              http://www.sourceflux.de/blog/adding-source-terms-equations-fvoptions/

              1 Reply Last reply Reply Quote
              • 金石为开
                金石为开 @CFD中文网 last edited by

                @cfd-china fvsolution是添加源项,老师那MRF.DDt()这个是做什么的,我看这种是用于旋转坐标系,这方面理论该在哪里找呢?MRF.DDt该看哪里呢?谢谢

                C 1 Reply Last reply Reply Quote
                • C
                  CFD中文网 @金石为开 last edited by

                  @金石为开
                  目前我知道的只有Gosman的Prediction of impeller-induced flowin mixing vessels using multiple frames of reference。Fluent理论指南里面也有涉及。但是不是很详细。其他有关MRF的资料我还没关注过详细的讨论。有的话烦请告知。

                  CFD中国标准用户测试帐号
                  目前由徐笑笑登录

                  金石为开 1 Reply Last reply Reply Quote
                  • 金石为开
                    金石为开 @CFD中文网 last edited by

                    @cfd-china 老师我刚接触,我自己再找找,找到了一定回帖,您说的这篇文章有吗?我在网上找到但是下载不了,谢谢~~~

                    1 Reply Last reply Reply Quote
                    • First post
                      Last post

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