Skip to content
  • 最新
  • 版块
  • 东岳流体
  • 随机看[请狂点我]
皮肤
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • 默认(不使用皮肤)
  • 不使用皮肤
折叠
CFD中文网

CFD中文网

  1. CFD中文网
  2. OpenFOAM
  3. MPPICInterFoam中的bug?

MPPICInterFoam中的bug?

已定时 已固定 已锁定 已移动 OpenFOAM
35 帖子 7 发布者 33.2k 浏览
  • 从旧到新
  • 从新到旧
  • 最多赞同
回复
  • 在新帖中回复
登录后回复
此主题已被删除。只有拥有主题管理权限的用户可以查看。
  • winsway_zeroW 离线
    winsway_zeroW 离线
    winsway_zero
    在 中回复了 linhan.ge 最后由 编辑
    #10

    @linhan-ge 哦哦,明白了

    1 条回复 最后回复
  • linhan.geL 离线
    linhan.geL 离线
    linhan.ge
    在 中回复了 李东岳 最后由 李东岳 编辑
    #11

    @东岳 还是没有理解,包括第8行,不应该也有流体项的体积分数吗?即 fvm::div(alphacRhoPhi,U),湍流模型里面看起来是没问题的,包含了体积分数我参考的方程是这样的:

    0_1524816341330_1.JPG

    Working on CFDEM project.

    溯 1 条回复 最后回复
  • 李东岳李 在线
    李东岳李 在线
    李东岳 管理员
    写于 最后由 编辑
    #12

    rhoPhi中已经在createFields.H中包含了alpha,您看看 :quwan:

    http://dyfluid.com/index.html
    需要帮助debug算例的看这个 https://cfd-china.com/topic/8018

    linhan.geL 1 条回复 最后回复
  • linhan.geL 离线
    linhan.geL 离线
    linhan.ge
    在 中回复了 李东岳 最后由 李东岳 编辑
    #13

    @东岳 这里的rho是除颗粒相外,流体的体积分数吧?您说的是这里吗?

    0_1524822149286_2.JPG

    难道是这里的phi里包含了?

    Working on CFDEM project.

    1 条回复 最后回复
  • 李东岳李 在线
    李东岳李 在线
    李东岳 管理员
    写于 最后由 李东岳 编辑
    #14

    再往上看,这个rho是混合密度。rho=alpha1 * rho1+alpha2 * rho2

    http://dyfluid.com/index.html
    需要帮助debug算例的看这个 https://cfd-china.com/topic/8018

    1 条回复 最后回复
  • linhan.geL 离线
    linhan.geL 离线
    linhan.ge
    写于 最后由 编辑
    #15

    ρf = α1ρ1 + α2ρ2 前面应该还有个 αf = α1 + α2 ?
    0_1524997689906_11111.JPG

    Working on CFDEM project.

    1 条回复 最后回复
  • 李东岳李 在线
    李东岳李 在线
    李东岳 管理员
    写于 最后由 编辑
    #16

    这个下标f应该是fluid的意思。这一行代码:

    rho = alpha1*rho1 + alpha2*rho2
    

    乍一看应该是

    rho = alpha1*rho1 
    

    这样就跟公式符合了。

    目前只能跟进到这里,你再看看?

    http://dyfluid.com/index.html
    需要帮助debug算例的看这个 https://cfd-china.com/topic/8018

    1 条回复 最后回复
  • 李东岳李 在线
    李东岳李 在线
    李东岳 管理员
    写于 最后由 李东岳 编辑
    #17

    一楼中提到的bug,fvc::ddt(alpha)的值取决于时间格式,将其换为backward就可以了

    更新下:问题在于alphac.oldTime()。

    在Euler中,计算的是

    (alphac - alphac.oldTime())/delta T
    

    Euler不起作用的原因在于alphac.oldTime()=0。

    backward是可以解决问题。但是在backward中调用的是三层时间步。即vf、vf.oldTime()和vf.oldTime().oldTime()。起作用的是vf.oldTime().oldTime()。alphac.oldTime()还依然是0。

    但是,问题在于alphac,其他的场oldTime()正确。

    http://dyfluid.com/index.html
    需要帮助debug算例的看这个 https://cfd-china.com/topic/8018

    1 条回复 最后回复
  • 李东岳李 在线
    李东岳李 在线
    李东岳 管理员
    写于 最后由 编辑
    #18

    在我自己的求解器中,我验证了双向耦合中界面交换相、相分数的耦合作用大小。在我测试的算例中,相分数的耦合作用较小。耦合主要体现在彼此之间的力交互。

    但这绝对是一个bug

    http://dyfluid.com/index.html
    需要帮助debug算例的看这个 https://cfd-china.com/topic/8018

    linhan.geL 3 条回复 最后回复
  • linhan.geL 离线
    linhan.geL 离线
    linhan.ge
    在 中回复了 李东岳 最后由 编辑
    #19

    @东岳 当颗粒位于界面处时,MPPICInterFoam是不是没考虑颗粒对界面的影响?因为MPPICInterFOAM中的相方程还是跟interFOAM中一样的吧?MULES那块不怎么看得懂。

    Working on CFDEM project.

    1 条回复 最后回复
  • linhan.geL 离线
    linhan.geL 离线
    linhan.ge
    在 中回复了 李东岳 最后由 编辑
    #20

    @东岳 这里有个问题,mppicInterFOAM中,alpha1的表达式是什么?是占整个流体的体积分数alpha1=V1/( V1+V2)。还是占三相的? alpha1 = V1/(V1+V2+Vparticle).

    Working on CFDEM project.

    1 条回复 最后回复
  • linhan.geL 离线
    linhan.geL 离线
    linhan.ge
    在 中回复了 李东岳 最后由 编辑
    #21

    @东岳 这个bug能否通过手动赋值解决,alphac.oldTime() = alphac ?

    Working on CFDEM project.

    1 条回复 最后回复
  • 李东岳李 在线
    李东岳李 在线
    李东岳 管理员
    写于 最后由 编辑
    #22

    现在手头没有DPM算例,要不你测试一下 :quwan:

    http://dyfluid.com/index.html
    需要帮助debug算例的看这个 https://cfd-china.com/topic/8018

    1 条回复 最后回复
  • 李东岳李 在线
    李东岳李 在线
    李东岳 管理员
    写于 最后由 李东岳 编辑
    #23

    简单测试了一下,alphac.oldTime() = alphac不能解决,留给其他感兴趣的朋友们,谁有兴趣修复一下。

    但是DPMFoam中没有这个问题。

    http://dyfluid.com/index.html
    需要帮助debug算例的看这个 https://cfd-china.com/topic/8018

    1 条回复 最后回复
  • 溯 离线
    溯 离线
    溯光
    在 中回复了 linhan.ge 最后由 编辑
    #24

    @linhan-ge 请问这是哪篇文献中的控制方程

    linhan.geL 1 条回复 最后回复
  • linhan.geL 离线
    linhan.geL 离线
    linhan.ge
    在 中回复了 溯光 最后由 编辑
    #25

    @溯光 Jing, L., Kwok, C.Y., Leung, Y.F., Sobral, Y.D., 2016. Extended CFD-DEM for free-surface flow with multi-size granules. International Journal for Numerical and Analytical Methods in Geomechanics 40, 62-79.

    Working on CFDEM project.

    溯 1 条回复 最后回复
  • 溯 离线
    溯 离线
    溯光
    在 中回复了 linhan.ge 最后由 编辑
    #26

    @linhan-ge 在 MPPICInterFoam中的bug? 中说:

    Extended CFD-DEM for free-surface flow with multi-size granules.

    谢谢

    1 条回复 最后回复
  • 白 离线
    白 离线
    白礼耕
    写于 最后由 编辑
    #27

    东岳老师,我的印度同事也经常逛CFD中文网,平时都是用谷歌翻译阅读。他也发现了这个问题(气泡不会让交界面的位置升高),想问您下面的问题:
    When particles are injected, the liquid level is not changing. What could be the reason? Is it the ddt(alphac)=zero the reason?
    多谢您了!

    李东岳李 1 条回复 最后回复
  • 李东岳李 在线
    李东岳李 在线
    李东岳 管理员
    在 中回复了 白礼耕 最后由 李东岳 编辑
    #28

    @白礼耕 Check the alpha.Eqn and p.Eqn:

    fvScalarMatrix p_rghEqn
    (
        fvm::laplacian(Dp, p_rgh)
      ==
        fvc::ddt(alphac) + fvc::div(alphacf*phiHbyA)
    );
    

    even ddt(alphac)=0, it considers only the continuous phase (water) because alphac = 1 - alpha.air. It makes sense if you do the following to address the effects of particles: 1) include the sink terms in alpha.Eqn, 2) alphac = 1 - alpha.air - alpha.particle 3) manage the momentum interface exchange terms in U.Eqn. In this way a two-way coupling can be implemented, but not quite easy. Currently the implementation is quite simple, but it only works for dilute particle flow (one-way coupling).

    http://dyfluid.com/index.html
    需要帮助debug算例的看这个 https://cfd-china.com/topic/8018

    白 1 条回复 最后回复
  • 白 离线
    白 离线
    白礼耕
    在 中回复了 李东岳 最后由 编辑
    #29

    @东岳 Thanks for your help!

    In the paper given above, the definition of alphac (=alpha.air + alpha.water) is different. I want to confirm exactly what it is. Is it not following the paper?

    comment on 3rd point: I have already done that.

    1 条回复 最后回复

  • 登录

  • 登录或注册以进行搜索。
  • 第一个帖子
    最后一个帖子
0
  • 最新
  • 版块
  • 东岳流体
  • 随机看[请狂点我]