Professional Documents
Culture Documents
Introduction to
CFD – A base
case
Dr. Lindsay-Marie Armstrong
May 2022
Week 31
i. CFD L1.1: Benchmark case
2
CFD L1.1: Base case discussion – Backward facing step
Why the backward facing step?
3
CFD L1.1: Base case discussion – Backward facing step
Experimental investigation
4
Week 31
ii. CFD L1.2: Pre-processing
5
Week 31
ii. CFD L1.2: Pre-processing – mesh generation
Why do we need a mesh?
Cells
8
Week 31
ii. CFD L1.2: Pre-processing – mesh generation
What is a mesh?
9
Week 31
ii. CFD L1.2: Pre-processing – mesh generation
What is a mesh?
Nodes
10
Week 31
ii. CFD L1.2: Pre-processing – mesh generation
What is a mesh?
Edge
3D - make up Nodes
a face 11
Week 31
ii. CFD L1.2: Pre-processing – mesh generation
Why do we need a mesh?
𝑝𝑐
𝜌𝑐
𝑥𝑐
𝑦𝑐
Etc.
12
Week 31
ii. CFD L1.2: Pre-processing – mesh generation
How important is mesh size?
Mesh size – 1 mm
13
Week 31
ii. CFD L1.2: Pre-processing – mesh generation
How important is mesh size?
Mesh size – 1 mm
15
Week 31
iii. CFD L1.3: CFD simulation – ANSYS FLUENT
Introducing… ANSYS Fluent
16
Week 31
iii. CFD L1.3: CFD simulation – ANSYS FLUENT
Introducing… ANSYS Fluent GUI
Graphic User
Interface
Model Set Up
- Sets up models Screen
- Defined - displays the mesh, boundaries, etc,
materials and - Visualises results
boundaries - Shows the residuals (i.e., errors
- Initialises and after iterations)
starts
simulations
Command Prompt
- useful for reading status
- Critical for working with
17
supercomputers
Week 31
iii. CFD L1.3: CFD simulation – Model setup
Setting up the model
18
Week 31
iii. CFD L1.3: CFD simulation – Model setup
Setting up the model
19
Week 31
iii. CFD L1.3: CFD simulation – Model setup
Setting up the model
20
Week 31
iii. CFD L1.3: CFD simulation – Boundary Conditions
Setting up the boundary conditions
𝜌 = 1.225 kg/m3
21
Week 31
iii. CFD L1.3: CFD simulation – Solution Methods
Selecting the solution methods
22
Week 31
iii. CFD L1.3: CFD simulation – Initialisation and Solve
Initialise and GO!
Before initialisation
After initialisation
Week 31
iii. CFD L1.3: CFD simulation – Initialisation and Solve
Initialise and GO!
After 2 iterations
Week 31
iii. CFD L1.3: CFD simulation – Initialisation and Solve
Initialise and GO!
After 2 iterations
After 30 iterations
Observations??
Week 31
iii. CFD L1.3: CFD simulation – Monitoring and Convergence
Monitoring and convergence
Change in
value from
the previous
iteration! 26
Week 31
iii. CFD L1.3: CFD simulation – Monitoring and Convergence
Monitoring and convergence
Be careful though as
these are the default
values… why 0.001?
Change in
Are these sensitive value from
enough?? the previous
iteration! 27
Week 31
iv. CFD L1.4: Post-processing
28
Week 31
iv. CFD L1.4: Post-processing – Contour plots
Visualising the flow
29
Week 31
iv. CFD L1.4: Post-processing – Contour plots
Visualising the flow
31
Week 31
iv. CFD L1.4: Post-processing – Vector plots
Visualising the vectors
32
Week 31
iv. CFD L1.4: Post-processing – XY plots
Focusing on key regions of interest
33
Week 31
iv. CFD L1.4: Post-processing – XY plots
Focusing on key regions of interest
34
Week 31
iv. CFD L1.4: Post-processing – XY plots
Focusing on key regions of interest
Another way to
visualise where
the flow is
circulating 35
Week 31
iv. CFD L1.4: Post-processing – XY plots
Focusing on key regions of interest
36
Week 31
iv. CFD L1.4: Post-processing – XY plots
Focusing on key regions of interest
Week 31
iv. CFD L1.4: Post-processing – XY plots
Focusing on key regions of interest
𝑆~0.049
𝑥𝑅 ~0.21
Week 31
iv. CFD L1.4: Post-processing – experimental comparison
2D flow over a backward facing step - results
39
Week 31
iv. CFD L1.4: Post-processing – experimental comparison
2D flow over a backward facing step - results
𝑅𝑒 = 80 [-]
40
Week 31
iv. CFD L1.4: Post-processing – experimental comparison
2D flow over a backward facing step - results
𝑅𝑒 = 80 [-]
41
Week 31
v. Conclusions
Conclusions
During this lecture you have help me to:
- Discuss a simple 2D case study
- Introduced you to setting up a case
- Captured some initial CFD results
Next week we will:
- Test sensitivities
- Introduced you to some CFD good
practice