Skip to Main Content

Ansys Fluent User-Defined Functions (UDF) 고급교육


본 교육에서는 Fluent 에서 활용 가능한 사용자 정의 함수(User-Defined Function, UDF)를 활용하고 설정 하는 방법을 제공합니다. Ansys Fluent 는 이러한 UDF 를 활용하여 Fluent 가 제공하지 못하는 모델, 기능 등을 유저가 직접 설정하고 시뮬레이션을 할 수 있도록 도와줍니다. 


  • A technical education and background in fluid mechanics and heat transfer is recommended but not mandatory. An engineering degree is not required.
  • Completion of the Introduction to Ansys Fluent course is required.
  • Experience with Ansys Fluent is strongly recommended.
  • Experience running Ansys Fluent and some prior experience with a programming language, preferably a C-based language is essential. The introduction to C itself is very firm during this course. The focus is on the usage of Fluent macros embedded in a C program. UDFs are written in C90.
  • For the workshops a supported C-compiler is required. A text editor with user-defined syntax highlighting is recommended but not required.


  • Ansys Fluent 를 이용한 사용자 정의 함수(User-Defined Function, UDF) 사용에 관심이 있는 연관분야의 대학(원)생 및 엔지니어.

Learning Outcome

Following completion of this course, you will be able to:

  • Learn the basic structure of UDFs 
  • Understand the different kinds of macros used to access solver variables
  • Be able to hook their UDF to most models that are available in Ansys Fluent
  • Be able to write UDFs for custom boundary conditions, source terms and material properties
  • Learn how to use UDFs to define input and output parameters and report definitions
  • Learn what is required to write UDFs to execute correctly in parallel
  • Learn necessary concepts and macros for applying UDFs in multiphase flow, including UDFs for the Discrete Phase Model (DPM)

 Available Dates

Learning Options

Training materials for this course are available with a Ansys Learning Hub Subscription. If there is no active public schedule available, private training can be arranged. Please contact us.


This course is a 1 day classroom covering both tutorials and workshops. For virtual training, this course is covered over 4 x 2 hour sessions, lectures only.

Day 1

  • Ansys Fluent Data Structure
  • Compilation and Interpretation of UDFs
  • Composing UDFs - Examples to Learn How to Use DEFINE and Data Access Macros
  • Workshop: Wall Temperature Profile
  • Composing UDFs - Examples to Learn How to Use DEFINE and Data Access Macros (continued)
  • User-Defined Memories and User-Defined Scalars
  • Workshop: Energy Source
  • Parallelization
  • Workshop: Parallelization
  • Workbench Parameters and UDFs
  • Eulerian Multiphase UDF Macros
  • Workshop: Derived Post-processing