Lecture (1)
Lecture (1)
Lecture (1)
13
Analysis and Solving of Any
Mathematical Fluid Dynamics Problems
AFD
EFD
CFD
Analytical Fluid
Dynamics (AFD)
Analytical Fluid Dynamics (AFD)
• Applying The theory of mathematical physics problem
formulation
• Using the classical Control volume & differential
analysis
• We Get the Exact solutions only exist for simple
geometry and conditions
• Examples:
(Definition and fluids properties - Fluid statics - Fluids in motion-
Continuity, momentum, and energy principles - Dimensional
Analytical Fluid Dynamics (AFD)
Schematic
Friction factor:
du
8 |w
8 w dx 64
f
Re
V 2
V 2
Head loss:
p1 p2
z1 z2 h f
Experimental Fluid
Dynamics
(EFD)
Experimental Fluid Dynamics
(EFD)
Definition:
• U s e o f e x p e r im e n t a l m e t h o d o l o gy a n d
procedures for solving fluids engineering
systems.
• Including full and model scales, large and table
top facilities, measurement systems
• Sol ution done by (instrum e ntation, data
acquisition and data reduction, uncertainty
analysis, and dimensional analysis and similarity)
Experimental Fluid Dynamics
(EFD)
EFD philosophy:
• Teaching: instruction/demonstration
Experimental Fluid Dynamics(EFD)
Applications of EFD
41
How Does a CFD Code Work?
CFD codes are structured around the
numerical algorithms that can tackle fluid
flow problems
45
Velocity vectors around a
dinosaur
46
Velocity magnitude (0-6 m/s) on a
dinosaur
47
Pressure field on a dinosaur
48
Grid Resolution
49
Advantages of CFD
Advantages of CFD
• Low Cost
– Using physical experiments and tests to get essential
engineering data for design can be expensive.
– Computational simulations are relatively inexpensive, and
costs are likely to decrease as computers become
more powerful.
• Speed
– CFD simulations can be executed in a short period of
time.
– Quick turnaround means engineering data can be
introduced early in the design process
• Ability to Simulate Real Conditions
– Many flow and heat transfer processes can not be
(easily) tested - e.g. hypersonic flow at Mach 20
– CFD provides the ability to theoretically simulate any
physical condition
Advantages of CFD (2)
• Ability to simulate ideal conditions.
– CFD allows great control over the physical process, and provides the
• Comprehensive information.
– Experiments only permit data to be extracted at a limited number of
• Numerical Errors
– Solving equations on a computer invariably
introduces numerical errors
• Round-off error - computererrors due to finite word size
available on the
• Truncation error - error due to approximations in the
numerical models
– Round-off errors will always exist (though they
should be small in most cases)
– Truncation errors will go to zero as the grid is
refined
- so mesh refinement is one way to deal with
truncation error.
Limitations of CFD (2)
• Boundary Conditions
– As with physical models, the accuracy of
the CFD solution is only as good as the
initial/boundary conditions provided to the
numerical model.
– Example: Flow in a duct with sudden
expansion
• If flow is supplied to domain by a pipe, you should
Computational
use a fully-develComputational
oDomain
ped profile for velocity Domain
rather
than assume uniform conditions.
Fully Developed
Uniform Inlet Inlet Profile
Profile
poor better
Summary
• CFD is a method to numerically calculate heat
transfer and fluid flow.
• Currently, its main application is as an
engineering method, to provide data that is
complementary to theoretical and experimental
data. This is mainly the domain of commercially
available codes and in-house codes at large
companies.
• CFD can also be used for purely scientific
studies, e.g. into the fundamentals of
turbulence. This is more common in academic
institutions and government research
laboratories. Codes are usually developed to
specifically study a certain problem.
59
Commercial software
• CFD software
1. FLUENT: http://www.fluent.com
2. FLOWLAB: http://www.flowlab.fluent.com
3. CFDRC: http://www.cfdrc.com
4. STAR-CD: http://www.cd-adapco.com
5. CFX/AEA: http://www.software.aeat.com/cfx
• Grid Generation software
1. Gridgen: http://www.pointwise.com
2. GridPro: http://www.gridpro.com
• Visualization software
1. Tecplot: http://www.amtec.com
2. Fieldview: http://www.ilight.com
• CFD Online:
• http://www.cfd-online.com/
Software and resources
• CFD software was built upon physics, modeling, numerics.
• Two types of available software
– Commercial (e.g., FLUENT, CFX, Star-CCM, COMSOL)
– Research (e.g., CFDSHIP-IOWA, U2RANS)
• More information on CFD can be got on the following website:
– CFD Online: http://www.cfd-online.com/
– CFD software
• FLUENT: http://www.fluent.com/
• COMSOL http://www.comsol.com/
• CD-adapco: http://www.cd-adapco.com/
– Grid generation software
• Gridgen: http://www.pointwise.com
• GridPro: http://www.gridpro.com/
– Visualization software
• Tecplot: http://www.amtec.com/
• Fieldview: http://www.ilight.com/
61
Finally…..
You Must Study CFD