Discrete calculus methods for diffusion

https://doi.org/10.1016/j.jcp.2006.12.022Get rights and content

Abstract

A general methodology for the solution of partial differential equations is described in which the discretization of the calculus is exact and all approximation occurs as an interpolation problem on the material constitutive equations. The fact that the calculus is exact gives these methods the ability to capture the physics of PDE systems well. The construction of both node and cell based methods of first and second-order are described for the problem of unsteady heat conduction – though the method is applicable to any PDE system. The performance of these new methods are compared to classic solution methods on unstructured 2D and 3D meshes for a variety of simple and complex test cases.

Introduction

This paper is dedicated to Pieter Wesseling. It bears his hallmark at many levels. Philosophically, it is a paper about the intimate connection between physics and mathematics. Prof. Wesseling, an Aerospace Engineer turned Mathematician has always produced papers that are always keenly aware of the connection. Topically, it is a paper about staggered mesh methods – one of many areas in which Pieter and his coworkers are prolific (see the references in [1], [2]). And in particular, the paper addresses fundamental questions about how to apply staggered mesh methods to compressible flow problems – an area Pieter is particularly interested in [3], [4], [5], [6].

Staggered mesh methods have traditionally been applied to incompressible flows. The lack of pressure modes is particularly attractive in that application. There is therefore considerable literature addressing the issue of how to discretize the momentum equations with structured [7], curvilinear [8], [9], and unstructured staggered mesh methods [10], [11], [12], [13], [14], [30], [31]. However, in the context of compressible flow there arises the additional issue of how to discretize the density and energy equations.

The discrete differential operators in incompressible staggered mesh methods have very unique and attractive mathematical properties that allow the discrete equations to physically mimic their continuous counterparts. This not only leads to a lack of pressure modes, but kinetic energy and vorticity conservation statements [15], [16], maximum principles and many other attractive properties [17]. If we wish the compressible discretization to also have these sorts of attractive physical properties (like entropy increase), then presumably the scalar equations (density and energy) must also be discretized appropriately.

Until recently, it was not clear to the authors what criteria should be used to judge if a scalar transport equation was discretized ‘appropriately’. We believe this dilemma is addressed by the Discrete Calculus approach presented in this paper. In order to carefully explain the Discrete Calculus approach, this paper actually only focuses on the unsteady diffusion equation (not the advection–diffusion equation). The diffusion term contains sufficient complexity to present the fundamental ideas of the Discrete Calculus approach. Due to space limitations, the issues concerning advection must be addressed in a subsequent paper.

The premise of this paper is that numerical methods that capture the physics of the equations well have an associated exact Discrete Calculus. The fact that PDE’s can always be discretized exactly is demonstrated in the Section 2. To make the presentation clear and concrete the paper focuses on the diffusion (or heat) equation. However, we emphasize from the outset that the basic ideas presented are generally applicable to almost any PDE system. The paper is really an introduction to the Discrete Calculus method. The fact that the diffusion equation is simple and has analogs in many fields of application should make the paper, and hence this method, available to a broad audience.

Two different node-centered Discrete Calculus methods are derived in detail (Section 3). The paper then shows how these ideas can be applied to cell-based discretizations and how they differ from traditional finite volume and discrete Galerkin methods (Section 4). Section 5 then compares these four Discrete Calculus methods to some classic finite volume methods for the diffusion equation on a variety of test problems.

Section snippets

Exact discretization

Discretization takes a continuous PDE equation with essentially an infinite number of equations and unknowns (at least one for every point in space) and reduces it to a finite system of algebraic equations and unknowns. It is frequently assumed that the act of discretizing a PDE must involve approximation or the introduction of some sort of error. This is not the case [18]. Solving a PDE system numerically does indeed require approximation, but it is possible to separate the process of

Node based exact discretizations

One classic way to discretize Eq. (2a) exactly is using the idea of many small non-overlapping control volumes that completely cover the domain. However, the classic finite volume (FV) procedure of associating a control volume with each mesh cell has some difficulties – we return to it later in Section 4. It is easier to consider a set of control volumes in which each finite volume surrounds each node (vertex) of the mesh. The volumes surrounding each node are referred to as dual-mesh cells.

Cell based exact discretizations

The Discrete Calculus formalism is an approach, not a particular method. It does not require that unknowns be placed any particular location in the mesh, and in order to demonstrate that we consider a cell based method in this section.

Performance results

The four low-order Discrete Calculus methods derived in this paper might be considered more complex (at least conceptually) than classical methods for solving the heat equation. It is therefore of considerable interest to see if this added complexity and the exact treatment of the calculus has any actual tangible benefits in the solutions generated. This section will therefore compare the proposed methods with some classic finite volume approaches on a number of test cases. We have already

Discussion

The Discrete Calculus methods, as developed in this work, have the philosophical flavor of finite volume methods. In particular, the algorithms are independent of cell shape and can be applied to arbitrary polygonal meshes. There is no need to explicitly specify the basis functions or interpolation functions being used. Finally, like finite volume methods there is a local energy conservation statement for each cell or dual cell. However, there is a close relationship to Finite Element methods.

Acknowledgments

Partial financial support for this work was provided by the Office of Naval Research (Grant No. N00014-01-1-0267), the Air Force Office of Scientific Research (Grant No. FA9550-04-1-0023), and the National Science Foundation (Grant No. CTS-0522089).

References (37)

  • H. Bijl, P. Wesseling, Computation of unsteady flows at all speeds with a staggered scheme, in: E. Oñate, G. Bugeda, B....
  • H. Bijl, Computation of flow at all speeds with a staggered scheme, Ph.D. Thesis, Delft University of Technology,...
  • F.H. Harlow et al.

    Numerical calculations of time dependent viscous incompressible flow of fluid with a free surface

    Phys. Fluids

    (1965)
  • P. Wesseling et al.

    Computing flows on general two-dimensional nonsmooth staggered grids

    J. Eng. Math.

    (1998)
  • R.A. Nicolaides

    The covolume approach to computing incompressible flow

  • J.M. Hyman et al.

    The orthogonal decomposition theorems for mimetic finite difference methods

    SIAM J. Num. Anal.

    (1999)
  • J.B. Perot et al.

    Reformulation of the unstructured staggered mesh method as a classic finite volume method

    (1999)
  • J.B. Perot

    Conservation properties of unstructured staggered mesh schemes

    J. Comput. Phys.

    (2000)
  • Cited by (0)

    View full text