Basics of CFD Analysis
Basics of CFD Analysis
Basics of CFD Analysis
What is CFD?
• Computational fluid dynamics (CFD) is the science of predicting fluid
flow, heat transfer, mass transfer, chemical reactions, and related
phenomena by solving the mathematical equations which govern
these processes using a numerical process
We are interested in the forces (pressure , viscous stress etc.)
acting on surfaces (Example: In an airplane, we are interested in
the lift, drag, power, pressure distribution etc)
We would like to determine the velocity field (Example: In a
race car, we are interested in the local flow streamlines, so that
we can design for less drag)
We are interested in knowing the temperature distribution
(Example: Heat transfer in the vicinity of a computer chip)
Advantages
• Relatively low cost.
– CFD 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.
• Ability to simulate real conditions.
– CFD provides the ability to theoretically simulate any
physical condition.
• Comprehensive information.
– CFD allows the analyst to examine a large number of
locations in the region of interest, and yields a
comprehensive set of flow parameters for examination.
Limitations
• The CFD solutions can only be as accurate as the physical
models on which they are based.
• Solving equations on a computer invariably introduces
numerical errors.
– Round-off error: due to finite word size available on the
computer. Round-off errors will always exist (though they
can be small in most cases).
– Truncation error: due to approximations in the numerical
models. Truncation errors will go to zero as the grid is
refined. Mesh refinement is one way to deal with truncation
error.
• 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.
Purpose and Aim
• Main purpose is Simulation-based design instead of “build & test”
hence saving a lot of time since it enables easy repetitions.
For example combustion explosions(unrepeatable).
• Aim is the simulation of physical fluid phenomena that are difficult for
experiments
– Full scale simulations (e.g., ships and airplanes)
– Environmental effects (wind, weather, etc.)
– Hazards (e.g., explosions, radiation, pollution)
– Physics (e.g., planetary boundary layer, stellar evolution)
How it works?
• Analysis begins with a mathematical model of a
physical problem.
• Conservation of matter, momentum, and energy
must be satisfied throughout the region of
interest.(Continuity, Momentum equation and
Energy equation).
• Fluid properties are modeled empirically.
• Simplifying assumptions are made in order to
make the problem tractable (e.g., steady-state,
incompressible, inviscid, two-dimensional etc.)
How It Works?
• Appropriate initial and boundary conditions
are provided for the problem.
• CFD applies numerical method called
discretization to develop approximations of
the governing equations of fluid mechanics in
the fluid region of interest.
• The solution is post-processed to extract
quantities of interest (e.g. lift, drag, torque,
heat transfer, separation, pressure loss, etc.).
Discretization
• Domain is discretized into a finite set of control volumes
or cells. The discretized domain is called the “grid” or the “mesh.”
• General conservation (transport) equations for mass, momentum,
energy, etc., are discretized into algebraic equations.
• All equations are solved to render flow field.
tet mesh
hex mesh
wedge mesh
• This is pretty good compared to the average car! The streamlined back of the
dinosaur resulted in a flow pattern with very little separation.
Applications
Flow over F-16 at 45o angle of attack
Applications
• Flow over fixed wing – Expt. vs. CFD of
velocity contour
Applications
• Car safety thermal imaging using CFD
• Heat exchanger imaging
• Imaging of missile prototypes
Applications
• Electronics thermal analysis
• Designing of super duty vehicles like trucks ,
tempos etc.(based on thermal stress points)
• Thermal comfort in office environment