Symplectic Algorithm
   HOME

TheInfoList



OR:

In
mathematics Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, a symplectic integrator (SI) is a numerical integration scheme for Hamiltonian systems. Symplectic integrators form the subclass of
geometric integrator In the mathematical field of numerical ordinary differential equations, a geometric integrator is a numerical method that preserves geometric properties of the exact flow of a differential equation. Pendulum example We can motivate the study of ge ...
s which, by definition, are canonical transformations. They are widely used in nonlinear dynamics, molecular dynamics, discrete element methods, accelerator physics, plasma physics,
quantum physics Quantum mechanics is a fundamental theory in physics that provides a description of the physical properties of nature at the scale of atoms and subatomic particles. It is the foundation of all quantum physics including quantum chemistry, qua ...
, and celestial mechanics.


Introduction

Symplectic integrators are designed for the numerical solution of Hamilton's equations, which read :\dot p = -\frac \quad\mbox\quad \dot q = \frac, where q denotes the position coordinates, p the momentum coordinates, and H is the Hamiltonian. The set of position and momentum coordinates (q,p) are called
canonical coordinates In mathematics and classical mechanics, canonical coordinates are sets of coordinates on phase space which can be used to describe a physical system at any given point in time. Canonical coordinates are used in the Hamiltonian formulation of ...
. (See Hamiltonian mechanics for more background.) The time evolution of Hamilton's equations is a symplectomorphism, meaning that it conserves the symplectic
2-form In mathematics, differential forms provide a unified approach to define integrands over curves, surfaces, solids, and higher-dimensional manifolds. The modern notion of differential forms was pioneered by Élie Cartan. It has many applications, ...
dp \wedge dq. A numerical scheme is a symplectic integrator if it also conserves this 2-form. Symplectic integrators also might possess, as a conserved quantity, a Hamiltonian which is slightly perturbed from the original one (only true for a small class of simple cases). By virtue of these advantages, the SI scheme has been widely applied to the calculations of long-term evolution of chaotic Hamiltonian systems ranging from the Kepler problem to the classical and semi-classical simulations in molecular dynamics. Most of the usual numerical methods, like the primitive Euler scheme and the classical Runge–Kutta scheme, are not symplectic integrators.


Methods for constructing symplectic algorithms


Splitting methods for separable Hamiltonians

A widely used class of symplectic integrators is formed by the splitting methods. Assume that the Hamiltonian is separable, meaning that it can be written in the form This happens frequently in Hamiltonian mechanics, with ''T'' being the kinetic energy and ''V'' the
potential energy In physics, potential energy is the energy held by an object because of its position relative to other objects, stresses within itself, its electric charge, or other factors. Common types of potential energy include the gravitational potentia ...
. For the notational simplicity, let us introduce the symbol z=(q,p) to denote the canonical coordinates including both the position and momentum coordinates. Then, the set of the Hamilton's equations given in the introduction can be expressed in a single expression as where \ is a
Poisson bracket In mathematics and classical mechanics, the Poisson bracket is an important binary operation in Hamiltonian mechanics, playing a central role in Hamilton's equations of motion, which govern the time evolution of a Hamiltonian dynamical system. Th ...
. Furthermore, by introducing an operator D_H \cdot = \, which returns a
Poisson bracket In mathematics and classical mechanics, the Poisson bracket is an important binary operation in Hamiltonian mechanics, playing a central role in Hamilton's equations of motion, which govern the time evolution of a Hamiltonian dynamical system. Th ...
of the operand with the Hamiltonian, the expression of the Hamilton's equation can be further simplified to :\dot=D_H z. The formal solution of this set of equations is given as a matrix exponential: Note the positivity of \tau D_H in the matrix exponential. When the Hamiltonian has the form of equation (), the solution () is equivalent to The SI scheme approximates the time-evolution operator \exp tau (D_T + D_V)/math> in the formal solution () by a product of operators as where c_i and d_i are real numbers, k is an integer, which is called the order of the integrator, and where \sum_^k c_i = \sum_^k d_i = 1. Note that each of the operators \exp(c_i \tau D_T) and \exp(d_i \tau D_V) provides a symplectic map, so their product appearing in the right-hand side of () also constitutes a symplectic map. Since D_T^2 z = \ = \ = (0,0) for all z, we can conclude that By using a Taylor series, \exp(a D_T) can be expressed as where a is an arbitrary real number. Combining () and (), and by using the same reasoning for D_V as we have used for D_T, we get In concrete terms, \exp(c_i \tau D_T) gives the mapping : \begin q \\ p \end \mapsto \begin q + \tau c_i \frac(p)\\ p \end, and \exp(d_i \tau D_V) gives : \begin q \\ p \end \mapsto \begin q \\ p - \tau d_i \frac(q)\\ \end. Note that both of these maps are practically computable.


Examples

The simplified form of the equations (in executed order) are: :q_ = q_ + c_ \fract :p_ = p_ + d_ F(q_) t After converting into Lagrangian coordinates: :x_ = x_ + c_ v_ t :v_ = v_ + d_ a(x_) t Where F(x) is the force vector at x, a(x) is the acceleration vector at x, and m is the scalar quantity of mass. Several symplectic integrators are given below. An illustrative way to use them is to consider a particle with position q and momentum p. To apply a timestep with values c_, d_ to the particle, carry out the following steps: Iteratively: * Update the position i of the particle by adding to it its (previously updated) velocity i multiplied by c_i * Update the velocity i of the particle by adding to it its acceleration (at updated position) multiplied by d_i


A first-order example

The
symplectic Euler method In mathematics, the semi-implicit Euler method, also called symplectic Euler, semi-explicit Euler, Euler–Cromer, and Newton–Størmer–Verlet (NSV), is a modification of the Euler method for solving Hamilton's equations, a system of ordinary dif ...
is the first-order integrator with k=1 and coefficients :c_1 = d_1 = 1. Note that the algorithm above does not work if time-reversibility is needed. The algorithm has to be implemented in two parts, one for positive time steps, one for negative time steps.


A second-order example

The Verlet method is the second-order integrator with k=2 and coefficients :c_1 = 0, \qquad c_2 = 1, \qquad d_1 = d_2 = \tfrac 1 2. Since c_1 = 0, the algorithm above is symmetric in time. There are 3 steps to the algorithm, and step 1 and 3 are exactly the same, so the positive time version can be used for negative time.


A third-order example

A third-order symplectic integrator (with k=3) was discovered by Ronald Ruth in 1983. One of the many solutions is given by : \begin c_1 &= 1, & c_2 &= -\tfrac, & c_3 &= \tfrac, \\ d_1 &=-\tfrac, & d_2 &= \tfrac, & d_3 &= \tfrac. \end


A fourth-order example

A fourth-order integrator (with k=4) was also discovered by Ruth in 1983 and distributed privately to the particle-accelerator community at that time. This was described in a lively review article by Forest. This fourth-order integrator was published in 1990 by Forest and Ruth and also independently discovered by two other groups around that same time. : \begin c_1 &= c_4 = \frac, & c_2 &= c_3 = \frac, \\ d_1 &= d_3 = \frac, & d_2 &= -\frac, \quad d_4 = 0. \end To determine these coefficients, the Baker–Campbell–Hausdorff formula can be used. Yoshida, in particular, gives an elegant derivation of coefficients for higher-order integrators. Later on, Blanes and Moan further developed partitioned Runge–Kutta methods for the integration of systems with separable Hamiltonians with very small error constants.


Splitting methods for general nonseparable Hamiltonians

General nonseparable Hamiltonians can also be explicitly and symplectically integrated. To do so, Tao introduced a restraint that binds two copies of phase space together to enable an explicit splitting of such systems. The idea is, instead of H(Q,P), one simulates \bar(q,p,x,y) = H(q,y) + H(x,p) + \omega \left(\left\, q-x\right\, _2^2/2 + \left\, p-y\right\, _2^2/2\right), whose solution agrees with that of H(Q,P) in the sense that q(t)=x(t)=Q(t),p(t)=y(t)=P(t). The new Hamiltonian is advantageous for explicit symplectic integration, because it can be split into the sum of three sub-Hamiltonians, H_A=H(q,y), H_B=H(x,p), and H_C = \omega \left(\left\, q-x\right\, _2^2/2 + \left\, p-y\right\, _2^2/2\right). Exact solutions of all three sub-Hamiltonians can be explicitly obtained: both H_A, H_B solutions correspond to shifts of mismatched position and momentum, and H_C corresponds to a linear transformation. To symplectically simulate the system, one simply composes these solution maps.


Applications


In plasma physics

In recent decades symplectic integrator in plasma physics has become an active research topic, because straightforward applications of the standard symplectic methods do not suit the need of large-scale plasma simulations enabled by the peta- to exa-scale computing hardware. Special symplectic algorithms need to be customarily designed, tapping into the special structures of physics problem under investigation. One such example is the charged particle dynamics in an electromagnetic field. With the canonical symplectic structure, the Hamiltonian of the dynamics is H(\boldsymbol,\boldsymbol)=\frac\left(\boldsymbol-\boldsymbol\right)^+\phi, whose \boldsymbol-dependence and \boldsymbol-dependence are not separable, and standard explicit symplectic methods do not apply. For large-scale simulations on massively parallel clusters, however, explicit methods are preferred. To overcome this difficulty, we can explore the specific way that the \boldsymbol-dependence and \boldsymbol-dependence are entangled in this Hamiltonian, and try to design a symplectic algorithm just for this or this type of problem. First, we note that the \boldsymbol-dependence is quadratic, therefore the first order symplectic Euler method implicit in \boldsymbol is actually explicit. This is what is used in the canonical symplectic particle-in-cell (PIC) algorithm. To build high order explicit methods, we further note that the \boldsymbol-dependence and \boldsymbol-dependence in this H(\boldsymbol,\boldsymbol) are product-separable, 2nd and 3rd order explicit symplectic algorithms can be constructed using generating functions, and arbitrarily high-order explicit symplectic integrators for time-dependent electromagnetic fields can also be constructed using Runge-Kutta techniques. A more elegant and versatile alternative is to look at the following non-canonical symplectic structure of the problem, i_\Omega=-dH,\ \ \ \Omega=d(\boldsymbol+\boldsymbol)\wedge d\boldsymbol,\ \ \ H=\frac\boldsymbol^+\phi. Here \Omega is a non-constant non-canonical symplectic form. General symplectic integrator for non-constant non-canonical symplectic structure, explicit or implicit, is not known to exist. However, for this specific problem, a family of high-order explicit non-canonical symplectic integrators can be constructed using the He splitting method. Splitting H into 4 parts, \begin H & = H_ + H_ + H_ + H_,\\ H_ &= \fracv_^,\ \ H_ = \fracv_^,\ \ H_ = \fracv_^,\ \ H_ = \phi, \end we find serendipitously that for each subsystem, e.g., i_\Omega=-dH_ and i_\Omega=-dH_, the solution map can be written down explicitly and calculated exactly. Then explicit high-order non-canonical symplectic algorithms can be constructed using different compositions. Let \Theta_,\Theta_,\Theta_ and \Theta_ denote the exact solution maps for the 4 subsystems. A 1st-order symplectic scheme is \begin \Theta_\left(\Delta\tau\right)=\Theta_\left(\Delta\tau\right)\Theta_\left(\Delta\tau\right)\Theta_\left(\Delta\tau\right)\Theta_\left(\Delta\tau\right)~.\end A symmetric 2nd-order symplectic scheme is, \begin \Theta_\left(\Delta\tau\right) & =\Theta_\left(\Delta\tau/2\right)\Theta_\left(\Delta\tau/2\right)\Theta_\left(\Delta\tau/2\right)\Theta_\left(\Delta\tau\right)\\ & \Theta_\left(\Delta t/2\right)\Theta_\left(\Delta t/2\right)\Theta_\left(\Delta t/2\right)\!, \end which is a customarily modified Strang splitting. A 2(l+1)-th order scheme can be constructed from a 2l-th order scheme using the method of triple jump, \begin \Theta_(\Delta\tau) & =\Theta_(\alpha_\Delta\tau)\Theta_(\beta_\Delta\tau)\Theta_(\alpha_\Delta\tau)~,\\ \alpha_ & =1/(2-2^)~,\\ \beta_ & =1-2\alpha_~. \end The He splitting method is one of key techniques used in the structure-preserving geometric particle-in-cell (PIC) algorithms.


See also

*
Energy drift In computer simulations of mechanical systems, energy drift is the gradual change in the total energy of a closed system over time. According to the laws of mechanics, the energy should be a constant of motion and should not change. However, in sim ...
* Multisymplectic integrator *
Variational integrator Variational integrators are numerical integrators for Hamiltonian systems derived from the Euler–Lagrange equations of a discretized Hamilton's principle. Variational integrators are momentum-preserving and symplectic. Derivation of a simpl ...
* Verlet integration


References

* * * {{numerical integrators Numerical differential equations Hamiltonian mechanics