Skip to main content
Log in

Construction of a p-Adaptive Continuous Residual Distribution Scheme

  • Published:
Journal of Scientific Computing Aims and scope Submit manuscript

Abstract

A p-adaptive continuous residual distribution scheme is proposed in this paper. Under certain conditions, primarily the expression of the total residual on a given element K into residuals on the sub-elements of K and the use of a suitable combination of quadrature formulas, it is possible to change locally the degree of the polynomial approximation of the solution. The discrete solution can then be considered non continuous across the interface of elements of different orders, while the numerical scheme still verifies the hypothesis of the discrete Lax–Wendroff theorem which ensures its convergence to a correct weak solution. We detail the theoretical material and the construction of our p-adaptive method in the frame of a continuous residual distribution scheme. Different test cases for non-linear equations at different flow velocities demonstrate numerically the validity of the theoretical results.

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
Fig. 23
Fig. 24
Fig. 25
Fig. 26
Fig. 27

Similar content being viewed by others

References

  1. Abgrall, R.: Toward the ultimate conservative scheme: following the quest. J. Comput. Phys. 167(2), 277–315 (2001)

    Article  MathSciNet  MATH  Google Scholar 

  2. Abgrall, R.: Essentially non-oscillatory residual distribution schemes for hyperbolic problems. J. Comput. Phys. 214(2), 773–808 (2006)

    Article  MathSciNet  MATH  Google Scholar 

  3. Abgrall, R.: Two remarks on the approximation of hyperbolic problems by finite element methods. In: Jang S.Y., Kim Y.R., Lee D.-W., and Yie I. (eds.) Proceeding of the International Congress of Mathematicians, vol. IV, pp. 699–726. KM Kyong Moon SA (2014)

  4. Abgrall, R., Barth, T.: Residual Distribution schemes for conservation laws via adaptive quadrature. SIAM J. Sci. Comput. 24(3), 732–769 (2003)

    Article  MathSciNet  MATH  Google Scholar 

  5. Abgrall, R., Larat, A., Ricchiuto, M.: Construction of very high order Residual Distribution schemes for steady inviscid flow problems on hybrid unstructured meshes. J. Comput. Phys. 230(11), 4103–4136 (2011)

    Article  MathSciNet  MATH  Google Scholar 

  6. Abgrall, R., Roe, P.L.: High order fluctuation schemes on triangular meshes. J. Sci. Comput. 19(1–3), 3–36 (2003)

    Article  MathSciNet  MATH  Google Scholar 

  7. Abgrall, R., Trefilik, J.: An example of high order residual distribution scheme using non-lagrange elements. J. Sci. Comput. 45(1–3), 3–25 (2010)

    Article  MathSciNet  MATH  Google Scholar 

  8. Ahrabi, B.R., Anderson, W.K., Newman, J.C.: High-order finite-element method and dynamic adaptation for two-dimensional laminar and turbulent Navier–Stokes. In: AIAA paper 2014-2983. 32nd AIAA Applied Aerodynamics Conference (2014)

  9. Babuška, I., Guo, B.Q.: The \(h, p\) and \(h-p\) version of the finite element method; basis theory and applications. Adv. Eng. Softw. 15(3–4), 159–174 (1992)

    Article  MATH  Google Scholar 

  10. Cangiani, A., Chapman, J., Georgoulis, E.H., Jensen, M.: Implementation of the continuous-discontinuous Galerkin finite element method. In: Numerical mathematics and advanced applications 2011, Proceedings of ENUMATH 2011, the 9th European conference on numerical mathematics and advanced applications, Leicester, UK, September 5–9, 2011. pp. 315–322. Springer, Berlin (2013)

  11. Cheng, J., Shu, C.W.: High order schemes for cfd: a review. Chin. J. Comput. Phys. 5, 002 (2009)

    Google Scholar 

  12. Deconinck, H., Paillere, H., Struijs, R., Roe, P.L.: Multidimensional upwind schemes based on fluctuation-splitting for systems of conservation laws. Comput. Mech. 11(5–6), 323–340 (1993)

    Article  MATH  Google Scholar 

  13. Deconinck, H., Struijs, R., Bourgois, G., Roe, P.L.: Compact advection schemes on unstructured grids. In: Computational Fluid Dynamics, VKI LS 1993-04. SEE N94-18557 04-34 (1993)

  14. Demkowicz, L.: Computing with hp-ADAPTIVE FINITE ELEMENTS: Volume 1 One and Two Dimensional Elliptic and Maxwell Problems. CRC Press, Boca Raton (2006)

    Book  Google Scholar 

  15. Di Pietro, D.A., Ern, A.: Mathematical Aspects of Discontinuous Galerkin Methods, vol. 69. Springer Science & Business Media, New York (2011)

    MATH  Google Scholar 

  16. Ekaterinaris, J.A.: High-order accurate, low numerical diffusion methods for aerodynamics. Prog. Aerosp. Sci. 41(3), 192–300 (2005)

    Article  Google Scholar 

  17. Hartmann, R.: Discontinuous Galerkin methods for compressible flows: higher order accuracy, error estimation and adaptivity. Lecture Series—Von Karman Institute for Fluid Dynamics 1, 5 (2006)

  18. Karniadakis, G.E., Shu, C.W., Cockburn, B.: Discontinuous Galerkin Methods: Theory, Computation and Applications. Springer, New York (2000)

    MATH  Google Scholar 

  19. Mitchell, W.F., McClain, M.A.: A comparison of hp-adaptive strategies for elliptic partial differential equations. ACM Trans. Math. Softw. (TOMS) 41(1), 2 (2014)

    Article  MathSciNet  MATH  Google Scholar 

  20. Moxey, D., Green, M.D., Sherwin, S.J., Peiró, J.: An isoparametric approach to high-order curvilinear boundary-layer meshing. Comput. Methods Appl. Mech. Eng. 283, 636–650 (2015)

    Article  MathSciNet  Google Scholar 

  21. Ni, Ron-Ho: A multiple-grid scheme for solving the euler equations. AIAA J. 20(11), 1565–1571 (1982)

    Article  MATH  Google Scholar 

  22. Ricchiuto, M.: Contributions to the development of residual discretizations for hyperbolic conservation laws with application to shallow water flows. Université Sciences et Technologies - Bordeaux I, Habilitation à diriger des recherches (2011)

  23. Shahbazi, K., Fischer, P.F., Ethier, C.R.: A high-order discontinuous Galerkin method for the unsteady incompressible Navier–Stokes equations. J. Comput. Phys. 222(1), 391–407 (2007)

    Article  MathSciNet  MATH  Google Scholar 

  24. Solin, P., Segeth, K., Dolezel, I.: Higher-Order Finite Element Methods. CRC Press, Boca Raton (2003)

    Google Scholar 

  25. Toro., E.F.: Riemann Solvers and Numerical Methods for Fluid Dynamics. A Practical Introduction. 2nd ed., 2nd edn. Springer, Berlin (1999)

    Book  MATH  Google Scholar 

  26. Wang, Z.J.: High-order methods for the Euler and Navier–Stokes equations on unstructured grids. Prog. Aerosp. Sci. 43(1), 1–41 (2007)

    Article  MathSciNet  Google Scholar 

  27. Wang, Z.J.: High-order computational fluid dynamics tools for aircraft design. Phil. Trans. R. Soc. A. 372, 20130318 (2014). doi:10.1098/rsta.2013.0318

  28. Wang, Z.J., Fidkowski, K., Abgrall, R., Bassi, F., Caraeni, D., Cary, A., Deconinck, H., Hartmann, R., Hillewaert, K., Huynh, H.T., et al.: High-order cfd methods: current status and perspective. Int. J. Numer. Methods Fluids 72(8), 811–845 (2013)

    Article  MathSciNet  Google Scholar 

Download references

Acknowledgements

Q. V. has been funded by the French State via the French National Research Agency (ANR) in the frame of the “Investments for the future” Programme IdEx Bordeaux - CPU (ANR-10-IDEX-03-02). All the numerical experiments presented in this paper were carried out using the cluster Avakas and the PLAFRIM experimental testbed. PLAFRIM is developed under the Inria PlaFRIM development action with support from LABRI, IMB and other entities: Conseil Régional d’Aquitaine, FeDER, Université de Bordeaux and CNRS. R. A. has been partialy funded with the SNF Grant # 200021_153604.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to R. Abgrall.

Appendices

Appendix 1: Implicit Numerical Solver

We need to solve the system of equations (20), written in a compact way as:

$$\begin{aligned} R({\mathbf {u}}_{h})=0. \end{aligned}$$
(60)

This problem is first relaxed as:

$$\begin{aligned} \frac{d{\mathbf {u}}_{h}}{dt}=-R({\mathbf {u}}_{h}). \end{aligned}$$
(61)

To approximate this time derivative, we use the backward Euler formula, and the problem becomes:

$$\begin{aligned} \frac{{\mathbf {u}}^{n+1}_{h}-{\mathbf {u}}^{n}_{h}\mathbf {{}}_{}}{\Delta t^{n}}=-R({\mathbf {u}}^{n+1}_{h}), \ n=0,1,2,\ldots \end{aligned}$$
(62)

Thus, we have to solve a non linear problem at each time step \(n\). We use for that a Newton method, that when applied to (60) reads:

$$\begin{aligned} {\mathbf {u}}^{k+1}_{h}={\mathbf {u}}^{k}_{h} -J^{-1}R({\mathbf {u}}^{k}_{h}),\;\;k=0,1,2, \end{aligned}$$
(63)

where

$$\begin{aligned} J=\frac{\partial R({\mathbf {u}}^{k}_{h})}{\partial {\mathbf {u}}} \end{aligned}$$
(64)

is the Jacobian of R. In practice, the Jacobian J is computed from a first order scheme with the stabilization term. And so, with our Newton method applied to (62) , the linear system we have to solve at each time step \(n\) reads:

$$\begin{aligned}&[\frac{1}{\Delta t^{n}}+J({\mathbf {u}}^{n}_{h_{k}})]\Delta {\mathbf {u}}^{n}_{h_{k}}=-R({\mathbf {u}}^{n}_{h_{k}}) \end{aligned}$$
(65)
$$\begin{aligned}&{\mathbf {u}}^{n}_{h_{k+1}}={\mathbf {u}}^{n}_{h_{k}}+\Delta {\mathbf {u}}^{n}_{h_{k}},\;\;k=0,1,2\ldots \end{aligned}$$
(66)

In practice, for each time step \(n\), we use only one iteration on \(k\), which seems enough to reach convergence of the nodal residuals to the zero machine.

Appendix 2: Comparison with Constrained Approximation for the Finite Element Method

In [8] the authors present a mesh adaptation method called “constrained approximation“ in the frame of a Petrov–Galerkin finite-element method. The idea behind the method is to use a non regular mesh (non conforming and of various order) and to constrain the value of the discrete solution at the interface shared by elements of different size (h-adaptation) and different order (p-adaptation) to keep the solution continuous across the interface.

Fig. 28
figure 28

From left to right: initial mesh, h-adaptation and p-adaptation

In Fig. 28 inspired from [8], the authors give an example of h-refinement and p-refinement. In the h-refinement case, the two triangles share a common edge with two different sizes, which generates a hanging node in the middle of the edge. In the p-refinement case, the triangles are of two different polynomial orders (\({\mathbb {P}}1\) and \({\mathbb {P}}2\)) and so a hanging node is generated in the middle of the edge. In both cases, the solution is constrained at the hanging node so that it remains continuous.

The authors use a hierarchical basis of shape functions [24]. For example, in dimension two this basis is constituted of functions associated with the vertices, the edges and the element and are called accordingly vertex, edge and bubble functions. They are built incrementally with respect to the desired order of the approximation, by using kernel functions in the definition of the edge and bubble functions. The main advantages of this basis over the classical Lagrange basis functions, is that the polynomial order of the approximation can be changed easily (by adding or removing kernel functions) and in the case of p-adaptation, like in Fig. 28, the hanging node is naturally suppressed, by changing to one the polynomial order of the shape function associated with the edge at the interface in the \({\mathbb {P}}_2\) element.

Once the constrains are established, the next step is to apply these constrains. The authors present a complete set of rules to impose the continuity of the solution in the case of h-adaptation and p-adaptation. The authors suggest to follow a rule called ”1-irregularity“ rule (only one hanging node between two elements) in order to avoid too complex situations, at least for h-adaptation.

We believe that this method is very different from the method we have proposed in this paper. The first difference is that the generation of hanging nodes makes the mesh non conforming. In a RD scheme, the question of how this hanging node should be treated does not seem evident. The distribution schemes (like for example (21) and (35)) would probably have to be redefined to take into account the hanging nodes, so that the scheme remains conservative (which is an essential ingredient for the convergence) and still exhibit the same behavior (for example (non) diffusive or (non) oscillatory). Even if it is still possible to use a classical Lagrange basis, it is advised in [8] to use a hierarchical basis of functions, as such a basis is more suited for p-adaptation. So, the compatibility of a hierarchical basis function with RD schemes should be analyzed. Finally, there is the question as to whether the hanging nodes should be taken into account in the system of equations (20), and for the implementation of an implicit RD scheme, what the consequences would be for the computation of the Jacobian matrix. We are not saying that the constrained approximation method is not compatible with RD schemes (indeed, we have obtained some preliminary numerical results with a prototype of a RD scheme based upon the constrained approximation method, in the case of scalar equations with Lagrange elements and an explicit scheme). But the questions we have raised should first be carefully assessed before trying to make an RD scheme compatible with the adaptive method of [8]. To the contrary, the p-adaptive method for RD schemes we have proposed here is designed for RD schemes by construction and as such avoids all the problems evoked above.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Abgrall, R., Viville, Q., Beaugendre, H. et al. Construction of a p-Adaptive Continuous Residual Distribution Scheme. J Sci Comput 72, 1232–1268 (2017). https://doi.org/10.1007/s10915-017-0399-6

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10915-017-0399-6

Keywords

Navigation