All Topics  
Computational fluid dynamics

 

   Email Print
   Bookmark   Link






 

Computational fluid dynamics



 
 
Computational fluid dynamics (CFD) is one of the branches of fluid mechanics
Fluid mechanics

Fluid mechanics is the study of how fluids move and the forces on them. Fluid mechanics can be divided into fluid statics, the study of fluids at rest, and fluid dynamics, the study of fluids in motion....
 that uses numerical methods and algorithms to solve and analyze problems that involve fluid flows. Computers are used to perform the millions of calculations required to simulate the interaction of fluids and gases with the complex surfaces used in engineering. Even with high-speed supercomputer
Supercomputer

A supercomputer is a computer that is at the frontline of current processing capacity, particularly speed of calculation. Supercomputers introduced in the 1960s were designed primarily by Seymour Cray at Control Data Corporation , and led the market into the 1970s until Cray left to form his own company, Cray Research....
s only approximate solutions can be achieved in many cases.






Discussion
Ask a question about 'Computational fluid dynamics'
Start a new discussion about 'Computational fluid dynamics'
Answer questions from other users
Full Discussion Forum



Encyclopedia


Computational fluid dynamics (CFD) is one of the branches of fluid mechanics
Fluid mechanics

Fluid mechanics is the study of how fluids move and the forces on them. Fluid mechanics can be divided into fluid statics, the study of fluids at rest, and fluid dynamics, the study of fluids in motion....
 that uses numerical methods and algorithms to solve and analyze problems that involve fluid flows. Computers are used to perform the millions of calculations required to simulate the interaction of fluids and gases with the complex surfaces used in engineering. Even with high-speed supercomputer
Supercomputer

A supercomputer is a computer that is at the frontline of current processing capacity, particularly speed of calculation. Supercomputers introduced in the 1960s were designed primarily by Seymour Cray at Control Data Corporation , and led the market into the 1970s until Cray left to form his own company, Cray Research....
s only approximate solutions can be achieved in many cases. Ongoing research, however, may yield software that improves the accuracy and speed of complex simulation scenarios such as transonic or turbulent
Turbulence

In fluid dynamics, turbulence or turbulent flow is a fluid regime characterized by chaotic, stochastic property changes. This includes low momentum diffusion, high momentum convection, and rapid variation of pressure and velocity in space and time....
 flows. Initial validation of such software is often performed using a wind tunnel
Wind tunnel

A wind tunnel is a research tool developed to assist with studying the effects of air moving over or around solid objects.Ways that wind-speed and flow are measured in wind tunnels:...
 with the final validation coming in flight test
Flight test

Flight test is a branch of aeronautical engineering that develops and gathers data during flight of an aircraft and then analyses the data to evaluate the flight characteristics of the aircraft and validate its design, including safety aspects....
.

Background and history

X 43a (hyper   X) Mach 7 Computational Fluid Dynamic (cfd)
The fundamental basis of any CFD problem are the Navier-Stokes equations
Navier-Stokes equations

The Navier?Stokes equations, named after Claude-Louis Navier and George Gabriel Stokes, describe the motion of fluid substances, that is substances which can flow....
, which define any single-phase fluid flow. These equations can be simplified by removing terms describing viscosity to yield the Euler equations
Euler equations

In fluid dynamics, the Euler equations govern inviscid flow. They correspond to the Navier-Stokes equations with zero viscosity and heat conduction terms....
. Further simplification, by removing terms describing vorticity yields the full potential equations. Finally, these equations can be linearized to yield the linearized potential equations.

Historically, methods were first developed to solve the Linearized Potential equations. Two-dimensional methods, using conformal transformations of the flow about a cylinder
Cylinder (geometry)

A cylinder is one of the most curvilinear basic geometric shapes: the surface formed by the points at a fixed distance from a given straight line, the axis of the cylinder....
 to the flow about an airfoil
Airfoil

An airfoil or aerofoil is the shape of a wing or blade or sail as seen in cross-section.An airfoil-shaped body moved through a fluid produces a force perpendicular to the motion called lift ....
 were developed in the 1930s. The computer power available paced development of three-dimensional
Three-dimensional space

Three-dimensional space is a geometric model of the physical universe in which we live. The three dimensions are commonly called length, width, and depth , although any three mutually perpendicular directions can serve as the three dimensions....
 methods. The first paper on a practical three-dimensional method to solve the linearized potential equations was published by John Hess and A.M.O. Smith of Douglas Aircraft in 1966. This method discretized the surface of the geometry with panels, giving rise to this class of programs being called Panel Methods. Their method itself was simplified, in that it did not include lifting flows and hence was mainly applied to ship hulls and aircraft fuselages. The first lifting Panel Code (A230) was described in a paper written by Paul Rubbert and Gary Saaris of Boeing Aircraft in 1968. In time, more advanced three-dimensional Panel Codes were developed at Boeing
Boeing

The Boeing Company is a major aerospace and defense corporation, originally founded by William Edward Boeing in Seattle, Washington. Boeing has expanded over the years, merging with McDonnell Douglas in 1997....
 (PANAIR, A502), Lockheed
Lockheed Corporation

The Lockheed Corporation was an United States aerospace company founded in 1912 which merged with Martin Marietta in 1995 in aviation to form Lockheed Martin....
 (Quadpan), Douglas
Douglas Aircraft Company

The Douglas Aircraft Company was an American aerospace manufacturer, based in Long Beach, California. It was founded in 1921 by Donald Wills Douglas, Sr....
 (HESS), McDonnell Aircraft
McDonnell Aircraft

The McDonnell Aircraft Corporation was an American aerospace manufacturer based in St. Louis, Missouri. The company was founded in 1939 by James Smith McDonnell, and was best known for its military fighters, including the F-4 Phantom II, and manned spacecraft including the Project Mercury and Project Gemini....
 (MACAERO), NASA
NASA

The National Aeronautics and Space Administration is an agency of the Federal government of the United States, responsible for the nation's public list of space agencies....
 (PMARC) and Analytical Methods (WBAERO, USAERO and VSAERO). Some (PANAIR, HESS and MACAERO) were higher order codes, using higher order distributions of surface singularities, while others (Quadpan, PMARC, USAERO and VSAERO) used single singularities on each surface panel. The advantage of the lower order codes was that they ran much faster on the computers of the time. Today, VSAERO has grown to be a multi-order code and is the most widely used program of this class. This program has been used in the development of many submarine
Submarine

A submarine is a watercraft capable of independent operation below water. It differs from a submersible, which has only limited underwater capability....
s, surface ship
Ship

A ship is a large watercraft that floats on water. Ships are generally distinguished from boats based on size. Ships may be found on lakes, seas, and rivers and they allow for a variety of activities, such as the ferry or cargo ships, fishing, cruise ship, Coast guard, and warship....
s, automobile
Automobile

An automobile or motor car is a wheeled motor vehicle for transportation passengers, which also carries its own car engine or motor. Most definitions of the term specify that automobiles are designed to run primarily on roads, to have seating for one to eight people, to typically have four wheels, and to be constructed principally f...
s, helicopter
Helicopter

A helicopter is an aircraft that is Lift and propelled by one or more horizontal plane Helicopter rotors, each rotor consisting of two or more rotor blades....
s , aircraft
Aircraft

An aircraft is a vehicle which is able to flight by being supported by the air, or in general, the atmosphere, of a planet. Examples include balloons, airplanes and helicopters....
, and more recently wind turbines. Its sister code, USAERO is an unsteady panel method that has also been used for modeling such things as high speed trains and racing yacht
Yacht

A yacht is a recreational boat. It designates two rather different classes of watercraft, sailing and power yachts. Yachts are differentiated from working ships mainly by their leisure purpose....
s. The NASA PMARC code from an early version of VSAERO and a derivative of PMARC, named CMARC, is also commercially available.

In the two-dimensional realm, quite a number of Panel Codes have been developed for airfoil analysis and design. These codes typically have a boundary layer
Boundary layer

In physics and fluid mechanics, a boundary layer is that layer of fluid in the immediate vicinity of a bounding surface. In the Earth's atmosphere, the planetary boundary layer is the air layer near the ground affected by diurnal heat, moisture or momentum transfer to or from the surface....
 analysis included, so that viscous effects can be modeled. Professor Richard Eppler of the University of Stuttgart
University of Stuttgart

The University of Stuttgart is a university located in Stuttgart, Germany. It was founded in 1829 and is organized in 10 faculties.It is one of the leading technical universities in Germany with highly ranked programs in civil, mechanical, and electrical engineering....
 developed the PROFIL
Profil

Profil is French for profile, and may refer to:*Profil , a French musical group*Profil , an Austrian news magazine*Profil , a Norwegian literary magazine...
 code, partly with NASA funding, which became available in the early 1980s. This was soon followed by MIT Professor Mark Drela's Xfoil code. Both PROFIL and Xfoil incorporate two-dimensional panel codes, with coupled boundary layer codes for airfoil analysis work. PROFIL uses a conformal transformation method for inverse airfoil design, while Xfoil has both a conformal transformation and an inverse panel method for airfoil design. Both codes are widely used.

An intermediate step between Panel Codes and Full Potential codes were codes that used the Transonic Small Disturbance equations. In particular, the three-dimensional WIBCO code, developed by Charlie Boppe of Grumman Aircraft in the early 1980s has seen heavy use.

Developers next turned to Full Potential codes, as panel methods could not calculate the non-linear flow present at transonic
Transonic

Transonic is an aeronautics term referring to a range of velocities just below and above the speed of sound . It is defined as the range of speeds between the critical mach, when some parts of the airflow over an aircraft become supersonic, and a higher speed, typically near Mach number, when all of the airflow is supersonic....
 speeds. The first description of a means of using the Full Potential equations was published by Earll Murman and Julian Cole of Boeing in 1970. Frances Bauer, Paul Garabedian and David Korn of the Courant Institute at New York University
New York University

New York University is a private university, nonsectarian, research university in New York City. NYU's main campus is situated in the Greenwich Village section of Manhattan....
 (NYU) wrote a series of two-dimensional Full Potential airfoil codes that were widely used, the most important being named Program H. A further growth of Progam H was developed by Bob Melnik and his group at Grumman Aerospace as Grumfoil. Antony Jameson
Antony Jameson

Antony Jameson is an aeronautical engineer known for his pioneering work in the field of Computational Fluid Dynamics....
, originally at Grumman Aircraft and the Courant Institute of NYU, worked with David Caughey to develop the important three-dimensional Full Potential code FLO22 in 1975. Many Full Potential codes emerged after this, culminating in Boeing's Tranair (A633) code, which still sees heavy use.

The next step was the Euler equations, which promised to provide more accurate solutions of transonic flows. The methodology used by Jameson in his three-dimensional FLO57 code (1981) was used by others to produce such programs as Lockheed's TEAM program and IAI/Analytical Methods' MGAERO program. MGAERO is unique in being a structured cartesian mesh code, while most other such codes use structured body-fitted grids (with the exception of NASA's highly successful CART3D code, Lockheed's SPLITFLOW code and Georgia Tech
Georgia Institute of Technology

The Georgia Institute of Technology, commonly known as Georgia Tech or simply Tech, is a public university, coeducational research university in Atlanta, Georgia in the United States....
's NASCART-GT). Antony Jameson
Antony Jameson

Antony Jameson is an aeronautical engineer known for his pioneering work in the field of Computational Fluid Dynamics....
 also developed the three-dimensional AIRPLANE code (1985) which made use of unstructured tetrahedral grids.

In the two-dimensional realm, Mark Drela and Michael Giles, then graduate students at MIT, developed the ISES Euler program (actually a suite of programs) for airfoil design and analysis. This code first became available in 1986 and has been further developed to design, analyze and optimize single or multi-element airfoils, as the MSES program. MSES sees wide use throughout the world. A derivative of MSES, for the design and analysis of airfoils in a cascade, is MISES, developed by Harold "Guppy
Guppy

The guppy , also known as the millionfish, is one of the most popular List of freshwater aquarium fish species in the world. It is a small member of the Poecilidae family and like all other members of the family, is live-bearing aquarium fish....
" Youngren while he was a graduate student at MIT.

The Navier-Stokes equations were the ultimate target of developers. Two-dimensional codes, such as NASA Ames' ARC2D code first emerged. A number of three-dimensional codes were developed (OVERFLOW
Overflow (software)

OVERFLOW - the OVERset grid FLOW solver - is a Software package for simulating Fluid dynamics around solid bodies using computational fluid dynamics ....
, CFL3D are two successful NASA contributions), leading to numerous commercial packages.

Technicalities

The most fundamental consideration in CFD is how one treats a continuous fluid in a discretized fashion on a computer. One method is to discretize the spatial domain into small cells to form a volume mesh
Unstructured grid

An unstructured grid is a tessellation of a part of the Euclidean plane or Euclidean space by simple shapes, such as triangles or tetrahedron, in an irregular pattern....
 or grid
Regular grid

A regular grid is a tessellation of the Euclidean plane by congruent rectangles or a Honeycomb of rectilinear parallelepipeds . Grids of this type appear on graph paper and may be used in finite element analysis as well as finite volume methods and finite difference methods....
, and then apply a suitable algorithm
Algorithm

In mathematics, computing, linguistics and related subjects, an algorithm is a sequence of finite instructions, often used for calculation and data processing....
 to solve the equations of motion (Euler equations
Euler equations

In fluid dynamics, the Euler equations govern inviscid flow. They correspond to the Navier-Stokes equations with zero viscosity and heat conduction terms....
 for inviscid, and Navier-Stokes equations
Navier-Stokes equations

The Navier?Stokes equations, named after Claude-Louis Navier and George Gabriel Stokes, describe the motion of fluid substances, that is substances which can flow....
 for viscous flow). In addition, such a mesh can be either irregular (for instance consisting of triangles in 2D, or pyramidal solids in 3D) or regular; the distinguishing characteristic of the former is that each cell must be stored separately in memory. Where shocks or discontinuities are present, high resolution schemes such as Total Variation Diminishing
Total variation diminishing

In numerical methods, total variation diminishing is a property of certain discretization schemes used to solve hyperbolic partial differential equations....
 (TVD), Flux Corrected Transport
Flux-Corrected Transport

Flux-Corrected Transport is a conservation law shock capturing for solving Euler equations s and other hyperbolic equations which occur in Gas dynamics, aerodynamics, and magnetohydrodynamics....
 (FCT), Essentially NonOscillatory (ENO), or MUSCL
MUSCL scheme

In the study of partial differential equations, the MUSCL scheme is a finite volume method that can provide highly accurate numerical solutions for a given system, even in cases where the solutions exhibit shocks, discontinuities, or large gradients....
 schemes are needed to avoid spurious oscillations (Gibbs phenomenon
Gibbs phenomenon

In mathematics, the Gibbs phenomenon , named after the American physicist Willard Gibbs, is the peculiar manner in which the Fourier series of a piecewise continuously differentiable periodic function f behaves at a jump discontinuity: the nth partial sum of the Fourier series has large oscillations near the jump, which might increase...
) in the solution.

If one chooses not to proceed with a mesh-based method, a number of alternatives exist, notably :

  • Smoothed particle hydrodynamics
    Smoothed particle hydrodynamics

    Smoothed particle hydrodynamics is a computational method used for simulating fluid flows. It has been used in many fields of research, including astrophysics, ballistics, vulcanology and oceanology....
     (SPH), a Lagrangian method of solving fluid problems,
  • Spectral method
    Spectral method

    Spectral methods are a class of techniques used in applied mathematics and scientific computing to numerically solve certain partial differential equations , often involving the use of the Fast Fourier Transform....
    s, a technique where the equations are projected onto basis functions like the spherical harmonics
    Spherical harmonics

    In mathematics, the spherical harmonics are the angular portion of an orthogonal set of solutions to Laplace's equation represented in a system of spherical coordinates....
     and Chebyshev polynomials
    Chebyshev polynomials

    In mathematics the Chebyshev polynomials, named after Pafnuty Chebyshev, are a polynomial sequence of orthogonal polynomials which are related to de Moivre's formula and which are easily defined recursively, like Fibonacci numbers or Lucas numbers....
    ,
  • Lattice Boltzmann methods
    Lattice Boltzmann methods

    Lattice Boltzmann methods is a class of computational fluid dynamics methods for fluid simulation. Instead of solving the Navier?Stokes equations, the discrete Boltzmann equation is solved to simulate the flow of a Newtonian fluid with collision models such as Bhatnagar-Gross-Krook ....
     (LBM), which simulate an equivalent mesoscopic
    Mesoscopic scale

    In physics and chemistry, the mesoscopic scale refers to the length scale at which one can reasonably discuss the properties of a material or phenomenon without having to discuss the behavior of individual atoms, and concepts of averages such as density and temperature are useful....
     system on a Cartesian grid, instead of solving the macroscopic system (or the real microscopic physics).


It is possible to directly solve the Navier-Stokes equations
Navier-Stokes equations

The Navier?Stokes equations, named after Claude-Louis Navier and George Gabriel Stokes, describe the motion of fluid substances, that is substances which can flow....
 for laminar flow
Laminar flow

Laminar flow, sometimes known as Streamlines, streaklines and pathlines flow, occurs when a fluid flows in parallel layers, with no disruption between the layers....
s and for turbulent flows when all of the relevant length scales can be resolved by the grid (a Direct numerical simulation
Direct numerical simulation

A direct numerical simulation is a simulation in computational fluid dynamics in which the Navier-Stokes equations are numerically solved without any turbulence model....
). In general however, the range of length scales appropriate to the problem is larger than even today's massively parallel computers can model. In these cases, turbulent flow simulations require the introduction of a turbulence model. Large eddy simulation
Large eddy simulation

Large eddy simulation is a numerical technique used to solve the partial differential equations governing turbulence fluid dynamics.It was formulated in the late 1960s and became popular in the later years.It was first used by Joseph Smagorinsky to simulate atmospheric air currents, so its primary use at that time was for meteorological calc...
s (LES) and the Reynolds-averaged Navier-Stokes equations
Reynolds-averaged Navier-Stokes equations

The Reynolds-averaged Navier?Stokes equations are time-averagedequations of motion for fluid flow. They are primarily used while dealing with turbulent flows....
 (RANS) formulation, with the k-e model or the Reynolds stress model, are two techniques for dealing with these scales.

In many instances, other equations are solved simultaneously with the Navier-Stokes equations
Navier-Stokes equations

The Navier?Stokes equations, named after Claude-Louis Navier and George Gabriel Stokes, describe the motion of fluid substances, that is substances which can flow....
. These other equations can include those describing species concentration
Concentration

In chemistry, concentration is the measure of how much of a given chemical substance there is mixed with another substance. This can apply to any sort of chemical mixture, but most frequently the concept is limited to homogeneous solutions, where it refers to the amount of solute in the solvent....
 (mass transfer
Mass transfer

Mass transfer is the transfer of mass from high concentration to low concentration. The phrase is commonly used in engineering for physical processes that involve molecule and convection transport of atoms and molecules within systems....
), chemical reaction
Chemical reaction

A chemical reaction is a process that always results in the interconversion of chemical substances. The substance or substances initially involved in a chemical reaction are called reactants....
s, heat transfer
Heat transfer

Heat transfer is the transition of thermal energy or simply heat from a hotter object to a cooler object . When an object or fluid is at a different temperature than its thermodynamic system or another object, transfer of thermal energy, also known as heat transfer, or heat exchange, occurs in such a way that the body and the surround...
, etc. More advanced codes allow the simulation of more complex cases involving multi-phase flows (e.g. liquid/gas, solid/gas, liquid/solid), non-Newtonian fluid
Non-Newtonian fluid

A non-Newtonian fluid is a fluid whose flow properties are not described by a single constant value of viscosity. Many polymer solutions and molten polymers are non-Newtonian fluids, as are many commonly found substances such as ketchup, starch suspensions, paint, blood and shampoo....
s (such as blood
Blood

Blood is a specialized bodily fluid that delivers necessary substances to the body's Cell s ? such as nutrients and oxygen ? and transports waste products away from those same cells....
), or chemically reacting
Chemical reaction

A chemical reaction is a process that always results in the interconversion of chemical substances. The substance or substances initially involved in a chemical reaction are called reactants....
 flows (such as combustion
Combustion

Combustion or burning is a complex sequence of exothermic chemical reactions between a fuel and an oxidant accompanied by the production of heat or both heat and light in the form of either a glow or flames, appearance of light flickering....
).

Methodology

In all of these approaches the same basic procedure is followed.
  • During preprocessing
    Preprocessor (CAE)

    In Computer aided engineering a preprocessor is a Computer program which provides a Graphical user interface to define physical properties.This data is used by the subsequent computer simulation....
    • The geometry
      Geometry

      Geometry arose as the field of knowledge dealing with spatial relationships. Geometry was one of the two fields of pre-modern mathematics, the other being the study of numbers....
       (physical bounds) of the problem is defined.
    • The volume
      Volume

      The volume of any solid, liquid, plasma, vacuum or theoretical object is how much three-dimensional space it occupies, often quantified numerically....
       occupied by the fluid is divided into discrete cells (the mesh). The mesh may be uniform or non uniform.
    • The physical modeling is defined - for example, the equations of motions + enthalpy
      Enthalpy

      In thermodynamics and chemistry, the enthalpy is a quotient or description of thermodynamic potential of a system, which can be used to calculate the heat transfer during a quasistatic process taking place in a closed system thermodynamic system under constant pressure....
       + radiation + species conservation
    • Boundary conditions are defined. This involves specifying the fluid behaviour and properties at the boundaries of the problem. For transient problems, the initial conditions are also defined.
  • The simulation
    Computer simulation

    A computer simulation, a computer model or a computational model is a computer program, or network of computers, that attempts to simulation an abstract model of a particular system....
     is started and the equations are solved iteratively as a steady-state or transient.
  • Finally a postprocessor is used for the analysis and visualization of the resulting solution.


Discretization methods


The stability of the chosen discretization is generally established numerically rather than analytically as with simple linear problems. Special care must also be taken to ensure that the discretization handles discontinuous solutions gracefully. The Euler equations
Euler equations

In fluid dynamics, the Euler equations govern inviscid flow. They correspond to the Navier-Stokes equations with zero viscosity and heat conduction terms....
 and Navier-Stokes equations
Navier-Stokes equations

The Navier?Stokes equations, named after Claude-Louis Navier and George Gabriel Stokes, describe the motion of fluid substances, that is substances which can flow....
 both admit shocks, and contact surfaces.

Some of the discretization methods being used are:

  • Finite volume method
    Finite volume method

    The finite volume method is a method for representing and evaluating partial differential equations as algebraic equations [LeVeque, 2002; Toro, 1999]....
     (FVM). This is the "classical" or standard approach used most often in commercial software and research codes. The governing equations are solved on discrete control volumes. FVM recasts the PDE's (Partial Differential Equations) of the N-S equation in the conservative form and then discretize this equation. This guarantees the conservation of fluxes through a particular control volume. Though the overall solution will be conservative in nature there is no guarantee that it is the actual solution. Moreover this method is sensitive to distorted elements which can prevent convergence if such elements are in critical flow regions. This integration approach yields a method that is inherently conservative (i.e. quantities such as density remain physically meaningful):
Where is the vector of conserved variables, is the vector of fluxes (see Euler equations
Euler equations

In fluid dynamics, the Euler equations govern inviscid flow. They correspond to the Navier-Stokes equations with zero viscosity and heat conduction terms....
 or Navier-Stokes equations
Navier-Stokes equations

The Navier?Stokes equations, named after Claude-Louis Navier and George Gabriel Stokes, describe the motion of fluid substances, that is substances which can flow....
), is the cell volume, and is the cell surface area.
  • Finite element method
    Finite element method

    The finite element method is a numerical analysis for finding approximate solutions of partial differential equations as well as of integral equations....
     (FEM). This method is popular for structural analysis of solids, but is also applicable to fluids. The FEM formulation requires, however, special care to ensure a conservative solution. The FEM formulation has been adapted for use with the Navier-Stokes equations. Although in FEM conservation has to be taken care of, it is much more stable than the FVM approach. Subsequently it is the new direction in which CFD is moving. Generally stability/robustness of the solution is better in FEM though for some cases it might take more memory than FVM methods.


In this method, a weighted residual equation is formed:




where is the equation residual at an element vertex , is the conservation equation expressed on an element basis, is the weight factor and is the volume of the element.


  • Finite difference
    Finite difference

    A finite difference is a mathematical expression of the form ff. If a finite difference is divided by ba, one gets a difference quotient....
     method. This method has historical importance and is simple to program. It is currently only used in few specialized codes. Modern finite difference codes make use of an embedded boundary for handling complex geometries making these codes highly efficient and accurate. Other ways to handle geometries are using overlapping-grids, where the solution is interpolated across each grid.
Where is the vector of conserved variables, and , , and are the fluxes in the , , and directions respectively.
  • Boundary element method
    Boundary element method

    The boundary element method is a numerical computational method of solving linear partial differential equations which have been formulated as integral equations ....
    . The boundary occupied by the fluid is divided into surface mesh.
  • High-resolution schemes are used where shocks or discontinuities are present. To capture sharp changes in the solution requires the use of second or higher order numerical schemes that do not introduce spurious oscillations. This usually necessitates the application of flux limiters to ensure that the solution is total variation diminishing
    Total variation diminishing

    In numerical methods, total variation diminishing is a property of certain discretization schemes used to solve hyperbolic partial differential equations....
    .


Turbulence models

Turbulent flow produces fluid interaction at a large range of length scales. This problem means that it is required that for a turbulent flow regime calculations must attempt to take this into account by modifying the Navier-Stokes equations. Failure to do so may result in an unsteady simulation. When solving the turbulence model there exists a trade-off between accuracy and speed of computation.

Direct numerical simulation
Direct numerical simulation
Direct numerical simulation

A direct numerical simulation is a simulation in computational fluid dynamics in which the Navier-Stokes equations are numerically solved without any turbulence model....
 (DNS) captures all of the relevant scales of turbulent motion, so no model is needed for the smallest scales. This approach is extremely expensive, if not intractable, for complex problems on modern computing machines, hence the need for models to represent the smallest scales of fluid motion.

Reynolds-averaged Navier-Stokes

Reynolds-averaged Navier-Stokes (RANS) equations are the oldest approach to turbulence modeling. An ensemble version of the governing equations is solved, which introduces new apparent stresses known as Reynolds stresses
Reynolds stresses

In fluid dynamics, the Reynolds stresses is the stress tensor in a fluid due to the random turbulent fluctuations in fluid momentum. The stress is obtained from an average over these fluctuations....
. This adds a second order tensor of unknowns for which various models can provide different levels of closure. It is a common misconception that the RANS equations do not apply to flows with a time-varying mean flow because these equations are 'time-averaged'. In fact, statistically unsteady (or non-stationary) flows can equally be treated. This is sometimes referred to as URANS. There is nothing inherent in Reynolds averaging to preclude this, but the turbulence models used to close the equations are valid only as long as the time scale of these changes in the mean is large compared to the time scales of the turbulent motion containing most of the energy.

RANS models can be divided into two broad approaches:

Boussinesq hypothesis
Boussinesq approximation

In fluid dynamics, the Boussinesq approximation is used in the field of buoyancy-driven flow . It states that density differences are sufficiently small to be neglected, except where they appear in terms multiplied by g, the acceleration due to gravity....
: This method involves using an algebraic equation for the Reynolds stresses which include determining the turbulent viscosity, and depending on the level of sophistication of the model, solving transport equations for determining the turbulent kinetic energy and dissipation. Models include k-e (Spalding), Mixing Length Model (Prandtl) and Zero Equation (Chen). The models available in this approach are often referred to by the number of transport equations they include, for example the Mixing Length model is a "Zero Equation" model because no transport equations are solved, and the k-e on the other hand is a "Two Equation" model because two transport equations are solved. Reynolds stress model (RSM): This approach attempts to actually solve transport equations for the Reynolds stresses. This means introduction of several transport equations for all the Reynolds stresses and hence this approach is much more costly in CPU effort.

Large eddy simulation
Large eddy simulation
Large eddy simulation

Large eddy simulation is a numerical technique used to solve the partial differential equations governing turbulence fluid dynamics.It was formulated in the late 1960s and became popular in the later years.It was first used by Joseph Smagorinsky to simulate atmospheric air currents, so its primary use at that time was for meteorological calc...
s (LES) is a technique in which the smaller eddies are filtered and are modeled using a sub-grid scale model, while the larger energy carrying eddies are simulated. This method generally requires a more refined mesh than a RANS model, but a far coarser mesh than a DNS solution.

Detached eddy simulation
Detached eddy simulation
Detached eddy simulation

Detached eddy simulation is a modification of a RANS model in which the model switches to a subgrid scale formulation in regions fine enough for Large_eddy_simulation calculations....
s (DES) is a modification of a RANS model in which the model switches to a subgrid scale formulation in regions fine enough for LES calculations. Regions near solid boundaries and where the turbulent length scale is less than the maximum grid dimension are assigned the RANS mode of solution. As the turbulent length scale exceeds the grid dimension, the regions are solved using the LES mode. Therefore the grid resolution is not as demanding as pure LES, thereby considerably cutting down the cost of the computation. Though DES was initially formulated for the Spalart-Allmaras model (Spalart et al, 1997), it can be implemented with other RANS models (Strelets, 2001), by appropriately modifying the length scale which is explicitly or implicitly involved in the RANS model. So while Spalart-Allmaras model based DES acts as LES with a wall model, DES based on other models (like two equation models) behave as a hybrid RANS-LES model. Grid generation is more complicated than for a simple RANS or LES case due to the RANS-LES switch. DES is a non-zonal approach and provides a single smooth velocity field across the RANS and the LES regions of the solutions.

Vortex method
The Vortex method is a grid-free technique for the simulation of turbulent flows. It uses vortices as the computational elements, mimicking the physical structures in turbulence. Vortex methods were developed as a grid-free methodology that would not be limited by the fundamental smoothing effects associated with grid-based methods. To be practical, however, vortex methods require means for rapidly computing velocities from the vortex elements – in other words they require the solution to a particular form of the N-body problem
N-body problem

The n-body problem is the problem of finding, given the initial positions, masses, and velocities of n bodies, their subsequent motions as determined by classical mechanics, i.e., Newton's laws of motion and gravity....
 (in which the motion of N objects is tied to their mutual influences). A long-sought breakthrough came in the late 1980’s with the development of the Fast Multipole Method
Fast Multipole Method

The fast multipole method is a mathematical technique that was developed to speed up the calculation of long-ranged forces in the n-body problem....
 (FMM), an algorithm that has been heralded as one of the top ten advances in numerical science of the 20th century. This breakthrough paved the way to practical computation of the velocities from the vortex elements and is the basis of successful algorithms.

Software based on the Vortex method offer the engineer a new means for solving tough fluid dynamics problems with minimal user intervention. All that is required is specification of problem geometry and setting of boundary and initial conditions. Among the significant advantages of this modern technology;
  • It is practically grid-free, thus eliminating numerous iterations associated with RANS and LES.
  • All problems are treated identically. No modeling or calibration inputs are required.
  • Time-series simulations, which are crucial for correct analysis of acoustics, are possible.
  • The small scale and large scale are accurately simulated at the same time.


Solution algorithms

Discretization in space produces a system of ordinary differential equations for unsteady problems and algebraic equations for steady problems. Implicit or semi-implicit methods are generally used to integrate the ordinary differential equations, producing a system of (usually) nonlinear algebraic equations. Applying a Newton
Newton's method

In numerical analysis, Newton's method is perhaps the best known method for finding successively better approximations to the zeroes of a Real number-valued function ....
 or Picard
Fixed point iteration

In numerical analysis, fixed point iteration is a method of computing fixed point of iterated functions.More specifically, given a function defined on the real numbers with real values and given a point in the domain of , the fixed point iteration is...
 iteration produces a system of linear equations which is nonsymmetric in the presence of advection and indefinite in the presence of incompressibility. Such systems, particularly in 3D, are frequently too large for direct solvers, so iterative methods are used, either stationary methods such as successive overrelaxation
Successive over-relaxation

Successive over-relaxation is a numerical method used to speed up convergence of the Gauss?Seidel method for solving a linear system of equations....
 or Krylov subspace
Krylov subspace

In linear algebra, the order-r Krylov subspace generated by an n-by-n matrix, A, and a vector of dimension n, b, is the linear subspace Linear span by the images of b under the first r powers of A , that is,...
 methods. Krylov methods such as GMRES
Generalized minimal residual method

In mathematics, the generalized minimal residual method is an iterative method for the numerical analysis solution of a system of linear equations....
, typically used with preconditioning
Preconditioner

In linear algebra and numerical analysis, a preconditioner P of a matrix A is a matrix such that P−1A has a smaller condition number than A....
, operate by minimizing the residual over successive subspaces generated by the preconditioned operator.

Multigrid
Multigrid method

Multigrid methods in numerical analysis are a group of algorithms for solving differential equations using a hierarchy of discretizations. The idea is similar to extrapolation between coarser and finer grids....
 is especially popular, both as a solver and as a preconditioner, due to it's asymptotically optimal performance on many problems. Traditional solvers and preconditioners are effective at reducing high-frequency components of the residual, but low-frequency components typically require many iterations to reduce. By operating on multiple scales, multigrid reduces all components of the residual by similar factors, leading to a mesh-independent number of iterations.

For indefinite systems, preconditioners such as incomplete LU factorization
Incomplete LU factorization

In numerical analysis, a field within mathematics, an incomplete LU factorization of a matrix is a sparse matrix approximation of the LU factorization....
, additive Schwarz, and multigrid
Multigrid method

Multigrid methods in numerical analysis are a group of algorithms for solving differential equations using a hierarchy of discretizations. The idea is similar to extrapolation between coarser and finer grids....
 perform poorly or fail entirely, so the problem structure must be used for effective preconditioning. The traditional methods commonly used in CFD are the SIMPLE
SIMPLE algorithm

In computational fluid dynamics , SIMPLE algorithm is a widely used numerical algorithm to solve the Navier-Stokes equations. SIMPLE is an acronym for Semi-Implicit Method for Pressure Linked Equations....
 and Uzawa algorithms which exhibit mesh-dependent convergence rates, but recent advances based on block LU factorization combined with multigrid for the resulting definite systems, have led to preconditioners which deliver mesh-independent convergence rates.

See also

  • Blade element theory
    Blade element theory

    Blade element theory is a mathematical process originally designed by William Froude , David W. Taylor and Stefan Drzewiecki to determine the behavior of propellers....
  • Finite element analysis
  • Immersed Boundary Method
    Immersed boundary method

    The immersed boundary method is an approach to model and simulate mechanical systems in which elastic structures interact with fluid flows. Treating the coupling of the structure deformations and the fluid flow poses a number of challenging problems for Computer simulation....
  • Fluid mechanics
    Fluid mechanics

    Fluid mechanics is the study of how fluids move and the forces on them. Fluid mechanics can be divided into fluid statics, the study of fluids at rest, and fluid dynamics, the study of fluids in motion....
  • Visualization
    Visualization (graphic)

    Visualization is any technique for creating s, diagrams, or animations to communicate a message. Visualization through visual imagery has been an effective way to communicate both abstract and concrete ideas since the dawn of man....
  • Wind tunnel
    Wind tunnel

    A wind tunnel is a research tool developed to assist with studying the effects of air moving over or around solid objects.Ways that wind-speed and flow are measured in wind tunnels:...
  • Multidisciplinary design optimization
    Multidisciplinary design optimization

    Multidisciplinary design optimization is a field of engineering that uses optimization methods to solve design problems incorporating a number of disciplines....
  • Turbulence modelling

External links

  • Many examples and images, with references to robotic fish.
  • Course: -- Dmitri Kuzmin (Dortmund University of Technology)