Filter (large eddy simulation)

From HandWiki - Reading time: 6 min

Filtering in the context of large eddy simulation (LES) is a mathematical operation intended to remove a range of small scales from the solution to the Navier-Stokes equations. Because the principal difficulty in simulating turbulent flows comes from the wide range of length and time scales, this operation makes turbulent flow simulation cheaper by reducing the range of scales that must be resolved. The LES filter operation is low-pass, meaning it filters out the scales associated with high frequencies.

Homogeneous filters

A velocity field produced by a direct numerical simulation (DNS) of homogeneous decaying turbulence. The domain size is L3.
The same DNS velocity field filtered using a box filter and Δ = L/32
The same DNS velocity field filtered using a box filter and Δ = L/16

Definition in physical space

The low-pass filtering operation used in LES can be applied to a spatial and temporal field, for example [math]\displaystyle{ \phi(\boldsymbol{x},t) }[/math]. The LES filter operation may be spatial, temporal, or both. The filtered field, denoted with a bar, is defined as:[1][2]

[math]\displaystyle{ \overline{\phi(\boldsymbol{x},t)} = \displaystyle{ \int_{-\infty}^{\infty}} \int_{-\infty}^{\infty} \phi(\boldsymbol{r},t^{\prime}) G(\boldsymbol{x}-\boldsymbol{r},t - t^{\prime}) dt^{\prime} d \boldsymbol{r}, }[/math]

where [math]\displaystyle{ G }[/math] is a convolution kernel unique to the filter type used. This can be written as a convolution operation:

[math]\displaystyle{ \overline{\phi} = G \star \phi . }[/math]

The filter kernel [math]\displaystyle{ G }[/math] uses cutoff length and time scales, denoted [math]\displaystyle{ \Delta }[/math] and [math]\displaystyle{ \tau_{c}, }[/math] respectively. Scales smaller than these are eliminated from [math]\displaystyle{ \overline{\phi}. }[/math] Using this definition, any field [math]\displaystyle{ \phi }[/math] may be split up into a filtered and sub-filtered (denoted with a prime) portion, as

[math]\displaystyle{ \phi = \bar{\phi} + \phi^{\prime} . }[/math]

This can also be written as a convolution operation,

[math]\displaystyle{ \phi^{\prime} = \left( 1 - G \right) \star \phi . }[/math]

Definition in spectral space

The filtering operation removes scales associated with high frequencies, and the operation can accordingly be interpreted in Fourier space. For a scalar field [math]\displaystyle{ \phi(\boldsymbol{x},t), }[/math] the Fourier transform of [math]\displaystyle{ \phi }[/math] is [math]\displaystyle{ \hat{\phi}(\boldsymbol{k},\omega), }[/math] a function of [math]\displaystyle{ \boldsymbol{k}, }[/math] the spatial wave number, and [math]\displaystyle{ \omega, }[/math] the temporal frequency. [math]\displaystyle{ \hat{\phi} }[/math] can be filtered by the corresponding Fourier transform of the filter kernel, denoted [math]\displaystyle{ \hat{G}(\boldsymbol{k},\omega): }[/math]

[math]\displaystyle{ \overline{ \hat{ \phi } }(\boldsymbol{k},\omega) = \hat{ \phi }(\boldsymbol{k},\omega) \hat{G}(\boldsymbol{k},\omega) }[/math]

or,

[math]\displaystyle{ \overline{ \hat{ \phi } } = \hat{G} \hat{\phi} . }[/math]

The filter width [math]\displaystyle{ \Delta }[/math] has an associated cutoff wave number [math]\displaystyle{ k_{c}, }[/math] and the temporal filter width [math]\displaystyle{ \tau_{c} }[/math] also has an associated cutoff frequency [math]\displaystyle{ \omega_{c}. }[/math] The unfiltered portion of [math]\displaystyle{ \hat{\phi} }[/math] is:

[math]\displaystyle{ \hat{\phi^{\prime}} = (1 - \hat{G}) \hat{\phi}. }[/math]

The spectral interpretation of the filtering operation is essential to the filtering operation in large eddy simulation, as the spectra of turbulent flows is central to LES subgrid-scale models, which reconstruct the effect of the sub-filter scales (the highest frequencies). One of the challenges in subgrid modeling is to effectively mimic the cascade of kinetic energy from low to high frequencies. This makes the spectral properties of the implemented LES filter very important to subgrid modeling efforts.

Homogeneous filter properties

Homogeneous LES filters must satisfy the following set of properties when applied to the Navier-Stokes equations.[1]

1. Conservation of constants
The value of a filtered constant must be equal to the constant,
[math]\displaystyle{ \overline{a} = a, }[/math]
which implies,
[math]\displaystyle{ \int_{-\infty}^{\infty} \int_{-\infty}^{\infty} G( \boldsymbol{\xi}, t^{\prime} ) d^3 \boldsymbol{\xi} dt^{\prime} = 1. }[/math]
2. Linearity
[math]\displaystyle{ \overline{ \phi + \psi } = \overline{\phi} + \overline{\psi}. }[/math]
3. Commutation with derivatives
[math]\displaystyle{ \overline{ \frac{\partial \phi}{\partial s} } = \frac{\partial \overline{\phi} }{\partial s}, \qquad s = \boldsymbol{x}, t. }[/math]
If notation is introduced for operator commutation [math]\displaystyle{ [f, g] }[/math] for two arbitrary operators [math]\displaystyle{ f }[/math] and [math]\displaystyle{ g }[/math], where
[math]\displaystyle{ [f, g] \phi = f \circ g(\phi) - g \circ f(\phi) = f(g(\phi)) - g(f(\phi)), }[/math]
then this third property can be expressed as
[math]\displaystyle{ \left[ G \star, \frac{\partial}{\partial s} \right] = 0. }[/math]

Filters satisfying these properties are generally not Reynolds operators, meaning, first:

[math]\displaystyle{ \begin{array}{rcl} \overline{ \overline{ \phi } } &\neq& \overline{\phi}, \\ G \star G \star \phi = G^2 \star \phi &\neq& G \star \phi, \end{array} }[/math]

and second,

[math]\displaystyle{ \overline{\phi^{\prime}} = G \star (1-G) \star \phi \neq 0 . }[/math]

Inhomogeneous filters

Implementations of filtering operations for all but the simplest flows are inhomogeneous filter operations. This means that the flow either has non-periodic boundaries, causing problems with certain types of filters, or has a non-constant filter width [math]\displaystyle{ \Delta }[/math], or both. This prevents the filter from commuting with derivatives, and the commutation operation leads to several additional error terms:

[math]\displaystyle{ \begin{array}{rcl} \left[ \frac{\partial}{\partial \boldsymbol{x}}, G \star \right] \phi &=& \frac{ \partial }{ \partial \boldsymbol{x} } \left( G \star \phi \right) - G \star \frac{\partial \phi}{\partial \boldsymbol{x} } \\ &=& \frac{ \partial }{ \partial \boldsymbol{x} } \int_{\Omega} G( \boldsymbol{x} - \boldsymbol{r}, \Delta(\boldsymbol{x},t)) \phi(\boldsymbol{r},t) d \boldsymbol{r} - G \star \frac{\partial \phi}{\partial \boldsymbol{x} } \\ &=& \left( \frac{ \partial G }{ \partial \Delta } \star \phi \right) \frac{\partial \Delta}{\partial x} + \int_{d \Omega} G(x-r, \Delta(x,t)) \phi(r,t) \boldsymbol{n} dS \end{array}, }[/math]

where [math]\displaystyle{ \boldsymbol{n} }[/math] is the vector normal to the surface of the boundary [math]\displaystyle{ \Omega }[/math] and [math]\displaystyle{ d \Omega. }[/math][1]

The two terms both appear due to inhomogeneities. The first is due to the spatial variation in the filter size [math]\displaystyle{ \Delta, }[/math] while the second is due to the domain boundary. Similarly, the commutation of the filter [math]\displaystyle{ G }[/math] with the temporal derivative leads to an error term resulting from temporal variation in the filter size,

[math]\displaystyle{ \left[ \frac{\partial}{\partial t}, G \star \right] = \left( \frac{\partial G}{\partial \Delta} \star \phi \right) \frac{\partial \Delta}{\partial t}. }[/math]

Several filter operations which eliminate or minimize these error terms have been proposed.[citation needed]

Classic large eddy simulation filters

Turbulent energy spectrum and effect of filtering operations
Turbulent energy spectrum and effect of filtering operations [3]

There are three filters ordinarily used for spatial filtering in large eddy simulation. The definition of [math]\displaystyle{ G(\boldsymbol{x},t) }[/math] and [math]\displaystyle{ \hat{G}(\boldsymbol{k},\omega), }[/math] and a discussion of important properties, is given.[2]

Box filter

Box filtering operation
Box filter in physical and spectral space

The filter kernel in physical space is given by:

[math]\displaystyle{ G(\boldsymbol{x} - \boldsymbol{r}) = \begin{cases} \frac{1}{\Delta}, & \text{if} \left| \boldsymbol{x} - \boldsymbol{r} \right| \leq \frac{ \Delta }{ 2 }, \\ 0, & \text{otherwise}. \end{cases} }[/math]

The filter kernel in spectral space is given by:

[math]\displaystyle{ \hat{G}(\boldsymbol{k}) = \frac{ \sin{( \frac{1}{2} k \Delta )} }{ \frac{1}{2} k \Delta }. }[/math]
Gaussian filter
Gaussian filter in physical and spectral space

Gaussian filter

The filter kernel in physical space is given by:

[math]\displaystyle{ G(\boldsymbol{x} - \boldsymbol{r}) = \left( \frac{ 6 }{ \pi \Delta^{2} } \right)^{\frac{1}{2}} \exp{ \left( - \frac{6 (\boldsymbol{x-r})^2}{\Delta^2} \right) }. }[/math]

The filter kernel in spectral space is given by:

[math]\displaystyle{ \hat{G}(\boldsymbol{k}) = \exp{ \left( -\frac{ \boldsymbol{k}^2 \Delta^2 }{ 24 } \right) }. }[/math]
Sharp spectral filter
Sharp spectral filter in physical and spectral space

Sharp spectral filter

The filter kernel in physical space is given by:

[math]\displaystyle{ G(\boldsymbol{x} - \boldsymbol{r}) = \frac{ \sin{( \pi (\boldsymbol{x-r}) / \Delta )} }{ \pi (\boldsymbol{x-r}) }. }[/math]

The filter kernel in spectral space is given by:

[math]\displaystyle{ \hat{G}(\boldsymbol{k}) = H \left( k_c - \left| k \right| \right), \qquad k_c = \frac{ \pi }{ \Delta }. }[/math]

See also

References

  1. 1.0 1.1 1.2 Sagaut, Pierre (2006). Large Eddy Simulation for Incompressible Flows (Third ed.). Springer. ISBN 3-540-26344-6. 
  2. 2.0 2.1 Pope, Stephen (2000). Turbulent Flows. Cambridge University Press. ISBN 978-0-521-59886-6. http://www.cambridge.org/catalogue/catalogue.asp?isbn=0521598869. 
  3. Laval, Jean-Philippe. "Lecture Notes on DNS and LES for International Masters Program in Turbulence". http://imp-turbulence.ec-lille.fr/Webpage/Laval/Lectures/trans_les_dns.pdf. 




Licensed under CC BY-SA 3.0 | Source: https://handwiki.org/wiki/Physics:Filter_(large_eddy_simulation)
17 views | Status: cached on July 16 2024 21:10:26
↧ Download this article as ZWI file
Encyclosphere.org EncycloReader is supported by the EncyclosphereKSF