Navigation

    CFD中文网

    CFD中文网

    • Login
    • Search
    • 最新

    粘度模型,求解随温度变化的粘度?

    OpenFOAM
    4
    15
    6008
    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

      我的模型要考虑一下粘度随温度的变化,在OF里我看到了这样的一个模型:ArrheniusViscosity,头文件里给出的解释是这样的

      Description
          The Arrhenius temperature-dependent viscosity model multiplies the viscosity
          of a base model by an Arrhenius-type temperature function:
      
              mu = mu0*exp(k1*(1/(T + k2) - 1/(Tref + k2)))
      
          Where:
              mu0 is the base-model viscosity
              k1 and k2 are Arrhenius coefficients
              T is the local temperature
              Tref is the reference temperature
      

      这个模型是考虑了温度对粘度的影响的模型吗?里面的k1和k2解释是 Arrhenius系数,这个东西是什么?这个模型怎么用啊,没有找到OF里的自带算例。

      1 Reply Last reply Reply Quote
      • 小
        小龙 last edited by

        还有一个粘度模型,power-law non-Newtonian viscosity model,

            // Private data
        
                dictionary powerLawCoeffs_;
        
                dimensionedScalar k_;
                dimensionedScalar n_;
                dimensionedScalar nuMin_;
                dimensionedScalar nuMax_;
        
                volScalarField nu_;
        

        这里的n,nuMin_和nuMax_是什么?

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

          这都是非牛顿流体的本构方程,实际上非牛顿流体的书上都有的,我建议你参考Non-Newtonian Fluids: An Introduction。有问题再回帖 :big_mouth:

          线上CFD课程 7月1日报名截止 http://dyfluid.com/class.html
          CFD高性能服务器 http://dyfluid.com/servers.html

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

            @李东岳 东岳前辈,弱弱的问一下,考虑水的粘度随温度变化,还是牛顿流体吗?:big_mouth:

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

              牛顿流体定义为剪切力和形变率为线性关系。如果粘度只随着温度变化,剪切力和形变率依然为线性关系,但却不是点对点的对应关系。从概念上我不确定是不是牛顿流体。但如果你要编程植入的话,这个非常简单。吧粘度设置为温度的参数就可以了。可以基于非牛顿流体class进行修改。

              线上CFD课程 7月1日报名截止 http://dyfluid.com/class.html
              CFD高性能服务器 http://dyfluid.com/servers.html

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

                @东岳 看过一个chalmers的例子,是基于powerLaw类进行的修改,我想知道可否基于Newtonian进行修改?

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

                  是基于powerLaw类进行的修改,我想知道可否基于Newtonian进行修改?

                  这俩个类大同小异,个人觉得没什么区别。

                  线上CFD课程 7月1日报名截止 http://dyfluid.com/class.html
                  CFD高性能服务器 http://dyfluid.com/servers.html

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

                    @东岳 基于powerLaw类,自定义了一个粘度模型,能正常编译,但是运用至求解器中后会出现这样的错误,请问是什么原因?0_1523196304600_选区_001.png

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

                      看你的TypeName("tempdeppowerLaw");有没有写 :qichuang:

                      线上CFD课程 7月1日报名截止 http://dyfluid.com/class.html
                      CFD高性能服务器 http://dyfluid.com/servers.html

                      Y 2 Replies Last reply Reply Quote
                      • Y
                        yuanlee2011 @yuanlee2011 last edited by

                        @yuanlee2011 您指的是这里吗?(基于of231)0_1523283612380_选区_002.png

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

                          @东岳 您指的是这里吗?(基于of231),0_1523888158438_28b7df87-0099-4268-85a1-2af137de89fc-图片.png

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

                            @东岳 新的粘度模型编译成库(libusertempdeppowerLaw.so),通过controDict中添加“libs ("libusertempdeppowerLaw.so");”调用,当使用串行计算时,case正常运行,但是采用并行计算,在decomposePar的过程中会出现该warning(如图所示),请问该怎样解决?
                            0_1523888853464_378949282.jpg

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

                              decomposePar只要分解了就可以,这个可以忽略

                              线上CFD课程 7月1日报名截止 http://dyfluid.com/class.html
                              CFD高性能服务器 http://dyfluid.com/servers.html

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

                                @东岳 谢谢!

                                N 1 Reply Last reply Reply Quote
                                • N
                                  nanxuan @yuanlee2011 last edited by

                                  @yuanlee2011 前辈您好,咨询一哈,如果我想定义随温度变化得粘度模型也是按照你这个来设置吗

                                  1 Reply Last reply Reply Quote
                                  • First post
                                    Last post

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