首页/文章/ 详情

【CFD小贴士】Fluent多相流模拟提取或监测变化的液相重心

1月前浏览191

点击CFD之仿真区 关注公众 号交流学习

概述


       

在多相流模拟中,特别是在液箱晃动等VOF模拟中,随着界面的移动或变化,可能需要提取或监测随时间变化的液相重心。这可以使用自定义字段函数来完成。通过一个例子演示这种方法。注:此过程可以扩展到任何其他多相模型,但通常推荐用于突变的界面捕获模拟。

  • 液相重心表达式


 


注:以上表达式中的分母仅为液相质量。这可以通过Fluent中Volume Integral > Mass > Liquid function直接得到。    
  • 通过自定义字段函数Custom Field Functions定义


最后,求下列积分之比得到x坐标:
(同理得到Y与Z坐标)


  • Monitor (Report Definitions)设置

1.设置Volume Report Definitions,分别定义cg-x、cg-y和cg-z的Sum,分别命名为cg-x-numerator,cg-y-numerator和cg-z-numerator。

2.建立液体质量的Volume Report Definition,命名为liq-mass。

3.建立Expression Report Definitions,每个坐标一个,计算cg-x-numerator与liq-mass的比值。


  • 简单油箱晃动案例:

    计算出某时刻重心值,将该值定义为point surface,后处理显示其位置。


 

Anywhere you are, I am near

Anywhere you go, I'll be there

Anytime you whisper my name, you'll see

How every single promise I keep

Cause what kind of guy would I be

If I was to leave when you need me most

What are words

If you really don't mean them

When you say them

What are words

If they're only for good times

Then they done

When it's love

Yeah, you say them out-loud those words

They never go away

They live on, even when we're gone

And I know an angel was sent just for me

And I know I'm meant to be where I am

And I'm gonna be standing right beside her tonight

And I'm gonna be by your side

I would never leave when she needs me most

What are words

If you really don't mean them

When you say them

What are words

If they're only for good times

Then they done

When it's love

Yeah, you say them out-loud those words

They never go away

They live on, even when we're gone

Anywhere you are, I am near

Anywhere you go, I'll be there

And I'm gonna be here forever more

Every single promise I keep

Cause what kind of guy would I be

If I was to leave when you need me most

I'm forever keeping my angel close

来源:CFD仿真区
Fluent多相流UM
著作权归作者所有,欢迎分享,未经许可,不得转载
首次发布时间:2024-10-13
最近编辑:1月前
濮小川CFD
硕士 心不唤物,物不至!
获赞 13粉丝 38文章 103课程 0
点赞
收藏
作者推荐

热点|ANSYS Fluent 2020R2更新(全)

ANSYS 2020R2即将发布,Fluent内容更新纯英文推送给大家,大家自行翻译学习吧!来源:CFD仿真区

未登录
还没有评论
课程
培训
服务
行家
VIP会员 学习 福利任务 兑换礼品
下载APP
联系我们
帮助与反馈