This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Small-scale inhibiting characteristics of
residual and solution filteringthanks: This work has been approved for public release (AFRL Public Affairs Clearance Number AFRL-2022-1521).

Ayaboe K. Edoh  Timothy P. Gallagher  Venkateswaran Sankaran
Jacobs Engineering, Inc. – Air Force Research Laboratory, Edwards, California
Aerospace Systems Directorate – Air Force Research Laboratory, Edwards, California
* Aerospace Systems Directorate – Air Force Research Laboratory, Wright-Patterson, Ohio
corresponding author: ayaboe.edoh@jacobs.com
Abstract

Residual and solution filtering procedures are studied with respect to inhibiting the accumulation of small-scale (i.e., high wavenumber) content. Assessing each method in terms of an “equivalent residual equation” reveals fundamental differences in their behaviors, such as how the underlying solution can be constrained to a target filter width. The residual filtering (RF) approach paired with a dissipative filter kernel is shown to restrict scale generation in the fluid equations via dispersive effects; meanwhile, solution filtering (SF) – and artificial dissipation (AD), by extension – operates through dissipative mechanisms and actively attenuates high wavenumber content. Discrete filters (i.e., the Top-hat and implicit Tangent schemes) are analyzed in terms of their response characteristics and their associated effects on reducing small-scale activity when paired with the RF versus SF approaches. Linear theoretical assessments (e.g., von Neumann analysis) are shown to successfully characterize the fundamental behaviors of the methods in non-linear settings, as observed through canonical test cases based on 1D viscous Burgers, 2D Euler, 3D Navier-Stokes equations.

1 Introduction

Filtering methods serve to reduce unwanted information from signals, including: biases in the underlying system, noise that may arise due to the collection or generation of data streams, or the stochastic nature of the original source. Each of these general uses aims to remove problematic content and finds an analogy in the context of computational fluid dynamics (CFD).

  1. 1.

    Signal bias: discretizing the continuous equations induces numerical errors due to finite precision, with increasing impact on accuracy towards smaller scales [1].

  2. 2.

    Noise from data generation: the creation of finer scales due to non-linearities in the equations can produce aliasing errors on a finite grid which can affect both accuracy and stability [2, 3, 4].

  3. 3.

    Stochasticity: the coupled effects of numerical errors in the presence of non-linearities without regularization further challenges achieving convergent results and tractable flow characterizations (e.g., in turbulence [5, 6]).

The desire to mitigate such issues leads to the use of filtering schemes in CFD. The corresponding flow equations feature active spectral redistribution of energy yet may exhibit a lack of natural regularization on under-resolved grids for dealing with errors that may appear in the numerical field. Notable examples include high Reynolds number Large-Eddy Simulations (LES) of the Navier-Stokes equations, which often require model-based damping to maintain stability and accuracy.

Filters are typically incorporated for attenuation purposes targetting high-frequency (i.e., small time scales) or high-wavenumber (i.e., small spatial scales) components of the solution. However, the way in which the filtering is employed as part of the computation plays an important role with respect to the numerical properties that influence accuracy and robustness. The current work looks to analyze the nuances associated with two prominent filtering approaches for fluid equations: the residual filtering and solution filtering implementations.

The residual filtering (RF) methodology involves applying filter operators on the spatial derivatives and source terms within a time-marching procedure. Uses of RF include increasing the stable time step size of explicit time integrators and accelerating the convergence of iterative methods. For example, Jameson and Baker [7] propose smoothing (i.e., filtering) the residuals in order to accommodate arbitrarily large time steps, attributing the increased stability to the larger support of the effective difference operator. Meanwhile, Haelterman et al. [8] optimize both explicit and implicit residual smoothers relative to a RK-multigrid framework in order to accelerate iterative performance, with the authors noting the importance of clustering high frequency modes relative to the damping properties of the RK-multigrid method. Although the various contexts of RF are often considered independently, the notion of filtering the equation’s time derivative (i.e., the residual) can be described most generally from the perspective of differential preconditioning [9]. More specifically, employing spatial attenuation to the time increment of the solution not only modifies its temporal advancement (whether in physical time or in an iterative pseudo time setting) but also introduces wavenumber-dependent biases such that the evolution of different scales can be manipulated. The ability to tune filters relative to the governing equations as well as to the spectral content of the signal can therefore provide the necessary flexibility towards increasing the stability limit of explicit integrators (e.g., by artificially shrinking the eigenvalues of the semi-discrete system relative to a given time step size) and steady-state convergence acceleration (e.g., by focusing the iterative procedure on scales in need of further convergence).

Rather than applying a filter to the residual, one can also apply it directly to the solution variables as an intermediate post-processing step. This is referred to as solution filtering (SF), originally introduced by Shuman [10] for smoothing erroneous high-wavenumber components in meteorological computations. Meanwhile, the identification of aliasing errors by Phillips [11] as a principal source of numerical instability for non-linear problems on under-resolved grids has further motivated the use of SF. Periodically removing spectral content below a prescribed cut-off in the solution works to de-aliasing results and increase non-linear robustness of the solution. The use of SF has since expanded. Visbal and Gaitonde [12, 13] use high-order solution filtering to enhance the solution quality and robustness of high-order numerical methods for aeroacoustics on cuvilinear meshes. Meanwhile Kennedy and Carpenter [14] demonstrate the use of high-order solution filtering to suppress high-wavenumber noise generated by high-order explicit schemes. This filtering method is used for direct numerical simulations of turbulent combustion [15], where the high-wavenumber content is strongly coupled to all wavenumbers due to the non-linearities in the problem. The fundamental link of solution filtering to artificial dissipation (AD) methods [16, 17, 18, 19] – wherein SF may be viewed as a predictor-corrector implementation of the latter – furthermore extends its applicability to other situations such as shock capturing [20, 21].

Understanding the fundamental mechanisms behind the application of residual and solution filtering methods is essential for their proper use. Bogey and Bailly [22] and Ranocha et al. [23] compare the performance of RF and SF for the linear advection equation, noting fundamental differences in dispersion and dissipation properties. In this current work, we utilize both theoretical analysis and numerical examples to further identify the characteristics of residual and solution filtering methods when applied to the time evolution of non-linear equations of increasing complexity (i.e., the 1D viscous Burgers, 2D Euler, and 3D Navier-Stokes equations). We show that both methods are viable for mitigating the presence of undesirable content in the systems; however, the mechanisms by which the content is altered is different for residual versus solution filtering. For example, RF operates on the time derivative of the solution and can be said to impart a scale-dependent mollification of the original dynamics; consequently, the technique does not provide direct dissipation for actively removing unwanted content that may otherwise accumulate over time (e.g., spurious numerical errors). On the other hand, SF removes unwanted content by directly regularizing the solution; yet, it is sensitive to admitting excess numerical damping based on the choice of filter operator. Such fundamental differences may have implications for the respective use of residual and solution filtering in solving non-linear problems, including impacts on turbulence calculations and explicitly-filtered LES [24]. The performance of artificial dissipation (AD) – which can be seen as a special rendition of solution filtering [18] – is also touched upon.

The paper is organized as follows: Section 2 assesses the residual and solution filtering methods theoretical by considering their application to a prototypical linear scalar advection-diffusion equation, where the numerical dissipation and dispersion terms arising from the respective formulations are identified and von Neumann analysis is used to further study the overall scheme impact; Section 3 then presents non-linear numerical calculations that demonstrate and confirm the various conclusions gathered from the previous linear analysis; finally, Section 4 provides summarizing remarks on the explicit filtering implementations and proposes lines of future work.

2 Methodology

The residual and solution filtering methods are considered relative to a general evolution equation written in residual form,

Qt=(Q),\mathchoice{\frac{\partial Q}{\partial t}}{\partial Q/\partial t}{\partial Q/\partial t}{\partial Q/\partial t}=\mathcal{R}(Q)\ , (1)

where (Q)\mathcal{R}(Q) is the residual operator made up of spatial derivatives and source terms of the solution quantity QQ. To enable the theoretical analysis in this section, the one-dimensional linear advection-diffusion equation for the scalar uu is taken as a prototypical example for the target Navier-Stokes system:

(u)=aux+ν2ux2.\mathcal{R}(u)=-a\mathchoice{\frac{\partial u}{\partial x}}{\partial u/\partial x}{\partial u/\partial x}{\partial u/\partial x}+\nu\mathchoice{\frac{\partial^{2}u}{\partial x^{2}}}{\partial^{2}u/\partial x^{2}}{\partial^{2}u/\partial x^{2}}{\partial^{2}u/\partial x^{2}}\ . (2)

The filter kernels in question are purely dissipative and are expressed in terms of a preserving and an attenuating operator in space,

𝒢fil=+𝒟fil=1+k1ϵ2k(Δx)2kδx2k,\displaystyle\mathcal{G}_{\text{fil}}=\mathcal{I}+\mathcal{D}_{\text{fil}}=1+\sum_{k\geq 1}\epsilon_{2k}(\Delta x)^{2k}\delta^{2k}_{x}\ , (3)

where δxm\delta_{x}^{m} is the discrete mm-th derivative in the xx-direction. Here, we further assume that (δx2)k=δx2k=x2k+O(Δx)2(\delta^{2}_{x})^{k}=\delta_{x}^{2k}=\partial_{x}^{2k}+O(\Delta x)^{2}; note that the the non-divided difference, δ2k=(Δx2k)δx2k\delta^{2k}=(\Delta x^{2k})\delta^{2k}_{x}, may be used interchangeably for convenience. Specific stencils associated with the filters are responsible for defining the coefficients ϵ2k\epsilon_{2k}. Their impact on the different methods are theoretically investigated, with this linear perspective providing fundamental understandings into the methods’ non-linear behaviors.

2.1 Overview of Filtering Implementations

The filtering techniques considered in this work are presented side by side in Table 1 in order to facilitate comparisons. In addition to RF and SF, artificial dissipation (AD) is also studied. Each of the methods are decomposed into three basic steps: the forming of the residual, the application of the filter, and the temporal integration of the system. The order in which each of these is executed varies depending on the method.

Here, the filtered quantity is denoted by an overbar, ϕ¯=𝒢{ϕ}\bar{\phi}=\mathcal{G}\{\phi\}. In general, both filtering residual and solution filtering work as a post-processing of the input ϕ\phi, where we take ϕ=o(Q)\phi=\mathcal{R}_{\text{o}}(Q) in the case of residual filtering and ϕ=Qn+1,\phi=Q^{n+1,*} in the case of solution filtering. The filter operation can furthermore be re-expressed as a temporal correction step,

ϕ¯\displaystyle\bar{\phi} =ϕ+kϵ2k(Δx)2kδx2kϕ=ϕ+(Δt)kϵ2k|λ|(Δx)2k1δx2kϕ,\displaystyle=\phi+\sum_{k}\epsilon_{2k}(\Delta x)^{2k}\delta_{x}^{2k}\phi=\phi+(\Delta t)\cdot\sum_{k}\epsilon_{2k}\lvert\lambda^{\prime}\rvert(\Delta x)^{2k-1}\delta_{x}^{2k}\phi\ , (4)

where λ\lambda^{\prime} is a parameter with velocity units.

As proposed in previous work [18], temporal consistency in Equation 4 is achievable by re-scaling the original filter coefficients by a CFL related parameter, ϵ2k=μϵ2k\epsilon_{2k}^{\prime}=\mu\epsilon_{2k} where μ=min{CFL,1}\mu=\min\{CFL,1\}111Alternatively, Lamballais et al [25] suggest a scaling based on the viscous dynamics, where μ=1eVNN\mu=1-e^{-\text{VNN}} and VNN =νΔt/(Δx2)=\nu\Delta t/(\Delta x^{2}). This technique also recovers time consistency of the solution filtering procedure. A convective-based rendition in this form would also be possible by substituting the VNN by the CFL number, although the analogy to traditional artificial dissipation schemes is lost. and CFL=|λ|Δt/ΔxCFL=\lvert\lambda\rvert\Delta t/\Delta x. Doing so implies that λ=min{Δx/Δt,a}\lambda^{\prime}=\min\{\Delta x/\Delta t,a\} is related to a physical velocity scale for CFLs below unity – which is consistent with what is typically done for artificial dissipation methods. On the other hand, omitting such a re-scaling suggests a discretization-based velocity scale of λ=(Δx/Δt)\lambda^{\prime}=(\Delta x/\Delta t). In the case of solution filtering, this purely grid-based definition will increase the amount of numerical dissipation imparted onto the solution as (Δt)0(\Delta t)\to 0. The CFL-based re-scaling of solution filtering avoids the ambiguity of determining how often to filter the solution by enforcing a physical-based frequency of damping. Unless otherwise noted, this temporally-consistent re-scaling formulation is assumed henceforth for solution filtering and is referred to as SF-r.

Table 1: Algorithmic description of the filtering approaches.
Artificial Dissipation (AD) Residual Filtering (RF) Solution Filtering (SF)
1. Form the base residual, o(Q)\mathcal{R}_{\text{o}}(Q) 1. Form the base residual, o(Q)\mathcal{R}_{\text{o}}(Q) 1. Form the base residual, o(Q)\mathcal{R}_{\text{o}}(Q)
2. Form the AD residual: AD(Q)=kϵ2k|λ|(Δx)2k1δx2kQ\mathcal{R}_{\text{AD}}(Q)=\sum_{k}\epsilon_{2k}\lvert\lambda\rvert(\Delta x)^{2k-1}\delta_{x}^{2k}Q 2. Filter the base residual: 𝒢{o}=o+kϵ2k(Δx)2kδx2ko\mathcal{G}\{\mathcal{R}_{\text{o}}\}=\mathcal{R}_{\text{o}}+\sum_{k}\epsilon_{2k}(\Delta x)^{2k}\delta^{2k}_{x}\mathcal{R}_{\text{o}} 2. Integrate the residual in time: tQ=o(Q),QnQn+1,\partial_{t}Q=\mathcal{R}_{\text{o}}(Q),\ Q^{n}\to Q^{n+1,*}
3. Integrate the combined residuals in time: tQ=o(Q)+AD(Q),QnQn+1\partial_{t}Q=\mathcal{R}_{\text{o}}(Q)+\mathcal{R}_{\text{AD}}(Q),\ Q^{n}\to Q^{n+1} 3. Integrate the filtered residual in time: tQ=𝒢fil{o},QnQn+1\partial_{t}Q=\mathcal{G}_{\text{fil}}\{\mathcal{R}_{\text{o}}\},\ Q^{n}\to Q^{n+1} 3. Filter the solution: Qn+1=𝒢fil{Qn+1,}Q^{n+1}=\mathcal{G}_{\text{fil}}\{Q^{n+1,*}\}

In order to assess the nuances between residual and solution filtering, we apply these relative to the discretized linear advection-diffusion equation (see Equation 2). Assuming a forward Euler integration scheme for simplicity and then constructing the methods using the steps outlined in Table 1, one gets

un+1unΔt=aδxu+νδx2un+addi(un),\frac{u^{n+1}-u^{n}}{\Delta t}=-a\delta_{x}u+\nu\delta_{x}^{2}u^{n}+\mathcal{R}_{\text{addi}}(u^{n})\ , (5)

where the induced spatial artificial terms are

addi,AD(un)\displaystyle\mathcal{R}_{\text{addi,AD}}(u^{n}) =\displaystyle= |λ|kϵ2k(Δx)2k1δx2kunI\displaystyle\underbrace{\lvert\lambda^{\prime}\rvert\sum_{k}\epsilon_{2k}(\Delta x)^{2k-1}\delta_{x}^{2k}u^{n}}_{\color[rgb]{1,0,0}I} (6)
addi,RF(un)\displaystyle\mathcal{R}_{\text{addi,RF}}(u^{n}) =\displaystyle= (Δt)a|λ|kϵ2k(Δx)2k1δx2k+1unII+(Δt)ν|λ|kϵ2k(Δx)2k1δx2k+2unIII\displaystyle-\underbrace{(\Delta t)\cdot a\lvert\lambda^{\prime}\rvert\sum_{k}\epsilon_{2k}(\Delta x)^{2k-1}\delta_{x}^{2k+1}u^{n}}_{\color[rgb]{0,0,1}II}+\underbrace{(\Delta t)\cdot\nu\lvert\lambda^{\prime}\rvert\sum_{k}\epsilon_{2k}(\Delta x)^{2k-1}\delta_{x}^{2k+2}u^{n}}_{\color[rgb]{0,1,1}III} (7)
addi,SF(un)\displaystyle\mathcal{R}_{\text{addi,SF}}(u^{n}) =\displaystyle= |λ|kϵ2k(Δx)2k1δx2kunI\displaystyle\underbrace{\lvert\lambda^{\prime}\rvert\sum_{k}\epsilon_{2k}(\Delta x)^{2k-1}\delta_{x}^{2k}u^{n}}_{\color[rgb]{1,0,0}I}
(Δt)a|λ|kϵ2k(Δx)2k1δx2k+1unII+(Δt)ν|λ|kϵ2k(Δx)2k1δx2k+2unIII\displaystyle-\underbrace{(\Delta t)\cdot a\lvert\lambda^{\prime}\rvert\sum_{k}\epsilon_{2k}(\Delta x)^{2k-1}\delta_{x}^{2k+1}u^{n}}_{\color[rgb]{0,0,1}II}+\underbrace{(\Delta t)\cdot\nu\lvert\lambda^{\prime}\rvert\sum_{k}\epsilon_{2k}(\Delta x)^{2k-1}\delta_{x}^{2k+2}u^{n}}_{\color[rgb]{0,1,1}III}

The above represent “equivalent residual equations” (ERE) that help to highlight the additional mechanisms (i.e., RaddiR_{\text{addi}}) implied by each filtering method222The ERE yields overall spatial operators at play. This is in contrast to modified equation analysis (see Appendix A) which takes into account the implied coupling effects with the time integration method, expressed in a PDE form..

The artificial dissipation rendition includes the dissipative part of the filter as the additional contribution (see term I{\color[rgb]{1,0,0}I} in Equation 6) and therefore has an active mechanism for attenuating high wavenumber content. The added artificial term can interact with the temporal method and result in secondary dispersive effects – for details see the modified equation analysis provided in Appendix LABEL:sec:a.

In the case of residual filtering, two additional terms are induced (see Equation 7). The term II{\color[rgb]{0,0,1}II} is dispersive and is responsible for affecting the phase characteristics of the solution. Meanwhile, the term III{\color[rgb]{0,1,1}III} is related to the physical diffusion and can be said a priori to be anti-dissipative, assuming the original filter is stable such that |𝒢^|1\lvert\hat{\mathcal{G}}\rvert\leq 1333Note that the filter coefficients ϵ2k\epsilon_{2k} of a stable filter are such that the Fourier response of the attenuating part of the filter is negative semi-definite, {kϵ2kδ2k}0\mathcal{F}\{\sum_{k}\epsilon_{2k}\delta^{2k}\}\leq 0. Multiplying this sum by δ2\delta^{2} then automatically makes the contribution anti-dissipative.. Whether the induced numerical anti-diffusion simply diminishes the effects of physical diffusion versus actively instigates a numerical instability will depend on the specific filter coefficients. As will be shown later on, filters that feature negative regions in their responses (i.e., 𝒢^[1,1]\hat{\mathcal{G}}\in[-1,1]), such as the Top-hat kernel, will yield unstable algorithms when residual filtering is applied to physical diffusion terms. Importantly, the ERE in Equation 7 contains no dissipative terms and therefore the RF procedure has no mechanism to remove unwanted high wavenumber content that may be introduced into the solution.

The ERE associated with solution filtering (see Equation 2.1) shows yet another combination of the induced mechanisms. It features an AD term I{\color[rgb]{1,0,0}I} that accounts for attenuation, but it also includes the dispersive and anti-diffusive terms II{\color[rgb]{0,0,1}II} and III{\color[rgb]{0,1,1}III} from the ERE of residual filtering. At first sight, this would suggest that solution filtering will induce both dispersive and anti-diffusion effects; however, this is misleading. As explained in previous work [18], the terms II{\color[rgb]{0,0,1}II} and III{\color[rgb]{0,1,1}III} in Equation 2.1 are induced by coupling the filtering with the time integrated result, and they represent cancellations to the secondary effects induced by the attenuating effect of term I{\color[rgb]{1,0,0}I}. Note, for example, that the modified equation analysis of AD presented in Appendix LABEL:sec:a reveals analogous contributions to terms II{\color[rgb]{0,0,1}II} and III{\color[rgb]{0,1,1}III} in Equation 2.1, but of opposite sign. Therefore the impact of solution filtering is confirmed to be uniquely dissipative, as expected.

2.2 Characteristics of Discrete Filter Stencils

The previous section establishes the theoretical behavior of general filter operators as applied to the residual or to the solution. Specifying the form of the filter kernel further reveals how these theoretical behaviors can manifest. To this end, we focus here on the Top-hat filters as well as the implicit Tangent filters by Raymond [26]. Their responses are provided in Table 2, where kΔk_{\Delta} is the characteristic cut-off wavenumber. Both filtering schemes can be translated into discrete stencils of the form

aoϕ¯i+1a(ϕ¯i++ϕ¯i)[1+1ϵ2(Δx)2δx2]{ϕ¯}=boϕi+r1br(ϕi+r+ϕir)[1+r1ϵ2r(Δx)2rδx2r]{ϕ}.\displaystyle\overbrace{a_{o}\bar{\phi}_{i}+\sum_{\ell\geq 1}a_{\ell}(\bar{\phi}_{i+\ell}+\bar{\phi}_{i-\ell})}^{\left[1+\sum_{\ell\geq 1}\epsilon_{2\ell}(\Delta x)^{2\ell}\delta^{2\ell}_{x}\right]\{\bar{\phi}\}}=\overbrace{b_{o}\phi_{i}+\sum_{r\geq 1}b_{r}(\phi_{i+r}+\phi_{i-r})}^{\left[1+\sum_{r\geq 1}\epsilon_{2r}(\Delta x)^{2r}\delta^{2r}_{x}\right]\{\phi\}}\ . (9)

For the Top-hat filter, the corresponding discrete stencil coefficients brb_{r} are recovered by first defining the filter as a convolution, ϕ¯i=1ΔxiΔ/2xi+Δ/2[ϕ(y)]𝑑y\bar{\phi}_{i}=\frac{1}{\Delta}\int_{x_{i}-\Delta/2}^{x_{i}+\Delta/2}[\phi(y)]dy, and then approximating the integral with a quadrature rule. In the following, we assume a composite trapezoidal rule for simplicity. The characteristic length of the Top-hat (i.e., the filter width, Δ\Delta) defines the averaging window and induces a cut-off wavenumber kΔ=(2π/Δ)k_{\Delta}=(2\pi/\Delta).

Meanwhile, the discrete form of the Tangent filter is most easily expressed in terms of the ϵ2/2r\epsilon_{2\ell/2r} coefficients. These can be derived by first re-writing the Tangent response in terms of powers of [sin2(kΔx/2)][\sin^{2}\left(k\Delta x/2\right)], and then employing the fact that {δ2m}=[cos(kΔx)2]m=[4sin2(kΔx/2)]m\mathcal{F}\{\delta^{2m}\}=[\cos(k\Delta x)-2]^{m}=\left[-4\sin^{2}\left(k\Delta x/2\right)\right]^{m}. The Tangent filter – unlike the Top-hat filter – does not have a clear characteristic length in physical space. Usually, such discrete filters are instead defined in terms of their spectral response, such that 𝒢^(kΔ)=0.5\hat{\mathcal{G}}(k_{\Delta})=0.5 [27]. Here, however, we choose the definition 𝒢^(kΔ)=0.99\hat{\mathcal{G}}(k_{\Delta})=0.99 in order to define the resolved modes as those that are well preserved by the filter.

Table 2: Filter definitions.
Filter Response (𝒢^\hat{\mathcal{G}}) Characteristic wavenumber (kΔk_{\Delta})
Top-hat 𝒢^TH(k)=sinc(μΔkΔx)\hat{\mathcal{G}}_{\text{TH}}(k)=\text{sinc}(\mu_{\Delta}\cdot k\Delta x)    with μΔ=Δ(2Δx)\mu_{\Delta}=\frac{\Delta}{(2\Delta x)} kΔ=2πΔk_{\Delta}=\frac{2\pi}{\Delta}
Tangent [26] 𝒢^Tan(k)=[1+μΔtan2R(kΔx2)]1\hat{\mathcal{G}}_{\text{Tan}}(k)=\left[1+\mu_{\Delta}\tan^{2R}\left(\frac{k\Delta x}{2}\right)\right]^{-1}    with μΔ=1/𝒢^(kΔ)1tan2R(kΔΔx2)\mu_{\Delta}=\frac{1/\hat{\mathcal{G}}(k_{\Delta})-1}{\tan^{2R}\left(\frac{k_{\Delta}\Delta x}{2}\right)} 𝒢^(kΔ)=0.99\hat{\mathcal{G}}(k_{\Delta})=0.99
Spectral Sharp 𝒢^sharp(k)={1,ifkkΔ0,otherwise\hat{\mathcal{G}}_{\text{sharp}}(k)=\left\{\begin{array}[]{r l}1,&\text{if}\ k\leq k_{\Delta}\\ 0,&\text{otherwise}\end{array}\right. kΔ=2πΔk_{\Delta}=\frac{2\pi}{\Delta}
Refer to caption
Refer to caption
Figure 1: Growth factor 𝒢^\hat{\mathcal{G}} filter responses versus normalized wavenumber at different FGR (denoted by kck_{c}): a) Top-hat filter, and b) sixth-order Tangent filter.

Figure 1 shows the responses of the filters as tuned to different filter-to-grid ratios (FGR), defined as

FGR=π(kΔΔx).FGR=\frac{\pi}{(k_{\Delta}\Delta x)}\ . (10)

Figure 1 plots the exact response of the Top-hat filter (i.e., the sinc function). Note that the first zero is found at the cut-off wavenumber that is associated with the FGR, kΔ=π(FGRΔx)k_{\Delta}=\frac{\pi}{(FGR\cdot\Delta x)}, and subsequent crossings occur at integer harmonics of kΔk_{\Delta} . In the case where FGR >1>1, the response features negative values. The negative response of the filter flips the original magnitude of a given signal – which, in the case of a sinusoidal basis, would be interpreted as shifting the signal completely out of phase. In the next section, this property of the response will be shown to affect the stability and phase characteristics of the residual filtering methods. Also included in Figure 1 are the responses associated with the discrete stencil that arises from approximating the convolution integral for a top-hat filter with a composite trapezoidal quadrature rule. Note that the approximation replicates the exact response at lower wavenumbers and only differs slightly in amplitude at the high wavenumbers; the proper zero-crossings, however, are maintained. This approximation will be utilized henceforth.

Meanwhile Figure 1 shows Fourier response for sixth-order Tangent filters as tuned to different FGR per the current 𝒢^(kΔx)=0.99\hat{\mathcal{G}}(k_{\Delta}x)=0.99 definition. Compared to the Top-hat filter, we note that the Tangent response is positive semi-definite and only reaches zero at the Nyquist wavenumber, (kΔx)=π(k\Delta x)=\pi. In addition, the attenuation decreases monotonically and shows strong scale separation – a characteristic that increases with the order of the stencil.

2.3 Von Neumann Analysis

The performance of the filters with respect to their different implementations is now analyzed in terms of the dissipation and dispersion characteristics of the overall discretization of the equations. Von Neumann analysis (VNA) is employed, and the procedure is motivated from a semi-discrete Ordinary Differential Equation (ODE) perspective in order to highlight the fundamental trends between the different methods.

Assuming a discrete Fourier representation for the solution variable,

ui+m=ku^keık(xi+Δxm),u_{i+m}=\sum_{k}\hat{u}_{k}\cdot e^{\imath k(x_{i}+\Delta x_{m})}\ , (11)

then the prototypical linear advection-diffusion equation of Equation 2 is re-written in a semi-discrete form that describes the evolution each Fourier mode,

u^kt=[akconv+νkdiff]βou^k.\mathchoice{\frac{\partial\hat{u}_{k}}{\partial t}}{\partial\hat{u}_{k}/\partial t}{\partial\hat{u}_{k}/\partial t}{\partial\hat{u}_{k}/\partial t}=\underbrace{\left[-a\cdot k_{\text{conv}}+\nu\cdot k_{\text{diff}}\right]}_{\beta_{\text{o}}}\hat{u}_{k}\ . (12)

The modified wavenumbers, kconvk_{\text{conv}} and kdiffk_{\text{diff}}, quantify the effect of discrete difference stencils relative to exact differentiation. For example, explicit central stencils on a uniform grid for the convection and diffusion terms yield modified wavenumbers

{δxui=r1cr(Δx)(ui+ruir)}ku^k[r1ı2crsin(rkΔx)(Δx)]kconveıkxi{δx2ui=r0dr(Δx)2(ui+r+uir)}ku^k[r02drcos(rkΔx)(Δx)2]kdiffeıkxi\displaystyle\begin{aligned} \mathcal{F}\left\{\delta_{x}u_{i}=\sum_{r\geq 1}\frac{c_{r}}{(\Delta x)}(u_{i+r}-u_{i-r})\right\}&\to\sum_{k}\hat{u}_{k}\cdot\overbrace{\left[\sum_{r\geq 1}\imath\cdot\frac{2c_{r}\sin(rk\Delta x)}{(\Delta x)}\right]}^{k_{\text{conv}}}e^{\imath kx_{i}}\\ \mathcal{F}\left\{\delta^{2}_{x}u_{i}=\sum_{r\geq 0}\frac{d_{r}}{(\Delta x)^{2}}(u_{i+r}+u_{i-r})\right\}&\to\sum_{k}\hat{u}_{k}\cdot\overbrace{\left[\sum_{r\geq 0}\frac{2d_{r}\cos(rk\Delta x)}{(\Delta x)^{2}}\right]}^{k_{\text{diff}}}e^{\imath kx_{i}}\end{aligned} (13)

and the analogous exact analytical differentiations relative to the Fourier basis gives the references

{xu}ku^[ık]kconv,exeıkxiand{x2u}ku^[k2]kdiff,exeıkxi.\displaystyle\mathcal{F}\{\partial_{x}u\}\ \to\ \sum_{k}\hat{u}\cdot\overbrace{\left[\imath\cdot k\right]}^{k_{\text{conv,ex}}}e^{\imath kx_{i}}\quad\text{and}\quad\mathcal{F}\{\partial^{2}_{x}u\}\ \to\ \sum_{k}\hat{u}\cdot\overbrace{\left[-k^{2}\right]}^{k_{\text{diff,ex}}}e^{\imath kx_{i}}\ . (14)

Considering the ODE that results from the semi-discretization in Equation 12, the complex-valued amplification factor 𝒢^(k)\hat{\mathcal{G}}(k) that describes the evolution of each mode is

𝒢^=|𝒢^|eıωe(βΔt)such thatu^n+1=𝒢^u^n.\hat{\mathcal{G}}=\lvert\hat{\mathcal{G}}\rvert e^{\imath\omega}\approx e^{(\beta\Delta t)}\quad\text{such that}\quad\hat{u}^{n+1}=\hat{\mathcal{G}}\cdot\hat{u}^{n}\ . (15)

The above is equivalent to the ODE characteristic polynomial evaluated with respect to the system eigenvalues β\beta, which in turn are parametrized by the wavenumber dependent (e.g., β=akconv(k)+νkdiff\beta=-a\cdot k_{\text{conv}}(k)+\nu\cdot k_{\text{diff}}). In Equation 15, |𝒢|\lvert\mathcal{G}\rvert corresponds to the growth factor (i.e., dissipation) of the method while ω\omega characterizes its phase properties (i.e., dispersion) . Assuming a Runge-Kutta (RK) time scheme, the characteristic polynomial is defined as [28]

𝒢^RK(βΔt)=1+(βΔt)𝐛T[I(βΔt)A]1𝟏,\hat{\mathcal{G}}_{\text{RK}}\left(\beta\Delta t\right)=1+(\beta\Delta t)\cdot{\bf b}^{T}\left[I-(\beta\Delta t)\cdot A\right]^{-1}{\bf 1}\ , (16)

where [A,𝐛][A,{\bf b}] are the RK coefficients arranged in Butcher Tableau form and β(k)\beta(k) are the eigenvalues associated with the semi-discrete system. The final amplification factors for the different filtering implementations are expressed succinctly as

Artificial Dissipation (AD)¯:𝒢^AD\displaystyle\underline{\text{Artificial Dissipation (AD)}}:\quad\hat{\mathcal{G}}_{\text{AD}} =𝒢^RK(βoΔt+βADΔt),withβAD=|λ|(Δx)[𝒢^fil1]𝒟^fil\displaystyle=\hat{\mathcal{G}}_{\text{RK}}\left(\beta_{\text{o}}\Delta t+\beta_{\text{AD}}\Delta t\right),\ \text{with}\ \beta_{\text{AD}}=\frac{\lvert\lambda^{\prime}\rvert}{(\Delta x)}\cdot\overbrace{\left[\hat{\mathcal{G}}_{\text{fil}}-1\right]}^{\hat{\mathcal{D}}_{\text{fil}}} (17)
Residual Filtering (RF)¯:𝒢^RF\displaystyle\underline{\text{Residual Filtering (RF)}}:\quad\hat{\mathcal{G}}_{\text{RF}} =𝒢^RK(𝒢^fil(βoΔt))\displaystyle=\hat{\mathcal{G}}_{\text{RK}}\left(\hat{\mathcal{G}}_{\text{fil}}\cdot(\beta_{\text{o}}\Delta t)\right)
Solution Filtering (SF)¯:𝒢^SF\displaystyle\underline{\text{Solution Filtering (SF)}}:\quad\hat{\mathcal{G}}_{\text{SF}} =𝒢^fil𝒢^RK(βoΔt)\displaystyle=\hat{\mathcal{G}}_{\text{fil}}\cdot\hat{\mathcal{G}}_{\text{RK}}\left(\beta_{\text{o}}\Delta t\right)

Note that the above presumes that solution filtering occurs at each new time step – rather than after each stage of the RK method, which would more closely resemble an AD implementation.

Refer to caption
Refer to caption
Figure 2: Scatter of semi-discrete eigenvalues arising from the discretization of the advection-diffusion equation according to the different filtering methodologies set to FGR =2=2 (βo\beta_{o}: no filtering, βRF\beta_{RF}: residual filtering, βAD\beta_{AD}: artificial dissipation), plotted on the magnitude of the integration method amplification factor (|𝒢^RK|\lvert\hat{\mathcal{G}}_{RK}\rvert) for the classic fourth-order RK method: a) Top-hat filter and b) sixth-order Tangent filter.

Figures 2 shows the eigenvalues associated with the Fourier representation of the linear advection-diffusion equation (see Equation 12) with and without filtering, wherein we consider a standard sixth-order central discretization of the convective term and a standard second order central stencil for the diffusion term. The central convective terms are purely dispersive and thus induce imaginary components to the eigenvalues; meanwhile the diffusion terms add a stabilizing negative real component. The relative magnitude of the real versus imaginary components of βo\beta_{\text{o}} is dictated by a numerical Reynolds number – which has been set to ReΔx=(|a|Δx)/ν=10Re_{\Delta x}=(|a|\Delta x)/\nu=10 for this example. Meanwhile the spectral radius of the eigenvalues is characterized by a time step size associated with CFL=(|a|Δt)/(Δx)=1CFL=(|a|\Delta t)/(\Delta x)=1. Top-hat and Tangent filters with FGR =2=2 are considered, and the eigenvalues of the resulting semi-discrete systems are plotted over the magnitude contours of the classic fourth-order Runge-Kutta integration method (|𝒢^RK|\lvert\hat{\mathcal{G}}_{\text{RK}}\rvert) in order to better highlight temporal-spatio coupling effects. The impact of filtering on the dissipation and dispersion characteristics of the overall method is therefore fully contextualized – at least for RF and AD (note: SF includes an additional post-processing effect that is not captured here). Studying contour plots (i.e. “thumbprints”) of the characteristic polynomial as parametrized by a set of complex eigenvalues then provides additional insight into how the time step size, the discretization scheme, or the filtering method will impact the eventual von Neumann analysis.

Overall, the AD implementation is shown to add a real component to the original eigenvalues and thus increases integration stiffness. On the other hand, RF is seen to generally shrink the distribution of eigenvalues which confirms the use of residual filtering (also referred to as residual smoothing) for accommodating higher CFL limits. Meanwhile no direct commentary on SF is possible from this semi-discrete perspective, due to its post-processing nature.

The influence of the respective filter functions on the eigenvalues is also evident. The current Tangent filter preserves more of the baseline eigenvalues, and this property is tied to the fact that the specific response preserves more content and features enhanced scale-discriminant damping compared to the Top-hat, which modifies a larger portion of the original eigenvalue distribution. Also important to note is that the residual filtering with the current Top-hat filter instigates de-stabilizing positive real eigenvalues to the system. This is related to the negative portion of the Top-Hat filter’s response function (see Figure 1) that interacts with the diffusion terms and thus changes them into anti-diffusion terms.

Refer to caption
Refer to caption
Figure 3: Von Neumann analysis for filtering schemes tuned to FGR =2=2 (denoted by kck_{c}) with the Top-hat filter: a) growth factor and b) phase (normalized by the exact phase as calculated by assuming exact integration and a Fourier-spectral scheme in space).
Refer to caption
Refer to caption
Figure 4: Von Neumann analysis for filtering schemes tuned to FGR =2=2 (denoted by kck_{c}) with the sixth-order Tangent filter: a) growth factor and b) phase (normalized by the exact phase as calculated by assuming exact integration and a Fourier-spectral scheme in space).

The associated von Neumann analysis further details dissipation and dispersion properties of the different overall filtering methods as a function of wavenumber. The stability plots follows from the one-to-one mapping that exists between the current semi-discrete eigenvalues and a wavenumber (see Equation 12). Results pertaining to both the Top-hat and sixth-order Tangent filters are provided in Figures 4 and 4, respectively. In general, one notes that the RF technique reduces the amount of damping and also decreases phase accuracy – the extent of which depends on the filter response. Meanwhile, the AD approach adds damping at the high wavenumbers and somewhat affects phase behavior. This latter observation is a result of spatio-temporal coupling effects – which, for example, are also responsible for producing non-monotonic damping at moderate CFL numbers. The trends for RF and AD are both predictable by understanding how the filtering influences the semi-discrete eigenvalues and how these interact with the ODE thumbprints of the integration method (see Figure 2). SF, on the other hand, is an attenuating post processing method; it is seen to preserve the phase properties of the base scheme and to only add the filter dissipation to the base scheme.

The pairing of residual filtering with the Top-hat filter induces notable effects in terms of stability and phase accuracy. In the instance where the Top-hat filter employs a FGR >1>1, then the associated filter response features negative values (see Figure 1). In the case of residual filtering, this corresponds to the upper lobe of βRF\beta^{\prime}_{RF} in Figure 2. With regard to dissipation, one notes that the same range of modes feature a growth factor above unity, therefore making the method unstable (see Figure 4). This is a consequence of the physical diffusion terms being included in the residual filtering; therefore, a potential remedy is to exclude such terms from the RF procedure when employing filters that feature negative responses. Meanwhile with regard to dispersion, one notes a range of modes (those associated with the negative response of the Top-hat filter) over which the phase direction is reversed (see Figure 4) – this is consequential with respect to transport accuracy. Furthermore, the zero crossings cause stationary phase and neutral dissipation at the respective wavenumbers. Therefore one can expect content to become trapped at these spectral locations. The Top-hat filter features zero crossings at kΔk_{\Delta} and its harmonics; thus, there is the potential for a pile up of spectral energy at multiple intermediate modes besides the Nyquist frequency when FGR >1>1.

Overall, the von Neumann responses for each filtering method are similar up until the point of significant filter roll-off, after which the nuances in dissipation and dispersion of each implementation become more evident. These characterizations provide guidelines to the non-linear setting, which is explored in the following sections via numerical calculations.

3 Results

In order to illustrate the different behaviors of the filtering implementations, we consider several non-linear test cases of increasing complexity on uniform periodic domains. The previous linear analysis is shown to appropriately predict the behavior of the filtering implementations. The strengths and weaknesses of the different approaches are explored by first studying non-linear cascading in the one-dimensional viscous Burgers equation. Next, additional attention is placed on transport accuracy and noise mitigation with respect to an Euler computation of the two-dimensional isentropic vortex. Finally, the Taylor-Green vortex, as governed by the three-dimensional Navier-Stokes system, is presented in order to highlight the impact of both dissipation and dispersion characteristics on the transient dynamics and also to study how each filtering method performs for varying FGR. In each instance, the Top-hat and Tangent filters are employed to further highlight the effects of their different response characteristics as analyzed in the previous section. In the following cases, the AD method employs |λ|=max{|u|+c}|\lambda^{\prime}|=\max\{|u|+c\} and the SF procedure is applied at each new (n+1)(n+1) time step with a CFL-based re-scaling such that |λ|=min{Δx/Δt,max{|u|+c}}|\lambda^{\prime}|=\min\{\Delta x/\Delta t,\max\{|u|+c\}\}.

3.1 1D Viscous Burgers: Non-linear Cascade

A model problem based on the viscous Burgers equation is first used to highlight some of the differences between the filtering implementations, here focusing on their spectral characteristics in terms of enforcing a target filter width. The non-linear dynamics of the Burgers equation result in the creation of smaller scales via non-linear interactions. The current intent of the filtering methods is thus to restrict the solution spectrum to be within the target filter width which is set to FGR =12=12.

3.1.1 Initialization

We seek the solution to the one-dimensional viscous Burgers equation,

ut+12u2x=ν2ux2\mathchoice{\frac{\partial u}{\partial t}}{\partial u/\partial t}{\partial u/\partial t}{\partial u/\partial t}+\frac{1}{2}\mathchoice{\frac{\partial u^{2}}{\partial x}}{\partial u^{2}/\partial x}{\partial u^{2}/\partial x}{\partial u^{2}/\partial x}=\nu\mathchoice{\frac{\partial^{2}u}{\partial x^{2}}}{\partial^{2}u/\partial x^{2}}{\partial^{2}u/\partial x^{2}}{\partial^{2}u/\partial x^{2}} (18)

The domain is periodic domain, and the above equation is advanced with a second-order five-stage Low Dissipation Disperion Runge-Kutta (LDDRK) method [29, 30]. The convective term is represented in divergence form and is discretized with the central fourth-order, seven-point optimized (CD04-7opt) Dispersion Relation Preserving (DRP) central stencil of Tam and Webb [31]. Meanwhile the diffusion term employs a standard fourth-order central stencil. The equations are integrated with a time step corresponding to CFLuo0.5CFL_{u_{o}}\approx 0.5 which gives Δt5.6×105\Delta t\approx 5.6\times 10^{-5}. The initial solution imposes a prescribed energy spectrum via Fourier series [32]:

u(t=0,x)uo\displaystyle\overbrace{u(t=0,x)}^{u_{o}} =2n=0N/2[{u^(κn)}cos(2πκnxL)+{u^(κn)}sin(2πκnxL)]\displaystyle=2\sum_{n=0}^{N/2}\left[\Re\{\hat{u}(\kappa_{n})\}\cos\left(\frac{2\pi\kappa_{n}x}{L}\right)+\Im\{\hat{u}(\kappa_{n})\}\sin\left(\frac{2\pi\kappa_{n}x}{L}\right)\right] (19)
with u^(κ)=2E(κ)eı2π𝖴κ,E(κ)=[23π(2πκ0L)5](2πκL)4e(κ/κ0)2\displaystyle\quad\hat{u}(\kappa)=\sqrt{2E(\kappa)}e^{\imath 2\pi\mathsf{U}_{\kappa}},\ E(\kappa)=\left[\frac{2}{3\sqrt{\pi}}\left(\frac{2\pi\kappa_{0}}{L}\right)^{-5}\right]\left(\frac{2\pi\kappa}{L}\right)^{4}e^{-(\kappa/\kappa_{0})^{2}}

In the above, κ=2L2π\kappa=\frac{2L}{2\pi} refers to the integral wavenumber. Phase randomization is applied by choosing 𝖴κ[0,1]\mathsf{U}_{\kappa}\in[0,1] from a uniform distribution. The initial condition has a peak in the energy spectrum at wavenumber κ0=5\kappa_{0}=5, which identifies an integral length scale L/κo\ell\approx L/\kappa_{o}. The integral Reynolds number is set to Re=(L/κo)ν(1Luo2𝑑x)1/2=1000Re_{\ell}=\frac{(L/\kappa_{o})}{\nu}\cdot\left(\frac{1}{L}\int u_{o}^{2}dx\right)^{1/2}=1000. Employing Nx=8192N_{x}=8192 degrees of freedom (DOF) therefore provides sufficient resolution of the viscous scales, η/Δx4.5\eta/\Delta x\approx 4.5 (based on Kolmogorov turbulence scaling approximations). The large filter-to-grid ratio (FGR =12=12) to be considered, however, yields a resolution that lies within the non-viscous inertial range.

3.1.2 Results

Refer to caption
Refer to caption
Refer to caption
Figure 5: Power spectral density of solution, |u^|2|\hat{u}|^{2}, corresponding to “turbulent” Burgers test case at t=0.0475t=0.0475 (near peak dissipation rate), comparing different filtering implementations tuned to FGR =12=12 (denoted by κc\kappa_{c}) relative to the full DNS resolution: a) Top-hat filter, b) sixth-order Tangent filter and c) spectral-sharp filter.

Figures 5 plots the solution spectra at t=0.0475t=0.0475, which corresponds to the moment of maximum energy dissipation rate (i.e., the spectrum is at its “fullest”, prior to decay). The performance of the different filtering methods can thus be compared in terms of their damping properties. In general, one notes that solution filtering is the most dissipative approach, followed by artificial dissipation and then residual filtering. The extent to which this attenuation impacts the scales above the filter size for the different implementations depends on the scale-discriminance of the filter in use. For example, the Top-hat filter yields in stark differences between RF, SF, and AD; yet, such differences are less pronounced when using the scale-discriminant Tangent filter.

The role of the filter’s scale-discriminance in spectral space is further highlighted in Figure 5, which shows the results for a spectrally sharp cut-off filter. In this scenario, the associated solutions are nearly identical in terms of their sharp drop off at the target filter width, and they only show slight deviances at sub-filter scales. Residual filtering and solution filtering without the CFL rescaling (SF-nr) yield identical results when paired with the sharp filter. Nevertheless, each method is still distinct and would react differently depending on the choice of initial conditions, the introduction of noise, the time step size, etc. 444In order to recover identical results with residual filtering versus solution filtering (SF-nr), one would need to employ a spectral sharp filter that is set at a filter width below the aliasing limit of the equations (i.e., enforce a de-aliased calculation); the initial condition would furthermore need to be contained within the prescribed filter width, and no other spurious noise (e.g., from boundaries, aliasing etc.) should be introduced since the methods react differently to such errors [33].

We note that the RF implementations tend to admit scales past the target cut-off kΔk_{\Delta} when utilizing filters with a smooth response. The finite amplitude of the filter response beyond the prescribed cutoff admits this small-scale content. As previously stated, RF does not have an active dissipation mechanism and therefore cannot damp the lingering high wavenumber components. The influence of physical diffusion is furthermore reduced when the viscous terms are included in the residual filtering, therefore allowing for a greater accumulation of small-scale content. In the case of the Top-hat filter – which features a negative response over a range of wavenumbers (see Figure 1) – one sees that including the diffusion term in the RF procedure introduces numerical instabilities in the corresponding scales. Therefore RF filtering with a Top-hat kernel featuring FGR >2>2 should be performed only on the convective terms and should exclude the diffusion terms.

3.2 2D Euler: Isentropic Vortex

Next, the performance of the filtering techniques is evaluated relative to mitigating numerical errors. For the current transport-dominated isentropic vortex case, the compressible Euler equations are considered (see Equation 32, neglecting the viscous terms, 𝐄j(v){\bf E}_{j}^{(v)}) while assuming a calorically perfect ideal gas. The transport of the initial density profile is an exact solution to the governing inviscid equations; yet, numerical perturbations can trigger a non-linear cascade of spectral content that will cause the vortex to break up. Therefore the filtering formulations are inspected with regard to mitigating the manifestation of such numerical error effects, and the ability to maintain proper vortex coherence and transport.

t[ρρuiρeo]𝐐=xj[ρujρujuiρujeo]𝐄j(c)xj[0PδijPuj]𝐄j(p)+xj[0τijτjkuk+qj]𝐄j(v)=o\displaystyle\partial_{t}\underbrace{\left[\begin{array}[]{c}\rho\\ \rho u_{i}\\ \rho e_{o}\end{array}\right]}_{\bf Q}=-\partial_{x_{j}}\underbrace{\left[\begin{array}[]{c}\rho u_{j}\\ \rho u_{j}u_{i}\\ \rho u_{j}e_{o}\end{array}\right]}_{{\bf E}_{j}^{(c)}}-\partial_{x_{j}}\underbrace{\left[\begin{array}[]{c}0\\ P\delta_{ij}\\ Pu_{j}\end{array}\right]}_{{\bf E}_{j}^{(p)}}+\partial_{x_{j}}\underbrace{\left[\begin{array}[]{c}0\\ \tau_{ij}\\ \tau_{jk}u_{k}+q_{j}\end{array}\right]}_{{\bf E}_{j}^{(v)}}=\mathcal{R}_{\text{o}} (32)
P=ρRT,ρeo=Pγ1+12ρuiui,τij=μ(xjui+xiuj)2Sij23μδijxkuk,γ=cp/cv,R=cpcv,qi=κxiT\displaystyle\begin{array}[]{ l l l l l l l l}P=\rho RT,&\rho e_{o}=\frac{P}{\gamma-1}+\frac{1}{2}\rho u_{i}u_{i},&\tau_{ij}=\overbrace{\mu\cdot\left(\partial_{x_{j}}u_{i}+\partial_{x_{i}}u_{j}\right)}^{2S_{ij}}-\frac{2}{3}\mu\ \delta_{ij}\cdot\partial_{x_{k}}u_{k},\\ \gamma=c_{p}/c_{v},&R=c_{p}-c_{v},&q_{i}=\kappa\cdot\partial_{x_{i}}T\end{array} (35)

3.2.1 Initialization

The vortex is initialized via velocity and temperature perturbations to a uniform background flow,

δu=RT(α2π)(yyo)eϕ(1r2)δv=RT(α2π)(xxo)eϕ(1r2)δT=T[α2(γ1)16ϕγπ2]e2ϕ(1r2)\displaystyle\begin{array}[]{r c l}\delta u&=&-\sqrt{R_{\infty}T_{\infty}}\left(\frac{\alpha}{2\pi}\right)(y-y_{o})e^{\phi(1-r^{2})}\\ \\ \delta v&=&\sqrt{R_{\infty}T_{\infty}}\left(\frac{\alpha}{2\pi}\right)(x-x_{o})e^{\phi(1-r^{2})}\\ \\ \delta T&=&-T_{\infty}\left[\frac{\alpha^{2}(\gamma-1)}{16\phi\gamma\pi^{2}}\right]e^{2\phi(1-r^{2})}\end{array} (41)

where the radius, r2=(xxo)2+(yyo)2r^{2}=(x-x_{o})^{2}+(y-y_{o})^{2}, is defined about an origin (xo,yo)(x_{o},y_{o}). Here, the vortex is initialized on top of a background flow, 𝐐{\bf Q}_{\infty}, which features velocity in the x-direction only (i.e., v=w=0v_{\infty}=w_{\infty}=0):

ρu=200.0[kgm2s],ρ=1.0[kgm3],ρeo,=305714.3[kgms2]\displaystyle\begin{array}[]{l l l }\rho u_{\infty}=200.0\ \left[\frac{kg}{m^{2}\cdot s}\right],&\rho_{\infty}=1.0\ \left[\frac{kg}{m^{3}}\right],&\rho e_{o,\infty}=305714.3\ \left[\frac{kg}{m\cdot s^{2}}\right]\end{array} (43)

The isentropic relation, P=P(T/T)γ/(γ1)P=P_{\infty}(T/T_{\infty})^{\gamma/(\gamma-1)}, is then invoked along with the ideal gas law in order to complete the thermodynamic specifications. A periodic domain is considered, and the parameters α=4\alpha=4 and ϕ=1\phi=1 are chosen in Equation 41 in order to produce a 45%\sim 45\% density perturbation and a vortex diameter of approximately 2.1[m]2.1\ [m] (the vortex diameter being identified according to δT/T=0.001\delta T/T_{\infty}=0.001). The following results are calculated using the fourth-order DRP optimized stencil (CD04-7opt) for first derivatives, and employs the quadratic splitting of Feiereisen et al. [34] for each of the transport terms in density, momentum, and total energy:

xjρujψ12δxjρujψ+12(ρujδxjψ+ψδxjρuj).\displaystyle\partial_{x_{j}}\rho u_{j}\psi\approx\frac{1}{2}\cdot\delta_{x_{j}}\rho u_{j}\psi+\frac{1}{2}\cdot\left(\rho u_{j}\delta_{x_{j}}\psi+\psi\delta_{x_{j}}\rho u_{j}\right)\ . (44)

The convective splitting mitigates aliasing activity [4, 35] and satisfies secondary conservation properties [36]. The classic fourth-order Runge-Kutta method is used for time integration. On all grids considered, the various filtering methods are tuned to a 44 points-per-wave (PPW) resolution (i.e., kcΔx=0.5πk_{c}\Delta x=0.5\pi) per the respective cut-off definitions of the Top-hat and sixth-order Tangent filter.

3.2.2 Results

Refer to caption
Refer to caption
Figure 6: Convergence of density solution after traveling two vortex widths and employing different filtering methods tuned to (kcΔx)=0.5π(k_{c}\Delta x)=0.5\pi: a) Top-hat filter and b) sixth-order Tangent filter.
No Fil. RF SF-r
Refer to caption Refer to caption Refer to caption
Refer to caption Refer to caption Refer to caption
Figure 7: Solutions on the square N=602N=60^{2} grid after traveling forty vortex widths and employing different filtering methods with sixth-order Tangent filter: a) density solution and b) normalized two-dimensional energy spectra of the velocity perturbations.

Figure 6 presents convergence plots for the different filtering implementations as paired with the respective filters. The data is calculated after two vortex widths traveled on a periodic domain of L=2.1[m]L=2.1\ [m] (i.e., two vortex widths) with a time step of Δt=4.2×106[s]\Delta t=4.2\times 10^{-6}\ [s] – which corresponds to CFLu,1D0.016CFL_{u_{\infty},1D}\approx 0.016 on the finest grid, therefore temporal effects are negligible at all resolutions considered and one can expect congruence between SF-r and AD results (as observed). In the case of the Top-hat kernel (see Figure 6,), the filter is overly dissipative relative to the spectral signature of the problem and therefore produces large errors that persist with the grid refinement. This issue is more pervasive with the SF-r/AD renditions of filtering than with RF. On the other hand, in Figure 6, the filtering utilizing the current Tangent stencil is shown to generally reduce numerical errors. Here, the SF-r/AD implementations perform better than the RF implementation which admits more high wavenumber noise and phase error.

Figure 7 shows both the density solution and velocity spectra calculated with the Tangent filtering after forty vortex widths traveled on a L=21[m]L=21\ [m] periodic square domain of N=602N=60^{2} points (i.e., 10 points across the vortex width). One notes that filtering generally mitigates the presence of small scales compared to the non-filtered solution. However, it is noted that the RF solutions trails its expected location and has begun to accumulate high wavenumber content – a consequence of its lack of a damping mechanism and its dispersive characteristics with respect to the Euler system. While the current observations are specific to the case and methods used, they corroborate the theoretical analysis from previous sections and highlight potential impact of the filter characteristics (e.g., scale-discriminant attenuation) relative to the different filtering methods.

3.3 3D Navier-Stokes: Taylor-Green Vortex (Re=1600\text{Re}=1600)

The three-dimensional compressible Taylor-Green vortex (TGV) problem, governed by the 3D Navier-Stokes system (see Equation 32), is now considered with the intent to assess the efficacy of the different filtering methods while refining the grid. The TGV is an unsteady vortex featuring the transfer of large-scale perturbations towards small-scale features, followed by an eventual decay. The test case thus serves as more complex and relevant analogue to the previous viscous Burgers example.

Quantitative characterization of the flow is achieved by analyzing the volume-averaged kinetic energy (Ek)(E_{k}), its rate of change with respect to time (ϵEk)(\epsilon_{E_{k}}), and the viscous dissipation (ϵSij)(\epsilon_{S_{ij}}):

Ek=1ρ0ΩΩρuiui2𝑑Ω,ϵEk=dtEk,ϵSij=2μρ0ΩΩSijSij𝑑Ω\begin{array}[]{c c c}E_{k}=\frac{1}{\rho_{0}\Omega}\int_{\Omega}\rho\frac{u_{i}u_{i}}{2}d\Omega,&\epsilon_{E_{k}}=-d_{t}E_{k},&\epsilon_{S_{ij}}=\frac{2\mu}{\rho_{0}\Omega}\int_{\Omega}S_{ij}S_{ij}\ d\Omega\end{array} (45)

Although ϵEk\epsilon_{E_{k}} characterizes the overall kinetic energy dissipataion, ϵSij\epsilon_{S_{ij}} represents the dissipation due to the viscosity terms and can also be used as a practical measure of the amount of small scale activity. Upon sufficient spatial resolution (and assuming small compressibility effects such that xiui0\partial_{x_{i}}u_{i}\approx 0), one recovers the analytical result of ϵEkϵSij\epsilon_{E_{k}}\approx\epsilon_{S_{ij}}, as suggested by the evolution equation for kinetic energy,

12t(ρuiui)=uit(ρui)12ui2tρ=12xjρujuiuiuixiP+uixjτij.\displaystyle\frac{1}{2}\partial_{t}(\rho u_{i}u_{i})=u_{i}\partial_{t}(\rho u_{i})-\frac{1}{2}u_{i}^{2}\partial_{t}\rho=-\frac{1}{2}\partial_{x_{j}}\rho u_{j}u_{i}u_{i}-u_{i}\partial_{x_{i}}P+u_{i}\partial_{x_{j}}\tau_{ij}\ . (46)

However, in the case of under-resolved grids, there can be a discrepancy between the two metrics which can be interpreted as the implied non-linear effects stemming from the numerical method [37],

ϵnum=(ϵEKϵSij).\epsilon_{\text{num}}=(\epsilon_{E_{K}}-\epsilon_{S_{ij}})\ . (47)

This contribution characterizes the numerically-induced effects that linger in the discrete version of Equation 46, as derived from the discretized primary equations.

3.3.1 Impact of Filtering Implementations on the Kinetic Energy Dissipation Rate

The explicit form of ϵnum\epsilon_{\text{num}} can be written for each of the filtering methods in order to better understand their respective behaviors. In order to do this, we consider o,ex\mathcal{R}_{\text{o,ex}} to be the original residual that is discretized by a high order method of maximal accuracy relative to the available grid resolution (i.e., an “exact” reference). Then \mathcal{R}^{\prime} is the modified residual associated with each filtering method. The numerical errors of the primary equations therefore manifest in the kinetic energy equation as ϵnum\epsilon_{num}, where

ϵnum\displaystyle\epsilon_{\text{num}} =\displaystyle= Ω[ui((ρui)o,ex(ρui))12ui2((ρ)o,ex(ρ))]𝑑Ω,with{AD=o+𝒟fil(Q)RF=𝒢filo\displaystyle\int_{\Omega}\left[u_{i}\left(\mathcal{R}^{\prime(\rho u_{i})}-\mathcal{R}_{\text{o,ex}}^{(\rho u_{i})}\right)-\frac{1}{2}u_{i}^{2}\left(\mathcal{R}^{\prime(\rho)}-\mathcal{R}_{\text{o,ex}}^{(\rho)}\right)\right]d\Omega,\quad\text{with}\ \left\{\begin{array}[]{r c l}\mathcal{R}^{\prime}_{\text{AD}}&=&\mathcal{R}_{\text{o}}+\mathcal{D}_{\text{fil}}(Q)\\ \mathcal{R}^{\prime}_{\text{RF}}&=&\mathcal{G}_{\text{fil}}\mathcal{R}_{\text{o}}\end{array}\right. (50)

Note that in order to simplify the current exposition, the modified residual for solution filtering is taken as a limiting case of artificial dissipation (i.e., limΔt0SF=AD\lim_{\Delta t\to 0}\mathcal{R}^{\prime}_{SF}=\mathcal{R}^{\prime}_{\text{AD}}). After defining the truncation error as

trunc=oo,ex,\mathcal{E}_{\text{trunc}}=\mathcal{R}_{\text{o}}-\mathcal{R}_{\text{o,ex}}\ , (52)

then the numerical contributions to the kinetic energy dynamics for each of the filtering procedures are expressed as

ϵnum,AD\displaystyle\epsilon_{\text{num,AD}} =\displaystyle= Ω[(uitrunc(ρui)12ui2trunc(ρ))+(ui𝒟filρui12ui2𝒟filρ)]𝑑Ω\displaystyle\int_{\Omega}\left[\left(u_{i}\mathcal{E}_{\text{trunc}}^{(\rho u_{i})}-\frac{1}{2}u_{i}^{2}\mathcal{E}_{\text{trunc}}^{(\rho)}\right)+\left(u_{i}\mathcal{D}_{\text{fil}}\rho u_{i}-\frac{1}{2}u_{i}^{2}\mathcal{D}_{\text{fil}}\rho\right)\right]d\Omega (53)
ϵnum,RF\displaystyle\epsilon_{\text{num,RF}} =\displaystyle= Ω[(uitrunc(ρui)12ui2trunc(ρ))+(ui𝒟filo(ρui)12ui2𝒟filo(ρ))]𝑑Ω\displaystyle\int_{\Omega}\left[\left(u_{i}\mathcal{E}_{\text{trunc}}^{(\rho u_{i})}-\frac{1}{2}u_{i}^{2}\mathcal{E}_{\text{trunc}}^{(\rho)}\right)+\left(u_{i}\mathcal{D}_{\text{fil}}\mathcal{R}_{\text{o}}^{(\rho u_{i})}-\frac{1}{2}u_{i}^{2}\mathcal{D}_{\text{fil}}\mathcal{R}_{\text{o}}^{(\rho)}\right)\right]d\Omega (54)

The discretization error, trunc\mathcal{E}_{\text{trunc}}, is seen to induce an effect in the kinetic energy balance for each filtering method. In the case of artificial dissipation (and thus, by mild extension, the re-scaled solution filtering), the filter-related terms serve primarily as a stabilizing sink term whose influence increases according to magnitude of the filter attenuation. Meanwhile, the filter-related terms in ϵnum\epsilon_{\text{num}} for residual filtering are far more indefinite. Further substituting the identities o=(o,ex+trunc)\mathcal{R}_{o}=(\mathcal{R}_{\text{o,ex}}+\mathcal{E}_{\text{trunc}}) and 𝒢fil=(I+𝒟fil)\mathcal{G}_{\text{fil}}=(I+\mathcal{D}_{\text{fil}}) into Equation 54 yields

ϵnum,RF\displaystyle\epsilon_{\text{num,RF}} =\displaystyle= Ω[(ui𝒢filtrunc(ρui)12ui2𝒢filtrunc(ρ))+(ui𝒟filo,ex(ρui)12ui2𝒟filo,ex(ρ))]𝑑Ω,\displaystyle\int_{\Omega}\left[\left(u_{i}\mathcal{G}_{\text{fil}}\mathcal{E}_{\text{trunc}}^{(\rho u_{i})}-\frac{1}{2}u_{i}^{2}\mathcal{G}_{\text{fil}}\mathcal{E}_{\text{trunc}}^{(\rho)}\right)+\left(u_{i}\mathcal{D}_{\text{fil}}\mathcal{R}_{\text{o,ex}}^{(\rho u_{i})}-\frac{1}{2}u_{i}^{2}\mathcal{D}_{\text{fil}}\mathcal{R}_{\text{o,ex}}^{(\rho)}\right)\right]d\Omega\ , (55)

which provides some additional insight with respect to residual filtering. It suggests that a proper selection of the filter can recover 𝒢filtrunc0\mathcal{G}_{\text{fil}}\mathcal{E}_{\text{trunc}}\approx 0 and eliminate the influence of numerical errors from the baseline method. To do this, the filter must be properly tuned (i.e., in terms of cut-off and spectral sharpness) relative to the resolution and aliasing properties (i.e., the numerical errors) of the discretization scheme. The lingering errors are then tied to the dispersive effects of residual filtering and are primarily characterized by the filter choice and the amount of small-scale content. The above observations highlight the nuanced non-linear differences associated with the respective filtering methods, here expressed with respect to the Navier-Stokes kinetic energy dynamics555Note that when using a kinetic energy preserving (KEP) formulation [38, 36, 39, 40] such as the current splitting of Equation 44, then the first terms in Equations 53 and 54 are zero, Ω[(uitrunc(ρui)12ui2trunc(ρ))]𝑑Ω\int_{\Omega}\left[\left(u_{i}\mathcal{E}_{\text{trunc}}^{(\rho u_{i})}-\frac{1}{2}u_{i}^{2}\mathcal{E}_{\text{trunc}}^{(\rho)}\right)\right]d\Omega..

3.3.2 Initialization

The initial conditions to the Taylor Green vortex are given as perturbations to a base flow on a triply periodic domain, πLx,y,xπL-\pi L\leq x,y,x\leq\pi L:

δu=V0sin(xL)cos(yL)cos(zL)δv=V0cos(xL)sin(yL)cos(zL)δP=ρV0216[cos(2xL)+cos(2yL)][cos(2zL)+2]\displaystyle\begin{array}[]{l l l}\delta u&=&V_{0}\sin\left(\frac{x}{L}\right)\cos\left(\frac{y}{L}\right)\cos\left(\frac{z}{L}\right)\\ \\ \delta v&=&-V_{0}\cos\left(\frac{x}{L}\right)\sin\left(\frac{y}{L}\right)\cos\left(\frac{z}{L}\right)\\ \\ \delta P&=&\frac{\rho_{\infty}V_{0}^{2}}{16}\left[\cos\left(\frac{2x}{L}\right)+\cos\left(\frac{2y}{L}\right)\right]\left[\cos\left(\frac{2z}{L}\right)+2\right]\end{array} (61)

The problem is further prescribed by the following non-dimensional parameters:

Re=(ρV0L)/μ=1600,M0=(V0/c0)=0.1,Pr=(μcp)/κ=0.71,γ=cp/cv=1.4\displaystyle\begin{array}[]{c c c c}{Re}=(\rho_{\infty}V_{0}L)/\mu=1600,&{M}_{0}=(V_{0}/c_{0})=0.1,&{Pr}=(\mu c_{p})/\kappa=0.71,&\gamma=c_{p}/c_{v}=1.4\end{array} (63)

The following calculations employ a second-order stencil for the viscous terms and the optimized scheme CD04-7opt for the convective terms, which are quadratically split per Equation 44. Time integration is done via the classic fourth-order Runge-Kutta method with a time step size of Δt=tc/104\Delta t=t_{c}/10^{4}, where tc=L/Vot_{c}=L/V_{o} is the characteristic time scale. Relative to the reference grid (N=5123N=512^{3}), this yields CFLVo,1D0.01CFL_{V_{o},1D}\approx 0.01. Therefore temporal effects are minimal and differences between the AD and SF-r approaches are negligible, and the AD results are not reported henceforth. Note that no sub-filter closure modeling is incorporated herein and that the current emphasis is on the behavior of the filtering implementations with regards to enforcing a target filter width and reducing numerical effects.

In the following, an effective resolution of N=643N=64^{3} is applied with the Top-hat and Tangent filters per their respective cut-off definitions. The Top-hat filter, however, is overly dissipative for the current resolutions and filter width when applied with SF-r/AD. This hinders the initial perturbations (i.e., the flow quickly“laminarizes” and relaxes to the background conditions). Therefore we omit the results based on the Top-hat filter employed with SF-r/AD. Furthermore, the current RF implementation omits the diffusion terms xj𝐄j(v)\partial_{x_{j}}{\bf E}^{(v)}_{j} as part of the residual filtering in the case of both the Top-hat and Tangent filters. As previously explained and demonstrated, this modification is necessary for the numerical stability of the RF Top-hat method; and the RF Tangent method is implemented analogously for congruity in the results.

3.3.3 Results

Figures 8 and 9 show volumetric plots of vorticity for the RF and SF-r calculations for the Top-hat and Tangent filters, respectively. These are compared to a reference solution that is filtered at the given instant in time. One notices that RF features smaller structures than the provided filtered reference while SF yields a coarser effective resolution. This suggests, once again, that RF tends to under-compensate the anticipated filter width while SF-r/AD tend to over-compensate for it. Figure 10 further confirms these trends relative to the velocity spectra of the solutions. The lack of an active attenuation mechanism in RF is seen to admit significant content past the anticipated cut-off – more so for the Top-hat filter compared to the scale-discriminant Tangent filter. Meanwhile the SF-r computation is shown to be overly dissipative compared to the target.

Refer to caption
(a) Inst. filtered ref., Top-hat
Refer to caption
(b) Top-hat + RF
Figure 8: Iso-surface of positive Q-criterion [41] (colored by vorticity magnitude) during time of vortical breakdown (t=9tct=9t_{c}) for N=1923N=192^{3} solutions with the Top-hat filter tuned to a N=643N=64^{3} resolution: a) instantaneously filtered reference and b) residual filtering. Note: Top-hat solution filtering is not shown because it is overly dissipative and quickly laminarizes.
Refer to caption
(a) Inst. filtered ref., Tan06
Refer to caption
(b) Tan06 + RF
Refer to caption
(c) Tan06 + SF-r
Figure 9: Iso-surface of positive Q-criterion [41] (colored by vorticity magnitude) during time of vortical breakdown (t=9tct=9t_{c}) for 1923192^{3} solutions with the sixth-order Tangent filter tuned to a 64364^{3} resolution: a) instantaneously filtered reference, b) residual filtering, and c) temporally-consistent solution filtering.
Refer to caption
(a) Top-hat
Refer to caption
(b) Tan06
Figure 10: Turbulent kinetic energy spectrum of N=1923N=192^{3} solutions during vortical breakdown (t=9tct=9t_{c}), comparing un-filtered and instantaneously filtered references to filtering methods as tuned to an effective resolution of N=643N=64^{3} corresponding to cut-off wavenumber κc\kappa_{c}: a) Top-hat filter and b) sixth-order Tangent filter.
Refer to caption
Refer to caption
Refer to caption
Figure 11: Kinetic energy dissipation rates for the Top-hat filter with residual filtering (RF) tuned to a N=643N=64^{3} cut-off: a) ϵSij\epsilon_{S_{ij}}, b) |ϵnum|=|ϵEKϵSij||\epsilon_{\text{num}}|=|\epsilon_{E_{K}}-\epsilon_{S_{ij}}| and c) ϵEk=dtEk\epsilon_{E_{k}}=-d_{t}E_{k}.
Refer to caption
Refer to caption
Refer to caption
Figure 12: Kinetic energy dissipation rates for the sixth-order Tangent filter with residual filtering (RF) tuned to a N=643N=64^{3} cut-off: a) ϵSij\epsilon_{S_{ij}}, b) |ϵnum|=|ϵEKϵSij||\epsilon_{\text{num}}|=|\epsilon_{E_{K}}-\epsilon_{S_{ij}}| and c) ϵEk=dtEk\epsilon_{E_{k}}=-d_{t}E_{k}.
Refer to caption
Refer to caption
Refer to caption
Figure 13: Kinetic energy dissipation rates for the sixth-order Tangent filter with temporally-consistent re-scaled solution filtering (SF-r) tuned to a N=643N=64^{3} cut-off: a) ϵSij\epsilon_{S_{ij}}, b) |ϵnum|=|ϵEKϵSij||\epsilon_{\text{num}}|=|\epsilon_{E_{K}}-\epsilon_{S_{ij}}| and c) ϵEk=dtEk\epsilon_{E_{k}}=-d_{t}E_{k}.

Figure 13 presents the different kinetic energy dissipation metrics for the Top-hat filter applied via RF with an effective cut-off resolution of N=643N=64^{3}. The strain-based metric ϵSij\epsilon_{S_{ij}} in Figure 13, which is indicative of small-scale activity, confirms that the filtering hinders the generation of high wavenumber content. The RF method performs consistently upon refinement of the mesh whilst maintaining the same physical filter width. Inspecting the contribution of numerical effects (e.g., discretization error, filter-induced contributions) to the dissipation rate via the ϵnum\epsilon_{\text{num}} metric in Figure 13 communicates that the solution dynamics are dominated by the low-order Top-hat response, even upon mesh refinement. In other words, ϵnum,RF\epsilon_{num,RF} in Equation 55 remains substantial due to the form of the Top-hat filter attenuation, 𝒟fil\mathcal{D}_{\text{fil}}, which is very broad in spectral space and not scale-discriminant. These characteristics should be taken into account when pairing LES closure models with such a formulation. Overall, the Top-hat RF method strongly mollifies the original dynamics due to the filter response having an effect over a large range of scales, as anticipated from the theoretical analysis. This yields a slow down of the cascading process. Figure 13 plots the total kinetic energy dissipation rate ϵEk\epsilon_{E_{k}} and shows a mild delay in the peak as well as a lower amplitude resulting from the slower flux of energy into the sub-filter scales.

Figure 13 gives the kinetic energy dissipation rate metrics for the Tangent filter employed with RF. The ϵSij\epsilon_{S_{ij}} metric in Figure 13 confirms that the chosen tuning only mildly reduces the small-scale activity relative to the reference solution. Meanwhile the influence of numerical artifacts in the dissipation dynamics is successfully mitigated and driven down upon grid refinement as seen by ϵnum\epsilon_{\text{num}} in Figure 13. Therefore the attenuation can be said to be properly tuned and sufficiently scale-discriminant in order to ensure that ϵnum,RF\epsilon_{num,RF} in Equation 55 reduces sufficiently quickly in accordance with the truncation error of the discretization – thus also highlighting the importance of pairing high accuracy filters with high-order methods. Interestingly, the overall dissipation rate is in good agreement with the reference solution (see ϵEk\epsilon_{E_{k}} in Figure 13), despite the lack of an explicit LES model.

Figure 13 includes the kinetic energy dissipation rate metrics for the Tangent filter employed with solution filtering. Unlike the RF rendition, the active regularization imparted by the SF-r method is seen to reduce the amount of small-scale activity according to ϵSij\epsilon_{S_{ij}} in Figure 13. Meanwhile, inspecting the dissipation rate due to numerical effects via ϵnum\epsilon_{\text{num}} in Figure 13 suggests a growing effect upon grid refinement. This is directly tied to the filter-induced terms in the kinetic energy equation (see ϵnum,AD/SF\epsilon_{num,AD/SF} in Equation 53), whose influence is largely semi-definite and increases in magnitude with 𝒟fil\mathcal{D}_{\text{fil}}. Indeed the influence of the regularizing attenuation grows upon grid refinement because the effective filter-to-grid ratio increases accordingly. This comportment of solution filtering is fundamentally different from that of residual filtering; yet, is seen to also replicate the proper overall dissipation rate in ϵEk\epsilon_{E_{k}} in Figure 13, despite the lack of an explicit LES model.

3.4 Contextualizing with respect to Large-Eddy Simulations

The non-linear turbulent-like setting of the Taylor Green vortex test case highlights important nuances between the filtering implementations and their filter pairings – such as showing different behaviors under grid refinement while holding a constant filter width. The trends observed relative to the presence of small scale activity (indicated via ϵSij\epsilon_{S_{ij}}) as well as the influence of filter-induced terms in the kinetic energy balance (indicated via ϵnum\epsilon_{\text{num}}) suggest fundamental differences in the filtering methodologies. Therefore, the respective approaches would likely require different explicit LES closure model pairing strategies.

Indeed an important application of the filtering approaches lies within the context of studying unsteady turbulent flows via LES, which is an accessible alternative to cost-prohibitive Direct Numerical Simulations (DNS). Because the solution at the grid scales in LES are dynamically active (i.e., exhibit non-trivial spectral energy), the heightened presence of discretization and aliasing errors towards high wavenumbers can impact the accuracy of the overall calculation. For instance, numerical errors can overwhelm closure model contributions [3, 2] and can bias model performance, which typically depends on small scale information. Notably, directly discretizing the LES equations on a given grid implies a numerical filter [42] whose properties, in practice, cannot be straightforwardly identified and accounted for via modeling. In such implicitly-filtered LES (IF-LES) methods, the intimate coupling between the implicitly-defined filter and the closure modeling can lead to spurious cancellations of errors for a given grid resolution [43] that in turn prevents a steady relaxation towards grid independent results, except at the impractical limit of DNS resolutions. Explicitly applying a prescribed filter kernel to the LES governing equations attempts to rectify these issues by separating the resolved and unresolved scales with a known filter width that is independent of the grid spacing. Such explicitly-filtered LES (EF-LES) formulations therefore introduce a user-defined resolution scale that can be fixed under grid refinement, which then allows artifacts stemming from the numerical approximation (e.g., discretization and aliasing errors) to be systematically eliminated from the solution[44, 45, 46, 47, 48]. As the impacts of numerical errors are no longer conflated with the results, this can then provide a suitable environment for performing objective closure model assessments. Both residual and solution filtering methodologies have found use in EF-LES implementations – with the former (RF) focusing on enforcing the spectral support (i.e., a target filter width resolution) of the solution [49], and the latter (SF) more commonly seeking to emulate dissipative effects of traditional closure models [50].

4 Conclusions

Filtering mitigates the presence of small-scale content; however, the means by which this is achieved depends on the specific implementation. By studying residual and solution filtering from different vantage points (i.e., the equivalent residual equations, a semi-discrete perspective, von Neumann analysis, and numerical computations), the current study highlights the properties associated with the respective methods. The linear analysis is shown to appropriately characterize the method behaviors in the non-linear settings considered herein.

Inspection of the ERE associated with a prototypical advection-diffusion equation conveys that the RF procedure mollifies the original dynamics by inducing dispersive and anti-diffusive terms, with the associated Von Neumann analysis confirming a general reduction in numerical damping and phase accuracy. The dispersion effects added by residual filtering yield a lagging behavior and can cause structure incoherence with respect to transport problems. Yet the dispersive contributions of RF are also responsible for slowing the cascade of energy in non-linear settings – a notion recently studied by Yalla et al [51] in terms of the phase errors associated with different schemes. Importantly, we note that residual filtering does not actively suppress small-scale content but rather aims to inhibit the accumulation of such content in the first place. Due to the lack of an inherent damping mechanism to remove high wavenumber noise, the ability to enforce a target filter width in long-time calculations depends heavily on the spectral response of the filter scheme in use. Scale discriminant filter formulations (e.g., the Tangent filter scheme) slow the generation of high wavenumber content while successfully preserving the intended resolved scales. By contrast, filters featuring highly smooth responses allow for more small-scale content to gather, and cannot hold the intended filter resolution over long periods of time.

On the other hand, the SF implementation is a dissipative post-processing of the solution and therefore strictly adds regularization without affecting the phase characteristics of the base method. While solution filtering is able to actively remove small-scale content, it is also sensitive to the filtering scheme. Employing filters with smooth responses can yield overly damped calculations that inhibit turbulence physics, for example. As such, properly tuned scale-discriminant filters are also useful in the SF context for keeping the effective filter width from growing in long-time calculations. Analogous conclusions apply to artificial dissipation methods, which closely resemble the SF procedures in the limit of a sufficient time-step refinement.

Although residual and solution filtering function via different mechanisms, they can both be applied favorably towards enforcing a target filter width and reducing the presence of small scale content. With respect to the LES context, however, each implementation will likely entail unique requirements for closure modeling. For example, RF can be viewed as zeroth-order approximate deconvolution modeling method [52] and therefore could benefit from employing structural models that reconstruct the resolved sub-filter scales. This may help in terms of recovering the proper non-linear cascade for RF in the presence of non-sharp filters. Meanwhile, it may be favorable to employ SF adaptively as a model in-itself, likening it to a dynamic hyper viscous eddy-viscosity closure [25]. Such assessments constitute important lines of future research towards the effective use of filtering in the predictive deployment of LES, as well as the objective development and assessment of LES closure models.

Acknowledgments

Financial disclosure

Simulations were supported in part by a grant of computer time from the DOD High Performance Computing Modernization Program. Funding for this work was supported by the Air Force Office of Scientific Research (AFOSR) (program officer: Dr. Chiping Li), as well as Jacobs Engineering Inc. under contract No. FA9300-20-F-9801 and Innovative Scientific Solutions Inc. under contract No. FA8650-19-F-2046.

Conflict of interest

The authors declare no potential conflict of interests. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the United States Air Force.

Appendix A Modified Equation Analysis for Artificial Dissipation

The following extends the modified equation analysis of artificial dissipation method from previous work [18] to the prototypical advection-diffusion equation. This is done to highlight the secondary effects that are induced by the spatio-temporal coupling and to clarify the ERE associated with solution filtering.

For simplicity, we assume explicit Euler integration of the 1D advection-diffusion which gives

un+1unΔttun+12(Δt)t2u+=aδxu+νδx2un+|λ|kϵk(Δx)2k1δx2kun.\displaystyle\underbrace{\frac{u^{n+1}-u^{n}}{\Delta t}}_{\partial_{t}u^{n}+\frac{1}{2}(\Delta t)\partial_{t}^{2}u+\dots}=-a\delta_{x}u+\nu\delta_{x}^{2}u^{n}+|\lambda^{\prime}|\sum_{k}\epsilon_{k}(\Delta x)^{2k-1}\delta_{x}^{2k}u^{n}\ . (64)

The modified equation is derived by substituting the Taylor expansions for the discrete derivatives. With the intent of focusing on the effect of integration, we look at the leading temporal error term, 12(Δt)t2u\frac{1}{2}(\Delta t)\partial_{t}^{2}u and re-express it in terms of spatial derivatives:

t2ut{tu}\displaystyle\overbrace{\partial^{2}_{t}u}^{\partial_{t}\{\partial_{t}u\}} =\displaystyle= [ax+νx2+|λ|kϵk(Δx)2k1x2k]{axu+νx2u+|λ|kϵk(Δx)2k1x2ku}\displaystyle\left[-a\partial_{x}+\nu\partial_{x}^{2}+\ |\lambda^{\prime}|\sum_{k}\epsilon_{k}(\Delta x)^{2k-1}\partial_{x}^{2k}\right]\left\{-a\partial_{x}u+\nu\partial_{x}^{2}u+\ |\lambda^{\prime}|\sum_{k}\epsilon_{k}(\Delta x)^{2k-1}\partial_{x}^{2k}u\right\}
=\displaystyle= a2x2u+ν2x4u+(λ)2kϵk(Δx)4k2x4ku2aνx3u\displaystyle a^{2}\partial_{x}^{2}u+\nu^{2}\partial_{x}^{4}u+(\lambda^{\prime})^{2}\sum_{k}\epsilon_{k}(\Delta x)^{4k-2}\partial_{x}^{4k}u-2a\nu\partial_{x}^{3}u
2a|λ|kϵk(Δx)2k1x2k+1u+2ν|λ|kϵk(Δx)2k1x2k+2u\displaystyle-\ 2a|\lambda^{\prime}|\sum_{k}\epsilon_{k}(\Delta x)^{2k-1}\partial_{x}^{2k+1}u+2\nu|\lambda^{\prime}|\sum_{k}\epsilon_{k}(\Delta x)^{2k-1}\partial_{x}^{2k+2}u

The modified equation is then

tu\displaystyle\partial_{t}u =\displaystyle= axu+νx2u+|λ|kϵk(Δx)2k1x2ku12(Δt)t2u+\displaystyle-a\partial_{x}u+\nu\partial_{x}^{2}u+|\lambda^{\prime}|\sum_{k}\epsilon_{k}(\Delta x)^{2k-1}\partial_{x}^{2k}u-\frac{1}{2}(\Delta t)\partial^{2}_{t}u+\dots (66)
=\displaystyle= axu+νx2u\displaystyle-a\partial_{x}u+\nu\partial_{x}^{2}u
+|λ|kϵk(Δx)2k1x2kuI\displaystyle+\underbrace{|\lambda^{\prime}|\sum_{k}\epsilon_{k}(\Delta x)^{2k-1}\partial_{x}^{2k}u}_{\color[rgb]{1,0,0}I}
+(Δt)a|λ|kϵk(Δx)2k1x2k+1uII(Δt)ν|λ|kϵk(Δx)2k1x2k+2uIII+\displaystyle+\underbrace{(\Delta t)\cdot a|\lambda^{\prime}|\sum_{k}\epsilon_{k}(\Delta x)^{2k-1}\partial_{x}^{2k+1}u}_{\color[rgb]{0,0,1}II}-\underbrace{(\Delta t)\cdot\nu|\lambda^{\prime}|\sum_{k}\epsilon_{k}(\Delta x)^{2k-1}\partial_{x}^{2k+2}u}_{\color[rgb]{0,1,1}III}+\dots

where the above highlights a pair of induced dispersive and diffusive terms that suggest that the artificial dissipation generates secondary phase and damping effects. It should be noted that the terms II{\color[rgb]{0,0,1}II} and III{\color[rgb]{0,1,1}III} are in fact equal yet opposite in sign to the terms found in the ERE of SF (see Equation 2.1)– which further confirms the fact that solution filtering only includes the dissipation of the filter to the input with no further secondary effects.

References

  • [1] Lele, S. K., “Compact Finite Difference Schemes with Spectral-Like Resolution,” Journal of Computational Physics, Vol. 103, 1992, pp. 16–42.
  • [2] Kravchenko, A. G. and Moin, P., “On the Effect of Numerical Errors in Large Eddy Simulations of Turbulent Flows,” Journal of Computational Physics, Vol. 131, 1997, pp. 310–322.
  • [3] Ghosal, S., “An Analysis of Numerical Errors in Large-Eddy Simulations of Turbulence,” Journal of Computational Physics, Vol. 125, No. 88, 1996, pp. 188–206.
  • [4] Kennedy, C. A. and Gruber, A., “Reduced Aliasing Formulations of the Convective Terms within the Navier-Stokes Equations for a Compressible Fluid,” Journal of Computational Physics, Vol. 227, 2008, pp. 1676–1700.
  • [5] Pope, S., Turbulent Flows, Cambridge University Press, Cambridge, 2000.
  • [6] Garnier, E., Adams, N., and Sagaut, P., Large Eddy Simulation for Compressible Flows, Springer, 2009.
  • [7] Jameson, A. and Baker, T. J., “Solutions of the Euler Equations for Complex Configurations,” AIAA Paper 1983-1929, July 1983.
  • [8] Haelterman, R., Vierendeels, J., and van Heule, D., “Optimization of the Runge-Kutta Iteration with Residual Filtering,” Journal of Computational and Applied Mathematics, Vol. 234, 2010, pp. 253–271.
  • [9] Turkel, E., “Review of Preconditioning Methods for Fluid Dynamics,” Applied Numerical Mathematics, Vol. 12, 1993.
  • [10] Shuman, F. G., “Numerical Methods in Weather Prediction: II. Smoothing and Filtering,” Monthly Weather Review, Vol. 85, No. 11, 1957, pp. 357–361.
  • [11] Phillips, N. A., An Example of Non-Linear Computational Instability, The Atmosphere and Sea in Motion, Oxford University Press, 1959.
  • [12] Visbal, M. R. and Gaitonde, D. V., “Very high-order spatially implicit schemes for computational acoustics on curvilinear meshes,” Journal of Computational Acoustics, Vol. 9, No. 04, 2001, pp. 1259–1286.
  • [13] Visbal, M. R. and Gaitonde, D. V., “On the use of higher-order finite-difference schemes on curvilinear and deforming meshes,” Journal of Computational Physics, Vol. 181, No. 1, 2002, pp. 155–185.
  • [14] Kennedy, C. A. and Carpenter, M. H., “Several New Numerical Methods for Compressible Shear-Layer Simulations,” Applied Numerical Mathematics, Vol. 14, 1994, pp. 387–433.
  • [15] Chen, J. H., “Petascale direct numerical simulation of turbulent combustion—fundamental insights towards predictive models,” Proceedings of the Combustion Institute, Vol. 33, No. 1, 2011, pp. 99–123.
  • [16] Yee, H. C., Sandham, N. D., and Djomehri, M. J., “Low-Dissipative High-Order Shock-Capturing Methods using Characteristic-Based Filters,” Journal of Computational Physics, Vol. 150, 1999, pp. 199–238.
  • [17] Asthana, K., Lopez-Morales, M. R., and Jameson, A., “Non-linear Stabilization of High-Order Flux Reconstruction Schemes via Fourier-spectral Filtering,” Journal of Computational Physics, Vol. 303, 2015, pp. 269–294.
  • [18] Edoh, A. K., Mundis, N. L., Merkle, C. L., Karagozian, A. R., and Sankaran, V., “Comparison of Artificial-dissipation and Solution-filtering Stabilization Schemes for Time-accurate Simulations,” Journal of Computational Physics, Vol. 375, 2018, pp. 1424–1450.
  • [19] Sun, Z. and Shu, C., “Enforcing Strong Stability of Explicit Runge-Kutta Methods with Superviscosity,” Communications of Applied Mathematics and Computation, 2021.
  • [20] Bogey, C., de Cacqueray, N., and Bailly, C., “A Shock-Capturing Methodology Based on Adaptive Spatial Filtering for High-Order Non-Linear Computations,” Journal of Computational Physics, Vol. 228, 2009, pp. 1447–1465.
  • [21] Wising, B. W., Jacobs, G. B., Ryan, J. K., Don, W. S., and van der Weide, E. T. A., “Shock Regularization with Smoothness-Increasing-Accuracy-Conserving Dirac-Delta Polynomial Kernels,” Journal of Scientific Computing, Vol. 77, 2018, pp. 579–596.
  • [22] Bogey, C. and Bailly, C., “On the Application of Explicit Spatial Filtering to the Variables or Fluxes of Linear Equations,” Journal of Computational Physics, Vol. 225, 2007, pp. 1211–1217.
  • [23] Ranocha, H., “Stability of Artificial Dissipation and Modal Filtering for Flux Reconstruction Schemes using Summation-by-parts Operators,” Applied Numerical Mathematics, Vol. 128, 2018, pp. 1–23.
  • [24] Theuerkauf, S. W. and Oefelein, J. C., “Evaluation of Explicit Filtering Techniques for Large Eddy Simulation of Reacting Flows,” AIAA Scitech 2023, 2023, AIAA 2023-0925.
  • [25] Lamballais, E., Cruz, R. V., and Perrin, R., “Viscous and Hyperviscous Filtering for Direct and Large-Eddy Simulation,” Journal of Computational Physics, Vol. 431, 2021.
  • [26] Raymond, W. H., “High-Order Low-Pass Implicit Tangent Filters for Use in Finite Area Calculations,” Monthly Weather Review, Vol. 116, 1988, pp. 2132–2141.
  • [27] Lund, T. S., On the Use of Discrete Filters for Large Eddy Simulations, Annual Research Briefs, Center of Turbulence Research, NASA Ames-Stanford University, 1997.
  • [28] Butcher, J. C., Numerical Methods for Ordinary Differential Equations, Wiley, 2003.
  • [29] Hu, F. Q., Hussaini, M. Y., and Manthey, J. L., “Low-Dissipation and Low-Dispersion Runge-Kutta Schemes for Computational Acoustics,” Journal of Computational Physics, Vol. 124, No. 52, 1996, pp. 177–191.
  • [30] Stanescu and Habashi, “2N-Storage Low Dissipation and Dispersion Runge-Kutta Schemes for Computational Acoustics,” Journal of Computational Physics, Vol. 143, 1998, pp. 674–681.
  • [31] Tam, C. K. W. and Webb, J. C., “Dispersion-Relation-Preserving Finite Difference Schemes for Computational Acoustics,” Journal of Computational Physics, Vol. 107, 1993, pp. 262–281.
  • [32] San, O., Staples, A. E., and Iliescu, T., “Analysis of Low-Pass Filters for Approximate Deconvolution in One-Dimensional Decaying Burgers Turbulence,” International Journal of Computational Fluid Dynamics, Vol. 30, No. 1, 2016, pp. 20–37.
  • [33] Gallagher, T. P., Edoh, A. K., and Sankaran, V., “Residual and Solution Filtering for Explicitly-filtered Large-Eddy Simulations,” 2019 AIAA Aerospace Sciences Meeting, AIAA Paper 2019-1645, January 2019.
  • [34] Feiereisen, W., Reynolds, W., and Ferziger, J., “Numerical Simulation of Compressible, Homogeneous Turbulent Shear Flow,” Tech. Rep. TF-13, Stanford University, Department Mechanical Engineering, 1981.
  • [35] Edoh, A. K., Mundis, N. L., Karagozian, A. R., and Sankaran, V., “Balancing Aspects of Numerical Dissipation, Dispersion, and Aliasing in Time-Accurate Simulations,” International Journal for Numerical Methods in Fluids, Vol. 92, 2020, pp. 1506–1527.
  • [36] Coppola, G., Capuano, F., Pirozzoli, S., and de Luca, L., “Numerically Stable Formulations of Convective Terms for Turbulent Compressible Flows,” Journal of Computational Physics, Vol. 328, 2019, pp. 86–104.
  • [37] Schranner, F. S., Domaradzki, J. A., Hickel, S., and Adams, N. A., “Assessing the Numerical Dissipation Rate and Viscosity in Numerical Simulations of Fluid Flows,” Computers and Fluids, Vol. 114, 2015, pp. 84–97.
  • [38] Kuya, Y., Totani, K., and Kawai, S., “Kinetic Energy and Entropy Preserving Schemes for Compressible Flows by Split Convective Forms,” Journal of Computational Physics, Vol. 375, 2018, pp. 823–853.
  • [39] Edoh, A. K., “A New Kinetic-energy-preserving Method based on the Convective Rotational Form,” Journal of Computational Physics, Vol. 454, 2022.
  • [40] Coppola, G. and Veldman, A. E. P., “Global and local conservation of mass, momentum, and kinetic energy in the simulation of a compressible flow,” Journal of Computational Physics, Vol. 475, 2023.
  • [41] Haller, G., “An Objective Definition of a Vortex,” Journal of Fluid Mechanics, Vol. 525, 2005, pp. 1–26.
  • [42] Geurts, B. J. and van der Bos, F., “Numerically Induced High-Pass Dynamics in Large-Eddy Simulation,” Physics of Fluids, Vol. 17, 2005, pp. 1–12.
  • [43] Klein, M., Meyers, J., and Geurts, B. J., “Assessment of LES quality measures using the error landscape approach,” Quality and Reliability of Large-Eddy Simulations, Springer, 2008, pp. 131–142.
  • [44] Bose, S., Moin, P., and You, D., “Grid-Independent Large-Eddy Simulation using Explicit Filtering,” Physics of Fluids, Vol. 22, 2010, pp. 1–11.
  • [45] Radhakrishnan, S. and Bellan, J., “Explicit Filtering to Obtain Grid-Spacing-Independent Large-Eddy Simulation of Compressible Single-Phase Flow,” Journal of Fluid Mechanics, Vol. 697, 2012, pp. 399–435.
  • [46] Gallagher, T. P. and Sankaran, V., “Affordable Explicitly Filtered Large-Eddy Simulation for Reactive Flows,” AIAA Journal, Vol. 57, No. 2, 2019, pp. 809–823.
  • [47] Bertels, A., Kober, B., Rittler, A., and Kempf, A., “Large-Eddy Simulation of Sandia Flame D with Efficient Explicit Filtering,” Flow, Turbulence and Combustion, Vol. 102, 2019, pp. 887–907.
  • [48] Berland, J., Lafon, P., Daude, F., Crouzet, F., Bogey, C., and Bailly, C., “Filter Shape Dependence and Effective Scale Separation in Large-Eddy Simulations based on Relaxation Filtering,” Computers and Fluids, Vol. 47, 2011, pp. 65–74.
  • [49] Lund, T. S., “The Use of Explicit Filters in Large Eddy Simulation,” Computers and Mathematics with Applications, Vol. 46, 2003, pp. 603–616.
  • [50] Aubard, G., Volpiani, P. S., and Gloerfelt, X., “Comparison of Subgrid-scale Viscosity Models and Selective Filtering Strategy for Large-Eddy Simulations,” Flow Turbulence Combustion, Vol. 91, 2013, pp. 497–518.
  • [51] Yalla, G. R., Oliver, T. A., and Moser, R. D., “Numerical Dispersion Effects on the Energy Cascade in Large-Eddy Simulation,” Physical Review Fluids, Vol. 6, 2021.
  • [52] Stolz, S. and Adams, N. A., “An Approximate Deconvolution Procedure for Large-Eddy Simulation,” Physics of Fluids, Vol. 11, No. 7, 1999, pp. 1699–1701.