Algorithmic approach to strong consistency analysis of finite difference approximations to PDE systems
Vladimir P. Gerdt, Daniel Robertz

TL;DR
This paper presents an algorithmic method for analyzing the strong consistency of finite difference schemes for polynomially nonlinear PDE systems, using differential Thomas decomposition and its difference analogue.
Contribution
It introduces a novel algorithm combining differential and difference Thomas decompositions to verify s-consistency of finite difference approximations for nonlinear PDEs.
Findings
Verified s-consistency for Navier-Stokes equations
Developed difference Thomas decomposition algorithm
Provided a systematic approach for PDE approximation analysis
Abstract
For a wide class of polynomially nonlinear systems of partial differential equations we suggest an algorithmic approach to the s(trong)-consistency analysis of their finite difference approximations on Cartesian grids. First we apply the differential Thomas decomposition to the input system, resulting in a partition of the solution set. We consider the output simple subsystem that contains a solution of interest. Then, for this subsystem, we suggest an algorithm for verification of s-consistency for its finite difference approximation. For this purpose we develop a difference analogue of the differential Thomas decomposition, both of which jointly allow to verify the s-consistency of the approximation. As an application of our approach, we show how to produce s-consistent difference approximations to the incompressible Navier-Stokes equations including the pressure Poisson equation.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsPolynomial and algebraic computation · Advanced Numerical Analysis Techniques · Numerical Methods and Algorithms
Algorithmic approach to strong consistency analysis of finite difference approximations to PDE systems
Vladimir P. Gerdt
Joint Institute for Nuclear Research, Dubna, Russia
and Peoples’ Friendship University of Russia (RUDN)MoscowRussia
and
Daniel Robertz
School of Computing, Electronics and Mathematics
University of PlymouthPlymouthUnited Kingdom
(2019)
Abstract.
For a wide class of polynomially nonlinear systems of partial differential equations we suggest an algorithmic approach to the s(trong)-consistency analysis of their finite difference approximations on Cartesian grids. First we apply the differential Thomas decomposition to the input system, resulting in a partition of the solution set. We consider the output simple subsystem that contains a solution of interest. Then, for this subsystem, we suggest an algorithm for verification of s-consistency for its finite difference approximation. For this purpose we develop a difference analogue of the differential Thomas decomposition, both of which jointly allow to verify the s-consistency of the approximation. As an application of our approach, we show how to produce s-consistent difference approximations to the incompressible Navier-Stokes equations including the pressure Poisson equation.
Partial differential equations, Finite difference approximations, Consistency, Thomas decomposition
††isbn: ††copyright: acmcopyright††conference: International Symposium on Symbolic and Algebraic Computation; July 15-18, 2019; Beijing, China††journalyear: 2019††price: 15.00††ccs: Computing methodologies Algebraic algorithms††ccs: Mathematics of computing Partial differential equations††ccs: Mathematics of computing Nonlinear equations††ccs: Mathematics of computing Discretization
1. Introduction
Except very special cases, partial differential equations (PDE) admit numerical integration only. Historically first and one of the most-used numerical methods is finite difference method (Samarskii'01, ) based on approximation of PDE by difference equations defined on a chosen solution grid. To construct a numerical solution, the obtained finite difference approximation (FDA) to PDE is augmented with an appropriate discretization of initial or/and boundary condition(s) providing uniqueness of solution. As this takes place, the quality of numerical solution to PDE is determined by the quality of its FDA.
Any reasonable discretization must provide the convergence of a numerical solution to a solution of PDE in the limit when the grid spacings tend to zero. However, except for a very limited class of problems, convergence cannot be directly established. In practice, for a given FDA, its consistency and stability are analyzed as the necessary conditions for convergence. Consistency implies reduction of the FDA to the original PDE when the grid spacings tend to zero and stability provides boundedness of the error in the solution under small perturbation in the numerical data.
One of the most challenging problems is to construct FDA which, on the one hand, approximates the PDE and, on the other hand, mimics basic algebraic properties and preserves the algebraic structure (Christiansen'11, ) of the PDE. Such mimetic or algebraic structure preserving FDA are more likely to produce highly accurate and stable numerical results (cf. (JCP'14, )). In (GR'10, ; G'12, ), for polynomially nonlinear PDE systems and regular solution grids, we introduced the novel concept of strong consistency, or s-consistency, which strengthens the concept of consistency and means that any element of the perfect difference ideal generated by the polynomials in FDA approximates an element in the radical differential ideal generated by the polynomials in PDE. In the subsequent papers (ABGLS'13, ; ABGLS'17, ), by computational experiments with two-dimensional incompressible Navier-Stokes equations, it was shown that s-consistent FDA have much better numerical behavior than FDA which are not s-consistent.
For linear PDE one can algorithmically verify (GR'10, ) s-consistency of their FDA. In the nonlinear case such verification (G'12, ) required computation of a difference Gröbner basis for FDA. Since difference polynomial rings (Levin'08, ) are non-Noetherian, the difference Gröbner basis algorithms (G'12, ; GLS'15, ) do not terminate in general. In comparison to differential algebra, fewer computational results have been obtained in difference algebra. A decomposition technique was developed only for binomial perfect difference ideals (BinomialDifference, ). More generally, in the present paper, a difference analogue of the differential Thomas decomposition (Thomas'37-62, ; BGLHR'12, ; Robertz6, ; GLHR'18, ) is obtained (see Section 6), which provides an algorithmic tool for s-consistency analysis of FDA to simple PDE subsystems on Cartesian grids (see Section 7). In particular, given an FDA to the momentum and continuity equations in the Navier-Stokes PDE system for incompressible flow, our approach derives an s-consistent approximation containing the pressure Poisson equation (see Section 9).
Completion to involution is the cornerstone of the differential Thomas decomposition (Thomas'37-62, ; BGLHR'12, ; Robertz6, ; GLHR'18, ). The underlying completion algorithm (G'05, ) is based on the theory of Janet division and Janet bases (G'05, ; Seiler'10, ; Robertz6, ) which stemmed from the Riquier-Janet theory (Riquier'10, ; Janet'29, ) of orthonomic PDE. Joseph M. Thomas (Thomas'37-62, ) generalized the Riquier-Janet theory to non-orthonomic polynomially nonlinear PDE and showed how to decompose them into the triangular subsystems with disjoint solution sets. Janet bases are Gröbner ones with additional structure, and Wu Wen-tsun was the first who showed (Wu'90, ) that the Riquier-Janet theory can be used for algorithmic construction of algebraic Gröbner bases. We dedicate this paper to commemoration of his Centennial Birthday.
2. Consistency
In the given paper we consider PDE systems of the form
[TABLE]
where is the ring of polynomials in the dependent variables and their partial derivatives obtained from the operator power products in . We shall assume that coefficients of the polynomials are rational functions in , finitely many parameters (constants), over , i.e. . One can also extend the last field to , where is the set of independent variables. In this case we shall assume that coefficients of the differential polynomials in do not vanish in the grid points defined in (2) below.
To approximate (1) by a difference system we define a Cartesian computational grid (mesh) with spacing and fixed by
[TABLE]
If the actual solution to (1) is , then its approximation at the grid nodes will be denoted by .
Let and be the difference polynomial ring over , where is a difference field of constants (Levin'08, ) with differences acting on a grid function as the shift operators
[TABLE]
The elements in are polynomials in the dependent variables () defined on the grid and in their shifts . However, to provide termination of the decomposition algorithm of Sect. 6, we shall consider difference polynomials with non-negative shifts only. We denote by the set of monomials in , …, . The coefficients of the polynomials are in .
The standard method to obtain FDA of such type to the differential system (1) is replacement of the partial derivatives occurring in (1) by finite differences and application of appropriate power product of the forward-shift operators in (3) to eliminate negative shifts in indices which may come out of expressions like
[TABLE]
Furthermore, the difference system
[TABLE]
is called an FDA to PDE (1) if it is consistent in accordance to:
Definition 2.1.
Given a PDE system (1), a difference system (4) is weakly consistent or w-consistent with (1) if
[TABLE]
This is a universally adopted notion of consistency for a finite difference discretization of PDE system (1) (cf. (Str'04, ), Ch.7) and means that Eq. (4) reduces to Eq. (1) when the mesh step tends to zero.
Definition 2.2.
(GR'10, ) We say that a difference equation , , implies the differential equation , , and write , if the Taylor expansion of about the grid point , after clearing denominators containing , yields
[TABLE]
and denotes terms whose degree in is at least .
Remark 2.3.
Given , computation of is straightforward and has been implemented as routine ContinuousLimit in the Maple package LDA (GR'12, ; GLS'15, ) (Linear Difference Algebra).
Definition 2.4.
(G'12, ) FDA (4) to PDE system (1) is strongly consistent or s-consistent if
[TABLE]
Here and denote the perfect difference ideal generated by in and the radical differential ideal generated by in .
Remark 2.5.
It is clear that if condition (5) holds, then
[TABLE]
that is, approximates . Accordingly, condition (6) means that, after clearing denominators, each element of approximates an element of in the sense of (7).
Lemma 2.6.
Let be a differential ideal of and a difference ideal of such that
[TABLE]
Then for the perfect closure of in the condition (6) holds.
Proof.
Let be a (possibly infinite) reduced Gröbner basis of for an admissible monomial ordering (cf. (G'12, )). Then
[TABLE]
Here , is a finite subset of , denotes the leading monomial of its argument, and we use the multi-index notation
[TABLE]
In the continuous limit implies the differential polynomial
[TABLE]
where . Therefore, .
Let now and be such that
[TABLE]
From Eq. (8) it follows that where . Hence, . The perfect ideal can be constructed (Levin'08, ) from by the procedure in the form called shuffling and based on enlargement of the generator set with all polynomials occurring in in the form of Eq. (8) and on repetition of such enlargement. It is clear that each such enlargement of the intermediate ideals yields in the continuous limit a subset of . ∎
The criterion of s-consistency is given by the following theorem.
Theorem 2.7.
(G'12, )* A difference approximation (4) to a differential system (1) is s-consistent if and only if a reduced Gröbner basis of the difference ideal generated by satisfies*
[TABLE]
3. Janet division
We recall the concept of Janet division. For details we refer to, e.g., (Robertz6, , Subsect. 2.1.1), (G'05, ), (Seiler'10, , Ch. 3).
Let be a field and the commutative polynomial algebra over with indeterminates , …, . We denote by the set of monomials in , …, and for a subset we define to be the subset of consisting of the monomials involving only indeterminates from .
If a term ordering on is fixed and is an ideal of , then the set of leading monomials of non-zero polynomials in are known to form a set with the following property:
Definition 3.1.
A set is said to be -multiple-closed if we have for all and all .
The smallest -multiple-closed set in containing a given set is denoted by . It is well known that every -multiple-closed set in is finitely generated in that sense and that it has a unique minimal generating set.
We adopt Janet’s approach (Janet'29, ) of partitioning a -multiple-closed set into finitely many subsets of the form , where and (referred to as Janet division).
Definition 3.2.
Let be finite and . Then is said to be a multiplicative variable for if and only if
[TABLE]
This yields a partition , where the elements of (resp. ) are the multiplicative (resp. non-multiplicative) variables for . The set is Janet complete if
[TABLE]
Proposition 3.3.
For every -multiple-closed set there exists a finite Janet complete set such that .
If is finite, we call the minimal Janet complete set such that the Janet completion of . It is obtained algorithmically by adding certain multiples of elements of to (which also proves Proposition 3.3), cf., e.g., (Robertz6, , Algorithm 2.1.6).
4. Simple Algebraic Systems
Fundamental for both the differential Thomas decomposition (recalled in Sect. 5) as well as its difference analogue to be introduced in Sect. 6 is the Thomas decomposition of an algebraic system
[TABLE]
where , …, . Here is a field of characteristic zero with algebraic closure , and is the commutative polynomial algebra over with indeterminates , …, . The solution set of the algebraic system in (9) is defined to be
[TABLE]
Assuming the indeterminates are ordered as in , a sequence of projections from is defined correspondingly by
[TABLE]
For each , this ordering defines the greatest indeterminate occurring in , referred to as leader, the coefficient of the highest power of in , called initial, and the discriminant , where is the degree of in and where denotes the resultant.
Definition 4.1.
An algebraic system as in (9) is said to be simple if the following four conditions are satisfied.
- (1)
None of , …, , , …, is constant. 2. (2)
The leaders of , …, , , …, are pairwise distinct. 3. (3)
For every , if , then the equation has no solution in . 4. (4)
For every , if , then the equation has no solution in .
Definition 4.2.
An algebraic system as in (9) is said to be quasi-simple if conditions (1)–(3) (but not necessarily (4)) are satisfied.
A Thomas decomposition of an algebraic system as in (9) is a finite collection of simple algebraic systems , …, such that . It can be computed by an algorithm combining Euclidean pseudo-reduction and case distinctions. For details we refer to (BGLHR'12, ), (Robertz6, , Subsect. 2.2.1), (Wang'00, , Sect. 3.3).
5. Differential Thomas Decomposition
A system of polynomial partial differential equations and inequations
[TABLE]
is given by elements , …, of the differential polynomial ring in , …, with commuting derivations . For , we identify and . Let be open and connected. The solution set of on is
[TABLE]
Definition 5.1.
A ranking on is a total ordering on the set
[TABLE]
such that for all , , , , we have and, if , then . A ranking is orderly if for all , , , , implies .
Example 5.2.
Rankings and on are given by
[TABLE]
and
[TABLE]
respectively, where compares multi-indices lexicographically.
If a ranking on is fixed, then for each the leader, initial and discriminant of are defined as in Section 4. Moreover, is called the separant of .
Janet division associates (with respect to a total ordering of ) to each with the set (resp. ) of admissible (resp. non-admissible) derivations, where
[TABLE]
We call or Janet complete if each equals its Janet completion, , …, . Let . If some occurs in for which there exists such that for some and , then is Janet reducible modulo . In this case, is called a Janet divisor of . If is not Janet reducible modulo , then is also said to be Janet reduced modulo . Iterated pseudo-reductions of modulo yield its Janet normal form , a Janet reduced differential polynomial, as explained in (Robertz6, , Algorithm 2.2.45).
Definition 5.3.
Let be Janet complete. Then or is said to be passive, if
[TABLE]
Definition 5.4.
Let a ranking on and a total ordering on be fixed. A differential system as in (10) is said to be simple if the following three conditions hold.
- (1)
is simple as an algebraic system (in the finitely many indeterminates occurring in it, ordered by the ranking ). 2. (2)
is passive. 3. (3)
The left hand sides , …, are Janet reduced modulo the passive differential system .
Proposition 5.5 ((Robertz6, ), Prop. 2.2.50).
Let be a simple differential system, defined over , as in (10). Let be the differential ideal of which is generated by , …, and let be the product of the initials and separants of all , …, . Then the differential ideal
[TABLE]
is radical. Given , we have if and only if the Janet normal form of modulo , …, is zero.
Definition 5.6.
A Thomas decomposition of a differential system as in (10) (with respect to ) is a finite collection of simple differential systems , …, such that .
For any differential system as in (10) and any ranking on a Thomas decomposition of can be computed algorithmically. For more details we refer to, e.g., (BGLHR'12, ), (Robertz6, , Subsection 2.2.2), (GLHR'18, ).
6. Decomposition of difference systems
A system of polynomial partial difference equations and inequations
[TABLE]
is given by elements , …, of the difference polynomial ring in , …, with commuting automorphisms . For , we identify and . We denote by (resp. ) the set (resp. ).
A ranking on is defined in the same way as in Definition 5.1 by replacing the action of by the action of and by .
For a subset of we denote by the difference ideal of generated by . Let be a difference ideal of and be multiplicatively closed and closed under , …, . Then define
[TABLE]
Moreover, for and we define
[TABLE]
The first algorithm to be introduced performs an auto-reduction of a finite set of difference polynomials.
Since leaders are dealt with in decreasing order with respect to , and no ranking admits infinitely decreasing chains, Algorithm 1 terminates. Its correctness follows from the definition of .
Janet division associates (with respect to a total ordering of ) to each with the set (resp. ) of admissible (non-admissible) automorphisms, where
[TABLE]
We call or Janet complete if each equals its Janet completion, , …, . Let . If some occurs in for which there exists such that for some and , then is Janet reducible modulo . In this case, is called a Janet divisor of . If is not Janet reducible modulo , then is also said to be Janet reduced modulo . Iterated pseudo-reductions of modulo yield its Janet normal form , which is the Janet reduced difference polynomial returned by Algorithm 2.
Algorithm 2 terminates because each coefficient of is either constant or has a leader which is smaller than with respect to , and a ranking does not allow infinitely decreasing chains. Correctness of the algorithm is clear.
Definition 6.1.
Let be Janet complete. Then or is said to be passive, if
[TABLE]
Definition 6.2.
Let a ranking on and a total ordering on be fixed. A difference system as in (11) is said to be simple (resp., quasi-simple) if the following three conditions hold.
- (1)
is simple (resp., quasi-simple) as an algebraic system (in the finitely many occurring indeterminates, ordered by ). 2. (2)
is passive. 3. (3)
The left hand sides , …, are Janet reduced modulo the passive difference system .
Proposition 6.3.
Let be a quasi-simple difference system over as in (11). Let be the difference ideal of generated by , …, and let be the smallest subset of which is multiplicatively closed, closed under , …, and contains the initials for all , …, . Then a difference polynomial is an element of
[TABLE]
if and only if the Janet normal form of modulo , …, is zero.
Proof.
By definition of , every element for which Algorithm 2 yields Janet normal form zero is an element of .
Let , . Then there exist and , …, and , , , …, , , …, , such that
[TABLE]
Among all pairs for which involves a non-admissible automorphism for let the pair be such that is maximal with respect to the ranking . Let be a non-admissible automorphism for which divides the monomial . Since is passive, there exist , , …, and and , , …, , , …, , such that
[TABLE]
where each involves only admissible automorphisms for . Let and multiply (12) by to obtain
[TABLE]
In this equation we replace
[TABLE]
by
[TABLE]
Since involves fewer non-admissible automorphisms for than , iteration of this substitution process will rewrite equation (12) in such a way that every involving non-admissible automorphisms for will be less than with respect to . A further iteration of this substitution process will therefore produce an equation as (12) with no involving any non-admissible automorphisms for .
This shows that for every there exists a Janet divisor of in the passive set defined by , …, . ∎
Let be open and connected and fix . Denoting the grid in (2) by , we define
[TABLE]
and for a system of partial difference equations and inequations as in (11) we define the solution set
[TABLE]
Definition 6.4.
Let be a finite difference system over and a ranking on . A difference decomposition of is a finite collection of quasi-simple difference systems , …, over such that .
In the following algorithm, Decompose in step 11 refers to an algorithm which computes a smallest superset of in that is Janet complete as defined on page 1 (see also Section 3).
Theorem 6.5.
Algorithm 3 terminates and is correct.
Proof.
Algorithm 3 maintains a set of difference systems that still have to be dealt with. Given that termination of all subalgorithms has been proved, termination of Algorithm 3 is equivalent to the condition that holds after finitely many steps.
Apart from step 1, new systems are inserted into in steps 18 and 20. We consider the systems that are at some point an element of as the vertices of a tree. The root of this tree is the input system . The systems which are inserted into in steps 18 and 20 are the vertices of the tree whose ancestor is the system that was extracted from in step 3 which in the following steps produced these new systems. Since the for loop beginning in step 5 terminates, the degree of each vertex in the tree is finite. We claim that every branch of the tree is finite, i.e., that the tree has finite height, hence, that the tree has only finitely many vertices.
In case of step 20 the new system contains an equation which resulted from a non-trivial difference reduction in step 9. When this new system will be extracted from in a later round, a decomposition into quasi-simple algebraic systems will be computed in step 4. This may produce new branches of the tree, but along any of these branches, after finitely many steps the condition true in step 10 will hold, because the order of the shifts in leaders of the arising equations is bounded by the maximum order of shifts in leaders of the ancestor system .
In case of step 18 we are going to show that after finitely many steps a difference equation is obtained whose leader has not shown up as a leader of an equation in any preceding system in the current branch of the tree. First of all, the passivity check (step 12) yielded an equation , , which is Janet reduced modulo . Hence, either is not contained in the multiple-closed set generated by , or there exists such that is a Janet divisor of , but the degree of in is smaller than the degree of in . In the first case the above claim holds. The second case cannot repeat indefinitely: First of all, if , then in a later round, either a pseudo-reduction of modulo will be performed if the initial of does not vanish, or has been added as a new equation (with lower ranked leader). Since this leads to a sequence in which strictly decreases, infinite chains are excluded in this situation. If case occurs repeatedly, then a sequence of leaders of newly inserted equations arises, where , , , such that holds (and where also ). Any such sequence is finite. Hence, the first case arises after finitely many steps. Therefore, termination follows from Dickson’s Lemma.
In order to prove correctness, we note that a difference system is only inserted into if step 12 confirmed passivity. Such a system is quasi-simple as an algebraic system because (up to auto-reduction in step 9 and Janet completion in step 11) it was returned as one system in step 4. Condition (3) in Definition 6.2 is ensured by step 14. Hence, all difference systems in are quasi-simple. Splittings of systems only arise in step 4 by adding an equation and the corresponding inequation , respectively, to the two new systems replacing the given one. Since no solutions are lost or gained, this leads to a partition as required by Definition 6.4. ∎
7. s-consistency check
Recall that (resp. ) denotes the set of left hand sides of equations (resp. inequations) in a difference system . We shall use the same notation for differential systems.
Clearly, if one approximates the partial derivatives occurring in a simple differential system by appropriate finite differences, then one obtains a w-consistent approximation to (cf. Sect. 2 and 9).
The following algorithm verifies s-consistency of such FDA.
Correctness of the algorithm follows from Definition 2.1 (extended to inequations) and from passivity of the output subsystems of Algorithm 3. Their solution spaces partition the solution space of the input FDA. Thereby, any subsystem in the output with true is s-consistent with , where and w-consistent if false. If true for all , then is s-consistent with . Termination follows from that of the subalgorithms.
8. Illustrative Example
Example 8.1.
We consider the system of nonlinear PDEs
[TABLE]
which is a simple differential system, as it is easily checked that the cross-derivative reduces to zero modulo (13). We investigate the discretized system which is obtained by replacing and by the forward differences , , respectively:
[TABLE]
This system of nonlinear difference equations is simple as an algebraic system, but the passivity check reveals the consequence
[TABLE]
The continuous limit of for is the differential polynomial , which is not in the radical differential ideal corresponding to (13). Hence, FDA (14) is not s-consistent with system (13).
Now we consider the discretization obtained by replacing and by as before and the backward difference , respectively:
[TABLE]
In order to avoid negative shifts, we replace equation by . Then this system of nonlinear difference equations is simple because it is algebraically simple and the passivity check yields
[TABLE]
We conclude that FDA (15) is s-consistent with system (13).
9. Navier-Stokes Equations
Example 9.1.
The Navier-Stokes equations for a three-dimensional incompressible viscous flow in vector notation are
[TABLE]
where , is the velocity vector , is the pressure and is the Reynolds number. For the ranking (Example 5.2) such that
[TABLE]
the (non-admissible) prolongation of the right (continuity) equation in (16) and its reduction modulo the left (momentum) equation yields the pressure Poisson equation
[TABLE]
which is the integrability condition (cf. (Seiler'10, ), p.50) to (16). Clearly, the differential system (16) and (18) satisfies the simplicity conditions (1)–(4) in Definition 4.1. Now we consider the following class of FDA to (16) defined on the four-dimensional grid (2)
[TABLE]
where approximates , approximates and approximates . It is clear that system (19) is w-consistent with (16). If one considers the difference analogue of ranking (17) satisfying
[TABLE]
then completion of (19) to a passive form by Algorithm 3 is equivalent to enlargement of this system with the integrability condition
[TABLE]
Eq. (21) approximates Eq. (18) and can be obtained, in the full analogy with the differential case, by the prolongation of the discrete continuity equation in system (19) and its reduction by the discrete momentum equation.
The left-hand sides of Eqs. (16) and (18) form a difference Gröbner basis of the ideal generated by Eqs. (19) in . Hence, by Theorem 2.7, FDA (19)–(21) to Eqs. (16), (18) is s-consistent.
Remark 9.2.
Formulae (19) and (21) give s-consistent FDA of the Navier-Stokes and pressure Poisson equations in the two-dimensional case as well. Examples of such FDA were studied in (ABGLS'13, ). One more s-consistent two-dimensional FDA was derived in (ABGLS'17, ). In its approximation of Eq. (18) the redundant to zero term was included in the left-hand side of (21). This inclusion improves the numerical behavior of FDA (cf. (Rempfer'06, ), Sect.3.2).
Example 9.3.
For the two-dimensional system (16), (18) with grid velocities and pressure we consider the discretization
[TABLE]
where
[TABLE]
and . Then FDA (22) is w-consistent with (16) and (18). However, it is s-inconsistent since where is the perfect closure (see Lemma 2.6) of the ideal generated by . It follows, as modulo the equality holds
[TABLE]
whereas the difference operator in (21) is not equal to :
[TABLE]
10. Conclusions
In this paper, for the first time, we devised a universal algorithmic approach to check s(trong)-consistency of a system of finite difference equations that approximates a polynomially nonlinear PDE system on a Cartesian solution grid. In our earlier paper (GR'10, ) we studied this problem for linear PDE systems and showed how to check their s-consistency by using differential and difference Gröbner bases of ideals generated by the polynomials in PDE and FDA. As this takes place, all related computations can be done, for example, with the Maple packages LDA (GR'12, ) and Janet (Maple-Janet'03, ).
Extension of the Gröbner basis method to the nonlinear case is not algorithmic due to the non-Noetherity of differential and difference polynomial rings. On the other hand, the differential Thomas decomposition (Def. 5.6) and its difference analogue (Def. 6.4) are fully algorithmic (cf. (GLHR'18, ; BGLHR'12, ; Robertz6, ) and Alg. 3). These decompositions are essentials of the s-consistency check (Alg. 4). The differential Thomas decomposition is built into Maple 2018 and its implementation for previous versions of Maple is freely available on the web. Algorithm 3 has not been implemented yet.
If we are looking for s-consistent FDA to a simple PDE system and for a (w-consistent) FDA Algorithm 4 returns false, as it takes place in Example 9.3, then we have to try another FDA and check the s-consistency again. In doing so, if we know a minimal generating set for the radical differential ideal generated by the input simple differential system, then its FDA should be tried as an input for Algorithm 3. Such is indeed the case with the Navier-Stokes equations (Ex. 9.1), for which Algorithm 3 returns s-consistent discretization (19), (21) if it is applied to Eqs. (16) and ranking (20).
However, the choice of FDA to the minimal generating set for the simple differential system as an input for Algorithm 3 not always yields s-consistent FDA, as demonstrated by Example 8.1. In addition, designing an algorithm for construction of a minimal generating set for an ideal is an open problem for commutative polynomial rings and is probably unsolvable in the differential case.
In applications of finite difference methods to PDE systems which have integrability conditions, it is important not only to preserve these conditions at the discrete level, but to ensure also that FDA is s-consistent with the PDE system. FDA (19), (21) to the Navier-Stokes equations (16) satisfies this requirement and for this reason it is appropriate for numerical solution of initial or/and boundary-value problems for (16) in the velocity-pressure formulation.
11. Acknowledgments
The authors are grateful to the referees for their valuable remarks. The contribution of the first author (V.P.G.) was partially supported by the Russian Foundation for Basic Research (grant No. 18-51-18005) and by the RUDN University Program (5-100).
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1(1) A. A. Samarskii. Theory of Difference Schemes . Marcel Dekker, New York, 2001.
- 2(2) S. H. Christiansen, H. Z. Munthe-Kaas and B. Owren. Topics in structure-preserving discretization . Acta Numerica, 11, 1-119, 2011.
- 3(3) B. Koren, R. Abgral, P. Bochev, J. Frank and B. Perot (eds.) Physics - compatible numerical methods . J. Comput. Phys., 257, Part B, 1039–1526, 2014.
- 4(4) V. P. Gerdt and D. Robertz. Consistency of Finite Difference Approximations for Linear PDE Systems and its Algorithmic Verification . in: S. Watt (ed.). Proceedings of ISSAC 2010, pp. 53–59. Association for Computing Machinery, 2010.
- 5(5) V. P. Gerdt. Consistency Analysis of Finite Difference Approximations to PDE Systems . Mathematical Modelling in Computational Physics / MMCP 2011, LNCS 7125, pp. 28–42. Springer, Berlin, 2012. ar Xiv:math.AP/1107.4269
- 6(6) P. Amodio, Yu.A. Blinkov, V. P. Gerdt and R. La Scala. On consistency of finite difference approximations to the Navier–Stokes Equations . Computer Algebra in Scientific Computing / CASC 2013, LNCS 8136, Springer, Cham, 2013, pp. 46–60.
- 7(7) P. Amodio, Yu. A. Blinkov, V. P. Gerdt and R. La Scala. Algebraic construction and numerical behavior of a new s-consistent difference scheme for the 2D Navier–Stokes equations . Appl. Math. and Comput., 314, 408–421, 2017.
- 8(8) A. Levin. Difference Algebra . Algebra and Applications, 8, Springer, 2008.
