Documente Academic
Documente Profesional
Documente Cultură
CFD LAB
Computational
Fluid
Dynamics
2
What is CFD?
CFD LAB
Computational Fluid Dynamics
Examples of CFD applications 3
Game !!!!
Please distinct between real experiment and CFD Simulation.
CFD Simulation
Real experiment
CFD LAB
Computational Fluid Dynamics
Examples of CFD applications 4
CFD LAB
Computational Fluid Dynamics
Examples of CFD applications 5
CFD LAB
Computational Fluid Dynamics
Examples of CFD applications 6
CFD LAB
Computational Fluid Dynamics
Experiments vs. Simulations 7
CFD LAB
Computational Fluid Dynamics
Experiments vs. Simulations 8
As a rule, CFD does not replace the measurements completely but the
amount of experimentation and the overall cost can be significantly
reduced.
Experiments Simulations
expensive cheap(er)
slow fast(er)
sequential parallel
single-purpose multiple-purpose
Equipment and personnel CFD software is portable,
are difficult to transport easy to use and modify
CFD LAB
Computational Fluid Dynamics
How does CFD make predictions? 10
CFD uses a computer to solve the mathematical equations for the problem at
hand. The main components of a CFD design cycle are as follows:
¾ the human being (analyst) who states the problem to be solved
¾ scientific knowledge (models, methods) expressed mathematically
¾ the computer code (software) which embodies this knowledge and
provides detailed instructions (algorithms)
¾ the computer hardware which performs the actual calculations
¾ the human being who inspects and interprets the simulation results
CFD LAB
Computational Fluid Dynamics
Equations of Motion 11
Equation (1)
CFD LAB
Computational Fluid Dynamics
Equations of Motion … cont…. 12
CFD LAB
Computational Fluid Dynamics
Solution Procedure - Step 1 - Chose the computational domain – cont…. 15
Cell types
¾ Hex/Quad (Structured)
Less susceptible to numeric error
Easy to control – better mesh
quality
¾ Tet (Unstructured)
Easy to implement
Easy to refine locally
¾ Choice is a trade-off
Set-up time
Computational expense
Numerical diffusion
CFD LAB
Computational Fluid Dynamics
Solution Procedure - Step 1 - Chose the computational domain – cont…. 16
fewer cells are usually generated with a structured grid than with
an unstructured grid.
CFD LAB
Computational Fluid Dynamics
Solution Procedure - Step 1 - Chose the comp… – cont…. 17
Regardless the type of grid chosen (structured or not, quad. or triangular, etc.), it is the
quality of the grid that is most critical for reliable CFD solutions.
For 2-D cells is equiangle skewness, defined as
⎛ θ max − θequal θequal − θ min ⎞
Q EAS = MAX ⎜ , ⎟⎟
⎜ 180 − θequal θequal
⎝ ⎠
The expansion ratio at these cells is ΔxA/ΔxB. (under 1.2 will not pose problems for the
solution)
The aspect ratio at cell A is ΔxA/ΔyA. (values of 2-3 should not be a problem if the flow
direction is parallel to the longest side of the cell)
These last ratios should not be too great, in order to avoid convergence problems and
inaccuracies.
CFD LAB
Computational Fluid Dynamics
Solution Procedure - Step 1 - Chose the comp… – cont…. 18
Example :
An example is shown in Fig. for the case of a computational domain with a small acute
angle at the upper-right corner.
For this example we have adjusted the node distribution so that the grid in any case
contains between 60 and 70 cells for direct comparison.
CFD LAB
Computational Fluid Dynamics
Solution Procedure - Step 1 - Chose the comp… – cont…. 19
Grid Adaption:
Grid adaption adds more cells where needed to resolve the flow field without pre-
processor.
final grid
contours of
pressure final
grid
Guidelines :
¾ Grid lines should be aligned with the streamlines of the flow
In complex geometries flow pattern is not obvious
CFD LAB
Computational Fluid Dynamics
Solution Procedure - Step 1 - Chose the comp… – cont…. 21
Examples :
CFD LAB
Computational Fluid Dynamics
Solution Procedure - Step 2: Specify the Boundary conditions 22
CFD LAB
Computational Fluid Dynamics
Solution Procedure - Step 2: Specify the Boundary conditions …. Cont…. 23
CFD LAB
Computational Fluid Dynamics
Solution Procedure - Step 2: Specify the Boundary conditions …. Cont…. 24
CFD LAB
Computational Fluid Dynamics
Solution Procedure - Step 2: Specify the Boundary conditions …. Cont…. 26
periodic
CFD LAB
Computational Fluid Dynamics
Solution Procedure - Step 2: Specify the Boundary conditions …. Cont…. 27
CFD LAB
Computational Fluid Dynamics
Solution Procedure - Step 3: Specify the Fluid type 28
The type of fluid (water, air, gasoline, etc.) is specified, along with fluid
properties (temperature, density, viscosity, etc.).
Many CFD codes have built-in property databases for common fluids, making
this step relatively painless.
CFD LAB
Computational Fluid Dynamics
29
CFD LAB
Computational Fluid Dynamics