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. reactingtwophaseeulerfoam?

reactingtwophaseeulerfoam?

已定时 已固定 已锁定 已移动 OpenFOAM
23 帖子 2 发布者 15.0k 浏览
  • 从旧到新
  • 从新到旧
  • 最多赞同
回复
  • 在新帖中回复
登录后回复
此主题已被删除。只有拥有主题管理权限的用户可以查看。
  • K 离线
    K 离线
    kimy
    在 中回复了 李东岳 最后由 编辑
    #13

    @东岳 I am using IPSA model (lauder and spalding). In all of equation used, the alpha term has been introduced inside.
    http://www.cham.co.uk/phoenics/d_polis/d_lecs/ipsa/ipsa.htm#11

    1 条回复 最后回复
  • K 离线
    K 离线
    kimy
    在 中回复了 李东岳 最后由 李东岳 编辑
    #14

    @东岳 Sorry. I am still confused that how the equation(24) mentioned in your page could be solved in OpenFoam. In the source code:

            solve
            (
                pEqnComp1() + pEqnComp2() + pEqnIncomp,
                mesh.solver(p_rgh.select(pimple.finalInnerIter()))
            );
    

    why pEqnComp1() + pEqnComp2() + pEqnIncomp ranther than - pEqnComp1() - pEqnComp2() + pEqnIncomp. Because in your equation(24), pEqnComp1() + pEqnComp2() in the right side while pEqnIncomp in the left side.

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

    Thanks for your feedback. The R.H.S. of the following equation should be a - sign. It was corrected.
    \begin{equation}\label{comp_nablaU}
    \underset{\mathrm{pEqnIncomp}}{\underbrace{\nabla\cdot\left(\alpha_\rd\bfU_\rd+\alpha_\rc\bfU_\rc\right)}}=\underset{\mathrm{\color{red}{-}pEqnComp1\color{red}{-}pEqnComp2}}{\underbrace{-\frac{\alpha_\rd}{\rho_\rd}\frac{\rD\rho_\rd}{\rD t}-\frac{\alpha_\rc}{\rho_\rc}\frac{\rD\rho_\rc}{\rD t} }}.
    \end{equation}

    What is the first term? Its a second order tensor which is not consistent with the second term (scalar).

    替代文字

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

    K 2 条回复 最后回复
  • K 离线
    K 离线
    kimy
    在 中回复了 李东岳 最后由 编辑
    #16

    @东岳 So if I wanna add the term related to the gradient alpha in the continuity equation, in which place should I put the term?

    1 条回复 最后回复
  • K 离线
    K 离线
    kimy
    在 中回复了 李东岳 最后由 编辑
    #17

    @东岳 Thanks, Dongyue. I am still confused that why I add the same term in the pEqnComp1 and pEqnComp2, or pEqnIncomp leads to the different results?

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

    So if I wanna add the term related to the gradient alpha in the continuity equation, in which place should I put the term?

    You should implement it in the alpha equation.

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

    K 1 条回复 最后回复
  • K 离线
    K 离线
    kimy
    在 中回复了 李东岳 最后由 编辑
    #19

    @东岳 Sorry, to my knowledge alpha equation dosn't exsist in the twophaseeulerfoam? How can I realize it?

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

    alpha field was solved by MULES algorithm. You can add something after MULES procedure as follows:

    solve(fvm::ddt(alpha) - fvm::laplacian(D, alpha) = fvc::ddt(alpha);
    

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

    K 1 条回复 最后回复
  • K 离线
    K 离线
    kimy
    在 中回复了 李东岳 最后由 编辑
    #21

    @东岳Thanks. however MULES is not implemented in twophaseeulerfoam. As mentioned before, the term must be added into the continuity equation rather than alpha equa, which is the Spalding's IPSA solver in PHOENICS.

    K 1 条回复 最后回复
  • K 离线
    K 离线
    kimy
    在 中回复了 kimy 最后由 编辑
    #22

    @kimy Sorry, I mean where is the MULES in the twophaseeulerfoam, which I did not find but I found MULES in the terminal during calculation.

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

    alpha was solved in twoPhaseSystem.C

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

    1 条回复 最后回复

  • 登录

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