Course detail

Advanced use of ANSYS FLUENT

FSI-9PAF Acad. year: 2022/2023 Winter semester

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

Czech

Learning outcomes of the course unit

– 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.

Planned learning activities and teaching methods

– 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.

Aims

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).

Specification of controlled education, way of implementation and compensation for absences

– student attendance monitoring,
- evaluation of homeworks/projects given to students.

The study programmes with the given course

Programme D-IME-P: Applied Mechanics, Doctoral, recommended course

Programme D-ENE-P: Power Engineering, Doctoral, recommended course

Programme D-IME-K: Applied Mechanics, Doctoral, recommended course

Programme D-ENE-K: Power Engineering, Doctoral, recommended course

Type of course unit

 

Lecture

20 hours, optionally

Syllabus

– 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.