Research Letters in Physics

Volume 2008 (2008), Article ID 168231, 5 pages

http://dx.doi.org/10.1155/2008/168231

## An Energy-Work Relationship Integration Scheme for Nonconservative Hamiltonian Systems

^{1}Institute of Mathematical Physics, Zhejiang Sci-Tech University, Hangzhou 310018, China^{2}College of Mechanics and Automatization Control, Zhejiang Sci-Tech University, Hangzhou 310018, China

Received 13 March 2008; Accepted 1 May 2008

Academic Editor: Eric G. Blackman

Copyright © 2008 Fu Jingli et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

This letter focuses on studying a new energy-work relationship numerical integration scheme of nonconservative Hamiltonian systems. The signal-stage, multistage, and parallel composition numerical integration schemes are presented for this system. The high-order energy-work relation scheme of the system is constructed by a parallel connection of multistage scheme of order 2 which its order of accuracy is 2. The connection, which is discrete analog of usual case, between the change of energy and work of nonconservative force is obtained for nonconservative Hamiltonian systems.This letter also shows that the more the stages of the schemes are, the less the error rate of the scheme is for nonconservative Hamiltonian systems. Finally, an applied example is discussed to illustrate these results.

#### 1. Introduction

Recently, there have been a great number of studies on the so-called geometric numerical integration scheme which preserve the structure of systems [1–3]. Leimkuher and Reich pointed out that the geometric numerical integrators are time-stepping methods, designed such that they exactly satisfy conservation laws, symmetries or symplectic properties of a system of differential equations [1]. Hairer et al. presented the symplectic integration of separable Hamiltonian ordinary and partial differential equations. In this way, the symplectic scheme is performed prior to the spatial step as opposed to the standard approach of spatially discrediting the PDE to form a system of Hamiltonian ODEs to which a symplectic integrator can be applied [2]. An energy-conserving scheme is one of such geometric numerical integration scheme [4–8]. It is very known that a high-order scheme can be constructed by connecting low-order scheme in series (hereafter we will call it series composition) [1–3]. Now, the high-order energy-conserving scheme has been constructed with method [9]. In this letter, we will present a new numerical integration scheme, which is energy-work relation integration scheme, of nonconservative Hamiltonian systems. This work also study that a high-order energy-work relation scheme, which it has a structure connecting the order 2 multistage scheme in parallel scheme (hereafter we will call it parallel composition scheme), can be constructed by connecting low-order scheme in series.

#### 2. Numerical Integration for Nonconservative Hamiltonian Systems

Let the configuration of a mechanical system is
described by *n* generalized coordinates and *n* gener-alized momentums .
Suppose the system is subjected to *n* nonpotential generalized forces .
The gener-alized Hamiltonian canonical equations of system as here, the Hamiltonian which represents the total energy. The relationship
between the change of energy and the power of nonconservative force is easily
verified as The numerical integration is considered as the
discretization of which are obtained by integrating both sides of (1) on
the interval , where is the step size.

#### 3. Second-Order Schemes of Numerical Integration for Nonconservative Hamiltonian Systems

##### 3.1. Single-Stage Scheme

Let and be the numerical approximations of and , respectively. Then a 1-stage scheme is given by

with

The notations and denote the partial difference quotient operators with respect to and , respectively, which are defined as

where and are the shift operators defined as

The notations and denote the mean difference operators with respect to all variables except for and , respectively, which are defined as

with

where per(*A*)
denotes the permanent or plus determinant of a matrix *A* [10]. For example, in the case *d* = 1, we have

The operators , and have symmetry expressed as

##### 3.2. Relation between the Energy and Work of Nonconservative Force for Nonconservative Hamiltonian Systems

Proposition 1. *The relation between the energy and work of nonconservative
force for nonconservative Hamiltonian system holds: *

*Proof. *For simplicity, we set

We first note the identity

It follows that where we have used the properties of the permanent and
the definitions of operators (7)–(10) [10].

Proposition 2. *The scheme (1)(6) satisfies the relation between the change of energy
and the work of nonconservative force for the system.*

*Proof. *We see from the chain rule (13) that the change
of energy is equivalent to the work of nonconservative
force:

which is a discrete analog of (3).

##### 3.3. Order of Accuracy

The local errors involved in the determination of from are , that is, and in the scheme (5) are the second-order approximations of the integrals in (4), respectively. Although this can be proved by the Taylor expansions, it is obvious because the scheme is symmetric (see Section 4.3).

##### 3.4. Multistage Scheme

An *c*-stage
scheme is constructed by connecting the second-order scheme with small
integration interval of length in series:

with

where and are the internal stage variables. It should be noted that the above scheme is equivalent to the scheme:

The latter scheme (20) will be used in the next section to construct a higher-order scheme.

It is obvious for the *c*-stage that the relationship
between the change of energy and the work of nonconservative force is exactly equivalent
and that the order of accuracy is 2. We point out here that the local error is expressed as .

#### 4. Higher-Order Schemes of Numerical Integration for Nonconservative Hamiltonian Systems

##### 4.1. Parallel Composition Scheme

Let be arbitrary positive integers satisfying

then a new scheme is constructed by connection schemes of order 2 in parallel: with the weights

where

##### 4.2. Relation between the Change of Energy and Work of Nonconservative Force

Proposition 3. * The scheme (23) with the condition ** satisfies relationship between the change of energy
and work of nonconservative force for nonconservative Hamiltonian systems*

*Proof. *We first note

We see from Proposition 1 that

It follows from (25)–(27) that

We obtain from (22)

Substituting (29) into (28) yields

which is a discrete analog of that relation between
the change of energy and work of nonconservative force for the systems (17).

##### 4.3. Order of a Symmetric Scheme

Proposition 4. *Consider the scheme (22) as
mapping ** and let be the inverse mapping of . Then,
one has ** That is, the scheme is symmetric*

*Proof. *The inverse is obtained by exchanging and .
Replacing by and rearranging terms in leads to the mapping .
For this ,
setting

and omitting the tilde, we can obtain . Therefore,
form (31) holds.

Proposition 5. * If one chooses the weights as (23), the accuracy of the scheme (22) is at
least of order .*

*Proof. *It is known that if a one-step scheme is
symmetric, its order of accuracy is even [1, 2]. Therefore, the local error of
the scheme is with a positive integer *r*. We first choose such that

Since the error of , ,
and are ,
the error of is expressed as

If one chooses such that

then the -term in the error of vanishes. Since the error of is of odd order, it becomes .
The -term in the error -term in the error of is expressed as

These procedures can be repeated. The final condition for is

Therefore, if one chooses such that they satisfy the *n* simultaneous linear equations:

then the error of is .
Since the solution of (39) is given by (23), the order of accuracy is 2*u*.

#### 5. A Numerical Example

Consider the motion of a particle with unit mass whose Hamiltonian is

and the motion of the system is subjected to nonpotential force

where *b* is a constant.

The equation of motion of nonconservative particle is

The analytic solution of (42) is given by

which have the period . We take the initial conditions:

and the calculation time . The parallel composition scheme with

was used. We calculated the global error given by

where .
Since the global error *e*(*t*) is about times the local error, *e*(*t*) is expressed as .

We should point out that the local error of the parallel composition is expressed as

the more the stages of the schemes are, the smaller the error of the scheme for nonconservative Hamiltonian systems.

#### 6. Conclusion

In this paper, the new numerical integration schemes of nonconservative Hamilton systems are established. This study has given that the numerical connection between energy of system and work of nonconservative force is an analog of usual energy-work connection, and the numerical connection between the high-order energy-work is also contented. Numerical results showed that the more the stages of the schemes are, the smaller the error of the scheme for nonconservative Hamiltonian systems.

#### Acknowledgments

This work is supported by the National Natural Science Foundation of China(10672143; 60575055) and the Natural Science Foundation of Henan Province, China (Grant no. 0511022200)

#### References

- B. Leimkuhler and S. Reich,
*Simulating Hamiltonian Dynamics*, Cambridge University Press, Cambridge, UK, 2004. - E. Hairer, C. Lubich, and G. Wanner,
*Geometric Numerical Integration: Structure-Preserving Algorithms for Ordinary Differential Equations*, Springer, Berlin, Germany, 2006. - J. M. Sanz-Serna and M. P. Calvo,
*Numerical Hamiltonian Problems*, Chapman & Hall, London, UK, 1994. - D. Greenspan, “Conservative numerical methods for $\ddot{x}=f(x)$,”
*Journal of Computational Physics*, vol. 56, no. 1, pp. 28–41, 1984. View at Publisher · View at Google Scholar - D. Greenspan,
*N-Body Problems and Models*, World Scientific, Singapore, 2004. - T. Itoh and K. Abe, “Hamiltonian-conserving discrete canonical equations based on variational difference quotients,”
*Journal of Computational Physics*, vol. 76, no. 1, pp. 85–102, 1988. View at Publisher · View at Google Scholar - C. W. Gear, “Invariants and numerical methods for ODEs,”
*Physica D*, vol. 60, no. 1–4, pp. 303–310, 1992. View at Publisher · View at Google Scholar - T. Matsuo, “High-order schemes for conservative or dissipative systems,”
*Journal of Computational and Applied Mathematics*, vol. 152, no. 1-2, pp. 305–317, 2003. View at Publisher · View at Google Scholar - I. Yuji, “A high-order energy-conserving integration scheme for Hamiltonian systems,”
*Physics Letters A*, vol. 372, no. 10, pp. 1562–1573, 2008. View at Publisher · View at Google Scholar - H. Minc,
*Permanents*, Addison-Wesley, Reading, Mass, USA, 1978.