Skip to main content
Log in

Accuracy Variations in Residual Distribution and Finite Volume Methods on Triangular Grids

  • Published:
Bulletin of the Malaysian Mathematical Sciences Society Aims and scope Submit manuscript

Abstract

This paper presents an analytical and numerical approach in studying accuracy deterioration of residual distribution and cell-vertex finite volume methods on triangular grids. Results herein demonstrate that both methods preserve the order-of-accuracy reasonably well for uniformly skewed triangular grids and the \(L_2\) errors of both second-order accurate methods behave similarly with values of the same magnitude. On the other hand, the first-order finite volume method has an \(L_2\) error of about an order of magnitude higher than its residual distribution counterpart. Both first-order methods are unable to preserve the order-of-accuracy for high-frequency data when the grids are highly skewed although the residual distribution approach has a slightly better performance. Both second-order methods perform quite decently for high-frequency data on uniformly skewed grids. However, the order-of-accuracy of finite volume methods excessively deteriorate when the grids are skewed non-uniformly unlike the residual distribution methods which preserve the order-of-accuracy.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16
Fig. 17
Fig. 18
Fig. 19
Fig. 20
Fig. 21
Fig. 22

Similar content being viewed by others

References

  1. Abgrall, R.: Residual distribution schemes: current status and future trends. Comput. Fluids 35(7), 641–669 (2006)

    Article  MathSciNet  MATH  Google Scholar 

  2. Abgrall, R.: A residual distribution method using discontinuous elements for the computation of possibly non smooth flows. Adv. Appl. Math. Mech. 2(1), 32–44 (2010)

    MathSciNet  Google Scholar 

  3. Abgrall, R.: A review of residual distribution schemes for hyperbolic and parabolic problems: the July 2010 state of the art. Commun. Comput. Phys. 11(4), 1043–1080 (2012)

    Article  MathSciNet  Google Scholar 

  4. Deconinck, H., Ricchiuto, M., Lib, C.D.: Residual Distribution Schemes: Foundations and Analysis. Tech. rep., von Karman Institute for Fluid Dynamicas (1990)

  5. Deconinck, H., Roe, P.L., Struijs, R.: A multidimensional generalization of Roe’s flux difference splitter for the Euler equations. Comput. Fluids 22(2), 215–222 (1993)

    Article  MathSciNet  MATH  Google Scholar 

  6. Guzik, S.M.J., Groth, C.P.T.: Comparison of solution accuracy of multidimensional residual distribution and Godunov-type finite-volume methods. Int. J. Comput. Fluid Dyn. 22, 61–83 (2008)

    Article  MathSciNet  MATH  Google Scholar 

  7. Ismail, F., Carrica, P.M., Xing, T., Stern, F.: Evaluation of linear and nonlinear convection schemes on multidimensional non-orthogonal grids with applications to KVLCC2 tanker. Int. J. Numer. Methods Fluids 64, 850–886 (2010)

  8. Jalali, A., Sharbatdar, M., Ollivier-Gooch, C.: Accuracy analysis of unstructured finite volume discretization schemes for diffusive fluxes. Comput. Fluids 101, 220–232 (2014)

    Article  MathSciNet  Google Scholar 

  9. Juretic, F.: Error Analysis in Finite Volume CFD. Ph.D. thesis (2004)

  10. Katz, A., Sankaran, V.: High aspect ratio grid effects on the accuracy of Navier–Stokes solutions on unstructured meshes. Comput. Fluids 65, 66–79 (2012)

    Article  MathSciNet  Google Scholar 

  11. Masatsuka, K.: I do Like CFD, Book, vol. 1 (2009)

  12. Mesaros, L.M.: Fluctuation Splitting Schemes for the Euler Equations on Unstructured Grid. Ph.D. thesis, University of Michigan (1995)

  13. Nishikawa, H.: First, second, and third order finite-volume schemes for advection–diffusion. J. Comput. Phys. 273, 287–309 (2014)

    Article  MathSciNet  MATH  Google Scholar 

  14. Rubio, G., Baelmans, M., Desmet, W.: Finite volume convective flux reconstruction using high-order skew-symmetric-like schemes. In: 13th AIAA/CEAS Aeroacoustics Conference (28th AIAA Aeroacoustics Conference), vol. 13, p. 16 (2007)

Download references

Acknowledgments

We would like to thank Universiti Sains Malaysia for financially supporting this research work under the University Grant (No. 1001/PAERO/814152).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Farzad Ismail.

Additional information

Communicated by Ahmad Izani Md. Ismail.

Appendix: Triangle Skewness Control

Appendix: Triangle Skewness Control

Consider an arbitrary triangle for analyzing the skewness, aspect ratio and the relation between these two with the point coordinates of the triangle.

Fig. 23
figure 23

Prototype triangle for analyzing the skewness and aspect ratio

Since the scaling and rotation of the whole triangle do not affect the skewness and aspect ratio, in this analysis the longest length of the triangle considered 1 (Fig. 23). The shaded part would be the domain of (xy) for a general triangle; because, firstly, if \(x<\frac{1}{2}\) or \(y<0\), that triangle could be replaced with the completely similar one in which (xy) are in the shaded-domain by flipping. Second, if the \(x^2+y^2>1\), then there will be a similar triangle such that the longest edge will be scaled into 1. Consequently, by analyzing this prototype the relation between skewness and aspect ratio with (xy) will be determined.

Consider,

$$\begin{aligned} x^2+y^2\le 1,\quad x\ge \frac{1}{2},\quad y\ge 0 \end{aligned}$$
(48)

Since the longest edge of the triangle is 1, the aspect ratio and skewness will be

$$\begin{aligned} \text {Aspect Ratio}\,(\text {AR})=\frac{4A}{\sqrt{3}}\frac{1}{\max \left( l_i^2\right) },\quad \text {Skewness}\,(Q)=\max \left( \frac{\left| 90-\alpha _i\right| }{90}\right) \end{aligned}$$
(49)

By some calculation on the triangular element, the skewness and aspect ratio can be determined as a function of (xy),

$$\begin{aligned} \text {AR}=\frac{2y}{\sqrt{3}},\quad Q=\frac{2}{\pi }\arccos \left( \frac{y}{\frac{1}{2}\left( \sqrt{x^2+y^2}\right) \left( \sqrt{\left( x-2\right) ^2+y^2}\right) } \right) \end{aligned}$$
(50)

1.1 Right Triangle

To control a triangular grid in a rectangular domain, the right running triangle is chosen to fit inside the domain (Fig. 24). Because, all the elements will have the same amount of skewness or aspect ratio. Recall the previously skewness (Eq. 50); assume \(C=\sec ^2\left( \frac{\pi }{2}Q\right) \),

$$\begin{aligned} 4Cy^2=\left( x^2+y^2\right) \left( \left( x-2\right) ^2+y^2\right) \end{aligned}$$
(51)
Fig. 24
figure 24

Right-running triangle element for analyzing the skewness and aspect ratio

Using the Pythagorean theorem, one could conclude that

$$\begin{aligned} \left( x^2+y^2\right) +\left( \left( x-1\right) ^2+y^2\right) =1\quad \rightarrow \quad x^2+y^2=x \end{aligned}$$
(52)

Combining the two above equations,

$$\begin{aligned} 4C\left( x-x^2\right) =x\left( x-4x+4\right) \quad \rightarrow \quad x=\frac{4C-4}{4C-3} \end{aligned}$$
(53)

Since \(\frac{1}{2}\le x\le 1\), the solutions of the inequality are \(-8\le -6\) and \(C\ge \frac{5}{4}\). The first one is trivial; however, while \(C\ge 1\) in general; meaning that, all the values for the skewness, [0, 1], could not be taken. Recall the relation between C and skewness which is \(C=\sec ^2\left( \frac{\pi }{2}Q\right) \), the minimum skewness that will be covered by a right triangle will be \(C=\frac{5}{4}\) or \(Q\sim 0.2952\). In this point of view, for the best skewness which is approximately 0.2952; the element is an isosceles right triangle.

The last step will be finding the relation between stretching parameter \(s=\frac{k}{h}\) and the skewness Q.

Recall, \(x=\frac{4C-4}{4C-3}\) for a right triangle element one could conclude \(y=\sqrt{\frac{4C-4}{(4C-3)^2}}\). Consider, \(x^2+y^2=k^2=h^2s^2\) and \((x-1)^2+y^2=h^2\); therefore,

$$\begin{aligned} s=\sqrt{\frac{x^2+y^2}{(x-1)^2+y^2}}=2\sqrt{C-1}=2\tan \left( \frac{\pi }{2}Q\right) \end{aligned}$$
(54)

which clearly is the relation between skewness Q and stretching parameter s.

Fig. 25
figure 25

Arbitrary triangle element for analyzing the skewness and aspect ratio

1.2 Arbitrary Triangle

In order to control the skewness for an arbitrary triangle element (Fig. 25), the following steps should be performed.

  1. 1.

    Choose skewness and number of the points in x-direction.

  2. 2.

    Choose aspect ratio based on the skewness: For each skewness the aspect ration could vary between minimum and maximum values which are,

    $$\begin{aligned} \frac{y_\text {min}}{\frac{\sqrt{3}}{2}}\le \text {AR}\le \frac{y_\text {max}}{\frac{\sqrt{3}}{2}} \end{aligned}$$
    (55)

    where,

    $$\begin{aligned} y_\text {min}=\sqrt{C-\frac{1}{4}}-\sqrt{C-1},\quad y_\text {max}=\frac{1}{2C}\left( \sqrt{4C-1}-\sqrt{C-1}\right) \end{aligned}$$
    (56)

    and,

    $$\begin{aligned} c=\sec ^2\left( \frac{\pi }{2}Q\right) \end{aligned}$$
    (57)

    Note that the minimum aspect ratio will construct an isosceles element.

  3. 3.

    Find the x coordinate of the prototype triangle shown in Fig. 23 based on the chosen skewness and aspect ratio.

    $$\begin{aligned} x=1-\sqrt{C-\left( \frac{\sqrt{3}}{2}\text {AR}+\sqrt{C-1}\right) } \end{aligned}$$
    (58)
  4. 4.

    Find the largest length of the triangle element based on the aspect ratio and number of the points.

    $$\begin{aligned} k=\frac{h}{\frac{\sqrt{3}}{2}\text {AR}} \end{aligned}$$
    (59)
  5. 5.

    Find all the points coordinates.

    $$\begin{aligned} k_1=(1-x)k,\quad k_2=xk \end{aligned}$$
    (60)

1.3 Non-uniform Anisotropic Grids

After generating a grid, it will be randomized(disturbed) in a way that different quality of the grids in terms of skewness could be built. This is the place that we could check the solidness and ability of a numerical method during changes in skewness within the domain. It should be mentioned that each randomization constructs a different skewness distribution.

Fig. 26
figure 26

The randomize grid element area with radius of the minimum distance of the each point from the surrounding edges

Fig. 27
figure 27

Skewness (Q) distribution based on the number of cells for randomized grid in 10,000 total cells

Fig. 28
figure 28

Randomized grid. a 50 %. b 80 %

According to Fig. 26, each point will move in fully randomize direction with a finite maximum distance (R) which avoids grid overlapping.

  • The disturbed percentage: the maximum distance that a point can move from its original place is R which we can be controlled in terms of percentage defined as \(\alpha \times R\). A suitable value for \(\alpha \) is chosen to implement grid irregularity. Larger values of \(\alpha \) denote a higher percentage grid randomization.

  • Disturb number: To build a much more realistic unstructured grid one could perform the whole process (n) times, to build even more randomized grid.

The two options above might be written as \((\alpha ,n)\). It should be mentioned that in this study, we are using two different combination of grid disturbance to cover the possibilities in engineering problems which are (50 %, 5) and (80 %, 8). The distribution of skewness for two different sets are demonstrated in Fig. 27; moreover, the grid itself is shown in Fig. 28.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Chizari, H., Ismail, F. Accuracy Variations in Residual Distribution and Finite Volume Methods on Triangular Grids. Bull. Malays. Math. Sci. Soc. 40, 1231–1264 (2017). https://doi.org/10.1007/s40840-015-0292-0

Download citation

  • Received:

  • Revised:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s40840-015-0292-0

Keywords

Mathematics Subject Classification

Navigation