1 / 130
文档名称:

udf-am.pdf

格式:pdf   页数:130
下载后只包含 1 个 PDF 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

udf-am.pdf

上传人:化工机械 2012/4/9 文件大小:0 KB

下载得到文件列表

udf-am.pdf

文档介绍

文档介绍:Making “User Defined Functions”
Work for You
Anirudh Mukhopadhyay
2002 Fluent Users’ Group Meeting
Agenda
u General Introduction to User Defined Functions
u Introduction to C Programming
u Fluent Data Structure and Macro-s
u Interpreted / Compiled UDF
u UDF Hooks - ‘DEFINE’ macro-s
u User Defined Scalars and Memories
u UDF for Discrete Phase and Multiphase Flows
u UDF for Parallel FLUENT
u Miscellaneous Functions / Macros
UGM 2002 2
Why Build UDFs?
u Standard interface can not be programmed to anticipate all needs
u Customization of boundary conditions, source terms, reaction rates (volume
and surface), properties
u Solution initialization
u Adjust functions (once per iteration)
u Solve for user defined scalars
u Modify model specific parameters
u Many more...
u Limitations
l Not all solution variables or solver models can be accessed by UDFs
l Example: Cannot change specific heat (would require additional solver
capabilities)
UGM 2002 3
User Access to Fluent Solver
u Fluent is so designed that the user can access the solver at some strategic
instances during the solution process Segregated Solver Coupled Solver
User-
Initialize Begin Loop defined Solve U-Momentum
ADJUST
Flow User Solve V-Momentum Solve Mass
Defined Momentum &
Energy Source terms
Diagram Initialize Source terms Solve W-Momentum
of
Solve Mass Continuity;
FLUENT Update Velocity
Solvers Exit Loop Repeat
Solve Energy
Boxes in Solve Species
blue are
Check
some Convergence Solve Turbulence
important ic Energy Source terms
user
access Update Properties Solve Eddy
points Dissipation
User-Defined Properties
User-Defined Boundary Conditions
UGM 2002 4
User Defined Functions in Fluent
u User Defined Functions are not just any C-functions:
u User access needs specific “Type” of function calls
u These Function types or ‘macro’-s are defined in the header file:
~/src/
u UDF’s in

最近更新

2023年上海立信会计金融学院单招职业倾向性测.. 40页

2023年乌兰察布职业学院单招职业适应性考试题.. 40页

2023年九江职业技术学院单招职业技能考试题库.. 40页

2023年云南文化艺术职业学院单招职业技能测试.. 39页

2026年全国中小学生暑假日常生活日记 14页

2023年云南经贸外事职业学院单招职业适应性考.. 39页

2023年信阳职业技术学院单招职业适应性考试模.. 41页

2023年六盘水幼儿师范高等专科学校单招职业技.. 40页

2023年兰州科技职业学院单招职业适应性测试题.. 41页

2023年兴安职业技术学院单招职业适应性考试题.. 40页

2026年兔年迎春节送对联书法作品 13页

2023年内蒙古呼和浩特市单招职业倾向性测试模.. 39页

2023年南充电影工业职业学院单招职业适应性测.. 39页

2023年南昌工学院单招综合素质考试题库必考题.. 40页

2023年南通职业大学单招职业倾向性考试模拟测.. 42页

2023年厦门东海职业技术学院单招职业倾向性测.. 40页

2023年厦门安防科技职业学院单招职业倾向性测.. 39页

2026年元旦的诗歌 3页

2026年元旦活动策划书 12页

2023年吐鲁番职业技术学院单招职业技能考试模.. 41页

2023年呼和浩特职业学院单招职业适应性测试题.. 40页

2023年嘉兴职业技术学院单招职业适应性考试题.. 42页

2023年四川华新现代职业学院单招职业倾向性考.. 41页

2023年四川工业科技学院单招职业适应性测试题.. 39页

美团代运营业务委托合同 6页

新概念青少版2A各单元重点归纳 15页

足球竞彩项目招股说明书 7页

护理薪资计划书 28页

九年级家长会课件PPT下载(初三2班) 25页

湘少版小学英语单词表格级 10页