Course details
International Exchange
Course details
Numerical Modelling and Basics of Object Oriented Programming
- Teaching: Completely taught in English
- ECTS: 3
- Level: Undergraduate
- Semester: Winter
- Prerequisites:
- Knowledge of ordinary differential equations, matrix and vector calculus. Very good knowledge of English.
- Load:
Lectures Exercises Laboratory exercises Project laboratory Physical education excercises Field exercises Seminar Design exercises Practicum 30 0 15 0 0 0 0 0 - Course objectives:
- Course objectives are to apply the Finite Volume Method (FVM) to real engineering problems. The students will understand FVM discretisation of differential equations, they will be able to use it on an arbitrary system of equations, choose the appropriate boundary conditions and linear solvers for the system, and interpret the results, all in open source software for Computational Fluid Dynamics (CFD) OpenFOAM.
- Student responsibilities:
- Attendance of lectures is obligatory, the students will conduct a numerical simulation of an engineering problem as an independent assignment.
- Grading and evaluation of student work over the course of instruction and at a final exam:
- Report and oral exam.
- Upon successful completion of the course, students will be able to (learning outcomes):
- 1 . Apply the Finite Volume Method for development of computational models.
- 2 . Recognise and describe the principles of object oriented programming based on algorithms implemented in OpenFOAM.
- 3 . Make simple adjustments to existing models in OpenFOAM to obtain new applicable models.
- 4 . Interpret the model equations, choose and apply appropriate numerical algorithms for the system.
- 5 . Construct a complete computer simulation of an engineering problem.
- Lectures
- 1. Introduction - CFD in aeronautics, automotive industry, naval architecture
- 2. Domain discretisation. Creating a computational mesh.
- 3. Scalar transport equation and basic transport mechanisms.
- 4. Finite Volume discretisation of the scalar transport equation.
- 5. Influence of equation discretisation schemes onto stability and accuracy of the solution.
- 6. Pressure-velocity coupling for incompressible fluid flow.
- 7. Finite Volume discretisation and structure of the linear equation system.
- 8. Solution algorithms for linear equation systems.
- 9. Turbulence modelling.
- 10. Equations and algorithms for compressible fluid flow.
- 11. Introduction to object oriented programming - code structure and organisation.
- 12. Data types and computer arithmetic.
- 13. Functions and classes.
- 14. Code debugging and algorithm efficiency.
- 15. Examples of object oriented programming in OpenFOAM.
- Exercises
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
- 10.
- 11.
- 12.
- 13.
- 14.
- 15.
- Compulsory literature:
- Recommended literature:
- 1. Modeling in Engineering using Innovative Numerical Methods for Solids and Fluids, chapter Practical Computational Fluid Dynamics with the Finite Volume Method, H. Jasak, T. Uroić, Springer, 2020, p. 0-0
- 2. Essential C++, S.B. Lipmann, , 2000, p. 0-0