Lagrangian and Dirac constraints for the ideal incompressible fluid and magnetohydrodynamics
Abstract
The incompressibility constraint for fluid flow was imposed by Lagrange in the so-called Lagrangian variable description using his method of multipliers in the Lagrangian (variational) formulation. An alternative is the imposition of incompressibility in the Eulerian variable description by a generalization of Dirac’s constraint method using noncanonical Poisson brackets. Here it is shown how to impose the incompressibility constraint using Dirac’s method in terms of both the canonical Poisson brackets in the Lagrangian variable description and the noncanonical Poisson brackets in the Eulerian description, allowing for the advection of density. Both cases give dynamics of infinite-dimensional geodesic flow on the group of volume preserving diffeomorphisms and explicit expressions for this dynamics in terms of the constraints and original variables is given. Because Lagrangian and Eulerian conservation laws are not identical, comparison of the various methods is made.
1 Introduction
1.1 Background
Sometimes constraints are maintained effortlessly, an example being in electrodynamics which if initially true remains true, while alternatively in most cases dynamical equations must be modified to maintain constraints, an example being in fluid mechanics. The need to apply constraints arises in a variety of contexts, ranging from gauge field theories (e.g. Sundermeyer, 1982) to optimization and control (e.g. Bloch, 2002). A very common approach is to use the method of Lagrange multipliers, which is taught in standard physics curricula for imposing holonomic constraints in mechanical systems. Alternatively, Dirac (1950), in pursuit of his goal of quantizing gauge field theories, introduced a method that uses the Poisson bracket.
The purpose of the present article is to explore different methods for imposing the compressibility constraint in ideal (dissipation-free) fluid mechanics and its extension to magnetohydrodynamics (MHD), classical field theories intended for classical purposes. This endeavor is richer than might be expected because the different methods of constraint can be applied to the fluid in either the Lagrangian (material) description or the Eulerian (spatial) description, and the constraint methods have different manifestations in the Lagrangian (action principle) and Hamiltonian formulations. Although Lagrange’s multiplier is widely appreciated, it is not so well known that he used it long ago for imposing the incompressibility constraint for a fluid in the Lagrangian variable description (Lagrange, 1788). More recently, Dirac’s method was applied for imposing incompressibility within the Eulerian variable description, first in Nguyen & Turski (1999, 2001) and followed up in several works (Morrison et al., 2009; Tassi et al., 2009; Chandre et al., 2012, 2014, 2013). Given that a Lagrangian conservation law is not equivalent to an Eulerian conservation law, it remains to elucidate the interplay between the methods of constraint and the variables used for the description of the fluid. Thus we have three dichotomies: the Lagrangian vs. Eulerian fluid descriptions, Lagrange multiplier vs. Dirac constraint methods, and Lagrangian vs. Hamiltonian formalisms. It is the elucidation of the interplay between these, along with generalizing previous results, that is the present goal.
It is well known that a free particle with holonomic constraints, imposed by the method of Lagrange multipliers, is a geodesic flow. Indeed, Lagrange essentially observed this in Lagrange (1788) for the ideal fluid when he imposed the incompressibility constraint by his method. Lagrange did this in the Lagrangian description by imposing the constraint that the map from initial positions of fluid elements to their positions at time preserves volume, and he did this by the method of Lagrange multipliers. It is worth noting that Lagrange knew the Lagrange multiplier turns out to be the pressure, but he had trouble solving for it. Lagrange’s calculation was placed in a geometrical setting by Arnold (1966) (see also Appendix 2 of Arnold (1978)), where the constrained maps from the initial conditions were first referred to as volume preserving diffeomorphisms in this context. Given this background, in our investigation of the three dichotomies described above we emphasize geodesic flow.
For later use we record here the incompressible Euler equations for the case with constant density and the case where density is advected. The equations of motion, allowing for density advection, are given by
(1) | ||||
(2) | ||||
(3) |
where is the velocity field, is the mass density, is the pressure, and , the region occupied by the fluid. These equations are generally subject to the free-slip boundary condition , where is normal to the boundary of . The pressure field that enforces the constraint (2) is obtained by setting , which implies
(4) |
For reasonable assumptions on and boundary conditions, (4) is a well-posed elliptic equation (see e.g. Evans, 2010), so we can write
(5) |
For the case where is constant we have the usual Green’s function expression
(6) |
where is consistent with Neumann boundary conditions (Orszag et al., 1986) and . Insertion of (6) into (1) gives
(7) |
which is a closed system for .
1.2 Overview
Section 2 contains material that serves as a guide for navigating the more complicated calculations to follow. We first consider the various approaches to constraints in the finite-dimensional context in Sections 2.1–2.3. Section 2.1 briefly covers conventional material about holonomic constraints by Lagrange multipliers – here the reader is reminded how the free particle with holonomic constraints amounts to geodesic flow. Section 2.2 begins with the phase space action principle, whence the Dirac bracket for constraints is obtained by Lagrange’s multiplier method, but with phase space constraints as opposed to the usual holonomic configuration space constraints used in conjunction with Hamilton’s principle of mechanics, as described in Section 2.1. Next, in Section 2.3, we compare the results of Sections 2.1 and 2.3 and show how conventional holonomic constraints can be enforced by Dirac’s method. Contrary to Lagrange’s method, here we obtain explicit expressions, ones that do not appear in conventional treatments, for the Christoffel symbol and the normal force entirely in terms of the original Euclidean coordinates and constraints. Section 2 is completed with Section 2.4, where the previous ideas are revisited in the field theory context in preparation for the fluid and MHD calculations. Holonomic constraints, Dirac brackets, with local or nonlocal constraints, and geodesic flow are treated.
In Section 3 we first consider the compressible (unconstrained) fluid and MHD versions of Hamilton’s variational principle, the principle of least action, with Lagrange’s Lagrangian in the Lagrangian description. From this we obtain in Section 3.2 the canonical Hamiltonian field theoretic form in the Lagrangian variable description, which is transformed in Section 3.3, via the mapping from Lagrangian to Eulerian variables, to the noncanonical Eulerian form. Section 3 is completed by an in depth comparison of constants of motion in the Eulerian and Lagrangian descriptions, which surprisingly does not seem to appear in fluid mechanics or plasma physics textbooks. The material of this section is necessary for understanding the different manifestations of constraints in our dichotomies.
Section 4 begins with Section 4.1 that reviews Lagrange’s original calculations. Because the incompressibility constraint he imposes is holonomic and there are no additional forces, his equations describe infinite-dimensional geodesics flow on volume preserving maps. The remaining portion of this section contains the most substantial calculations of the paper. In Section 4.2 for the first time Dirac’s theory is applied to enforce incompressibility in the Lagrangian variable description. This results in a new Dirac bracket that generates volume preserving flows. As in Section 2.3.1, which serves as a guide, the equations of motion generated by the bracket are explicit and contain only the constraints and original variables. Next, in Section 4.3, a reduction from Lagrangian to Eulerian variables is made, resulting in a new Eulerian variable Poisson bracket that allows for density advection while preserving incompressibility. This was an heretofore unsolved problem. Section 4.4 ties together the results of Sections 4.2, 4.3, and 3.4. Here both the Eulerian and Lagrangian Dirac constraint theories are compared after they are evaluated on their respective constraints, simplifying their equations of motion. Because Lagrangian and Eulerian conservation laws are not identical, we see that there are differences. Section 4 concludes in Section 4.5 with a discussion of the full algebra of invariants, that of the ten parameter Galilean group, for both the Lagrangian and Eulerian descriptions. In addition the Casimir invariants of the theories are discussed.
The paper concludes with Section 5, where we briefly summarize our results and speculate about future possibilities.
2 Constraint methods
2.1 Holonomic constraints by Lagrange’s multiplier method
Of interest are systems with Lagrangians of the form where the overdot denotes time differentiation and . Because nonautonomous systems could be included by appending an additional degree of freedom, explicit time dependence is not included in .
Given the Lagrangian, the equations of motion are obtained according to Hamilton’s principle by variation of the action
(8) |
i.e.
(9) |
for all variations satisfying , implies Lagrange’s equations of motion, i.e.
(10) |
Holonomic constraints are real-valued functions of the form , , which are desired to be constant on trajectories. Lagrange’s method for implementing such constraints is to add them to the action and vary as follows:
(11) |
yielding the equations of motion
(12) |
with the forces of constraint residing on the right-hand side of (12). Observe in (11) and (12) repeated sum notation is implied for the index . The equations of (12) with the numerical values of the constraints , determine the unknowns and . In practice, because solving for the Lagrange multipliers can be difficult an alternative procedure, a example of which we describe in Section 2.1.1, is used.
We will see in Section 4.1 that the field theoretic version of this method is how Lagrange implemented the incompressiblity constraint for fluid flow. For the purpose of illustration and in preparation for later development, we consider a finite-dimensional analog of Lagrange’s treatment.
2.1.1 Holonomic constraints and geodesic flow via Lagrange
Consider noninteracting bodies each of mass in the Eucledian configuration space with cartesian coordinates , where as in Section 2.1 , but our configuration space has dimension . The Lagrangian for this system is given by the usual kinetic energy,
(13) |
with the usual “dot” product. The Euler-Lagrange equations for this system, equations (10), are the uninteresting system of free particles. As in Section 2.1 we constrain this system by adding constraints , where again , leading to the equations
(14) |
Instead of solving the equations of (14) together with the numerical values of the constraints, in order to determine the unknowns and , we recall the alternative procedure, which dates back to Lagrange (see e.g. Sec. IV of Lagrange (1788)) and has been taught to physics students for generations (see e.g. Whittaker, 1917; Corben & Stehle, 1960). With the alternative procedure one introduces generalized coordinates that account for the constraints, yielding a smaller system on the constraint manifold, one with the Lagrangian
(15) |
where
(16) |
Then Lagrange’s equations (10) for the Lagrangian (15) are the usual equations for geodesic flow
(17) |
where the Christoffel symbol is as usual
(18) |
If the constraints had time dependence, then the procedure would have produced the Coriolis and centripetal forces, as is usually done in textbooks.
Thus, we arrive at the conclusion that free particle dynamics with time-independent holonomic constraints is geodesic flow.
2.2 Dirac’s bracket method
So, a natural question to ask is “How does one implement constraints in the Hamiltonian setting, where phase space constraints depend on both the configuration space coordinate and the canonical momentum ”? (See e.g. Sundermeyer (1982); Arnold et al. (1980) for a general treatment and Dermaret & Moncrief (1980) for a treatment in the context of the ideal fluid and relativity and a selection of earlier references.) To this end we begin with the phase space action principle
(19) |
where again repeated sum notation is used for . Independent variation of with respect to and , with and no conditions on , yields Hamilton’s equations,
(20) |
or equivalently
(21) |
which is a rewrite of (20) in terms of the Poisson bracket on phase space functions and ,
(22) |
where in the second equality we have used , so and the cosymplectic form (Poisson matrix) is
(23) |
with being an block of zeros and being the identity.
Proceeding as in Section 2.1, albeit with phase space constraints , , we vary
(24) |
and obtain
(25) |
Next, enforcing for all , will ensure that the constraints stay put. Whence, differentiating the and using (25) yields
(26) | |||||
We assume has an inverse, , which requires there be an even number of constraints, , because odd antisymmetric matrices have zero determinant. Then upon solving (26) for and inserting the result into (25) gives
(27) |
From (27), we obtain a generalization of the Poisson bracket, the Dirac bracket,
(28) |
which has the degeneracy property
(29) |
for all functions and indices .
The generation of the equations of motion via a Dirac bracket, i.e.
(30) |
which is equivalent to (27), has the advantage that the Lagrange multipliers have been eliminated from the theory.
Note, although the above construction of the Dirac bracket is based on the canonical bracket of (22), his construction results in a valid Poisson bracket if one starts from any valid Poisson bracket (cf. (83) of Section 2.4 and Section 3.3), which need not have a Poisson matrix of the form of (23) (see e.g. Morrison et al., 2009). We will use such a bracket in Section 4.3 when we apply constraints by Dirac’s method in the Eulerian variable picture. Also note, for our purposes it is not necessary to describe primary vs. secondary constraints (although we use the latter), and the notions of weak vs. strong equality. We refer the reader to Dirac (1950); Sudarshan & Makunda (1974); Hanson et al. (1976); Sundermeyer (1982) for treatment of these concepts.
2.3 Holonomic constraints by Dirac’s bracket method
A connection between the approaches of Lagrange and Dirac can be made. From a set of Lagrangian constraints , where , one can construct an additional constraints by differentiation,
(31) |
where the second equality is possible if (10) possesses the Legendre transformation to the Hamiltonian form. In this way we obtain an even number of constraints
(32) |
where , , and
With the constraints of (32) the bracket needed to construct (28) is easily obtained,
(33) |
where is an block of zeros and is the following symmetric matrix with elements
(34) |
and is the following antisymmetric matrix with elements
(35) | ||||
Assuming the existence of , the inverse of (33), the Dirac bracket of (28) can be constructed. A necessary and sufficient condition for the existence of this inverse is that det , and when this is the case the inverse is given by
(36) |
Because of the block diagonal structure of (36), the Dirac bracket (28) becomes
(37) |
which has the form
(38) |
where the matrices , with
(39) |
and , a complicated expression that we will not record, are crafted using the constraints and Hamiltonian so as to make preserve the constraints.
The equations of motion that follow from (37) are
(40) | ||||
(41) |
Given the Dirac bracket associated with the of (34), dynamics that enforces the constraints takes the form of (30). Any system generated by this bracket will enforce Lagrange’s holonomic constraints; however, only initial conditions compatible with
(42) |
or equivalently
(43) |
will correspond to the system with holonomic constraints. Using (43) and , (40) and (41) reduce to
(44) | ||||
(45) |
where
(46) |
Thus the Dirac bracket approach gives a relatively simple system for enforcing holonomic constraints. It can be shown directly that if initially vanishes, then the system of (44) and (45) will keep it so for all time.
2.3.1 Holonomic constraints and geodesic flow via Dirac
Let us now consider again the geodesic flow problem of Section 2.1.1: the degree-of-freedom free particle system with holonomic constraints, but this time within the framework of Dirac bracket theory. For this problem the unconstrained configuration space is the Euclidean space and we will denote by the constraint manifold within defined by the constancy of the constraints .
The Lagrangian of (13) is easily Legendre transformed to the free particle Hamiltonian
(47) |
where . For this example the constraints of (32) take the form
(48) |
the matrix has elements
(49) |
and the matrix is
(50) |
The Dirac bracket analogous to (38) is
(51) |
where with the tensors
(52) | ||||
(53) | ||||
(54) |
where is the term with . Observe because and
(55) |
Also observe for the Hamiltonian of (47)
(56) | ||||
(57) | ||||
(58) |
when evaluated on the constraint , while
(59) |
when evaluated on the constraint . Thus, the bracket of (51) yields the equations of motion
(60) | ||||
(61) |
or
(62) |
where
(63) |
is used to represent the normal force.
Observe, (62) has two essential features: as noted, its righthand side is a normal force that projects to the constraint manifold defined by the constraints and within the constraint manifold it describes a geodesic flow, all done in terms of the original Euclidean space coordinates where the initial conditions place the flow on by setting the values for all . We will show this explicitly.
First, because the components of vectors normal to are given by for , this prefactor on the righthand side of (62) projects as expected. Upon comparing (62) with (14) we conclude that the coefficient of this prefactor must be the Lagrange multipliers, i.e.,
(64) |
Thus, we see that Dirac’s procedure explicitly solves for the Lagrange multiplier.
Second, to uncover the geodesic flow we can proceed as usual by projecting explicitly onto . To this end we consider the transformation between the Euclidean configuration space coordinates
(65) |
and another set of coordinates
(66) |
which we tailor as follows:
(67) |
where , , and . Here we have chosen and is the actual number of degrees of freedom on the constraint surface . We can freely transform back and forth between the two coordinates, i.e.
(68) |
Note, the choice could be replaced by for arbitrary independent , but we assume the original are optimal. Because are coordinates within , tangent vectors to have the components , and there is one for each . The pairing of the normals with tangents is expressed by
(69) |
Let us now consider an alternative procedure that the Dirac constraint method provides. Proceeding directly we calculate
(70) |
Observe that on the matrix is invertible and the full metric tensor and its inverse in the new coordinates are given as follows:
(71) |
The metric tensor on of (16) is obtained by restricting to and is obtained by inverting and not by restricting . Proceeding by differentiating again we obtain
(72) |
Now inserting (62) into (72) gives
(73) |
where we have recognized that
(74) |
and, as was necessary for the workability of the Dirac bracket constraint theory, must exist. This quantity is obtained by inverting and not by restricting .
Equation (73) is an expression for the full system on . However, for , we know , so the two terms of (73) should cancel. To see this, in the first term of (73) we set and observe that this first term becomes
(75) |
Now, for , say , the righthand side gives a Christoffel symbol expression for the geodesic flow; viz.
(76) |
where
(77) |
is an expression for the Christoffel symbol in terms of the original Euclidean coordinates, the constraints, and the choice of coordinates on .
Using (77) one can calculate an analogous expression for the Riemann curvature tensor on from the usual expression
(78) |
using . This gives the curvature written in terms of the original Euclidean coordinates, the constraints, and the chosen coordinates on .
2.4 field theory
Given independent field variables , indexed by , where the independent variable . The field theoretic version of Hamilton’s principle of (8) is embodied in the action
(79) |
where we leave the domain of and the boundary conditions unspecified, but freely drop surface terms obtained upon integration by parts. The Lagrangian density is assumed to depend on the field components and , which is used to indicate all possible partial derivatives with respect of the components of . Hamilton’s principle with (79) gives the Euler-Lagrange equations,
(80) |
where the overdot implies differentiation at constant . Local holonomic constraints are enforced by Lagrange’s method by amending the Lagrangian
(81) |
with again and proceeding as in the finite-dimensional case.
In the Hamiltonian field theoretic setting, we could introduce the conjugate momentum densities , , with the phase space action
(82) |
with Hamiltonian density and local constraints depending on the values of the fields and their conjugates. Instead of following this route we will jump directly to a generalization of the field theoretic Dirac bracket formalism that would result.
Consider a Poisson algebra composed of functionals of field variables with a Poisson bracket of the form
(83) |
where is a shorthand for the functional derivative of a functional with respect to the field (see e.g. Morrison, 1998) and , again with repeated indices summed. Observe the fields need not separate into coordinates and momenta, but if they do the Poisson operator has a form akin to that of (23). By a Poisson algebra we mean a Lie algebra realization on functionals, meaning the Poisson bracket is bilinear, antisymmetric, and satisfies the Jacobi identity and that there is an associative product of functionals that satisfies the Leibniz law. From the Poisson bracket the equations of motion are given by , for some Hamiltonian functional .
Dirac’s constraint theory is generally implemented in terms of canonical Poisson brackets (see e.g. Dirac, 1950; Sudarshan & Makunda, 1974; Sundermeyer, 1982), but it is not difficult to show that his procedure also works for noncanonical Poisson brackets (see e.g. an Appendix of Morrison et al., 2009).
We impose an even number of local constraints which we write as constant, a shorthand for , with the index , bearing in mind that they depend on the fields and their derivatives. As in the finite-dimensional case, the Dirac bracket is obtained from the matrix obtained from the bracket of the constraints,
where we note that . If has an inverse, then the Dirac bracket is defined as follows:
(84) |
where the coefficients satisfy
consistent with .
We note, the procedure is effective only when the coefficients can be found. If is not invertible, then one needs, in general, secondary constraints to determine the Dirac bracket.
2.4.1 Field theoretic geodesic flow
In light of Section 2.1.1, any field theory with a Lagrangian density of the form
(85) |
with the metric being the Kronecker delta, subject to time-independent holonomic constraints can be viewed as geodesic flow on the constraint surface. This is a natural infinite-dimensional generalization of the idea of Section 2.1.1.
3 Unconstrained Hamiltonian and action for fluid
3.1 Fluid action in Lagrangian variable description
The Lagrangian variable description of a fluid is described in Lagrange’s famous work (Lagrange, 1788), while historic and additional material can be found in Serrin (1959); Newcomb (1962); Van Kampen & Felderhof (1967); Morrison (1998). Because the Lagrangian description treats a fluid as a continuum of particles, it naturally is amenable to the Hamiltonian form. The Lagrangian variable is a coordinate that gives the position of a fluid element or parcel, as it is sometimes called, at time . We denote this variable by , which is measured relative to some cartesian coordinate system. Here denotes the fluid element label, which is often defined to be the position of the fluid element at the initial time, , but this need not always be the case. The label is a continuum analog of the discrete index that labels a generalized coordinate in a finite degree-of-freedom system. If is a domain that is fully occupied by the fluid, then at each fixed time , is assumed to be 1-1 and onto. Not much is really known about the mathematical properties of this function, but we will assume that it is as smooth as it needs to be for the operations performed. Also, we will assume we can freely integrate by parts dropping surface terms and drop reference to D in our integrals.
When discussing the ideal fluid and MHD we will use repeated sum notation with upper and lower indices even though we are working in cartesian coordinates. And, unlike in Section 2, latin indices, etc. will be summed over 1,2, and 3, the cartesian components, rather than to . This is done to avoid further proliferation of indices and we trust confusion will not arise because of context.
Important quantities are the deformation matrix, and its Jacobian determinant , which is given by
(86) |
where is the purely antisymmetric (Levi-Civita) tensor density. We assume a fluid element is uniquely determined by its label for all time. Thus, and we can invert to obtain the label associated with the fluid element at position at time , . For coordinate transformations we have
(87) |
where is the cofactor of , which can be written as follows:
(88) |
Using or its inverse , various quantities can be written either as a function of or . For convenience we list additional formulas below for latter use:
(89) | ||||
(90) | ||||
(91) | ||||
(92) | ||||
(93) | ||||
(94) |
which follow from the standard rule for differentiation of determinants and the expression for the cofactor matrix. For example, the commutator expression of (94) follows easily from (93), which in turn follows upon differentiating (87). These formulas are all of classical origin, e.g., the second equation of (92) is the Lagrangian variable version of a formula due to Euler (see e.g. Serrin, 1959).
Now we are in a position to recreate and generalize Lagrange’s Lagrangian for the ideal fluid action principle. On physical grounds we expect our fluid to possess kinetic and internal energies, and if magnetized, a magnetic energy. The total kinetic energy functional of the fluid is naturally given by
(95) |
where is the mass density attached to the fluid element labeled by and denotes time differentiation of at fixed label . Note, in (95) , where in general , but we will only consider the cartesian metric where .
Fluids are assumed to be in local thermodynamic equilibrium and thus can be described by a function , an internal energy per unit mass that depends on the specific volume and specific entropy . If a magnetic field were present, then we could add dependence on as in Morrison (1982) to account for pressure anisotropy. (See also Morrison et al., 2014; Lingam et al., 2020, where this appears in the context of gyroviscosity.) The internal energy is written in terms of the Eulerian density and entropy (see Section 3.3) since we expect the fluid at each Eulerian observation point to be in thermal equilibrium. From we compute the temperature and pressure according to the usual differentiations, and . For MHD, the magnetic energy in Lagrangian variables would be added. For the ideal fluid, the total internal energy functional is
(96) |
Here we have used the fact that a fluid element carries a specfic entropy and a mass determined by . In Section 3.3 we will describe in detail the map from Lagrangian to Eulerian variables.
Thus, the special case of the action principle of (79) for the ideal fluid has Lagrange’s Lagrangian . Variation of this action gives the Lagrangian equation of motion for the fluid
(97) |
with an additional term that describes the force in Lagrangian variables for MHD. See, e.g., Newcomb (1962); Morrison (1998, 2009) for details of this calculation and the MHD extension.
3.2 Hamiltonian formalism in Lagrangian description
Upon defining the momentum density as usual by
(98) |
we can obtain the Hamiltonian by Legendre transformation, yielding
(99) |
where . This Hamiltonian with the canonical Poisson bracket,
(100) |
yields
(101) | ||||
(102) |
Equations (101) and (102) are equivalent to (97). For MHD a term is added to (99) (see Newcomb, 1962; Morrison, 2009). We will give this explicitly in the constraint context in Section 4.2.1 after discussing the Lagrange to Euler map.
3.3 Hamiltonian formalism in Eulerian description via the Lagrange to Euler map
In order to understand how constraints in terms of the Lagrangian variable description relate to those in terms of the Eulerian description, in particular , it is necessary to understand the mapping from Lagrangian to Eulerian variables. Thus, we record here the relationship between the two unconstrained descriptions, i.e., how the noncanonical Hamiltonian structure of the compressible Euler’s equations relates to the Hamiltonian structure described in Section 3.2.
For the ideal fluid, the set of Eulerian variables can be taken to be , where is the velocity field at the Eulerian observation point, at time and, as as noted in Section 3.1, is the mass density and is the specific entropy. In order to describe magnetofluids the magnetic field would be appended to this set. It is most important to distinguish between the Lagrangian fluid element position and label variables, and , and the Eulerian observation point , the latter two being independent variables. Confusion exists in the literature because some authors use the same symbol for the Lagrangian coordinate and the Eulerian observation point .
The Lagrangian and Eulerian descriptions must clearly be related and, indeed, knowing we can obtain . If one were to insert a velocity probe into a fluid at then one would measure the velocity of the fluid element that happened to be at that position at that time. Thus it is clear that , where recall the overdot means the time derivative at constant . But, which fluid element will be at at time ? Evidently , which upon inversion yields the label of that element that will be measured, . Thus, the Eulerian velocity field is given by
(103) |
Properties can be attached to fluid elements, just as a given mass is identified with a given particle in mechanics. For a continuum system it is natural to attach a mass density, , to the element labeled by . Whence the element of mass in a given volume is given by and this amount of mass is preserved by the flow, i.e. . Because the locus of points of material surfaces move with the fluid are determined by , an initial volume element maps into a volume element at time according to
(104) |
Other quantities could be attached to a fluid element; for the ideal fluid, entropy per unit mass, , is such a quantity. The assumption that each fluid element is isentropic then amounts to . Similarly, for MHD a magentic field, , can be attached, and then the frozen flux assumption yields . An initial area element maps into an area element at time according to
(105) |
Using (105) we obtain .
Sometimes it is convenient to use another set of Eulerian density variables: , where is the entropy per unit volume, and is the momentum density. These Eulerian variables can be represented by using the Dirac delta function to ‘pluck out’ the fluid element that happens to be at the Eulerian observation point at time . For example, the mass density is obtained by
(106) |
The density one observes at at time will be the one attached to the fluid element that happens to be there then, and this fluid element has a label given by solving . The second equality of (106) is obtained by using the three-dimensional version of the delta function identity , where . Similarly, the entropy per unit volume is given by
(107) |
which is consistent with and , where the latter means is constant along a Lagrangian orbit. Proceeding, the momentum density, , is related to the Lagrangian canonical momentum (defined in Section 3.2) by
(108) |
where for the ideal fluid and MHD, . Lastly,
(109) |
for the components of the magnetic field. It may be unfamiliar to view the magnetic field as density, but in MHD it obeys a conservation law. Geometrically, however, it naturally satisfies the equations of a vector density associated with a differential 2-form as was observed in Morrison (1982) and Tur & Yanovsky (1993).
To obtain the noncanonical Eulerian Poisson bracket we consider functionals that are restricted so as to obtain their dependence on and only through the Eulerian variables. Upon setting , equating variations of both sides,
(110) |
varying the expressions (106), (107), and (108), substituting the result into (110), and equating the independent coefficients of and , we obtain
(111) | ||||
(112) |
(See Morrison (1998) and Morrison & Greene (1980) for details.) Upon substitution of (111) and (112), expressions of the functional chain rule that relate Lagrangian functional derivatives to the Eulerian functional derivates, into (100) yields the following bracket expressed entirely in terms of the Eulerian fields :
(113) | |||||
In (113) we have dropped the overbars on the Eulerian functional derivatives. The bracket for MHD is the above with the addition of the following term, which is obtained by adding a contribution to (110):
(114) |
where dyadic notation is used; for example, , for vectors , and . Alternatively, the bracket in terms of is obtained using chain rule expressions, e.g.,
(115) |
yielding
(116) |
and
(117) |
3.4 Constants of motion: Eulerian vs. Lagrangian
In oder to compare the imposition of constraints in the Lagrangian and Eulerian descriptions, it is necessary to compare Lagrangian and Eulerian conservations laws. This is because constraints, when enforced, are conserved quantities. The comparison is not trivial because time independent quantities in the Eulerian description can be time dependent in the Lagrangian description.
Consider a Lagrangian function , typical of the Lagrangian variable description, and the relation , which relates an Eulerian observation point to a corresponding fluid element trajectory value. The function can be written in either picture by composition, as follows:
(119) |
where we will use a tilde to indicated the Eulerian form of a Lagrangian function. Application of the chain rule gives
(120) |
with the second equality of (120) being a special case of the first. Similarly,
(121) |
where recall an overdot denotes the time derivative at constant , denotes the time derivative at constant , and is the Eulerian gradient with components as used in (120). Because the Jacobian determinant is composed of derivatives of , we have , whence one obtains a formula due to Euler (see e.g. Serrin, 1959),
(122) |
which can be compared to its Lagrangian version of (92).
Now, consider a conservation law in the Lagrangian variable description,
(123) |
where the density has the associated flux . Then, the associated conserved quantity is
(124) |
which satisfies provided surface terms vanish. Similarly, an Eulerian conservation law with density and flux is
(125) |
and the following is similarly constant in time:
(126) |
The relationship between the two conservation laws (123) and (125) can be obtained by defining
(127) |
and their equivalence follows from (92), (121), and (122). Given a Lagrangian conservation law, one can use (127) to obtain a corresponding Eulerian conservation law. The density is obtained from the first equation of (127), a piece of the Eulerian flux from the second, which then can be substitued into the third equation of (127) to obtain the complete Eulerian flux . An Eulerian conservation law is most useful when one can write and entirely in terms of the Eulerian variables of the fluid.
The simplest case occurs when only depends on , in which case the corresponding flux is zero and and follow directly because (124) has no time dependence whatsoever. Any attribute attached to a fluid element only depends on the label and this has a trivial conservation law of this form. However, such trivial Lagrangian conservation laws yield nontrivial Eulerian conservation laws. Observe, even thought by (127), . Consider the case of the entropy where , whence and by (121),
(128) |
with the quantity being according to (127) the Eulerian conserved density, as can be verified using (122). But, as it stands, this density cannot be written in terms of Eulerian fluid variables. However, is also a trivial Lagrangian conserved density and according to (127) we have the Eulerian density that satisfies
(129) |
Thus, it follows that any advected scalar has an associated conserved quantity obtained by multiplication by .
As another example, consider the quantity . This quantity is the limit displacement between two nearby fluid elements, i.e., along the initial magnetic field as . Evidently,
(130) |
where the second equality follows if the initial magnetic field is divergence free. This is of course another trivial conservation law, for the time derivative of a density that is a divergence will always be a divergence. However, let us see what this becomes in the Eulerian description. According to (127) the corresponding Eulerian density is ; so, the density associated with this trivial conservation law (130) is
(131) |
which as we saw in Section 3.3 is the expression one gets for the MHD magnetic field because of flux conservation. That the divergence-free magnetic field satisfies a conservation law is clear from
(132) |
where the tensor of the last equality is
(133) |
Thus we have another instance where a trivial Lagrangian conservation law leads to a nontrivial Eulerian one.
Although does not map into an expression entirely in terms of our set of Eulerian variables, we can divide it by , a quantity that only depends on the label , and obtain
(134) |
Eulerianizing the counterpart of (130) for this expression gives
(135) |
which is not an Eulerian conservation law. This is to be expected because, unlike what we did to get (132), we have Eulerianized without using (127). In light of its relationship to , the quantity has been described as a measure of the distance of points on a magnetic field line (see e.g. Kampen & Felderhoff, 1967). This was predated by analogous arguments for vorticity (see e.g. Serrin, 1959).
4 Constraint theories for the incompressible ideal fluid
4.1 The incompressible fluid in Lagrangian variables
In order to enforce incompressibility, Lagrange added to his Lagrangian the constraint with the Lagrange multiplier ,
(136) |
with given (95). Here we have dropped because incompressible fluids contain no internal energy. Upon insertion of (136) into the action of Hamilton’s principle it is discovered that corresponds to the pressure. The essence of this procedure was known to Lagrange. (See Serrin (1959) for historical details and Sommerfeld (1964) for an elementary exposition.) This procedure yields
(137) |
where use has been made of (92). The Eulerian form of (137) is clearly , whence it is clear that is the pressure. Although Lagrange knew the Lagrange multiplier was the pressure, he could only solve for it in special cases. The general procedure of Section 1.1 was not available because Green’s function techniques and the theory of elliptic equations were not at his disposal.
4.1.1 Lagrangian volume preserving geodesic flow
If the constraint is dropped from (136), we obtain free particle motion for an infinite-dimensional system, the ideal fluid case of (85) of Section 2.4, which is analogous to the finite-dimensional case of Section 2.1.1. Because the constraint only depends on the derivatives of , it is a configuration space constraint; thus, it is an holonomic constraint. As is well-known and reviewed in Section 2.1.1, free particle motion with holonomic constaints is geodesic flow. Thus, following Lagrange, it is immediate that the ideal incompressible fluid is an infinite-dimensional version of geodesic flow.
Lagrange’s calculation was placed in a geometric/group theoretic setting in Arnold (1966) (see also Appendix 2 of Arnold (1978) and Arnold & Khesin (1998)). Given that the transformation , at any time, is assumed to be a smooth invertible coordinate change, it is a Lie group, one referred to as the diffeomorphism group. With the additional assumption that these transformations are volume preserving, Lagrange’s constraint , the transformations form a subgroup, the group of volume preserving diffeomorphisms. Thus, Lagrange’s work can be viewed as geodesic flow on the group of volume preserving diffeomorphisms.
Although Arnold’s assumptions of smoothness etc. are mathematically dramatic, his description of Lagrange’s calculations in these terms has spawned a considerable body of research. Associated with a geodesic flow is a metric, and whence one can calculate a curvature. In his original work, Arnold added the novel calculation of the curvature in the mathematically more forgiving case of two-dimensional flow with periodic boundary conditions.
4.2 Lagrangian-Dirac constraint theory
More recently there have been several works (Tassi et al., 2009; Chandre et al., 2013; Morrison et al., 2009), following Nguyen & Turski (1999, 2001), that treat the enforcement of the incompressibility constraint of hydrodynamics by Dirac’s method of constraints (Dirac, 1950). In these works the compressibility constraint was enforced in the Eulerian variable description of the fluid using the noncanonical Poisson bracket of Section 3.3 as the base bracket of a generalization of Dirac’s constraint theory. We will return to this approach in Section 3.3 where we revisit and extend Dirac’s constraint results for the fluid in the Eulerian variable description. Here, apparently for the first time, we consider the incompressibility constraint in the Lagrangian variable description, where the canonical Poisson bracket of (100) is the base for the construction of a Dirac bracket.
We adapt (84) for the fluid case at hand with the supposition of only two local constraints, which we write as
(138) |
where and is a shorthand for a function of and and their derivatives with respect to . Then the matrix is a matrix with the components
using the canonical bracket of (100). To construct the Dirac bracket
(139) |
we require the inverse, which satisfies
(140) |
Rather than continuing with the general case, which is unwieldy, we proceed to the special case for the incompressible fluid, an infinite-dimensional version of the holonomic constraints discussed in Section 2.3.1.
4.2.1 Lagrangian-Dirac incompressibility holonomic constraint
Evidently we will want our holonomic incompressibility constraint to be . However, it is convenient to express this by choosing
(141) |
This amounts to the same constraint as with the value . The scaling of in (141) by is immaterial because it is a time-independent quantity. To obtain the second constraint we follow suit and set
(142) |
where recall we assume and is given by (98). That the constraint is the time derivative of requires the definition of of (98) that uses the Hamiltonian .
Observe, that constraints and are local constraints in that they are enforced pointwise (see e.g. Flierl & Morrison, 2011), i.e., they are enforced on each fluid element labeled by . Equation (141) corresponds in the Eulerian picture to , while the second constraint of (142), the Lagrangian time derivative of the first constraint, corresponds in the Eulerian picture to , which can be easily verified using the second equation of (120). Note, the particular values of these constraints of interest are, of course, and , but the dynamics the Dirac bracket generates will preserve any values of these constraints. For example, we could set where the arbitrary function is less than unity for some and greater for others, corresponding to regions of fluid elements that experience contraction and expansion. Also note, because we have used with the up index in (142); thus as seen in the second equality it depends on the metric. This was done to make it have the Eulerian form .
For the constraints (141) and (142), only depends on two quantities because does not depend on , i.e. and . Thus the inverse has the form
(143) |
giving rise to the conditions
(144) |
where is the identity. Thus, the inverse is easily tractable if the inverse of exists; whence,
(145) |
In the above the symbol ‘’ is used to denote the product with the sum in infinite dimensions, i.e., integration over as in (140). Equation (145) can be rewritten in an abbreviated form with implied integrals on repeated arguments as
(146) |
In order to obtain and its inverse, we need the functional derivatives of and . These are obtained directly by writing these local constraints as in (140), yielding
(147) | ||||
(148) |
where use has been made of (92), and
(149) | ||||
(150) |
where use has been made of (93) and recalling we have (91) at our disposal.
Let us now insert (147), (148), (149), and (150) into the canonical Poisson bracket (100), to obtain
(151) |
which corresponds to the symmetric matrix of (34) and (49) and
(152) |
which corresponds to the antisymmetric matrix of (35). Observe the symmetries corresponding to the matrices and , respectively, are here
for all functions . The first follows from integration by parts, while the second is obvious from its definition.
Using (140), the first condition of (144) is
(153) |
which upon substitution of (151) and integration gives
(154) |
We introduce the formally self-adjoint operator (cf. (91))
(155) |
i.e., an operator that satisfies
(156) |
a property inherited by its inverse . Thus we can rewrite equation (154) as
(157) |
where represents the Green function associated with (154).
In order to obtain , we find it convenient to transform (157) to Eulerian variables. Using we find
(158) |
where satisfies
(159) |
Here use has been made of identities (91) and (120). As noted in Section 1.1, under physically reasonable conditions, the operator
(160) |
has an inverse. Thus we write
(161) |
Now, using , the element follows directly from (145).
For convenience we write the Dirac bracket of (139) as follows:
(162) |
where
(163) |
Because and , we only need to calculate and .
As above, we substitute (147), (148), (149), and (150) into the bracket (100) and obtain
(164) | ||||
(165) |
Then, exploiting the antisymmetry of the Poisson bracket, it is straightforward to calculate analogous expressions for the terms .
We first analyze the operator
(166) |
where we used the second condition of (144) to replace . Upon inserting (157) and (164), this equation can be rewritten as
(167) |
where the subscripts on the right delimiters indicate that is to be replaced after the derivative operations, including those that occur in and .
Integrating this expression by parts with respect to and yields
(168) |
and then substituting (152) gives
(169) |
Then, by means of integrations by parts we can remove the derivatives from the term and perform the integral. After relabeling the integration variable as to simplify the notation, (169) becomes
(170) |
where we introduced the projection operator
(171) |
where in the last equality we defined a shorthand for convenience; thus,
(172) |
It is straightforward to prove that represents a projection, i.e. for each , which in terms of indices would have an th component given by . Also, is formally self-adjoint with respect to the following weighted inner product:
(173) |
The projection operator complementary to is given by
(174) |
where is the identity.
Now let us return to our evaluation of and analyze the contribution
(175) |
Using (161), (164), and (165), this equation can be rewritten as
(176) |
and, integrating by parts to simplify the term, results in
(177) |
We can now combine the operators , , and , given by (170) and (177), to calculate the Dirac bracket (162). First, we rewrite (163) as
(178) |
Using the identity of (94) with set to ,
(179) |
and integrating by parts, (178) becomes
(180) |
where we used
(181) |
which follows from the definitions (171), viz.
(182) |
and (174). Also, upon inserting in the last line of (180), symmetry implies we can drop the . Finally, upon substituting (180) into (162), we obtain
(183) |
Once more inserting , rearranging, and reindexing gives
(184) |
where
(185) |
with
(186) |
Note the trace , which we will eventually set to zero. Equation (184) gives the Dirac bracket for the incompressibility holonomic constraint. This bracket with the Hamiltonian
(187) |
produces dynamics that fixes and thus enforces incompressibility provided the constraint is used as an initial condition. For MHD we add to the following:
(188) |
We note, any Hamiltonian that is consistent with (142) can be used to define a constrained flow.
Proceeding to the equations of motion, we first calculate ,
(189) |
The equation for is more involved. Using the adjoint property of (173), which is valid for both and , we obtain
(190) |
which upon substitution of the definitions of , , and of (171) and (185) yields a complicated nonlinear equation.
Equations (189) and (190) are infinite-dimensional versions of the finite-dimensional systems of (40) and (41) considered in Section 2.3.1. There, equations (40) and (41) were reduced to (44) and (45) upon enforcing the holomomic constraint by requiring that initially . Similarly we can enforce the vanishing of of (142), which is compatible with the Hamiltonian (187). Instead of addressing this evaluation now, we find the meaning of various terms is much more transparent when written in terms of Eulerian variables, which we do in Section 4.3. We then return to these Lagrangian equations in Section 4.4 and make comparisons. Nevertheless, the solution of equations (189) and (190), , with the initial conditions and , is a volume preserving transformation at any time .
4.3 Eulerian-Dirac constraint theory
Because we chose the form of constraints of (141) and (142) to be Eulerianizable, it follows that we can transform easily the results of Section 4.2.1 into Eulerian form. This we do in Section 4.3.1. Alternatively, we can proceed as in Nguyen & Turski (1999, 2001); Tassi et al. (2009); Chandre et al. (2013); Morrison et al. (2009), starting from the Eulerian noncanonical theory of Section 3.3 and directly construct a Dirac bracket with Eulerian constraints. This is a valid procedure because Dirac’s construction works for noncanonical Poisson brackets, as shown, e.g., in Morrison et al. (2009), but it does not readily allow for advected density. This direct method with uniform density is reviewed in Section 4.3.2, where it is contrasted with the results of Section 4.3.1.
4.3.1 Lagrangian-Dirac constraint theory in the Eulerian picture
In a manner similar to that used to obtain (111) and (112), we find the functional derivatives transform as
(191) |
where the expressions on the left of each equality are clearly Lagrangian variable quantities, while on the right they are Eulerian quantities represented in terms of Lagrangian variables. Substituting these expressions into (84) and dropping the bar on and gives the following bracket in terms of the Eulerian variables:
(192) |
where we used the relations (104) and (120) and we introduced the Eulerian projection operator
(193) |
with
(194) |
which is easily seen to satisfy . Observe, like its Lagrangian counterpart, is formally self-adjoint; however, this time we found it convenient to define the projection in such a way that the self-adjointness is with respect to a different weighted inner product, viz.
(195) |
In terms of usual cartesian vector notation
(196) |
Upon writing and decomposing an arbitrary vector field as
this projection operator yields the component . Therefore, if , then this operator projects into the space of incompressible vector fields. For convenience we introduce the associated projector
(197) |
which has the desirable property
(198) |
Upon writing and decomposing an arbitrary vector field as
this projection operator yields the component , while . Note, is the Eulerianization of and it is not difficult to write (199) in terms of this quantity.
Upon adopting this usual vector notation, the bracket (192) can also be written as
(199) | |||||
For MHD there is a magnetic field contribution to (191) and following the steps that lead to (199) we obtain
(200) |
With the exception of the last term of (199) proportional to and the presence of the Eulerian projection operator , (199) added to (200) is identical to the noncanonical Poisson bracket for the ideal fluid and MHD as given in Morrison & Greene (1980). By construction, we know that (199) satisfies the Jacobi identity – this follows because it was obtained by Eulerianizing the canonical Dirac bracket in terms of Lagrangian variables. Guessing the bracket and proving Jacobi for (199) directly would be a difficult chore, giving credence to the path we have followed in obtaining it.
To summarize, the bracket of (199) together with the Hamiltonian
(201) |
the Eulerian counterpart of (187), generates dynamics that can preserve the constraint . If we add to (201) and add (200) to (199), then we obtain incompressible MHD. The fluid case is the Eulerian counterpart of the volume preserving geodesic flow, described originally by Lagrange in Lagrange variables. Upon performing a series of straightforward manipulations, we obtain the following equations of motion for the flow:
(202) | ||||
(203) | ||||
(204) |
If we include we obtain additional terms to (204) generated by (200) for the projected force. Observe, equation (204) is not yet evaluated on the constraint , which in Eulerian variables is . As noted at the end of Section 4.2, we turn to this task in Section 4.4.
4.3.2 Eulerian-Dirac constraint theory direct with uniform density
For completness we recall the simpler case where the Eulerian density is uniformly constant, which without loss of generality can be scaled to unity. This case was considered in Nguyen & Turski (1999, 2001); Chandre et al. (2012, 2013) (although a trick of using entropy as density was employed in Chandre et al. (2013) to treat density advection). In these works the Dirac constraints were chosen to be the pointwise Eulerian quantities
(205) |
and the Dirac procedure was effected on the purely Eulerian level. This led to the projector
(206) |
where , and the following Dirac bracket:
(207) | |||||
Incompressible MHD with constant density is generated by adding the following to (207)
(208) | |||||
and adding to the integrand of (201).
The bracket of (207) differs from that of (199) in two ways: the projector is replaced by the simpler projector and it is missing the term proportional to . Given that cannot be set to zero until after the equations of motion are obtained, this term gives rise to a significant differences between the constant and nonconstant density Poisson brackets and incompressible dynamics.
4.4 Comparison of the Eulerian-Dirac and Lagrangian-Dirac constrained theories
Let us now discuss equations (202), (203) and (204). Given that (cf. (198)) it is clear that the density and entropy are advected by the incompressible velocity field , as expected. However, the meaning of (204) remains to be clarified. To this end we take the divergence of (204) and again use (198) to obtain
(209) |
Thus itself is advected by an incompressible velocity field. As with any advection equation, if initially , it will remain uniformly zero. After setting in equation (204) it collapses down to
(210) |
this is the anticipated equation of motion, the momentum equation of (1) with the insertion of the pressure given by (5).
Given the discussion of Lagrangian vs. Eulerian constants of motion of Section (3.4), that is advected rather than pointwise conserved is to be expected. Our development began with the constraints of (141) and (142) both of which are pointwise conserved by the Dirac procedure, i.e. . This means their corresponding fluxes are identically zero, i.e., in (123) we have for each. Thus the flux component of (127) vanishes and the Eulerian flux for both and have the form . Because and Eulerianize to and , respectively, we expected equations of the from of (209) for both. We will see in Section 4.5 that the equation for in fact follows also because the constraints are Casimir invariants.
Let us return to (190) and compare with the results of Section 2.3.1. Because the incompressibility condition is an holonomic constraint and Section 2.3.1 concerns holonomic constraints for the uncoupled -body problem, both results are geodesic flows. In fact, one can think of the fluid case as a continuum version of that of Section 2.3.1 with an infinity of holonomic constraints– thus we expect similarities between these results. However, because the incompressibility constraints are pointwise constraints, the comparison is not as straightforward as it would be for global constraints of the fluid.
To make the comparison we first observe that the term of (184) must correspond to the term of (54), since their origin follows an analogous path in the derivation, both are antisymmetric, and both project from both the left and the right. The analog of (56) according to (171) is
(211) |
when evaluated on . Unlike (56) a sum, which would here be an integral over , does not occur because the constraint is a pointwise constraint as opposed to a global constraint. Also, because the constraints are pointwise, the is analogous to the terms with that also have a factor of the projector , giving the results analogous to (57). Just as in Section 2.3.1, we obtain from (189) when evaluated on the constraint and only a single term involving the contributes to the momentum equation of motion (190). We obtain
(212) |
where the second equality follows upon substitution of
which follows from (185), while the third follows again from according to (142). Thus,
(213) |
where in (213) we have defined , the normal force operator for geodesic flow, analogous to that of (62).
As was the case for the of (63), possesses symmetry: given arbitrary vector fields and
(214) |
where the second equality follows from the commutation relation of (94).
Equation (213) defines geodesic flow on the group of volume preserving diffeomorphisms, as was the case in Section 2.3.1, it does so in terms of the original coordinates, i.e., without specifically transforming to normal coordinates on the constraint surfaces which here are infinite-dimensional.
Now we are in position to close the circle by writing (213) in Eulerian form. We will do this for the ideal fluid, but MHD follows similarly. As usual the term becomes the advective derivative , the projector becomes (using ) when Eulerianized, and the term becomes . Thus (213) is precisely the Lagrangian form of (210), written as follows:
(215) |
Similarly, the Lagrangian version of (209) follows easily from (213). To see this we operate with the counterpart of taking the Eulerian divergence on the first line of (212) and make use of (182),
(216) |
which in Eulerian variables becomes
(217) |
In Lagrangian variables we have the trivial conservation laws
(218) |
where the corresponding fluxes are identically zero. However, as is evident from (202) and (203) we obtain nontrivial conservation laws for and with nonzero fluxes. Thus we see again, consistent with Section 3.4, how Lagrangian and Eulerian conservation laws are not equivalent.
4.5 Incompressible algebra of invariants
In closing this section, we examine the constants of motion for the constrained system. The Poisson bracket together with the set of functionals that commute with the Hamiltonian, i.e., that satisfy for , constitute the -dimensional algebra of invariants, a subalgebra of the infinite-dimensional Poisson bracket realization on all functionals. This subalgebra is a Lie algebra realization associated with a symmetry group of the dynamical system, and the Poisson bracket with yields the infinitesimal generators of the symmetries, i.e., the differential operator realization of the algebra. This was shown for compressible MHD in Morrison (1982), where the associated Lie algebra realization of the 10 parameter Galilean group on functionals was described. This algebra is homomorphic to usual representations of the Galilean group, with the Casimir invariants being in the center of the algebra composed of elements that have vanishing Poisson bracket with all other elements.
A natural question to ask is what happens to this algebra when incompressibility is enforced by our Dirac constraint procedure. Obviously the Hamiltonian is in the subalgebra and clearly generates time translation, and this will be true for any Hamiltonian, but here we use Hamiltonian of (201).
Inserting the momentum
(219) |
into (199) with the Hamiltonian (201) gives
(220) |
without assuming . To see this, we use (196) to obtain
(221) |
which when inserted into (199) gives
(222) | |||||
as expected. The result of (222) follows upon using standard vector identities, integration by parts, and the self-adjointness of .
The associated generator of space translations that satisfies the constraints is given by the operator , which can be shown directly. And, it follows that
(223) |
Because the momentum contains no dependence the the second line of (199) vanishes and using of (221) it is clear the last line involving of (199) also vanishes. The result of (223) is obtained because the first and third lines cancel.
Next, consider the angular momentum
(224) |
We will show
(225) |
Using , which follows from (196) with , the fact that for the compressible fluid, and , we obtain
(226) | |||||
Next, recognizing that and integrating by parts, we obtain
(227) |
Then upon inserting
(228) |
and using standard vector analysis we obtain (225).
Because , the first and third lines of (199) produce
(229) |
just as they do for the compressible fluid (and MHD), while the fourth line manifestly vanishes. Similarly, it follows that that is the generator for rotations.
To obtain the full algebra of invariants we need . However because and , it follows as for the compressible fluid that .
Finally, consider the following measure of the position of the center of mass, the generator of Galilean boosts,
(230) |
Calculations akin to those above reveal
(231) |
Thus the bracket (207) with the set of ten invariants is at once a closed subalgebra of Poisson bracket realization on all functionals and produces an operator realization of the Galilean group (see e.g. Sudarshan & Makunda, 1974) that is homomorphic to the operator algebra of , , etc. with operator commutation relations. This remains true for MHD with the only change being the addition of to the Hamiltonian.
Thus, the Galilean symmetry properties of the ideal fluid and MHD are not affected by the compressibility constraint. However, based on past experience with advected quantities, we do expect a new Casimir invariant of the form
(232) |
To see that for any functional , where is an arbitrary function of its arguments, we calculate
(233) |
and since we write it as , giving for (233)
(234) |
Thus, integration by parts and use of (198) imply for all functionals . Note, without loss of generality we can write , in which case . Thus, it is immaterial whether or not one retains the internal energy term in the Hamiltonian.
Now, (232) is not the most general Casimir. Because both and are Lagrangian pointwise Dirac constraints, we expect the following to be an Eulerian Casimir
(235) |
where is an arbitrary function of its arguments. To see that for any functional , we first observe that
(236) |
and, as is evident from (196), that for all ; hence, all the terms vanish except the first term of the last line of (199). This term combines with the others to cancel, just as for the calculation of .
For constant density, entropy, and magnetic field, the bracket of (207) reduces to
(237) |
whence it is easily seen that the helicity
(238) |
is a Casimir invariant because . This Casimir is lost when entropy and density are allowed to be advected, for it is no longer a Casimir invariant of (199).
Now, let us consider invariants in the Lagrangian description. Without the incompressibility constraints, the Hamiltonian has a standard kinetic energy term and the internal energy depends on , an infinitesimal version of the two-body interaction, if follows that just like the -body problem the system has Galilean symmetry, and because the Poisson bracket in the Lagrangian description (100) is canonical there are no Casimir invariants. With the incompressibility constraint, the generators of the algebra now respect the constraints, with Dirac constraints being Casimirs and the algebra of constraints now having a nontrivial center. Because the Casimirs are pointwise invariants, we expect the situation to be like that for the Maxwell Vlasov equation Morrison (1982), where the following is a Casimir
(239) |
with being an arbitrary function of its arguments. Because both nabla and are pointwise constraints, analogous to (239) we expect the following Casimir:
(240) |
Indeed, only the first term of (184) contributes when we calculate and this term vanishes by (181) because
(241) |
which follows upon making use of (92). Similarly, it can be shown that the full Casimir is
(242) |
a Lagrangian Casimir consistent with (235).
For MHD, the magnetic helicity,
(243) |
where is easily seen to be preserved and a Casimir up to the usual issues regarding gauge conditions and boundary terms (see Finn & Antonsen, 1985). We know that the cross helicity
(244) |
is a Casimir of the compressible barotropic MHD equations, and it is easy to verify that it is also a Casimir of (207) added to (208), that is for uniform density. However, it is not a Casimir for the case with advected density, i.e., for the bracket of (199) added to (200).
5 Conclusions
In this paper we have substantially investigated constraints, particularly incompressibility for the ideal fluid and MHD, for the three dichotomies described in Section 1.1: the Lagrangian vs. Eulerian fluid descriptions, Lagrange multiplier vs. Dirac constraint methods, and Lagrangian vs. Hamiltonian formalisms. An in depth description of the interplay between the various fluid and MHD descriptions was given, with an emphasis on Dirac’s constraint method. Although we mainly considered geodesic flow for simplicity, the Dirac’s Poisson bracket method can be used to find other forces of constraint in a variety of fluid and plasma contexts.
Based on our results, many avenues for future research are presented. We mention a few. Since the Hamiltonian structure of extended and relativistic MHD are now at hand (Charidakos et al., 2014; Abdelhamid et al., 2015; D’Avignon et al., 2015; Lingam et al., 2016; D’Avignon et al., 2016; Kaltsas et al., 2020) calculations analogous to those presented here can be done for a variety of magnetofluid models. Another valuable class of models that could be studied, ones that are known to have Lagrangian and Hamiltonian structure, are those with various finite-Larmor-radius effects (e.g. Tassi et al., 2008; Izacard et al., 2011; Tassi, 2014, 2019)
Another avenue for future research would be to address stability with constraints. In a previous series of papers (Andreussi et al., 2010, 2012, 2013, 2015, 2016) we have investigated Hamiltonian based stability, generalizations of the MHD energy principle or the ideal fluid Rayleigh criterion, within the Lagrangian, energy-Casimir, and dynamically accessible frameworks. Because Dirac’s method adds Casimirs, the Dirac constraints, one gets a richer set of equilibria from the energy-Casimir variational principle and these can be tested for Lyapunov stability. Similarly, the method of dynamical accessibility (see Morrison, 1998) based on constrained variations induced by the Poisson operator will enlarge the set of stable equilibria.
Recently there has been consider research in the development of structure preserving computational algorithms. (See, e.g., Morrison, 2017, for review.) These are algorithms that preserve various geometric, Hamiltonian, variational, and other structure of fluid, kinetic, and other physical models. In the plasma community, in particular, we mention Evstatiev & Shadwick (2013); Qin et al. (2016); Xiao et al. (2016); Kraus et al. (2017), but there is a large body of additional work by these and other authors. Given how the finite-dimensional material of Section 2 so strongly parallels the infinite-dimensional material of Section 4, notably the structure of geodesic flow, a natural avenue for future research would be to develop numerical algorithms that preserve this structure.
Lastly, we mention that there is considerable geometric structure behind our calculations that could be further developed. Our results can be restated in geometric/Lie group language (see e.g. Bloch, 2002). Also, Arnold’s program for obtaining the Riemann curvature for geodesic flow on the group of volume preserving diffeomorphisms can be explored beginning from our results of Section 4. We did not feel this special issue would be the appropriate place to explore these ideas.
Acknowledgment
PJM was supported by U.S. Dept. of Energy under contract #DE-FG02-04ER-54742. He would also like to acknowledge support from the Humboldt Foundation and the hospitality of the Numerical Plasma Physics Division of the IPP, Max Planck, Garching. FP would like to acknowledge the hospitality of the Institute for Fusion Studies of the University of Texas at Austin.
References
- Abdelhamid et al. (2015) Abdelhamid, H. M., Kawazura, Y. & Yoshida, Z. 2015 Hamiltonian formalism of extended magnetohydrodynamics. J. Phys. A 48 (23), 235502.
- Andreussi et al. (2010) Andreussi, T., Morrison, P. J. & Pegoraro, F. 2010 MHD equilibrium variational principles with symmetry. Plasma Phys. and Controll. Fusion P52, 055001.
- Andreussi et al. (2012) Andreussi, T., Morrison, P. J. & Pegoraro, F. 2012 Hamiltonian magnetohydrodynamics: Symmetric formulation, Casimir invariants, and equilibrium variational principles. Phys. Plasmas 19, 052102.
- Andreussi et al. (2013) Andreussi, T., Morrison, P. J. & Pegoraro, F. 2013 Hamiltonian magnetohydrodynamics: Lagrangian, Eulerian, and dynamically accessible stability - Theory. Phys. Plasmas 20, 092104.
- Andreussi et al. (2015) Andreussi, T., Morrison, P. J. & Pegoraro, F. 2015 Erratum: Hamiltonian magnetohydrodynamics: Lagrangian, Eulerian, and dynamically accessible stability - Theory. Phys. Plasmas 22, 039903.
- Andreussi et al. (2016) Andreussi, T., Morrison, P. J. & Pegoraro, F. 2016 Hamiltonian magnetohydrodynamics: Lagrangian, Eulerian, and dynamically accessible stability - examples with translation symmetry. Phys. Plasmas 23, 102112.
- Arnold (1966) Arnold, V. I. 1966 Sur la géometrie différentielle des groupes de Lie de dimension infinie et ses applications á l’hydrodynamique des fluides parfaits. Ann. l’Inst. Fourier XVI, 319–361.
- Arnold (1978) Arnold, V. I. 1978 Mathematical Methods of Classical Mechanics. Springer-Verlag.
- Arnold & Khesin (1998) Arnold, V. I. & Khesin, B. A. 1998 Topological Methods in Hydrodynamics. Springer-Verlag.
- Arnold et al. (1980) Arnold, V. I., Kozlov, V. V. & Neishtadt, A. I. 1980 Dynamical Systems III. Springer Verlag, New York.
- Bloch (2002) Bloch, A. M. 2002 Nonholonomic Mechanics and Control. Springer-Verlag.
- Chandre et al. (2013) Chandre, C., de Guillebon, L., Back, A., Tassi, E. & Morrison, P. J. 2013 On the use of projectors for Hamiltonian systems and their relationship with Dirac brackets. J. Phys. A 46, 125203.
- Chandre et al. (2012) Chandre, C., Morrison, P. J. & Tassi, E. 2012 On the Hamiltonian formulation of incompressible ideal fluids and magnetohydrodynamics via Dirac’s theory of constraints. Phys. Lett. A 376, 737–743.
- Chandre et al. (2014) Chandre, C., Morrison, P. J. & Tassi, E. 2014 Hamiltonian formulation of the modified Hasegawa-Mima equation. Phys. Lett A 378, 956–959.
- Charidakos et al. (2014) Charidakos, I. Keramidas, Lingam, M., Morrison, P. J., White, R. L. & Wurm, A. 2014 Action principles for extended MHD models. Phys. Plasmas 21, 092118.
- Corben & Stehle (1960) Corben, H. C. & Stehle, P. 1960 Classical Mechanics, 2nd edn. Wiley.
- D’Avignon et al. (2015) D’Avignon, E., Morrison, P. J. & Pegoraro, F. 2015 Action principle for relativistic magnetohydrodynamics. Phys. Rev. D 91, 084050.
- D’Avignon et al. (2016) D’Avignon, E. C., Morrison, P. J. & Lingam, M. 2016 Derivation of the Hall and extended magnetohydrodynamics brackets. Phys. Plasmas 23, 062101.
- Dermaret & Moncrief (1980) Dermaret, Jacques & Moncrief, Vincent 1980 Hamiltonian formalism for perfect fluids in general relativity. Phys. Rev. D 21, 2785–2793.
- Dirac (1950) Dirac, P. A. M. 1950 Generalized Hamiltonian dynamics. Canadian J. Math. 2, 129–148.
- Evans (2010) Evans, L. C. 2010 Partial Differential Equations. American Mathematical Society, Providence, RI.
- Evstatiev & Shadwick (2013) Evstatiev, E. G. & Shadwick, B. A. 2013 Variational formulation of particle algorithms for kinetic plasma simulations. J. Comput. Phys. 245, 376–398.
- Finn & Antonsen (1985) Finn, J. M. & Antonsen, T. M. 1985 Magnetic helicity: What is it and what is it good for? Comments Plasma Phys. Control. Fusion 9, 111–126.
- Flierl & Morrison (2011) Flierl, G. R. & Morrison, P. J. 2011 Hamiltonian-Dirac simulated annealing: Application to the calculation of vortex states. Physica D 240, 212–232.
- Hanson et al. (1976) Hanson, A., Regge, T. & Teitleboim, C. 1976 Constrained Hamiltonian Systems. Accademia Nazionale dei Lincei, Rome.
- Izacard et al. (2011) Izacard, O., Chandre, C., Tassi, E. & Ciraolo, G. 2011 Gyromap for a two-dimensional Hamiltonian fluid model derived from Braginskii’s closure for magnetized plasmas. Phys. Plasmas 18 (6), 062105.
- Kaltsas et al. (2020) Kaltsas, D. A., Throumoulopoulos, G. N. & Morrison, P. J. 2020 Energy-Casimir, dynamically accessible, and Lagrangian stability of extended magnetohydrodynamic equilibria. Phys. Plasmas 27, 012104.
- Kampen & Felderhoff (1967) Kampen, N. G. Van & Felderhoff, B. U. 1967 Theoretical Methods in Plasma Physics. North-Holland, Amsterdam.
- Kraus et al. (2017) Kraus, M., Kormann, K., Morrison, P. J. & Sonnendrücker, E. 2017 GEMPIC: Geometric electromagnetic particle-in-cell methods. J. Plasma Phys. 83, 905830401.
- Lagrange (1788) Lagrange, J. L. 1788 Mécanique Analytique. Ve Courcier, Paris.
- Lingam et al. (2016) Lingam, M., Miloshevich, G. & Morrison, P. J. 2016 Concomitant Hamiltonian and topological structures of extended magnetohydrodynamics. Phys. Lett. A 380, 2400–2406.
- Lingam et al. (2020) Lingam, Manasvi, Morrison, Philip J. & Wurm, Alexander 2020 A class of three-dimensional gyroviscous magnetohydrodynamic models. arXiv e-prints p. arXiv:2002.11272.
- Morrison (1982) Morrison, P. J. 1982 Poisson brackets for fluids and plasmas. AIP Conf. Proc. 88, 13–46.
- Morrison (1998) Morrison, P. J. 1998 Hamiltonian description of the ideal fluid. Rev. Mod. Phys. 70, 467–521.
- Morrison (2009) Morrison, P. J. 2009 On Hamiltonian and action principle formulations of plasma dynamics. AIP Conf. Proc. 1188, 329–344.
- Morrison (2017) Morrison, P. J. 2017 Structure and structure-preserving algorithms for plasma physics. Phys. Plasmas 24, 055502.
- Morrison & Greene (1980) Morrison, P. J. & Greene, J. M. 1980 Noncanonical Hamiltonian density formulation of hydrodynamics and ideal magnetohydrodynamics. Phys. Rev. Lett. 45, 790–793.
- Morrison et al. (2009) Morrison, P. J., Lebovitz, N. R. & Biello, J. 2009 The Hamiltonian description of incompressible fluid ellipsoids. Ann. Phys. 324, 1747–1762.
- Morrison et al. (2014) Morrison, P. J., Lingam, M. & Acevedo, R. 2014 Hamiltonian and action formalisms for two-dimensional gyroviscous MHD. Phys. Plasmas 21, 082102.
- Newcomb (1962) Newcomb, WA 1962 Lagrangian and Hamiltonian methods in magnetohydrodynamics. Nuclear Fusion Supp. 2, 451–463.
- Nguyen & Turski (1999) Nguyen, S. & Turski, L. A. 1999 Canonical description of incompressible fluid: Dirac brackets approach. Physica A 272, 48–55.
- Nguyen & Turski (2001) Nguyen, S. & Turski, L. A. 2001 Examples of the Dirac approach to dynamics of systems with constraints. Physica A 290, 431–44.
- Orszag et al. (1986) Orszag, S. A., Israeli, M. & Deville, M. O. 1986 Boundary conditions for incompressible flows. J. Sci. Comp. 1, 75–111.
- Qin et al. (2016) Qin, H., Liu, J., Xiao, J., Zhang, R., He, Y., Wang, Y., Burby, J. W., Ellison, L. & Zhou, Y. 2016 Variational formulation of particle algorithms for kinetic plasma simulations. Nucl. Fusion 56, 014001.
- Serrin (1959) Serrin, J. 1959 Mathematical principles of classical fluid mechanics. In Handbuch der Physik VIII pt. 1 (ed. S. Flügge), pp. 125–262. Springer Verlag.
- Sommerfeld (1964) Sommerfeld, A. 1964 Mechanics of Deformable Bodies. Academic Press.
- Sudarshan & Makunda (1974) Sudarshan, E. C. G. & Makunda, N. 1974 Classical Dynamics : A Modern Perspective. John Wiley & Sons, New York.
- Sundermeyer (1982) Sundermeyer, K. 1982 Constrained Dynamics, Lecture Notes in Physics vol. 169. Springer Verlag, New York.
- Tassi (2014) Tassi, E. 2014 Hamiltonian structure of a drift-kinetic model and hamiltonian closures for its two-moment fluid reductions. European Physical Journal D 68, 196.
- Tassi (2019) Tassi, E. 2019 Hamiltonian gyrofluid reductions of gyrokinetic equations. Journal of Physics A 52, 465501.
- Tassi et al. (2009) Tassi, E., Chandre, D. & Morrison, P. J. 2009 Hamiltonian derivation of the Charney-Hasegawa-Mima equation. Phys. Plasmas 16, 082301.
- Tassi et al. (2008) Tassi, E., Morrison, P. J., Waelbroeck, F. L. & Grasso, D. 2008 Hamiltonian formulation and analysis of a collisioinless fluid reconnection model. Plasma Phys Cont. Fusion 50, 085014.
- Tur & Yanovsky (1993) Tur, A. V. & Yanovsky, V. V. 1993 Invariants in dissipationless hydrodynamic media. J. Fluid Mech. 248, 67–106.
- Van Kampen & Felderhof (1967) Van Kampen, N. G. & Felderhof, B. U. 1967 Theoretical Methods in Plasma Physics. North Holland, Amsterdam.
- Whittaker (1917) Whittaker, E. T. 1917 A Treatise on the Analytical Dynamics of Particles and Rigid Bodies, 2nd edn. Cambridge University Press.
- Xiao et al. (2016) Xiao, J., Qin, H., Morrison, P. J., Liu, J., Yu, Z., Zhang, R. & He, Y. 2016 Explicit high-order noncanonical symplectic algorithms for ideal two-fluid systems. Phys. Plasmas 23, 112107.