以梦为马,不负韶华

搜索
查看: 810|回复: 2
收起左侧

[求助] 用UDF调用Fluent(Eulerian Wall Film模型)参数的问题?

[复制链接]
发表于 1970-1-1 08:00:00 显示全部楼层 |阅读模式

各位好:
需要用UDF调用Fluent中EWF模型的wall film thickness参数,用于计算其他参数。结果找了好些天的帮助文档和网上资料,就没人说这个参数在UDF里面用哪个宏来读取或者调用。在后处理里面EWF模型的参数倒是能输出很多。
疑问是:是不是UDF不能直接调用EWF模型的参数?帮助文件也不明确的说一下,不行就不行呗。行的话给个表格,宏的名字列一下也就解决了。
如果真不能直接调用,想请教一下有没有其它调用的办法。以前没有弄过不能直接调用的参数,都是使用的像F_T之类的现成的宏。
正在想着一套方案:在计算过程中把这个参数输出到data文档,然后用UDF读取data中的数据。不过UDF读data文档中的参数这段程序,也没有编过。Fluent输出到data文档的数据一大堆,这么办读写时间也会很长。
不知道有啥好办法!求赐教~~

发表于 1970-1-1 08:00:00 显示全部楼层
本帖最后由 banknation 于 2021-11-17 19:04 编辑

欧拉壁面膜模型    (2019 版 Ansys Fluent

模型(Models)——欧拉壁面膜模型(Eulerian Wall Film
1.PNG


工作界面——求解方法与控制——厚度控制——(最大厚度  默认值=0.005米)
2.PNG


User-Defined Functions

User-defined functions can be used to customize the discrete phase model to include additional body forces, modify interphase exchange terms (sources), calculate or integrate scalar values along the particle trajectory, and incorporate nonstandard erosion rate definitions. More information about user-defined functions can be found in the Fluent Customization Manual.
7.PNG

In the Discrete Phase Model Dialog Box, under User-Defined Functions in the UDF tab, there are drop-down lists labeled (see Figure 24.7: The Discrete Phase Model Dialog Box and the UDFs):
  • Body Force
  • Scalar Update
  • Source
  • Spray Collide Function
  • DPM Time Step
  • Erosion/Accretion (if Erosion/Accretion is enabled under the Physical Models tab)
  • Impingement Model, Film Regime and Splashing Distribution (if either wall-film is selected for Boundary Cond. Type in the DPM tab of the Wall dialog box or the Eulerian Wall Film model is enabled).
    Note that user-defined Impingement Model and Splashing Distribution will overwrite the impingement/splashing model selected for the Lagrangian or Eulerian wall film boundary condition.


These lists will show available user-defined functions that can be selected to customize the discrete phase model (see Fluent Customization Manual for more information).
In addition, you can specify a Number of Scalars which are allocated to each particle and can be used to store information when implementing your own particle models.







7.PNG
[发帖际遇]: banknation 发帖时在路边捡到 5 个 韶华币,偷偷放进了口袋. 幸运榜 / 衰神榜
回复 支持 反对

使用道具 举报

不想打字就选择快捷回复吧
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|以梦为马,不负韶华

GMT+8, 2025-2-13 03:51

Powered by 以梦为马,不负韶华

© 2024-2099 Meng.Horse

快速回复 返回顶部 返回列表