http://www.cfd-online.com/W/index.php?title=Special:Contributions/Lalilulelo&feed=atom&limit=50&target=Lalilulelo&year=&month=CFD-Wiki - User contributions [en]2016-08-27T09:44:14ZFrom CFD-WikiMediaWiki 1.16.5http://www.cfd-online.com/Wiki/Direct_numerical_simulation_(DNS)Direct numerical simulation (DNS)2012-07-25T13:52:48Z<p>Lalilulelo: space between comma and word</p>
<hr />
<div>A '''direct numerical simulation (DNS)''' is a simulation in computational fluid dynamics in which the [[Navier-Stokes equations]] are numerically solved without any [[turbulence]] model. This means that the whole range of spatial and temporal scales of the turbulence must be resolved.<br />
All the spatial scales of the turbulence must be resolved in the computational mesh, from the smallest dissipative scales ([[Kolmogorov scales]]), up to the integral scale L, associated with the motions containing most of the kinetic energy. The Kolmogorov scale, <math>\eta</math>, is given by<br />
<br />
<math>\eta=(\nu^{3}/\varepsilon)^{1/4}</math><br />
<br />
where ν is the kinematic viscosity and ε is the rate of kinetic energy dissipation. On the other hand, the integral scale depends usually on the spatial scale of the boundary conditions. <br />
<br />
To satisfy these resolution requirements, the number ''N'' of points along a given mesh direction with increments ''h'', must be<br />
<br />
<math>Nh > L</math>,<br />
<br />
so that the integral scale is contained within the computational domain, and also<br />
<br />
<math>h \leq \eta</math>,<br />
<br />
so that the Kolmogorov scale can be resolved.<br />
<br />
Since <br />
<br />
<math>\varepsilon \approx u'^{3}/L</math>,<br />
<br />
where ''u''' is the root mean square (RMS) of the velocity, the previous relations imply that a three-dimensional DNS requires a number of mesh points <math>N^{3}</math> satisfying<br />
<br />
<math>N^{3}\ge \mathrm{Re}^{9/4}</math> <br />
<br />
where Re is the turbulent Reynolds number<br />
<br />
<math>\mathrm{Re}=\frac{u'L}{\nu}</math>.<br />
<br />
Hence, the memory storage requirement in a DNS grows very fast with the Reynolds number. In addition, given the very large memory necessary, the integration of the solution in time must be done by an explicit method. This means that in order to be accurate, the integration must be done with a time step, Δt, small enough such that a fluid particle moves only a fraction of the mesh spacing ''h'' in each step. That is,<br />
<br />
<math>C = \frac{u'\Delta t}{h} < 1</math><br />
<br />
(''C'' is here the Courant number). <br />
<br />
The total time interval simulated is generally proportional to the turbulence time scale <math>\tau</math> given by<br />
<br />
<math>\tau=\frac{L}{u'}</math>.<br />
<br />
Combining these relations, and the fact that ''h'' must be of the order of <math>\eta</math>, the number of time-integration steps must be proportional to <math>L/(C\eta)</math>. By other hand, from the definitions for Re, η and ''L'' given above, it follows that <br />
<br />
<math>\frac{L}{\eta} \sim \mathrm{Re}^{3/4}</math>,<br />
<br />
and consequently, the number of time steps grows also as a power law of the Reynolds number.<br />
<br />
One can estimate that the number of floating-point operations required to complete the simulation is proportional to the number of mesh points and the number of time steps, and in conclusion, the number of operations grows as <math> \mathrm{Re}^3</math>.<br />
<br />
Therefore, the computational cost of DNS is very high, even at low [[Reynolds number]]s. For the Reynolds numbers encountered in most industrial applications, the computational resources required by a DNS would exceed the capacity of the most powerful computer currently available. However, direct numerical simulation is a useful tool in fundamental research in turbulence. Using DNS it is possible to perform "numerical experiments", and extract from them information difficult or impossible to obtain in the laboratory, allowing a better understanding of the physics of turbulence. Also, direct numerical simulations are useful in the development of turbulence models for practical applications, such as sub-grid scale models for [[Large eddy simulation]] (LES) and models for methods that solve the Reynolds-averaged Navier-Stokes equations (RANS). This is done by means of "a priori" tests, in which the input data for the model is taken from a DNS simulation, or by "a posteriori" tests, in which the results produced by the model are compared with those obtained by DNS. The biggest DNS in the world, up to this date, used <math>4096^{3}</math> mesh points. It was carried out in the Japanese Earth Simulator supercomputer in 2002.<br />
<br />
==See also==<br />
* [[Large eddy simulation]]<br />
* [[Reynolds-averaged Navier-Stokes equations]]<br />
<br />
==External link==<br />
* [http://en.wikipedia.org/wiki/Direct_numerical_simulation DNS page] at Wikipedia<br />
<br />
[[Category:Turbulence models]]<br />
<br />
<br />
{{stub}}</div>Lalilulelo