Math 2.0

Numerical analysis Definition

Energy drift

Builds on Hamiltonian systemSymplectic integrator

Definition

Let H ⁣:ℝ2d→ℝH \colon \R^{2d} \to \R be smooth, and consider the Hamiltonian system y′=J∇H(y)y' = J \nabla H(y), where J=(0I−I0)J = \begin{pmatrix} 0 & I \\ -I & 0 \end{pmatrix}; its exact solutions satisfy H(y(t))=H(y(0))H(y(t)) = H(y(0)). Let a numerical method with fixed step size h>0h > 0 produce the sequence y0,y1,y2,…y_0, y_1, y_2, \ldots from y0y_0. The energy error at step nn is en=H(yn)−H(y0)e_n = H(y_n) - H(y_0). The method shows energy drift on this problem if the energy error has a systematic trend in time. This means that ∣en∣\abs{e_n} is not bounded uniformly in nn but grows with the time tn=nht_n = n h.

Remarks

Example: for H(q,p)=12(q2+p2)H(q, p) = \frac12 (q^2 + p^2), the explicit Euler method qn+1=qn+hpnq_{n+1} = q_n + h p_n, pn+1=pn−hqnp_{n+1} = p_n - h q_n gives qn+12+pn+12=(1+h2)(qn2+pn2)q_{n+1}^2 + p_{n+1}^2 = (1 + h^2)(q_n^2 + p_n^2). So H(yn)=(1+h2)nH(y0)H(y_n) = (1 + h^2)^n H(y_0), and the energy error grows exponentially in nn: the method has energy drift. Non-example: the symplectic Euler method pn+1=pn−hqnp_{n+1} = p_n - h q_n, qn+1=qn+hpn+1q_{n+1} = q_n + h p_{n+1} is a linear map of determinant 11 and trace 2−h22 - h^2. For 0<h<20 < h < 2 its eigenvalues are distinct and of modulus 11, so the sequence yny_n is bounded and so is ene_n. There is no drift, only a bounded oscillation of size O(h)O(h). More generally, let HH be analytic and use a symplectic integrator of order pp. If the numerical solution stays in a compact set, backward error analysis gives en=O(hp)e_n = O(h^p) over times exponentially long in 1/h1/h. In floating-point arithmetic, round-off adds a slow random-walk drift even to such methods.

Reading path

To understand this page from the ground up, read these 3 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Hamiltonian system concept
  2. Symplectic integrator concept
  3. Energy drift definition

Further reading

  1. Web https://en.wikipedia.org/wiki/Energy_drift
About this page
TagM8DEV2YM2S
URIm2://M8DEV2YM2S
Kinddefinition
WritingW0 stub
MSC65P10, 65L20
DefinesEnergy drift
UsesHamiltonian system, Symplectic integrator

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.