English#
Warning
keep modifing
2206 Introduction to CFD based on OpenFOAM®#
Introduction#
The use of computational fluid dynamics (CFD) theory, combined with modern computer hardware and programming languages (C++, Fortran), to numerically simulate prevalent natural phenomena such as flow and heat transfer, has become an obvious science. Therefore, many students also want to master CFD theory better to serve their research and production work. However, due to the difficulty of CFD theory, it is difficult to understand the true meaning of it using commercial software, and the cost of commercial software copyright is too expensive for the average individual user to afford, until the emergence of OpenFOAM software, which was developed by Imperial College in the last century on the Linux platform using the modern C++ language, and open source in the new millennium, and has been derived from many versions. Therefore, users can solve practical problems through OpenFOAM only if they have a good theoretical foundation, understand the Linux operating system, and master the basic C++ syntax. Through self-learning, the learning curve is steeper, and the time cost is larger, which can easily lead from getting started to giving up. The purpose of this course is to solve the difficult problem of getting started with OpenFOAM in ten weeks.
The course is suitable for#
First-year postgraduate or fourth-year university students who are interested in further work in CFD.
First and second year Ph.D students who intend to work on solver development in the future.
Those who are interested in further development of CFD related work
Course start time#
Tip
June 20, 2022, Peking time
Course duration#
Tip
10 weeks
Course schedule#
date |
time |
remark |
|---|---|---|
MON |
|
teaching |
WED |
|
teaching |
FRI |
|
teaching |
SUN |
|
TA |
Course contents#
Pre-processing, geometry, and meshing
Discrete methods: finite volume method
Sparse matrix algorithms: introduction to direct/iterative method, conjugate gradient, and multi grid method.
Post-processing, with a focus on python and ParaView.
Each unit of the course is designed along these four lines as much as possible, with a progressive relationship between the units
Attention
The course hardly involves compressible flow. The difference between compressible flow and incompressible flow is huge, and the system of lectures and solution methods are also different. So compressible flow just stays in the nomenclature stage.
For complex flow cases, this course does not cover them. For example: complex geometry, complex mesh, complex physical scenario, complex boundary conditions
For turbulence, this course only calls on the existing turbulence models in OpenFOAM and does not teach any turbulence-related theory.
Course Syllabus#
Part 1. Linux#
Linux OS installation#
Ubuntu 20.04 LTS
Linux file system#
.
├── bin -> usr/bin
├── boot
├── cdrom
├── dev
├── etc
├── home
├── lib -> usr/lib
├── lib32 -> usr/lib32
├── lib64 -> usr/lib64
├── libx32 -> usr/libx32
├── lost+found
├── media
├── mnt
├── opt
├── proc
├── root
├── run
├── sbin -> usr/sbin
├── snap
├── srv
├── swapfile
├── sys
├── tmp
├── usr
└── var
24 directories, 1 file
Linux command line: basic commands#
$ sudo
$ ls
$ copy
$ move
$ touch
$ mkdir
$ cat
$ less
$ more
$ tail
Linux command line: advanced commands#
$ find
$ grep
$ sed
$ awk
Shell scripts#
1. Sequence
2. Conditions
3. Loop
4. Function
Part II. Introduction to CFD with OpenFOAM#
1 Introduction#
2 Fluid mechanics governing equations and three types of boundary conditions#
3 Finite volume method: the diffusion equation#
4 Finite volume method: the advection-diffusion equation#
5 Finite volume method: the steady flow SIMPLE algorithm#
6 Finite volume method: the unsteady flow PISO algorithm#
References#
- 1
Hrvoje Jasak. Error analysis and estimation for the finite volume method with applications to fluid flows. Imperial College London (University of London), 1996.
- 2
HK Versteeg and W Malalasekera. An introdution to computational fluid dynamics the finite volume method. Pearson, 2007.
- 3
Fadl Moukalled, Luca Mangani, and Marwan Darwish. The finite volume method in computational fluid dynamics - an advanced introdution with openfoam and matlab. Springer, 2016.
Course Fee#
Attention
Original price: 1499 Euro
Current price: 899 Euro
Contact#
wechat:IAM315
email:yangwang206@whut.edu.cn