Advanced use of ANSYS FLUENT (FSI-9PAF)

Academic year 2021/2022
Supervisor: doc. Ing. Jan Boháček, Ph.D.  
Supervising institute: LPTP all courses guaranted by this institute
Teaching language: Czech or English
Aims of the course unit:
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).
Learning outcomes and competences:
- 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.
Prerequisites:
- 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.
Course contents:
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.
Teaching methods and criteria:
- calculations with User-Defined Functions (UDF) written in the C language,
- introduction to scripting language SCHEME,
- coupling ANSYS FLUENT with MATLAB,
- solving own transport equations through UDFs,
- the structure of the course is illustrative, the student may suggest a different topic.

Assesment methods and criteria linked to learning outcomes:
- the student will be marked based on his/her performance in individual projects.
Controlled participation in lessons:
- student attendance monitoring,
- evaluation of homeworks/projects given to students.
Type of course unit:
    Lecture  10 × 2 hrs. optionally                  
Course curriculum:
    Lecture - 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.
Literature - fundamental:
1. 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
2. Javurek, M., FLUENT Scheme Dokumentation, (2015)
Literature - recommended:
1. Ferziger, J. H., Peric, M., Computational Methods for Fluid Dynamics, Springer, Berlin, 2nd edition, (1999)
The study programmes with the given course:
Programme Study form Branch Spec. Final classification   Course-unit credits     Obligation     Level     Year     Semester  
D-ENE-P full-time study --- no specialisation -- DrEx 0 Recommended course 3 1 W
D-IME-P full-time study --- no specialisation -- DrEx 0 Recommended course 3 1 W
D-ENE-K combined study --- no specialisation -- DrEx 0 Recommended course 3 1 W
D-IME-K combined study --- no specialisation -- DrEx 0 Recommended course 3 1 W