Course detail

Advanced use of ANSYS FLUENT

FSI-9PAFAcad. year: 2023/2024

ANSYS FLUENT is very popular and widespread software in the field of Computational Fluid Dynamics (CFD). The finite-volume code is primarily purposed for numerical modeling of fluid flow, i.e. solving the Navier-Stokes equations and continuity equation. The software however offers much larger spectrum of models for no less important physical phenomena and processes such as turbulence models, multiphase flows including phase changes, heat transfer, chemical reactions, etc. The sofware allows the user to conveniently define complex boundary conditions, material properties dependent on other parameters, user-defined scalar transport equations, coupling of equations through source terms and so on. While a typical user often sticks to the graphica-user interface, an advanced user cannot make do without the SCHEME language for scripting and User-Defined Functions (UDF) in C for performing more complex simulations.

Language of instruction


Number of ECTS credits


Mode of study

Not applicable.

Entry knowledge

- background in fluid mechanics and numerical mathematics,
- previous participation in courses focused on practical calculations in CFD software (a typical step-by-step sequence for setting up the computational model: geometry, finite volume grid, physical model, material properties, initial and boundary conditions, solver setup, monitor residuals, running the calculation, post-processing),
- a basic knowledge of programming language (C/C++) or MATLAB (GNU Octave) is beneficial but not necessary.

Rules for evaluation and completion of the course

- the student will be marked based on his/her performance in individual projects.
- student attendance monitoring,
- evaluation of homeworks/projects given to students.


Student will gain a deeper insight into ANSYS FLUENT, and will stop looking at it as a black box.
Student will get acquainted with advanced tools (UDF and SCHEME).
- Student will learn to use advanced features of the CFD package ANSYS FLUENT,
- Student will become more familiar working with MATLAB (GNU Octave),
- Student will be acquainted with the scripting language SCHEME,
- Student will brush up his/her knowledge in the C language.

Study aids

Not applicable.

Prerequisites and corequisites

Not applicable.

Basic literature

Moukalled, F., Mangani, L., Darwish, M., The Finite Volume Method in Computational Fluid Dynamics, An Advanced Introduction with OpenFOAM® and Matlab, ISBN 978-3-319-16874-6 (EN)
Javurek, M., FLUENT Scheme Dokumentation, (2015) (DE)

Recommended reading

Ferziger, J. H., Peric, M., Computational Methods for Fluid Dynamics, Springer, Berlin, 2nd edition, (1999) (EN)

Classification of course in study plans

  • Programme D-IME-P Doctoral, 1. year of study, winter semester, recommended
  • Programme D-IME-K Doctoral, 1. year of study, winter semester, recommended
  • Programme D-ENE-K Doctoral, 1. year of study, winter semester, recommended
  • Programme D-ENE-P Doctoral, 1. year of study, winter semester, recommended

Type of course unit



20 hours, optionally

Teacher / Lecturer


- simulations with User-Defined Functions (UDF) written in C language, capabilities of UDFs, syntax, compilation, and demonstration on examples.
- introduction to the scripting language SCHEME useful, e.g., for automated change of boundary conditions, reading and writing of data from files for subsequent processing inside ANSYS FLUENT.
- combining ANSYS FLUENT and MATLAB in order to perform optimization (inverse task of heat transfer).
- solving own equations in UDF, e.g. the wave equation describing deformations of a tube put in crossflow.
- here, the outline is illustrative; students may suggest another interesting topic.