Navigation

    CFD中文网

    CFD中文网

    • Login
    • Search
    • 最新

    compressibleTwoPhaseMixture库编写问题

    OpenFOAM
    2
    20
    9543
    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.
    • M
      mark last edited by

      OF现有incompressibleTwoPhaseMixture,对于可压缩两相混合库的编写?有什么想法?0_1458823612368_2016-03-24 20:40:38屏幕截图.png

      1 Reply Last reply Reply Quote
      • M
        mark last edited by

        0_1458824939936_2016-03-24 21:08:41屏幕截图.png

        1 Reply Last reply Reply Quote
        • M
          mark last edited by

          1.需要私有成员函数  计算nu?

          1 Reply Last reply Reply Quote
          • M
            mark last edited by

            rho1 rho2 mu 已经在twoPhaseMixtureThermo 中定义,怎样在这个库中使用?

            M 1 Reply Last reply Reply Quote
            • M
              mark last edited by

              不需要计算nu等可否 ???,我只是需要这个库读取transportProperties.

              1 Reply Last reply Reply Quote
              • M
                mark @mark last edited by

                @mark 只是包含一下头文件就可以了?

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

                  Hi,

                  一般情况下,编程要考虑公式。可以把你的公式写下来然后看是否需要重现写类。从不可压缩多相到可压缩多相重要的是连续性方程的变化。这个incompressibleTwoPhaseMmixture应该改动不到。你要实现什么公式?

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

                  1 Reply Last reply Reply Quote
                  • M
                    mark last edited by

                    @李东岳 我做的是可压缩空化,我在compressibleInterFoam基础上修改,加入空化模型................空化模型需要读取taransportProperties, 以compressibleTwoPhaseMixturewei 父类,空化模型为子类,好像不需要什么公式啊?

                    李东岳 1 Reply Last reply Reply Quote
                    • M
                      mark last edited by

                      里面的成员函数不变?

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

                        @mark 空化不是可以用cavitingFoam来做?

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

                        M 1 Reply Last reply Reply Quote
                        • M
                          mark last edited by

                          interPhaseChangeFoam

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

                            @李东岳 interPhaseChangeFoam

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

                              @mark so 你要把interPhaseChangeFoam变为compressibleInterPhaaseChangeFoam?

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

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

                                @李东岳是的

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

                                  @李东岳 说:

                                  把interPhaseChangeFoam变为co

                                  我建议你如果你对如何从不可压缩流体的控制方程转化为可压缩流体的控制方程很熟悉的话,可以直接改。
                                  如果不熟悉的话,先从interFoam看,看他怎么变成compressibleInterFoam的。知道了怎么处理压缩性之后,
                                  在interPhaseChengeFoam上改压力方程。

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

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

                                    28号之前,我把不可压缩VOF——可压缩VOF推一下。供参考。不能保证完成。28完成不了。我在1-10号之前处理。

                                    主要是连续性方程 :)

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

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

                                      @李东岳  对于compressibleTwoPhaseMixture 这个类  ,我从compressibleTransport 直接派生  构造函数,析构函数,read 函数 ,nu 和 correct是必须存在的?对否?

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

                                        @mark 不好意思不是很理解你的问题。如果能把类名的具体文件地址说出来更好。

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

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

                                          @李东岳 src/transportModels/incompressible/incompressibleTwoPhaseMixture src/transportModels/compressible

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

                                            @mark dgdt分析已经上传

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

                                            1 Reply Last reply Reply Quote
                                            • First post
                                              Last post

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