• Nie Znaleziono Wyników

IMPLICIT RUNGE–KUTTA METHODS

N/A
N/A
Protected

Academic year: 2021

Share "IMPLICIT RUNGE–KUTTA METHODS"

Copied!
8
0
0

Pełen tekst

(1)

INSTITUTE OF MATHEMATICS POLISH ACADEMY OF SCIENCES

WARSZAWA 1994

IMPLICIT RUNGE–KUTTA METHODS

FOR TRANSFERABLE DIFFERENTIAL-ALGEBRAIC EQUATIONS

M . A R N O L D

Department of Mathematics, University of Rostock Universit¨ atsplatz 1, D-18051 Rostock, Germany

Abstract. The numerical solution of transferable differential-algebraic equations (DAE’s) by implicit Runge–Kutta methods (IRK) is studied. If the matrix of coefficients of an IRK is non- singular then the arising systems of nonlinear equations are uniquely solvable. These methods are proved to be stable if an additional contractivity condition is satisfied. For transferable DAE’s with smooth solution we get convergence of order min(k

E

, k

I

+ 1), where k

E

is the classical order of the IRK and k

I

is the stage order. For transferable DAE’s with generalized solution convergence of order 1 is ensured, provided that k

E

≥ 1.

1. Introduction. Numerical methods for initial value problems of transferable differential-algebraic equations (DAE’s)

(1) f (x 0 (t), x(t), t) = 0, x(t 0 ) = x 0 , t ∈ [t 0 , T ], x : [t 0 , T ] → R m

have found much interest in recent years. Transferable means that DAE (1) is equivalent to a system of state equations [GM86, §1.2].

Implicit Runge–Kutta methods (IRK) for (1) are given by (cf. [Pe86])

(2)

x n+1 = x n + h

s

X

j=1

b j x (j) 0 n+1 ,

x (i) n+1 = x n + h

s

X

j=1

a ij x (j) 0 n+1 , f (x (i) 0 n+1 , x (i) n+1 , t n + c i h) = 0 (i = 1, . . . , s) , A = ((a ij )) denotes the Runge–Kutta matrix, b j the weights and c i the nodes of

1991 Mathematics Subject Classification: 65L05.

The paper is in final form and no version of it will be published elsewhere.

[267]

(2)

the method. We assume that IRK (2) satisfies the contractivity condition

(3) |R(∞)| < 1

with the stability function R(·) known from stiff ODE-theory (if the Runge–Kutta matrix A is non-singular, then R(∞) = 1 − P

j,k b j a jk with a jk the elements of A −1 ).

Assuming that matrix A is non-singular Petzold [Pe86] studies IRK with (3) applied to quasilinear DAE’s of uniform index 1 and obtains convergence of or- der min(k E , k I + 1), with the classical (ODE-) order k E and the stage order k I

defined by (4) k I := max

 k : X

j

a ij c l−1 j = 1 l c l i , X

j

b j c l−1 j = 1

l , i = 1, . . . , s, l = 1, . . . , k

 . For methods with non-singular matrix A we have k I ≤ k E .

In the special case of semi-explicit DAE’s (1) of index 1 the methods (2) with non-singular Runge–Kutta matrix A are convergent with order min(k E , k I +1) (if (3) is satisfied or R(∞) = −1) or k I (if R(∞) = 1), and diverge if |R(∞)| > 1. For these semi-explicit DAE’s, IRK with c s = 1, b j = a sj (j = 1, . . . , s) are of special interest since these methods (that are denoted by IRK(DAE)) do not suffer from order reduction and are convergent with order k E [HLR89].

Throughout the paper we assume the following properties of DAE (1) that guarantee its transferability into a system of state equations (for details see [GM86]):

• f = f (y, x, t) is a continuously differentiable function f : G → R m with G = R m × R m × [t 0 , T ]. The Jacobians f y 0 (y, x, t) and f x 0 (y, x, t) are uniformly Lipschitz-continuous on G; furthermore, kf x 0 (y, x, t)k is supposed to be uniformly bounded on G.

• The Jacobian f y 0 (y, x, t) has constant rank on G. ker f y 0 (y, x, t) depends nei- ther on y nor on x and N (t) ≡ ker f y 0 (y, x, t) is a smooth subspace of R m , i.e., there is a continuously differentiable projector function Q(t) : R m → N (t).

• The matrix G(y, x, t) := f y 0 (y, x, t) + f x 0 (y, x, t)Q(t) has a uniformly bounded inverse on G.

Under these assumptions the Runge–Kutta equations (2) are uniquely solvable for sufficiently small stepsizes h, provided that the contractivity condition (3) is satisfied and the Runge–Kutta matrix A is non-singular. For IRK(DAE) applied to transferable DAE’s (1) stability and (if k I ≥ 2) convergence with order k I has been shown (cf. [Ob90]). In [GM86, §2.1] IRK for transferable DAE’s (1) with constant ker f y 0 (y, x, t) ≡ N are studied in detail: If the contractivity condition (3) is satisfied and the matrix A is non-singular, then method (2) is stable and the convergence with order k I (for IRK(DAE): order k E ) is proved.

In this paper we prove that the results of Petzold remain valid for transferable

DAE’s (1) with time-dependent ker f y 0 (y, x, t) ≡ N (t). In Section 2 the existence

(3)

and uniqueness of Runge–Kutta solutions and the stability of IRK (2) with (3) are stated. Using the stability estimate convergence is proved for DAE’s (1) with smooth and with generalized solution (Section 3). The final Section 4 contains the somewhat technical proofs of Theorems 1 and 2.

2. Stability of implicit Runge–Kutta methods for transferable DAE’s. The definition of method (2) includes systems of non-linear equations.

For sufficiently small stepsizes h the existence and uniqueness of a Runge–Kutta solution is shown in the following theorem so that the IRK is well-determined. A similar theorem was proved in [Ob90] under the additional assumption that the contractivity condition (3) is satisfied.

Theorem 1. Suppose that the Runge–Kutta matrix A of method (2) is non- singular. Then equations (2) are uniquely solvable for sufficiently small step- sizes h.

P r o o f. See Section 4.

Next we study the influence of small perturbations to the numerical solution, i.e. the stability of IRK (2) in the sense of Dahlquist. Such perturbations may be caused e.g. by round-off errors or by errors in the iterative solution of the Runge–Kutta equations. In Section 3 the exact solution of (1) is inserted into (2) to prove convergence of the method and the arising defect is once again interpreted as perturbation of (2). Let a sequence ( b x n ) be defined by

(5)

b x n+1 = x b n + h

s

X

j=1

b j x b (j) 0 n+1 + hϕ n+1 ,

b x (i) n+1 = x b n + h

s

X

j=1

a ij x b (j) 0 n+1 + hϕ (i) n+1 , f ( x b (i) 0 n+1 , x b (i) n+1 , t n + c i h) = ψ (i) n+1 (i = 1, . . . , s) with perturbations ϕ n+1 , ϕ (i) n+1 , ψ n+1 (i) bounded by

kP (t n+1 )ϕ n+1 k ≤ δ ϕ,P E , kQ(t n+1 )ϕ n+1 k ≤ δ ϕ,Q E , kϕ (i) n+1 k ≤ δ ϕ I , kψ (i) n+1 k ≤ δ ψ

where Q(t) denotes a smooth projector function onto ker f y 0 (y, x, t) and P (t) :=

I − Q(t). In Theorem 2 we give the stability estimate. For IRK(DAE) with non- singular Runge–Kutta matrix A (then (3) is satisfied with R(∞) = 0) a stability estimate was given in [Ob90].

Theorem 2. An implicit Runge–Kutta method (2) applied to a transferable

DAE (1) is stable if the matrix A is non-singular and the contractivity condition

(3) is satisfied. For sufficiently small stepsizes h and for t 0 + nh ≤ T we have the

(4)

estimate

(6) k x b n − x n k ≤ C 0 (k x b 0 − x 0 k + δ ϕ,P E + hδ ϕ,Q E + hδ ϕ I + δ ψ ) with a constant C 0 being independent of h, n and of the perturbations.

P r o o f. See Section 4.

3. Convergence of implicit Runge–Kutta methods for transferable DAE’s. Provided that the solution x(t) of DAE (1) is sufficiently smooth, ex- pansion of x(t) in a Taylor series gives the estimates

x(t n + h) = x(t n ) + h

s

X

j=1

b j x 0 (t n + c j h) + O(h k

E

+1 ) and

x(t n + c i h) = x(t n ) + h

s

X

j=1

a ij x 0 (t n + c j h) + O(h k

I

+1 ) (i = 1, . . . , s)

(note that an IRK of order k E satisfies the condition B(k E ): P

j b j c l−1 j = 1/l, l = 1, . . . , k E [But87]). Inserting the analytical solution x(t) in the Runge–Kutta equations (2) we therefore get a defect of order δ ϕ,P E , δ E ϕ,Q = O(h k

E

), δ I ϕ = O(h k

I

), δ ψ = 0 (set b x n = x(t n ), x b (i) n+1 = x(t n + c i h), x b (i) 0 n+1 = x 0 (t n + c i h) in (5)). Thus stability estimate (6) gives the proof of

Theorem 3. Suppose that IRK (2) has a non-singular Runge–Kutta matrix A and satisfies the contractivity condition (3). Applying (2) to a transferable DAE (1) with smooth solution the method is convergent with order min(k E , k I + 1) (x 0 := x(t 0 )).

We thus have convergence for Radau IA, Radau IIA and Lobatto IIIC methods since these methods satisfy the assumptions of Theorem 3 (see [But87]). The order of convergence (for transferable DAE’s) is s (Radau IA and Lobatto IIIC methods) or min(2s − 1, s + 1) (Radau IIA methods). Theorem 3 does not apply to Gauß–Legendre methods (because of |R(∞)| = 1) and to Lobatto IIIA and Lobatto IIIB methods (since A is singular). Furthermore, for IRK(DAE) we get order min(k E , k I + 1) only. Until now we have no idea how to show order k E as in the special case of ker f y 0 (y, x, t) ≡ N (and as suggested by the numerical tests discussed in [Pe86]).

In practical applications DAE’s appear that have non-differentiable solution components. For such DAE’s Griepentrog and M¨ arz [GM86, §1.2] introduce the concept of generalized solutions. A continuous function x(t) is called a generalized solution of DAE (1) if the projection P (t)x(t) is continuously differentiable and (7) f ((P (t)x(t)) 0 − P 0 (t)x(t), x(t), t) = 0

is satisfied (because of x 0 (t) = P (t)x 0 (t) + Q(t)x 0 (t) = (P (t)x(t)) 0 − P 0 (t)x(t) +

(5)

Q(t)x 0 (t) and Q(t)x 0 (t) ∈ ker f y 0 (y, x, t), a smooth solution of (1) also satisfies (7)). We have

Theorem 4. Under the assumptions of Theorem 3, IRK (2) (of classical or- der k E ≥ 1) applied to a transferable DAE (1) with generalized solution x(t) is convergent with order 1, provided that x(t) and the derivatives (P (t)x(t)) 0 and Q 0 (t) are Lipschitz-continuous.

P r o o f. To use the stability estimate (6) we set x b n = x(t n ), x b (i) n+1 = x(t n +c i h) as before and choose now x b (i) 0 n+1 = (P x) 0 (t n + c i h) − (P 0 x)(t n + c i h). Then δ ψ = 0, δ E ϕ,Q = O(1) and δ ϕ I = O(1) follow immediately. Because of k E ≥ 1 the order condition P

j b j = 1 is satisfied and thus P (t n+1 )ϕ n+1 = P (t n+1 )(x(t n+1 ) − x(t n ))

h

− X

j

b j P (t n+1 )((P x) 0 (t n + c j h) − (P 0 x)(t n + c j h))

= P (t n+1 ) X

j

b j

 (P x)(t n+1 ) − (P x)(t n )

h − (P x) 0 (t n + c j h)



−  P (t n+1 ) − P (t n )

h x(t n ) − (P 0 x)(t n + c j h)



.

Applying the mean-value theorem to (P x)(·) and P (·) we get δ ϕ,P E = O(h) and order 1 of convergence (see (6)).

4. Technical details. In this section the proofs of Theorems 1 and 2 are given.

P r o o f o f T h e o r e m 1. We define Q i = Q(t n + c i h) and P i = P (t n + c i h) and get Q i P i = P i Q i = 0, Q i + P i = I, Q 2 i = Q i and P i 2 = P i . With the notations

u i = P i x (i) n+1 , w i = Q i x (i) n+1 + P i x (i) 0 n+1 , v i = Q i x (i) 0 n+1 IRK (2) reads

(8) x n+1 = u i + Q i w i , x (i) 0 n+1 = P i w i + v i

and

f (w i + v i − Q i w i , u i + Q i w i , t n + c i h) = 0 , (9)

u i + Q i w i = x n + h X

j

a ij (P j w j + v j ) ; (10)

Q i is a projector onto ker f y 0 (y, x, t n + c i h), so that

(11) f (w i , u i + Q i w i , t n + c i h) = 0

because of (9) (cf. [GM86, §1.2, Theorem 1]).

(6)

Equation (10) implies

(12) hv j = X

k

a jk (u k + Q k w k − x n ) − hP j w j

with a jk the elements of the matrix A −1 . We multiply (12) by Q j , apply Q j v j = v j , Q j P j w j = 0 and Q j (u k + Q k w k − x n ) = Q k w k − Q k x n + (Q j − Q k )(u k + Q k w k − x n ) and get

(13) h X

j

a ij v j = Q i w i − Q i x n + X

j,k

a ij a jk (Q j − Q k )(u k + Q k w k − x n ) , (14) u i − X

j,k

a ij a jk (Q j − Q k )(u k + Q k w k ) − h X

j

a ij P j w j

= P i x n − X

j,k

a ij a jk (Q j − Q k )x n . Equations (14) and (11) form a system of 2ms equations with 2s unknown vectors u 1 , . . . , u s , w 1 , . . . , w s . The Jacobian of this system has the form

(15) J =  I + O(h) O(h)

O(1) G



with I the identity matrix of order ms and G = diag

i

(G(w i , u i + Q i w i , t n + c i h)), G(y, x, t) = f y 0 (y, x, t) + f x 0 (y, x, t)Q(t) (note that Q j −Q k = O(h) ). Because of the transferability of DAE (1), the matrix G is regular and has a bounded inverse, thus for sufficiently small stepsizes h the Jacobian J is regular as well and has a bounded inverse. Due to Hadamard’s theo- rem (see e.g. [ORh70]) (14) and (11) have a unique solution u 1 , . . . , u s , w 1 , . . . , w s . Subsequently, x n+1 is computed using (2) and (8).

P r o o f o f T h e o r e m 2. First we will give estimates for kP + ( b x n+1 −x n+1 )k and kQ + ( b x n+1 −x n+1 )k in terms of kP 0 ( b x n −x n )k, kQ 0 ( b x n −x n )k, δ E ϕ,P , δ ϕ,Q E , δ ϕ I and δ ψ (where P 0 = P (t n ), Q 0 = Q(t n ), P + = P (t n+1 ), Q + = Q(t n+1 )). Similarly to (13) we obtain

b x n − x n + h X

j

b j ( b v j − v j ) = P + ( b x n − x n ) +



1 − X

j,k

b j a jk



Q + ( b x n − x n ) + Q +

X

j,k

b j a jk Q k ( w b k − w k ) − hQ +

X

j,k

b j a jk ϕ (k) n+1 + R with

R = X

j,k

b j a jk ((Q j −Q k )( u b k −u k )+(Q j −Q + )(Q k ( w b k −w k )−( x b n −x n )−hϕ (k) n+1 )) .

The projections of b x n+1 − x n+1 are given by

(7)

P + ( b x n+1 − x n+1 ) = P 0 ( b x n − x n ) + (P + − P 0 )( b x n − x n ) (16)

+ h X

j

b j P + P j ( w b j − w j ) + hP + ϕ n+1 + P + R ,

Q + ( b x n+1 − x n+1 ) =



1 − X

j,k

b j a jk



Q 0 ( b x n − x n ) (17)

+



1 − X

j,k

b j a jk



(Q + − Q 0 )( x b n − x n ) + Q +

X

j,k

b j a jk Q k ( w b k − w k ) + h X

j

b j Q + P j ( w b j − w j ) + hQ + ϕ n+1

− hQ + X

j,k

b j a jk ϕ (k) n+1 + Q + R .

The vectors u i , w i and b u i , w b i are solutions of the systems of equations (14), (11) and

(18) b u i − X

j,k

a ij a jk (Q j − Q k )( b u k + Q k w b k ) − h X

j

a ij P j w b j

= P i x b n − X

j,k

a ij a jk (Q j − Q k ) b x n + hP i ϕ (i) n+1 − h X

j,k

a ij a jk (Q j − Q k(k) n+1 , (19) f ( w b i , b u i + Q i w b i , t n + c i h) = ψ (i) n+1

respectively. (System (18), (19) has a unique solution b u 1 , . . . , b u s , w b 1 , . . . , w b s (cf.

the proof of Theorem 1).) For sufficiently small stepsizes h the Jacobian J of these systems (cf. (15)) has a uniformly bounded inverse, so that the implicit function theorem gives

(20) k b u i − u i k + k w b i − w i k

≤ O(1)kP 0 ( b x n − x n )k + O(h)kQ 0 ( x b n − x n )k + O(h)δ ϕ I + O(1)δ ψ . (Note that P i ( b x n − x n ) = P 0 ( b x n − x n ) + (P i − P 0 )( x b n − x n ), Q j − Q k = O(h) and x b n − x n = P 0 ( b x n − x n ) + Q 0 ( x b n − x n ).) We insert (20) in (16) and (17) and arrive at

(21)

kP + ( x b n+1 − x n+1 )k ≤ (1 + Ch)kP 0 ( b x n − x n )k + ChkQ 0 ( x b n − x n )k + hC∆

kQ + ( x b n+1 − x n+1 )k ≤ CkP 0 ( b x n − x n )k

+ (α + Ch)kQ 0 ( b x n − x n )k + C∆

with ∆ = δ ϕ,P E + hδ ϕ,Q E + hδ ϕ I + δ ψ , a constant C ≥ 0 (independent of h, n and

∆) and α = 1 − P

j,k b j a jk , i.e., α is the value of the stability function at infinity:

α = R(∞).

(8)

Because of the contractivity condition (3), Lemma 1 (see below) is applicable here with y n = kP (t n )( x b n − x n )k, z n = kQ(t n )( x b n − x n )k, n ≥ 0, and gives the stability estimate (2).

Lemma 1. Let sequences (y n ) and (z n ) of non-negative numbers be given that satisfy

y n+1 ≤ (1 + hL)y n + hM z n + hδ, z n+1 ≤ N y n + (α + hγ)z n + δ with non-negative constants L, M , N , α, γ, δ and α < 1.

Then there is an h > 0 so that for all h ∈ (0, h ]

y n + z n ≤ C (1 + hL ) n (y 0 + (α n + h)z 0 + (1 + nh)δ) with constants C and L independent of h and δ.

P r o o f. The proof is similar to that of Lemma 2 in [DHZ87] (cf. also [Arn90]).

References

[Arn90] M. A r n o l d, Numerische Behandlung von semi-expliziten Algebrodifferentialgleichun- gen vom Index 1 mit linear-impliziten Verfahren, PhD thesis, Martin-Luther-Univer- sit¨ at Halle, Sektion Mathematik, 1990.

[But87] J. C. B u t c h e r, The Numerical Analysis of Ordinary Differential Equations: Runge–

Kutta and General Linear Methods, Wiley, Chichester 1987.

[DHZ87] P. D e u f l h a r d, E. H a i r e r and J. Z u g c k, One-step and extrapolation methods for differential-algebraic systems, Numer. Math. 51 (1987), 501–516.

[GM86] E. G r i e p e n t r o g and R. M ¨ a r z, Differential-Algebraic Equations and Their Numer- ical Treatment , Teubner-Texte Math. 88, Leipzig 1986.

[HLR89] E. H a i r e r, Ch. L u b i c h and M. R o c h e, The Numerical Solution of Differential- Algebraic Systems by Runge–Kutta Methods, Lecture Notes in Math. 1409, Springer, Berlin 1989.

[Ob90] H. O b e r d ¨ o r f e r, Zur numerischen Behandlung von Algebrodifferentialgleichungen mit Runge–Kutta-Verfahren, PhD thesis, Ernst-Moritz-Arndt-Universit¨ at Greifswald, Sektion Mathematik, 1990.

[ORh70] J. M. O r t e g a and W. C. R h e i n b o l d t, Iterative Solution of Nonlinear Equations in Several Variables, Academic Press, New York 1970.

[Pe86] L. R. P e t z o l d, Order results for implicit Runge–Kutta methods applied to differen-

tial/algebraic systems, SIAM J. Numer. Anal. 23 (1986), 837–852.

Cytaty

Powiązane dokumenty

Door het toepassen van elastischer materialen en het groeiende belang het effect te kennen van de relatieve verplaatsing tussen kabel en schijf op de kabellevensduur, is onderzoek

In the case of a direct solver, the ordering of the unknowns suggested in (29), that is, first all velocity unknowns and then all pressure unknowns appears to be very inefficient,

Section 3 describes a discretization of the Navier-Stokes equations with the aid of DGFE method and a linearization of the inviscid and the viscous fluxes, which yields to a

It was proven that the block Jacobi preconditioner is order optimal with respect to the timestep and the spatial discretization parameters, assuming that the preconditioner for

This code solves the Navier-Stokes equations for reacting gas mixtures using a third-order upwind- biased finite volume method for the inviscid fluxes and a second-order

võ!øû'ì'òOšÊì *òRöõ"ÿEøñÄìCóòñ GðþñÄìM-"òfþì3ð5½ÿEõ øõ...

In this paper, the method of solving second order ordinary differential equation will be presented by transforming this equation in the system of differential equa- tions of the

ARKODE – solves initial value ODE problems with additive Runge-Kutta methods, include support for IMEX methods IDA – solves initial value problems for differential-algebraic