udf-2017.8.18.pdf
2021-04-06 评论:1 下载:30
下载
大小:9.91MB
UDF
节选段落一:
Welcome you - UDF
上海乾锌机械技术有限公司
Multiphase-specific Data Types
zhhl_
打字机文本
Note: 1、帮助文档第二章介绍DEFINE宏外部的框架,第三章介绍框架内部的东西,第七章将UDF并行 2、串行UDF不能用在并行里面
zhhl_
打字机文本
Note: 1、一个网格就是一个结构体; 2、fluent中用链表进行存储,不是用数组存储,因为网格数量不是确定的; 3、cell thread/ face thread 就是链表; 4、计算域由cell和face组成;
zhhl_
打字机文本
en:edge number nn:node节选段落二:
number fn:face number 都是整型变量,代表编号
Define User-Defined Functions Interpreted
Compiled Functions Define User-Defined
Example
zhhl_
打字机文本
thread 和 position不需要重新定义 position为变量的标号,通过fluent求解器传输过来,相当于自定义结构体中的index(第几个变量) Index that identifies the variable that is to be defined. i is set when you hook the UDF节选段落三:
This index is subsequently passed to your UDF by the ANSYS Fluent solver so that your function knows which variable to operate on.
Welcome you - UDF
上海乾锌机械技术有限公司
Multiphase-specific Data Types
zhhl_
打字机文本
Note: 1、帮助文档第二章介绍DEFINE宏外部的框架,第三章介绍框架内部的东西,第七章将UDF并行 2、串行UDF不能用在并行里面
zhhl_
打字机文本
Note: 1、一个网格就是一个结构体; 2、fluent中用链表进行存储,不是用数组存储,因为网格数量不是确定的; 3、cell thread/ face thread 就是链表; 4、计算域由cell和face组成;
zhhl_
打字机文本
en:edge number nn:node节选段落二:
number fn:face number 都是整型变量,代表编号
Define User-Defined Functions Interpreted
Compiled Functions Define User-Defined
Example
zhhl_
打字机文本
thread 和 position不需要重新定义 position为变量的标号,通过fluent求解器传输过来,相当于自定义结构体中的index(第几个变量) Index that identifies the variable that is to be defined. i is set when you hook the UDF节选段落三:
This index is subsequently passed to your UDF by the ANSYS Fluent solver so that your function knows which variable to operate on.