三伏拉拉 发表于 2021-9-5 13:00:10

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


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

banknation 发表于 2021-9-5 13:00:10

本帖最后由 banknation 于 2021-11-17 19:04 编辑

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

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



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


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






页: [1]
查看完整版本: 用UDF调用Fluent(Eulerian Wall Film模型)参数的问题?