Abstract
In this computational study, stabilized finite element solutions of convection-dominated stationary and linear reaction–convection–diffusion equations are studied. Although the standard (Bubnov–) Galerkin finite element method (GFEM) is one of the most robust, efficient, and reliable methods for solving many engineering problems and scientific computations, it typically suffers from numerical instabilities when solving convection-dominated problems. Towards that end, this work deals with a stabilized version of the standard GFEM, called the streamline-upwind/Petrov–Galerkin (SUPG) formulation, to overcome the instability issues arising when solving such problems. The SUPG-stabilized formulation is further supplemented with a shock-capturing mechanism, called YZ\(\beta \) shock-capturing, to provide additional stability around steep gradients. A comprehensive set of test examples is provided to assess and compare the performances of the proposed methods, i.e., the GFEM, SUPG, and SUPG-YZ\(\beta \). It is observed that the GFEM approximations involve spurious oscillations for small values of the diffusion parameter, as expected. We observe through numerical experiments that such globally spread oscillations are suppressed significantly when the SUPG formulation is employed. It is also demonstrated that the SUPG-stabilized formulation needs additional stability to resolve localized sharp layers, and the SUPG-YZ\(\beta \) formulation yields better shock resolutions for such regions.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
Singular perturbation problems are commonplace in almost every branch of science and engineering, especially in fluid/solid mechanics, mathematical biology, ecological models, electrical networks, quantum mechanics, financial mathematics, and control theory. Generally speaking, singularly perturbed differential equations are differential equations with positive small parameters controlling the highest-order derivative(s). Assuming that we deal with second-order differential equations, e.g., convection–reaction–diffusion equations, as the perturbation parameter tends to zero, i.e., \(\varepsilon \) \(\rightarrow 0^{+}\), the problem is dominated even more by convection. It is a well-known fact that traditional discretization methods are incapable of treating such problems accurately, as will be discussed in the following paragraphs. For further details on singularly perturbed problems, from their asymptotic analysis to engineering applications, one can refer to Bender and Orszag (1999), Johnson (2005).
Similar to singularly perturbed problems, reaction–convection–diffusion equations that model phenomena resulting from transport processes in nature have a wide range of applications, including fluid dynamics, the kinetic theory of gases, chemotaxis processes, biomedical problems, semiconductor theory, financial models, and even in environmental sciences and food engineering. One can refer to Roos et al. (2008) for the numerical treatment of reaction–convection–diffusion problems and (Bird et al. 2015) for more on the transport phenomena.
In this study, we are interested in solving singularly perturbed steady-state linear reaction–convection–diffusion equations numerically by combining two phenomena: singular perturbation and the transport process, i.e., convection-dominated transport problems. A class of such problems can be expressed mathematically in the following form:
where \(\Gamma = \partial \Omega \) denotes the boundary of the problem domain \(\Omega \), \(u=u\left( x,y \right) \) is the unknown function, the term \(\varepsilon \) is the diffusion (perturbation) parameter with \(0<\varepsilon \ll 1\), and the term \(c \in L^{\infty }\left( \Omega \right) \) is the reaction constant. If Eqs. (1)–(2) are assumed to model a two-dimensional problem, then the convection vector, \(\textbf{b}\), which is the coefficient to the gradient vector \(\nabla u\), can be taken as \(\textbf{b}=\left( b_{1}, b_{2}\right) ^{T}\), where \(b_{1}, b_{2} \in W^{1,\infty }(\Omega )\). The source term \(f=f\left( x,y \right) \in L^2(\Omega )\), located on the right hand side of Eq. (1), is assumed to be a sufficiently smooth function. The function \(g^{D}=g^{D}\left( x,y \right) \) represents Dirichlet-type boundary conditions with \(g^{D} \in \mathcal {H}^{1/2}\left( \partial \Omega \right) \). The interested reader is referred to Adams and Fournier (2003) for the definitions and properties of these aforementioned special function spaces.
As the diffusion phenomenon dominates the transport process, the model problem expressed by Eqs. (1)–(2) becomes a convection-dominated elliptic boundary-value problem. That is, the solution of problem (1)–(2) usually experiences rapid and sharp changes, called boundary/interior layer behavior. This situation makes it difficult to obtain accurate and oscillation-free approximations to the solution of the problem by employing standard methods, e.g., central finite differences and Galerkin finite elements. In order to prevent spurious oscillations and resolve sharp gradients accurately, finer space discretizations can be invoked (at least near the regions where the boundary/interior layer(s) occur(s)), adaptive mesh techniques can be used, standard discretization methods can be modified, or any appropriate combination of these can be adopted. It should be noted that, contrary to the general assumption, spurious oscillations can occur not only in convection-dominated problems but also in reaction-dominated problems with sharp gradients due to high reaction rates (Tezduyar and Park 1986).
The (Bubnov–) Galerkin finite element method (GFEM) is a very powerful computational tool since it can handle problems defined on severely complex geometries, has a very well-developed theoretical background with sharp error estimates, and relies primarily on polynomials, for which algebraic manipulations are typically simple. In addition to these, there are also numerous theoretical and applied studies devoted to the methodology. Compared to other computational approaches, these are some of the most significant distinguishing characteristics of finite element methods (FEM). However, due to the method’s inadequacy in solving convection-dominated problems, various remedies to stabilize the solutions have been sought since the 1970 s. The streamline-upwind/Petrov–Galerkin (SUPG) formulation (Hughes and Brooks 1979; Brooks and Hughes 1982) is one of the most successful and well-known of these stabilized formulations. One can refer to Brezzi and Russo (2000) for further discussion on the need for stabilized formulations in the world of the FEM.
The SUPG formulation was first introduced in an ASME paper (Hughes and Brooks 1979) in 1979, and later in a journal article (Brooks and Hughes 1982) in 1982 by Hughes and Brooks for computing incompressible flows. Soon after, the method was reformulated for computing compressible flows in a NASA technical report (Tezduyar and Hughes 1982) in 1982, published as an AIAA paper (Tezduyar and Hughes 1983) in 1983, and as a journal article (Hughes and Tezduyar 1984) with further considerations in 1984 by Tezduyar and Hughes. Even though promising results were achieved by employing these SUPG-based stabilized formulations in the computations, it was clear that something extra, which we call shock-capturing or discontinuity-capturing today, was required at shocks, where sudden and sharp changes in solutions were observed. We refer the interested reader to John and Schmeyer (2008), Hughes et al. (2010) for more on the application of the SUPG method to compressible/incompressible flow computations.
Until 2004, the SUPG formulation was almost always complemented with certain types of shock-capturing techniques for both incompressible and compressible flow simulations, resulting in better solution profiles at shocks and discontinuities. In 2004, Tezduyar (2004), Tezduyar (2007) introduced new ways for defining the stabilization and shock-capturing parameters in the SUPG formulation. The set of stabilization parameters introduced in 2004 is today called “\(\tau _{04}\).” The proposed techniques for shock-capturing can be divided into two main groups: in a style the discontinuity-capturing directional dissipation (DCDD) (Tezduyar 2003) and the YZ\(\beta \) (Tezduyar 2004, 2007) shock-capturing. We restrict our attention to the latter approach, i.e., the YZ\(\beta \) technique, in the rest of this paper since we adopt it to augment the standard SUPG formulation. Note that, as can also be seen in the following sections, the name of the technique comes from its components Y, Z, and \(\beta \). It is reported in Tezduyar and Senga (2006), Tezduyar and Senga (2007), Tezduyar et al. (2006) that, by using the YZ\(\beta \) technique, the shock-capturing parameter can be calculated in a simpler way compared to previous techniques, also yielding better shock representations. Beyond these, the parameter \(\beta \) embedded in the formulation allows flexibility for smooth and sharp shocks. One can refer to Tezduyar and Senga (2006), Tezduyar and Senga (2007), Tezduyar et al. (2006), Rispoli et al. (2015) for several applications of the technique for solving problems arising in computational fluid dynamics (CFD). In addition to these, the implementation of the formulation for Burgers’-type equations at high Reynolds numbers is available in Cengizci and Uğur (2023), as is the implementation for reaction–convection–diffusion equations with nonlinear reaction mechanisms in Cengizci et al. (2022).
We now turn our attention back to the model problem given by Eqs. (1)–(2) and attempt to provide a brief survey of research conducted on singularly perturbed reaction–convection–diffusion equations. Johnson et al. (1987) adopted equations having the form
as a model problem. They solved the problem by adding a small amount of artificial crosswind diffusion to the SUPG formulation. Lube (1992) employed the SUPG method for solving Burgers’-type equations and derived some error estimates. Codina (1993) applied the SUPG method to both one- and two-dimensional problems by adding shock-capturing crosswind-dissipation. Stynes and Tobiska (1995) investigated linear convection–diffusion equations and derived necessary conditions for \(\varepsilon \)-uniform convergence. Zhou (1997) considered equations in the form of
and studied the accuracy of the SUPG formulation in solving them. Brezzi et al. (1998) introduced the pseudo-residual-free bubble concept, compared the results with those obtained by using the SUPG method, and reported that similar results were obtained. Stynes and Tobiska (1998), Linß and Stynes (2001a), Linß and Stynes (2001b) considered the model problem given by Eqs. (1)–(2) on a Shishkin mesh employing the SUPG formulation and derived some error estimates. John et al. (1998) applied the SUPG method to the model problem (1)–(2) by adding a parameter-free shock-capturing term. Kopteva (2004) investigated how accurate the SUPG formulation is for solving boundary/interior-layer problems. John and Knobloch (2007), John and Knobloch (2008), John and Schmeyer (2008) presented a comprehensive review and comparisons of stabilized formulations used for solving convection-dominated problems. Matthies (2009) handled the model problem by employing a local projection stabilization method on Shishkin and Shishkin–Bakhvalov meshes. Franz (2010) used an edge stabilization technique for the model problem on a Shishkin mesh and derived some error bounds. Franz and Matthies (2010) used layer-adapted meshes, analyzed the GFEM and a local projection scheme for bilinear and higher-order finite elements where enriched spaces were employed. Roos (2012) reviewed the studies that dealt with singularly perturbed convection–diffusion problems conducted between 2008 and 2012. Finally, Zhang et al. (2016), Zhang and Liu (2018) examined the SUPG formulation from various aspects for solving convection-dominated problems on Shishkin meshes.
As summarized and discussed in the previous paragraphs, there are a variety of stabilized formulations supplemented with various shock-capturing mechanisms for solving convection-dominated problems. The correct determination of stabilization and shock-capturing parameters used in these formulations is very demanding and is still an active research area today. In this study, the SUPG formulation is used to overcome the instability issues encountered in solving problems having the form of Eqs. (1)–(2). To achieve better solution profiles near sharp gradients, the stabilized formulation is further complemented with YZ\(\beta \) shock-capturing.
Our main aim in this paper is to implement the YZ\(\beta \) shock-capturing technique as a supplement to the SUPG formulation for solving convection-dominated linear reaction–convection–diffusion equations because it has not been employed for solving such problems specifically. Rather than taking a theoretical approach, we intend to evaluate the performance of the technique on a comprehensive set of test problems. Although the vast majority of studies in the literature dealing with the numerical solution of convection-dominated problems have been conducted on Shishkin/Shishkin–Bakhvalov type or other (pre)adaptive meshes, the computations in this study are performed and compared on uniform meshes.
The next section presents the variational formulations for the model problem given by Eqs. (1)–(2). The GFEM formulation is derived first, followed by the outline of the SUPG-stabilized formulation, which also includes shock-capturing terms. Section 3 compares the results obtained by employing the proposed formulations on five test problems and evaluates the impact of the YZ\(\beta \) shock-capturing mechanism. Finally, the findings are discussed in detail, and a possible future outlook is presented in Sect. 4.
2 Proposed method for the model problem
In this section, the GFEM and SUPG formulations are presented, and the YZ\(\beta \) shock-capturing technique is introduced for solving the model problem. To that end, let us recast the model problem:
Before presenting the variational formulation of the problem, some special function spaces need to be introduced first. Let \(w \in \mathcal {H}_{0}^{1}\subset \mathcal {H}^{1}\) be a test (weighting) function, where the Sobolev spaces \(\mathcal {H}_{0}^{1}\) and \(\mathcal {H}^{1}\) are defined as follows:
where \(L^{2}_{\Omega }=L^{2}\left( \Omega \right) \) represents the space of square-integrable functions on \(\Omega \), and is equipped with the standard \(L^{2}\)–norm:
By multiplying both sides of Eq. (1) by a test function, \(w \in \mathcal {V}\subset \mathcal {H}_{0}^{1}\), and integrating it over the computational domain \(\Omega \), one obtains
Then, by applying integration by parts to the diffusion term in Eq. (7), the weak formulation reads:
where H denotes the Neumann boundary condition associated with Eq. (7), and \(\Gamma _{\text {H}}\) is the part of the boundary \(\Gamma \) where such conditions are prescribed. Note that, since a Dirichlet boundary condition has been specified in Eq. (2), the boundary term associated with Neumann boundary condition can be neglected, and eventually, the weak formulation reads: find \(u\in \mathcal {V}\) such that
Now that a weak formulation is obtained, then a finite element spatial discretization can be obtained. Introducing the following finite-dimensional function space
the discrete GFEM formulation reads: find \(u^{h}\in \mathcal {V}^{h}\) such that
Here, \(\mathcal {P}_{1}\left( \Omega ^{e}\right) \) is the space of linear polynomials over the element \( \Omega ^{e} \in \mathcal {T}^{h}\), and \(\mathcal {T}^{h}\) is the triangulation of the domain \(\Omega \) into triangular elements.
Now, let us consider the SUPG formulation of Eqs. (1)–(2). In the light of studies by Tezduyar and Senga (2006), Tezduyar and Senga (2007), Tezduyar et al. (2006), the SUPG-stabilized discrete formulation enhanced with the YZ\(\beta \) shock-capturing mechanism can be given as follows: find \(u^{h} \in \mathcal {V}^{h}\) such that
where the finite-dimensional space \(\mathcal {V}^{h}\) is defined by Eq. (10). In this formulation, e is the element counter, and \(n_\text {el}\) is the number of elements. The terms \(\tau _{\text {SUPG}}\) and \(\nu _{\text {SHOC}}\) are the stabilization and shock-capturing parameters, respectively.
Remark 1
Note that the stabilized formulation given by Eq. (12) includes some extra terms compared to the classical GFEM formulation given by Eq. (11). The first two terms on the LHS (first two lines) of Eq. (12) represent the SUPG formulation, which introduces artificial diffusion in the streamline direction. The third term on the LHS (third line) of formulation (12) is associated with the shock-capturing mechanism and introduces additional numerical diffusion near steep gradients in order to resolve sharp layers.
How the stabilization and shock-capturing parameters are determined directly affects the accuracy and quality of the numerical solutions. More specifically, while the stabilization parameter plays an important role in the (global) behavior and accuracy of the approximations, the shock-capturing parameter has a crucial influence on the (local) quality of the solutions at shocks and near discontinuities. For defining the stabilization parameter, \(\tau _{\text {SUPG}}\), we adopt the definition introduced in Shakib (1988):
where \(\Vert \cdot \Vert \) denotes the standard Euclidean norm, and \(h^{e}\) is the cell diameter associated with element e. For a review of various definitions of the stabilization parameter, \(\tau _{\text {SUPG}}\), one can refer to Tezduyar (1992), John and Knobloch (2007).
The shock-capturing parameter, \(\nu _{\text {SHOC}}\), is defined in light of studies by Tezduyar and Senga (2006), Tezduyar and Senga (2007), Tezduyar et al. (2006). In this work, we slightly modify the original definition of this parameter to solve the model problem as follows (Bazilevs et al. 2007):
where
Remark 2
By using Eq. (15) in computations, we adopt the residual form of Z, which is similar to that used in Bazilevs et al. (2007) as a variation of the advective form introduced in Tezduyar (2004, 2007):
In addition to that used in Bazilevs et al. (2007), following this way, we also include the reaction term \(c^{h}u^{h}\) in the definition of Z.
In Eq. (14), the quantity Y is set to a reference value of the scalar field:
The reference value \(u_{\text {ref}}\) can be determined according to the initial data given for unsteady problems. Since we are interested in steady-state problems throughout this manuscript, we determine these reference values through numerical experiments.
Remark 3
In the definition of the shock-capturing parameter given by Eq. (14), the spatial variables are denoted by \(x_{i}\)’s, where \(i=1,2,\dots ,{n_\text {sd}}\), in order to ensure consistency with the literature. Since we are interested in two-dimensional problems in this paper, i.e., \(n_\text {sd}=2\), the spatial variables \(x_{1}\) and \(x_{2}\) correspond to x and y, respectively.
The local element length scale, \(h_{\text {SHOC}}\), is given as
with the unit vector in the direction of the gradient of \(u^{h}\):
Here, the term \(N_{a}\) represents the interpolating function associated with element node a. The indices \(n_\text {sd}\) and \(n_\text {en}\) stand for the number of space-dimensions and number of element nodes. The parameter \(\beta \) is typically set \(\beta =1\) for mild shocks and \(\beta =2\) for sharper shocks (Tezduyar and Senga 2006, 2007; Tezduyar et al. 2006). Since the problems we deal with in this study are highly dominated by convection, we set the sharpness parameter \(\beta \) as \(\beta =2\) in computations.
3 Numerical experiments
In this section, five challenging test computations are provided. Since the first two test problems have analytical solutions, numerical solutions are compared with the exact solutions. In computations, three different norms, the \(L^{2}\)–norm, \(\Vert \cdot \Vert _{L^{2}}\), the maximum norm, \(\Vert \cdot \Vert _{L^{\infty }}\), and an \(\varepsilon \)-weighted energy norm, \(\Vert \cdot \Vert _{L^{\varepsilon }}\), are used to measure the errors in approximations obtained. The \(L^{2}\)–norm has already been defined by Eq. (6). The maximum and \(\varepsilon \)-weighted energy norms are defined as follows:
The rate of convergence, \(\rho ^{N}\), can be computed in the sense of double-mesh principle using the formula (Farrell and Hegarty 1991):
where \(E^{N}=u-u^{N}\) and \(E^{2N}=u-u^{2N}\) are point-wise errors associated with meshes with \(N\times N\) and \(2N\times 2N\) elements, respectively. Similarly, \(u^{N}\) and \(u^{2N}\) are the computed solutions on meshes with \(N\times N\) and \(2N\times 2N\) elements. Since the last three test examples have no known analytical solution, we estimate the errors in solutions using the formula (Farrell and Hegarty 1991):
where the subscript “dm” indicates that the error is computed in the sense of the double-mesh principle. However, we do not present error plots for Example 5 because it is given as a counterexample.
Although the test problems in which we are interested in this study are linear, the algebraic equation systems arising from their SUPG-YZ\(\beta \) discrete formulations are highly nonlinear. We employ the Newton–Raphson (N–R) method for solving these systems of nonlinear equations. The linear systems emerging at each N–R iteration are not too large to solve with a direct method, and therefore, we use the lower-upper (LU) factorization for solving the resulting linear equation systems. The absolute and relative error tolerances in the N–R iterative process are set to \(\epsilon _{\text {tol}}=10^{-12}\).
Our test computations and experiences demonstrate that, at least for the problems we deal with in this study, “sharper shocks” are observed in the solutions for values of the diffusion parameter less than \(\varepsilon =10^{-3}\), even though it is quite difficult to generalize because the behavior of solution is closely related to the nature of the problem at hand. Therefore, since this work deals with lower values of the diffusion parameter \(\varepsilon \), on the order of \(\varepsilon =10^{-8}\), we set the \(\beta \) parameter of YZ\(\beta \) as \(\beta =2\).
For developing the finite element solvers and performing computations, the FEniCS (Alnæs et al. 2015) environment, an open-source scientific computing platform, is used. For the most recent updates on the project, the interested reader can visit the FEniCS website: https://fenicsproject.org/.
Figure 1 shows two meshes used in computations, which have 1849 nodes and \(3528=2\times 42\times 42\) triangular elements, and 3613 nodes and \(7056=4\times 42\times 42\) crossed triangular elements. The mesh constructed with crossed elements is used for solving Examples 4 and 5 only.
Example 1
Consider the following singularly perturbed convection–diffusion equation (Zhang 2003):
where the source term, \(f=f(x,y)\), is given as
The exact solution to Eqs. (22)–(23) is
In Fig. 2, the GFEM solutions to the problem (22)–(23) are presented for various values of \(\varepsilon \). Although the GFEM results are quite good for \(\varepsilon =1\) and acceptable for \(\varepsilon =10^{-2}\), it is not the case for \(\varepsilon =10^{-4}\) and \(\varepsilon =10^{-6}\). Figure 3 compares the results obtained with the SUPG and SUPG-YZ\(\beta \) with the corresponding absolute errors for \(\varepsilon =10^{-8}\). Although spurious oscillations pollute the entire computational domain in the GFEM solutions, the SUPG formulation suppresses them significantly. The GFEM fails to capture the sharp gradients around the point (1.0, 1.0); however, the SUPG-YZ\(\beta \) formulation overcomes this issue successfully. In Fig. 4, logarithmic plots comparing the degrees of freedom and errors in approximations are given for \(\varepsilon =10^{-4}\) and \(\varepsilon =10^{-8}\). Note that we use the abbreviations “SUPG-YZ\(\beta \)” and “SUPG-SC” interchangeably, where the suffix “SC” stands for “shock-capturing.”
We also compare the errors in the GFEM, SUPG, and SUPG-YZ\(\beta \) approximations in \(L^{\infty }\) and \(L^{2}\) norms for \(\varepsilon =10^{0}\), for which the solution is quite smooth, in Fig. 5. It is clearly observed that the shock-capturing mechanism does not introduce excessive artificial diffusion when the solution is smooth. We also see that as the mesh becomes finer, the SUPG-YZ\(\beta \) approximations are getting even better than those obtained with the SUPG.
In computations, we set the scaling term Y of YZ\(\beta \) as Y \(=0.25\). The number of Newton–Raphson iterations in SUPG-YZ\(\beta \) computations is found to be 5.
Example 2
Consider the following singularly perturbed reaction–convection–diffusion equation (Linß and Stynes 2001b):
where the source term, \(f=f(x,y)\), is determined such that the exact solution given as
is satisfied.
Figure 6 demonstrates that the GFEM gives unacceptable solutions when solving Example 2 for values of the diffusion parameter less than \(\varepsilon =10^{-2}\). In Fig. 7, the results obtained with the SUPG and SUPG-YZ\(\beta \) formulations are compared for \(\varepsilon =10^{-8}\), and the corresponding absolute errors are also presented. The effect of the shock-capturing mechanism proposed is clearly observed. Eventually, in Fig. 8, logarithmic plots comparing the degrees of freedom and errors in approximations are given. From these error plots, we see that the SUPG-YZ\(\beta \) formulation results in more accurate approximations compared to those obtained without shock-capturing.
The scaling term Y of YZ\(\beta \) is set as Y \(=0.15\). The number of Newton–Raphson iterations for SUPG-YZ\(\beta \) computations is 6.
Example 3
Consider the following singularly perturbed reaction–convection–diffusion equation (Linß and Stynes 2001a):
where the source term, \(f=f(x,y)\), is given as follows:
There is no known analytical solution to this problem. Therefore, the formula given in Eq. (21) is used for measuring the errors in approximations.
One can point out from Fig. 9 that, as in the previous test problems, the GFEM yields unacceptable solutions when solving Example 3 for values of the perturbation parameter less than \(\varepsilon =10^{-2}\). In Fig. 10, the approximations obtained with the SUPG and SUPG-YZ\(\beta \) formulations are compared, and the success of the shock-capturing technique employed is illustrated. Finally, in Fig. 11, logarithmic plots comparing the degrees of freedom and errors in approximations are given. We observe that the formulation enhanced with the shock-capturing mechanism gives better accuracy as finer meshes are used. On the other hand, errors in the SUPG and SUPG-YZ\(\beta \) approximations are very close to each other for meshes constructed with \(n_{\text {el}}=2\times 16\times 16\) or more elements.
For solving Example 3, the scaling term Y of YZ\(\beta \) is set as Y \(=0.035\). The number of iterations in the N–R process is 6.
Example 4
Consider the following singularly perturbed convection–diffusion equation (Hughes et al. 1986; John and Knobloch 2007):
where the Dirichlet boundary condition is given as follows:
In the direction of convection, the solution exhibits an interior layer that starts at the point (0, 0.7). Exponential layers are developed along the boundary \(x= 1\) and on the right part of the boundary \(y= 0\).
For solving Example 4, we use the mesh constructed with crossed elements (see Fig. 1b). Figure 12 shows the GFEM solutions to the solution of Example 4 for various values of the diffusion parameter. The method yields unacceptable approximations for values of the diffusion parameter \(\varepsilon \) smaller than \(10^{-2}\). In Fig. 13, the SUPG and SUPG-YZ\(\beta \) solutions are compared. It is clearly seen that shock-capturing provides better resolutions near strong gradients. In Fig. 14, logarithmic plots comparing the degrees of freedom and errors in approximations are given. Figure 15 compares the solutions obtained with the SUPG and SUPG-YZ\(\beta \) formulations for \(\varepsilon =10^{-4}\) and \(\varepsilon =10^{-8}\) along the line \(y=0.1\). The success of the YZ\(\beta \) shock-capturing in resolving steep gradients is clearly observed.
In our computations, we set the scaling term Y of YZ\(\beta \) as Y \(=0.03\). The number of nonlinear iterations is 5.
Example 5
Consider the following singularly perturbed convection–diffusion equation (John and Knobloch 2008):
where the source term, \(f=f(x,y)\), is given as follows:
The solution of Eqs. (35)–(36) exhibits two interior layers at \((0.25,0.75) \times \{0.25\}\) and \((0.25,0.75) \times \{0.75\}\).
Figure 16 shows the GFEM approximations to the solution of Example 5 for various values of the diffusion parameter. The method yields unacceptable approximations for values smaller than \(\varepsilon =10^{-2}\). It should also be noticed in Fig. 16d that, although a relatively finer mesh with 7, 056 elements is used, the GFEM approximation is highly oscillatory for \(\varepsilon =10^{-6}\). In Fig. 17, the SUPG and SUPG-YZ\(\beta \) solutions are presented. We also present the result of computations performed on the mesh constructed with \(4 \times 42 \times 42\) crossed elements in Fig. 18.
Figure 19 compares the solutions obtained with the SUPG and SUPG-YZ\(\beta \) formulations for \(\varepsilon =10^{-4}\) and \(\varepsilon =10^{-8}\) along the line \(y=0.1\). Although the SUPG formulation gives oscillation-free solutions, the SUPG-YZ\(\beta \) introduces unwanted layers for solving Example 5. It is reported by John and Knobloch (2008) that Example 5 is an example for which all the spurious oscillations at layers diminishing (SOLD) methods examined in John and Knobloch (2008) fail. Therefore, similar to the results obtained in John and Knobloch (2008), a qualitatively correct approximation to the solution of Example 5 is not possible by employing the SUPG-YZ\(\beta \) formulation. Although tuning the scaling parameter Y of the YZ\(\beta \) can reduce the effect of the shock-capturing term and produce better solution profiles, since the solutions obtained with the SUPG formulation do not contain any oscillation, we conclude that the use of any shock-capturing mechanism is not necessary. Because the SUPG-YZ\(\beta \) formulation is not required for this problem, we believe that displaying error comparison plots for the obtained approximations is unnecessary.
The scaling term Y of YZ\(\beta \) is set as Y \(=0.5\). The numbers of Newton–Raphson iterations are found to be 5 for both meshes with \(2 \times 42 \times 42\) and \(4 \times 42 \times 42\) elements.
4 Conclusions
For solving convection-dominated problems, i.e., the problems where the diffusion term is perturbed by positive small parameters, it is a well-known fact that classical methods are insufficient in obtaining oscillation-free solutions. Therefore, this study has aimed to compare the GFEM and SUPG formulations for solving such kinds of problems. In addition to stabilization terms, the SUPG formulation has also been supplemented with the YZ\(\beta \) shock-capturing technique, thereby improving the stability near regions where the solution has steep gradients.
The proposed formulation and techniques have been evaluated on five challenging test problems. Apart from Example 5 given by Eqs. (35)–(36), it has been observed that quite good solution profiles were achieved by employing the SUPG-YZ\(\beta \) formulation. Besides, the errors in approximations obtained have been compared both locally and globally, revealing that the shock-capturing mechanism yields better results near steep gradients. Therefore, the SUPG-YZ\(\beta \) formulation exhibits superior performance compared to the SUPG in convection dominance in terms of maximum (\(L^{\infty }\)-norm) errors. It can also be stated that errors in the SUPG and SUPG-YZ\(\beta \) approximations typically show similar trends in the \(L^{2}\) and \(L^{\varepsilon }\) norms.
The methods and techniques used for solving stationary reaction–convection–diffusion equations in this study can be extended to solve time-dependent problems and 3-dimensional computations. Problems with discontinuous data can also be considered. In another aspect, Shishkin/Shishkin–Bakhvalov-type layer-adapted meshes can be used, and the results can be compared.
Data Availability
Enquries about data availability should be directed to the corresponding author.
References
Adams RA, Fournier JJF (2003) Sobolev Spaces. Pure and Applied Mathematics, vol 140, 2nd edn. Academic Press, Amsterdam, Boston
Alnæs M, Blechta J, Hake J, Johansson A, Kehlet B, Logg A, Richardson C, Ring J, Rognes ME, Wells GN (2015) The FEniCS project version 1.5. Arch Num Softw 3(100):9–23
Bazilevs Y, Calo VM, Tezduyar TE, Hughes TJR (2007) \(YZ\beta \) discontinuity capturing for advection-dominated processes with application to arterial drug delivery. Int J Numer Meth Fluids 54(6–8):593–608
Bender CM, Orszag SA (1999) Advanced mathematical methods for scientists and engineers I: asymptotic methods and perturbation theory. Springer, New York
Bird RB, Stewart WE, Lightfoot EN, Klingenberg DJ (2015) Introductory transport phenomena. Wiley
Brezzi F, Russo A (2000) Stabilization techniques for the finite element method. In: Spigler R (ed) Applied and industrial mathematics venice-2, 1998. Springer, Netherlands, Venice, Italy, pp 47–58
Brezzi F, Marini D, Russo A (1998) Applications of the pseudo residual-free bubbles to the stabilization of convection-diffusion problems. Comput Methods Appl Mech Eng 166(1–2):51–63
Brooks AN, Hughes TJR (1982) Streamline upwind/Petrov-Galerkin formulations for convection dominated flows with particular emphasis on the incompressible Navier-Stokes equations. Comput Methods Appl Mech Eng 32:199–259
Cengizci S, Uğur Ö (2023) A stabilized FEM formulation with discontinuity-capturing for solving Burgers’-type equations at high Reynolds numbers. Appl Math Comput 442:127705
Cengizci S, Uğur Ö, Natesan S (2022) SUPG-YZ\(\beta \) computation of chemically reactive convection-dominated nonlinear models. Int J Comput Math 100(2):283–303
Codina R (1993) A discontinuity-capturing crosswind-dissipation for the finite element solution of the convection-diffusion equation. Comput Methods Appl Mech Eng 110(3–4):325–342
Farrell PA, Hegarty AF (1991) On the determination of the order of uniform convergence. In: Proceedings of the 13th IMACS World Congress for Computation and Applied Mathematics, Dublin, Ireland
Franz S (2010) Uniform superconvergence of a finite element method with edge stabilization for convection-diffusion problems. J Comput Math 28(1):32–44
Franz S, Matthies G (2010) Local projection stabilisation on s-type meshes for convection-diffusion problems with characteristic layers. Computing 87(3–4):135–167
Hughes TJR, Brooks AN (1979) A multi-dimensional upwind scheme with no crosswind diffusion. In: Hughes TJR (ed) Finite element methods for convection dominated flows, AMD-Vol 34. ASME, New York, pp 19–35
Hughes TJR, Tezduyar TE (1984) Finite element methods for first-order hyperbolic systems with particular emphasis on the compressible Euler equations. Comput Methods Appl Mech Eng 45:217–284
Hughes TJR, Mallet M, Akira M (1986) A new finite element formulation for computational fluid dynamics: II. beyond SUPG. Comput Methods Appl Mech Eng 54(3):341–355
Hughes TJR, Scovazzi G, Tezduyar TE (2010) Stabilized methods for compressible flows. J Sci Comput 43:343–368
John V, Knobloch P (2007) On spurious oscillations at layers diminishing (SOLD) methods for convection-diffusion equations: Part I-A review. Comput Methods Appl Mech Eng 196(17–20):2197–2215
John V, Knobloch P (2008) On spurious oscillations at layers diminishing (SOLD) methods for convection-diffusion equations: Part II-Analysis for \(P_{1}\) and \(Q_{1}\) finite elements. Comput Methods Appl Mech Eng 197(21–24):1997–2014
John V, Schmeyer E (2008) Finite element methods for time-dependent convection-diffusion-reaction equations with small diffusion. Comput Methods Appl Mech Eng 198(3–4):475–494
John V, Matthies G, Schieweck F, Tobiska L (1998) A streamline-diffusion method for nonconforming finite element approximations applied to convection-diffusion problems. Comput Methods Appl Mech Eng 166(1–2):85–97
Johnson RS (2005) Singular perturbation theory. Mathematical and Analytical Techniques with Applications to Engineering. Springer, Boston
Johnson C, Schatz AH, Wahlbin LB (1987) Crosswind smear and pointwise errors in streamline diffusion finite element methods. Math Comput 49(179):25–25
Kopteva N (2004) How accurate is the streamline-diffusion FEM inside characteristic (boundary and interior) layers? Comput Methods Appl Mech Eng 193(45–47):4875–4889
Linß T, Stynes M (2001) The SDFEM on Shishkin meshes for linear convection-diffusion problems. Numer Math 87(3):457–484
Linß T, Stynes M (2001) Numerical methods on Shishkin meshes for linear convection-diffusion problems. Comput Methods Appl Mech Eng 190(28):3527–3542
Lube G (1992) Streamline diffusion finite element method for quasilinear elliptic problems. Numer Math 61(1):335–357
Matthies G (2009) Local projection methods on layer-adapted meshes for higher order discretisations of convection-diffusion problems. Appl Numer Math 59(10):2515–2533
Rispoli F, Delibra G, Venturini P, Corsini A, Saavedra R, Tezduyar TE (2015) Particle tracking and particle-shock interaction in compressible-flow computations with the V-SGS stabilization and YZ\(\beta \) shock-capturing. Comput Mech 55:1201–1209
Roos H-G (2012) Robust numerical methods for singularly perturbed differential equations: a survey covering 2008–2012. ISRN Appl Math 1–30:2012
Roos H-G, Stynes M, Tobiska L (2008) Robust numerical methods for singularly perturbed differential equations: convection-diffusion-reaction and flow problems. Springer, Berlin, Heidelberg
Shakib F (1988) Finite element analysis of the compressible Euler and Navier–Stokes equations. PhD thesis, Department of Mechanical Engineering, Stanford University
Stynes M, Tobiska L (1995) Necessary \(L^{2}\)-uniform convergence conditions for difference schemes for two-dimensional convection-diffusion problems. Comput Math Appl 29(4):45–53
Stynes M, Tobiska L (1998) A finite difference analysis of a streamline diffusion method on a Shishkin mesh. Num Algorithms 18(3–4):337–360
Tezduyar TE, Hughes TJR (1982) Development of time-accurate finite element techniques for first-order hyperbolic systems with particular emphasis on the compressible Euler equations. NASA Technical Report NASA-CR-204772, NASA
Tezduyar TE, Hughes TJR (1983) Finite element formulations for convection dominated flows with particular emphasis on the compressible Euler equations. In: Proceedings of AIAA 21st Aerospace Sciences Meeting, AIAA Paper 83-0125, Reno, Nevada
Tezduyar TE (1992) Stabilized finite element formulations for incompressible flow computations. Adv Appl Mech 28:1–44
Tezduyar TE (2003) Computation of moving boundaries and interfaces and stabilization parameters. Int J Numer Meth Fluids 43:555–575
Tezduyar TE (2004) Finite element methods for fluid dynamics with moving boundaries and interfaces. In: Stein E, De Borst R, Hughes TJR (eds) Encyclopedia of computational mechanics, volume 3: Fluids, chapter 17. Wiley, USA
Tezduyar TE (2007) Finite elements in fluids: stabilized formulations and moving boundaries and interfaces. Comput Fluids 36:191–206
Tezduyar TE, Park YJ (1986) Discontinuity capturing finite element formulations for nonlinear convection–diffusion–reaction equations. Comput Methods Appl Mech Eng 59:307–325
Tezduyar TE, Senga M (2006) Stabilization and shock-capturing parameters in SUPG formulation of compressible flows. Comput Methods Appl Mech Eng 195:1621–1632
Tezduyar TE, Senga M (2007) SUPG finite element computation of inviscid supersonic flows with YZ\(\beta \) shock-capturing. Comput Fluids 36:147–159
Tezduyar TE, Senga M, Vicker D (2006) Computation of inviscid supersonic flows around cylinders and spheres with the SUPG formulation and YZ\(\beta \) shock-capturing. Comput Mech 38:469–481
Zhang Z (2003) Finite element superconvergence on Shishkin mesh for 2-D convection-diffusion problems. Math Comput 72(243):1147–1178
Zhang J, Liu X (2018) Pointwise estimates of SDFEM on Shishkin triangular meshes for problems with exponential layers. BIT Numer Math 58(1):221–246
Zhang J, Liu X, Yang M (2016) Optimal order \(L^{2}\) error estimate of SDFEM on Shishkin triangular meshes for singularly perturbed convection-diffusion equations. SIAM J Numer Anal 54(4):2060–2080
Zhou G (1997) How accurate is the streamline diffusion finite element method? Math Comput 66(217):31–44
Acknowledgements
The authors express their gratitude to the anonymous reviewers for their careful reading and constructive comments that helped improve the quality of their work.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors have no competing interests to declare that are relevant to the content of this study.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Cengizci, S., Uğur, Ö. & Natesan, S. A SUPG formulation augmented with shock-capturing for solving convection-dominated reaction–convection–diffusion equations. Comp. Appl. Math. 42, 235 (2023). https://doi.org/10.1007/s40314-023-02370-2
Received:
Revised:
Accepted:
Published:
DOI: https://doi.org/10.1007/s40314-023-02370-2
Keywords
- Convection-dominated differential equations
- Boundary layer
- Interior layer
- Finite elements
- Shock-capturing