CFD Basics and ANSYS FLUENT Guide
CFD Basics and ANSYS FLUENT Guide
Fluid dynamics
The dynamics of fluids is a field that is both interesting and stimulating for study and research. In the world
In reality, fluid is almost everywhere present. Therefore, we need a fluid dynamics to describe or
model these fluid flows.
In short, any fluid flow can be resolved/described by three basic physical laws or by three equations.
(2) Momentum equation (widely known as the Navier-Stokes equation) - Second law
of Newton.
• Analytical / theoretical approach - using laws / theories and associated equations, such as the use of laws
Newtonian viscosity to solve a fluid flow problem, these solutions are exact.
Experimental approach - conducting experiments and trying to understand the phenomena and the relationships between
various variables, such as wind tunnel experiments that help to design and optimize the external shape of
planes, ships, cars, etc.
• Numerical approach - Solve a fluid flow problem using numerical techniques. These solutions
are approximate, not exact.
What is CFD?
Thus, CFD is not a science in itself, but a way to apply the methods of a
discipline (numerical analysis) to another (fluid transfer / mass transfer and heat transfer).
Why CFD
CFD solutions are not exact, so why not use the analytical approach ???
The experimental approach is more reliable, like wind tunnel experiments, why not use an approach
experimental rather than CFD???
CFD is used because many engineering problems cannot be solved by an analytical approach or
experimental, where it is difficult to use an analytical or experimental approach.
• Experimental approach: These approaches are reliable and describe real situations. For example, in the
aerospace industries, wind tunnel tests are very reliable. But sometimes, they are very expensive and, sometimes,
they also pose technical problems (it sometimes takes several years before an experiment is
configured and that all technical problems are resolved).
CFD Application
The CFD is a very powerful technique that covers a wide range of industrial and non-industrial applications.
Some examples are -
Hydrodynamics of ships
In short, CFD is applied in almost all engineering disciplines. Since the 1960s, industries
aerospace has integrated CFD techniques into design, research and development as well as in
manufacturing of aircraft engines and jet engines.
(2) There are commercial CFD software. Some of them are very useful and popular. Example: ANSYS FLUENT,
STAR-CD, CFX, OpenFOAM and COMSOL.
Solver: This part consists of numerically solving the fluid flow equations in the domain.
computer science.
Post-processor: In this step, the result of the simulation is analyzed or represented in a useful form.
In ANSYS WORKBENCH, Design Modeler & Meshing acts as a pre-processor, FLUENT is the solver, and CFD-
post is the post-processor.
There are three basic methods for solving the CFD problem.
Method of finite differences: Approximation of derivatives using Taylor series expansion...
(2) Finite element method: The physical problem is divided into a finite set of elements. On each
element is solved the <<weak>> or <<variational>> formulation of the NS equations. From the solutions on
For each element, we reconstruct the general solution.
(3) The finite volume method is a particular case of the finite difference method. It is a very
popular: The physical problem is subdivided into a finite set of volumes (called control volume). Then on
each VC, the equations (in their integral form) are solved. From each solution on the VC, one
rebuild the solution to the initial problem.
ANSYS FLUENT
ANSYS, Inc. is a developer of technical simulation software (computer-aided engineering or CAE) whose
The headquarters is located south of Pittsburgh, in the Southpointe business park, in Cecil Township, Pennsylvania.
in the United States. Ansys CFD, a proprietary computational fluid dynamics (CFD) program, is one of its
most important products (Source-Wikipedia).
ANSYS FLUENT is one of the most popular CFD software. We will use ANSYS FLUENT in this course to
solve engineering problems.
ANSYS WORKBENCH
ANSYS WORKBENCH is a graphical user interface that allows the user to use all the tools/software.
required from a single location. You can access the preprocessor, solver, and post-processor tools.
from ANSYS WORKBENCH. You will control your workflow between different tools through Workbench.
Steps for your simulation
Pre-analysis: you want to numerically solve a real technical problem using ANSYS FLUENT. Then,
you will need boundary conditions. You will observe the actual physical situation or you will obtain
data to be able to represent the real case. You will also obtain theoretical or experimental results
correspondents to compare your simulation. These steps are important, especially to achieve the condition
of the correct limit. For example, if you want to simulate airflow over the wing of a commercial aircraft, you
you should know the speed range of this wing, you will also need to look for the experimental results or
previous digital ones, as well as relevant theories.
• Meshing: meshing is one of the most important steps in your simulation. The results of the simulation
depend on the quality of the mesh. Poor quality can produce a poor simulation result, or even a
divergence.
These steps are pre-possess. In this course, you no longer have to manage Geometry & Mesh. These will be provided.
so that you can proceed to the next steps.
In the physical installation phase, you provide data on the accuracy of the solution, the boundary conditions,
the physics involved, the materials involved, the properties of the parts involved, etc. In summary, you are describing
numerically simulate the actual situation.
I noticed well:
MODELING
Numerical modeling is the transcription of the physical phenomenon into computer language.
D I S C R E T I Z AT I O N
The numerical model of the structure being composed of an infinite number of points, it is impossible to
solve the partial differential equations, even numerically. The structure is therefore
cut into a finite number of points which translates into a decomposition of geometry into shape
Simple. The set of these nodes and elements constitutes the mesh of the model.
NUMERICALSIMULATION
The code solver used approximates the equations at each node of the mesh.
by respecting the fundamental principles of physics (conservation of mass and energy).