You are on page 1of 4

Agenda

15.0 Release

User Defined Functions


in ANSYS Fluent
1 © 2013 ANSYS, Inc. March 12, 2019 ANSYS Confidential
Welcome!
Welcome to the Advanced ANSYS FLUENT UDF training course!
This training course covers the topics of how to customize ANSYS FLUENT
via user-defined functions
It is intended for experienced ANSYS FLUENT users
Course Objectives:
– Why and how to customize the FLUENT solver
– Introduction to the FLUENT data structure and utility macros
– Introduction to the top-level macros for accessing FLUENT data
– Power CFD programming with user-defined scalars and user-defined memories
– Parallelizing UDFs
– Workbench Parameters and UDFs
– Accessing the data structure in multiphase models

2 © 2013 ANSYS, Inc. March 12, 2019 ANSYS Confidential


Agenda
8:30 – 9:30 Lecture 1 – Introduction and FLUENT Data Structure
9:30 – 9:45 Lecture 2 – Compilation and Interpretation
9:45 – 10:00 Break
10:00 – 11:00 Lecture 3 – UDF Composition
11:00 – 12:00 Tutorials
12:00 – 1:00 Lunch
1:00 – 1:30 Lecture 4 – User Defined Memories and Scalars
1:30 – 2:15 Tutorials
2:15 – 3:00 Lecture 5 – Parallelizing UDFs
3:00 – 3:30 Lecture 6 – Workbench Parameters and UDFs
3:30 – 4:30 Tutorials
4:30 – 5:00 Lecture 7 – UDFs for Multiphase Flow (optional)

3 © 2013 ANSYS, Inc. March 12, 2019 ANSYS Confidential


Table of Contents
1. Introduction L1-1
1. Introduction L1-2 5. Parallelizing UDFs L5-1
2. Basics of UDFs L1-6 1. Introduction L5-2
3. Introduction to the C Programming Language L1-12 2. Parallel FLUENT Architecture L5-4
4. CFD Programming in FLUENT and Data structures L1-23 3. Example Problem L5-5
4. Partitioning L5-10
2. Compilation and Interpretation of UDFs L2-1 5. Looping Macros L5-12
1. Compilation versus interpretation L2-2 6. Global Reduction L5-16
2. Compiling within the Workbench L2-6 7. Inter-process Communications L5-20
8. Necessity to Parallelize a UDF L5-25
3. Composing UDFs L3-1 9. Troubleshooting L5-28
1. DEFINE_PROFILE L3-2
10. Summary L5-30
2. DEFINE_SOURCE and source terms L3-10
3. DEFINE_INIT L3-15 6. Workbench Parameter and UDF L6-1
4. DEFINE_ADJUST L3-18 5. Input Parameter in UDF L6-3
5. DEFINE_EXECUTE_AT_END L3-20 6. Report Output Parameter L6-7
6. DEFINE_PROPERTY L3-22 7. Output Parameter Defined within UDF L6-9
7. DEFINE_ON_DEMAND L3-27
8. DEFINE_DELTAT L3-29
9. Additional Macros L3-32 7. UDFs for Multiphase Models L7-1
10. Appendix: User-defined I/O functions L3-35 1. Additional Data Structure and Multi-domain concept L7-3
2. Domain/Thread Structure L7-4
4. User-defined Scalars and User-defined Memories L4-1 3. Looping macros for Multiphase L7-13
1. UDM L4-2
2. UDS L4-4
3. Gradient Vector Macro L4-11

4 © 2013 ANSYS, Inc. March 12, 2019 ANSYS Confidential

You might also like