1. Introduction
It was first shown by Helmholtz (Reference Helmholtz1858) that for an ideal, barotropic fluid with conservative body forces, vortex lines are transported by the flow. Thomson (Reference Thomson1868) (later Lord Kelvin) then recognised that any knots and linkages in these lines are conserved. Almost a century later, Moreau (Reference Moreau1961) showed that the helicity
$\mathcal {H}$
is conserved, a result that was later proved independently by Moffatt (Reference Moffatt1969), who went further in recognising its relationship with the magnetic helicity invariant of Woltjer (Reference Woltjer1958a
), and with the cross-helicity invariant
$\mathcal {H}_{c}$
of the ideal magnetohydrodynamic (MHD) equations (Woltjer Reference Woltjer1958b
).
In a fluid flow with velocity vector
$\boldsymbol {u}$
and vorticity vector
$\boldsymbol {\omega } = \nabla \times {\boldsymbol {u}}$
the helicity is defined to be a volume integral of the form
$\mathcal {H}={\int _{V}}{\boldsymbol {u}}\cdot \boldsymbol {\omega }\,{\rm d}V$
. In this context, Moffatt (Reference Moffatt1969) showed explicitly that it is also a measure of the degree of vortex line linkages in a localised disturbance. This reference (Moffatt Reference Moffatt1969) has been the foundation for a significant body of work on helicity applied to knots and linkages in both ideal fluids and MHD: see also Pouquet, Frisch & Léorat (Reference Pouquet, Frisch and Léorat1976), Berger & Field (Reference Berger and Field1984), Moffatt (Reference Moffatt1978, Reference Moffatt1985, Reference Moffatt1990) and Moffatt & Ricca (Reference Moffatt and Ricca1992). Moreover, it was shown in Enciso, Peralta-Salas & de Lizaur (Reference Enciso, Peralta-Salas and de Lizaur2016) that the helicity is the only integral invariant for a general volume-preserving flow. We refer to the paper by Moffatt (Reference Moffatt2014) for an overview of results and a wide range of references in the subject. The effect of helicity dynamics on the energy cascade, as well as the energy dissipation rate, has been investigated in Biferale, Musacchio & Toschi (Reference Biferale, Musacchio and Toschi2012), Capocci et al. (Reference Capocci, Johnson, Oughton, Biferale and Linkmann2023) and Linkmann (Reference Linkmann2018) (see references therein); see also Biferale & Titi (Reference Biferale and Titi2013). In fact, tracking the helicity density has now become a standard diagnostic tool in the study of vortical structures in large scale numerical simulations of both incompressible Euler and Navier–Stokes flows: see Kerr (Reference Kerr2018, Reference Kerr2023). For more general recent references in incompressible Navier–Stokes turbulence, see Iyer, Sreenivasan & Yeung (Reference Iyer, Sreenivasan and Yeung2019), Yeung & Ravikumar (Reference Yeung and Ravikumar2020) and Buaria, Pumir & Bodenschatz (Reference Buaria, Pumir and Bodenschatz2022).
In the setting of ideal compressible flows, a (nearly) universal feature in the study of helicity dynamics has been the assumption of barotropicity of the fluid: that is, the pressure
$P$
is taken to be solely a function of the fluid density
$\rho$
, so iso-surfaces of pressure and density are parallel. As has been described in Thorpe, Volkert & Ziemianski (Reference Thorpe, Volkert and Ziemianski2003), the results of Helmholtz and Kelvin on vortex lines and structures were introduced to the meteorological and oceanographic communities by Bjerknes (Reference Bjerknes1898) (in which rotational effects were included) through his circulation theorem, which is also called the Poincaré–Bjerknes circulation theorem (Poincaré Reference Poincaré1893). The essential role played by barotropicity had been pointed out earlier by Silberstein (Reference Silberstein1896). In meteorological reality, the validity of the barotropic assumption is somewhat limited. For instance, regions of barotropicity in the atmosphere have a uniform temperature distribution and are distinguished by the absence of fronts, so the barotropic assumption is generally restricted to the tropics (Roulstone & Norbury Reference Roulstone and Norbury2013; Vallis Reference Vallis2019; Rogachevskii Reference Rogachevskii2021), whereas in the midlatitudes the atmosphere is generally baroclinic. For instance, the Unified Model run by the UK Meteorological Office assumes that the pressure is a function of both density and temperature (Davies et al. Reference Davies, Cullen, Malcolm, Mawson, Staniforth, White and Wood2005). The barotropic assumption has greater validity, however, in the study of stellar interiors or of the interstellar medium (Yokoi Reference Yokoi2013). One common class of barotropic models used in astrophysics are polytropic fluids, where it is assumed that
$P \propto \rho ^{\gamma }$
for
$\gamma \geq 1$
.
In the non-barotropic case, a generalised helicity (which is a conserved quantity) has been introduced in Mobbs (Reference Mobbs1981): see also Gaffet (Reference Gaffet1985) and Salmon (Reference Salmon1988). Similarly, a generalised cross-helicity can be introduced for the non-barotropic MHD equations (Yahalom Reference Yahalom2017). As noted in Webb (Reference Webb2018; p. 183), these generalised helicities are non-local quantities as they depend on a non-local variable, namely the Lagrangian time integral of the temperature. The goal of this paper is to introduce a generalised helicity which depends solely on local variables, even though it might not be fully conserved. Due to its local nature, the dynamics of this new generalised helicity is easier to interpret.
In particular, the aim of this paper is to explore the circumstances under which the barotropic condition can be removed and to study the consequences of its removal. In order to explain briefly how Moreau (Reference Moreau1961) and Moffatt (Reference Moffatt1969) used the barotropic assumption, let us consider an ideal compressible fluid with velocity vector
$\boldsymbol {u}$
, density
$\rho$
, pressure
$P$
and vorticity
$\boldsymbol {\omega } = \mbox {curl}\,{\boldsymbol {u}}$
. In their standard form, without the inclusion of the (specific) internal energy (see § 2.2), the barotropic compressible Euler equations take the form

where
$\mathrm {D}/\mathrm {D}t = \partial _{t}+{\boldsymbol {u}}\cdot {\boldsymbol {\nabla }}$
is the material derivative and
$P$
is solely a function of
$\rho$
. The equation for the vorticity is

We note that the cross product vanishes as
${\boldsymbol {\nabla }} P$
and
${\boldsymbol {\nabla }} (\rho ^{-1} )$
are both parallel to
${\boldsymbol {\nabla }} \rho$
, due to the barotropic assumption. Therefore, the evolution of the helicity density can be written as an entropy-type relation (in the sense of hyperbolic conservation laws) of the form

where
$h= {\boldsymbol {u}}\cdot \boldsymbol {\omega }$
,
$\Pi (\rho ) = \int _{0}^{\rho }\eta ^{-1}P' (\eta ) {\rm d}\eta$
(where
$P' = \frac{d P}{d \rho}$
) and

Thus, with suitable boundary conditions on the domain such as periodic boundary conditions, it follows that
$\mathcal {H} = {\int _{V}} {\boldsymbol {u}}\cdot \boldsymbol {\omega }\,{\rm d}V$
is conserved. In fact, Moffatt (Reference Moffatt1969) showed that the time derivative of the helicity integrated over a moving domain
$\mathcal {V}(t)$
transported by the fluid is equal to a perfect divergence. Therefore, its evolution on such a moving domain is determined only by boundary terms.
The above calculation illustrates the point that if the barotropic assumption is to be dropped then the helicity
$\mathcal {H}={\int _{V}} h\,{\rm d}V$
is no longer conserved, because in (1.3) the term
$\mbox {div} ( \Pi \boldsymbol {\omega } )$
is replaced by
$\rho ^{-1}\mbox {div} (\boldsymbol {\omega } P)$
and the additional term
${\boldsymbol {u}} \cdot ({\boldsymbol {\nabla }} (\rho ^{-1}) \times {\boldsymbol {\nabla }} P)$
appears. Therefore a change in the definition of the helicity
$\mathcal {H}$
is required. It is hardly surprising that without the barotropic assumption, the property that vortex lines are transported with the flow will be lost. We introduce a new definition of helicity density
$h_{\rho }$
and helicity
$H$
as

In the context of helicity dynamics without the barotropic assumption, the challenge is to estimate the growth or decay of a topological quantity without explicitly imposing any assumptions on
$P$
. In § 2 of this paper, we will show that
$h_{\rho }$
obeys an entropy-type law:

The pressure
$P$
appears only in
$\boldsymbol {J}_{\rho }$
and thus disappears under integration over a periodic domain. In the case of the inhomogeneous incompressible Euler equations, a potential physical interpretation of these formal results lies in using the helicity
$H$
and the constant total energy
$E_{0}$
to define an inverse length scale. In analogy with the Kolmogorov length scale, in § 2.1 we define this inverse length scale based on the average rate of change of the helicity as follows:

The brackets
$\langle \cdot \rangle := \frac {1}{T} \int _0^T \cdot \, {\rm d}t$
denote a finite-time average,
$\varrho _{0}$
denotes the domain averaged density (where the domain is the periodic domain
$[0,L]^3$
) and the energy is defined by

The length scale
$\lambda _{H}$
could be interpreted as the smallest length scale on which there are significant variations of
$H$
and hence significant topological variations. The source term
$\sigma _{\rho }$
is twice the product of the potential vorticity
$q =\boldsymbol {\omega }\cdot {\boldsymbol {\nabla }}\rho$
and the energy density. It is shown in § 2.1 that this leads to the estimate

where
$\|q_0\|_{\infty }$
is the spatial maximum norm of the (initial) potential vorticity, which is a material constant under the dynamics. We emphasise that for the inhomogeneous incompressible Euler equations the pressure solves an elliptic problem and the barotropic assumption is not relevant in this context, as the pressure also depends on velocity derivatives. As the canonical helicity is not a conserved quantity for these equations, the modified helicity
$H$
provides a new topological quantity whose dynamics is easy to interpret and its growth is bounded.
A similar calculation for the fully compressible Euler equations (including the specific internal energy) is explained in § 2.2 with the complication that
$\sigma _{\rho }$
has an extra term involving
$\mbox {div}\,{\boldsymbol {u}}$
that weights the helicity density
$h_{\rho }$
. Finally, in § 3 we introduce a non-barotropic cross-helicity density
$h_{c}=\rho {\boldsymbol {u}}\cdot {\boldsymbol {B}}$
for the ideal compressible MHD equations, in which
$B$
is the magnetic field.
2. The evolution of
$h_{\rho }$
for both the inhomogeneous incompressible and the compressible 3-D Euler equations
It is known that strong solutions of the 3-D incompressible Euler equations can develop singularities in a finite time (Elgindi Reference Elgindi2021): see also Drivas & Elgindi (Reference Drivas and Elgindi2023) for a recent survey and references therein. In the compressible case, it is also known that smooth solutions blow up in finite time (Sideris Reference Sideris1985). Once singularities or shocks develop, solutions could be too irregular to perform the manipulations needed to obtain the results in this paper; for example, the vorticity
$\boldsymbol {\omega }$
might no longer be a well-defined pointwise quantity. Thus, it should be understood that the results in the following sections are only valid for time intervals when sufficiently smooth solutions exist for both the Euler and ideal MHD equations. Sufficient regularity conditions for solutions of the incompressible Euler equations to conserve the helicity can be found in Cheskidov et al. (Reference Cheskidov, Constantin, Friedlander and Shvydkoy2008) and Boutros & Titi (Reference Boutros and Titi2024) and references therein.
2.1. Results for the inhomogeneous incompressible 3-D Euler equations
We recall that the 3-D inhomogeneous incompressible Euler equations are given by

In this model, the density
$\rho$
is allowed to vary but
$\boldsymbol {u}$
remains divergence-free. The divergence-free condition implies that
$P$
must satisfy an elliptic equation that involves derivatives of the velocity:

and so an imposition of barotropicity is invalid. The vorticity satisfies the following equation:

We note that the canonical helicity
$\mathcal {H}$
is not conserved by solutions of the inhomogeneous incompressible Euler equations, as the integral
${\int _{V}} {\boldsymbol {u}} \cdot [{\boldsymbol {\nabla }} (\rho ^{-1} )\times {\boldsymbol {\nabla }} P ] \,{\rm d}V$
generally does not vanish. The new helicity
$H$
introduced in (1.5) is also not a conserved quantity, but we will find that its growth is bounded and its evolution depends only on local quantities. First we need to recall two basic identities.
Firstly, it is not difficult to show that
$\rho$
,
$\boldsymbol {u}$
and
$P$
obey the conservation law

where
$\mathcal {E}_{0} = {\frac {1}{2}}\rho |{\boldsymbol {u}}|^{2}$
is the energy density. Therefore, on a periodic domain the energy
$E_{0} = \int _{V}\mathcal {E}_{0}\,{\rm d}V$
is conserved.
Secondly, we recall Ertel’s theorem (Ertel Reference Ertel1942) for the potential vorticity
$q = \boldsymbol {\omega }\cdot {\boldsymbol {\nabla }}\rho$
. Using the evolution equation for
$\boldsymbol {\omega }$
in (2.3), it can be shown that
$q$
satisfies

where terms of the type
$({\boldsymbol {\nabla }}\rho )\cdot (\boldsymbol {\omega }\cdot {\boldsymbol {\nabla }}{\boldsymbol {u}})$
cancel, in tandem with the vanishing of the pressure term. It therefore follows that
$q$
is a material constant.
The material derivatives of
$\rho {\boldsymbol {u}}$
and
$\rho \boldsymbol {\omega }$
are easily found, thereby giving

We note that the terms involving the pressure in (2.6) form a perfect divergence:

Equation (2.6) then becomes

which can be written as an entropy-type relation

with the flux vector
$\boldsymbol {J}_{\rho }$
and the scalar source term
$\sigma _{\rho }$
defined as

One can therefore infer that the sign of the potential vorticity impacts whether
$h_{\rho }$
increases or decreases. After integration of (2.9) over a periodic domain, the term
$\textrm { div}\boldsymbol {J}_{\rho }$
disappears and one finds

The property that
$q$
is a material constant means that the growth or decay of
$H$
is bounded. In fact, (2.5) implies that
$\lVert q (\cdot , t) \rVert _\infty \leqslant \lVert q_0 \rVert _\infty$
. This immediately implies the bound

where
$\|q\|_{\infty }$
is the maximum spatial norm of the potential vorticity. In turn, this bound constrains the globally averaged alignment between
$\boldsymbol {u}$
and
$\boldsymbol {\omega }$
and hence the topological dynamics.
Next we notice that the evolution of
$H$
induces a length scale
$\lambda _{H}$
of the following form:

where
$\varrho _{0}$
is the average density
$\varrho _{0}= L^{-3}{\int _{V}} \rho \,{\rm d}V$
. The quantity
$\lambda _{H}$
can be interpreted as a resolution length scale: for example, the smallest length scale on which there is significant topological dynamics. We can now use (2.12) to find the following upper bound on this inverse length scale:

As has been said before,
$\lambda _H$
could be viewed as a cutoff length scale for the helicity dynamics.
2.2. Results for the fully compressible 3-D Euler equations
The fully compressible Euler equations, including the specific internal energy
$e$
(per unit mass), require an equation for
$e$
in addition to those given in (1.1). They are given by

Before considering the helicity density
$h_{\rho }$
, let us consider the well-known formula for the full energy density:

It is not difficult to show that
$\mathcal {E}$
satisfies the exact continuity equation (2.4) (with
$\mathcal {E}_{0}$
replaced by
$\mathcal {E}$
). Thus we find that the total energy
$E = {\int _{V}} \mathcal {E}{\rm d}V$
is constant for any equation of state. For the system (2.15) to be fully determined, an equation of state for
$P$
in terms of
$e$
and
$\rho$
is required. Our results, however, are independent of the choice of equation of state and therefore we do not fix a choice. We note that similar results as described below can also be obtained for different formulations of the compressible Euler equations involving temperature or entropy dynamics. This is because our results rely only on the form of the density and velocity equations. In addition, we note that the potential vorticity
$q$
is not a material constant for these equations. However, it was shown in Gibbon & Holm (Reference Gibbon and Holm2012) that
$q$
satisfies

One can deduce from (2.15) that
$\rho {\boldsymbol {u}}$
and
$\rho \boldsymbol {\omega }$
evolve according to


Following the grouping of the pressure terms as in (2.7), from (2.18) and (2.19) we deduce that

With
$\boldsymbol {J}_{\rho }$
and
$\sigma _{\rho }$
defined in (2.10) and
$\tilde {\sigma }_{\rho } = \sigma _{\rho } - 2h_{\rho } \,\mbox {div}\,{\boldsymbol {u}}$
, we find a similar entropy-type relation to (2.9):

Equation (2.21) integrates to

From this equation, one can observe that the helicity
$H$
increases in regions of compression, while it decreases in regions of dilatation. Moreover, one can deduce an inequality of the following form:

where we observe that bounds of this type are particularly useful in the perturbative regime of slightly compressible flows where the last term on the right-hand side could be small.
3. Cross-helicity in ideal compressible MHD
Let us consider the 3-D compressible ideal MHD equations. These are composed of

together with the induction equation for the magnetic field
$\boldsymbol {B}$
(as well as the divergence-free condition
$\mbox {div}\,{\boldsymbol {B}} = 0$
) and the equation for the specific internal energy
$e$

The energy density
$\mathcal {E}_{B}$
is an extension of (2.16) to include
$\boldsymbol {B}$
:

where
$\mathcal {E} = \rho ({\frac {1}{2}}|{\boldsymbol {u}}|^{2} + e )$
is the fluid energy density. We then find that

from which it follows that the full energy

is conserved.
The canonical cross-helicity
$\mathcal {H}_{c} ={\int _{V}} {\boldsymbol {u}}\cdot {\boldsymbol {B}}\,{\rm d}V$
is a pseudo-scalar (Pouquet et al. Reference Pouquet, Frisch and Léorat1976; Moffatt Reference Moffatt1978; Berger & Field Reference Berger and Field1984). In parallel with (1.5), we introduce the following generalised cross-helicity:

with the cross-helicity density defined as
$h_{c} = \rho {\boldsymbol {u}}\cdot {\boldsymbol {B}}$
. The MHD equivalent of the potential vorticity is
$q_{c} = {\boldsymbol {B}}\cdot {\boldsymbol {\nabla }}\rho$
. One can check that the magnetic potential vorticity satisfies

The equation for
$\rho {\boldsymbol {u}}$
is

from which we deduce that


After rearrangement, we find

The equivalent of (2.10) is

so with the definition
$\sigma _{c} = -{\frac {1}{2}} q_{c}|{\boldsymbol {u}}|^{2} - h_{c}\mbox {div}\,{\boldsymbol {u}}$
we find

This integrates to

As before, we note that the sign of the potential vorticity impacts the evolution of the cross-helicity
$H_{c}$
. Moreover, in regions of expansion
$H_{c}$
is decreasing, while it is increasing in regions of compression. Equation (3.13) is the equivalent of (2.21). On the left-hand side,
$\mbox {div}\,{\boldsymbol {u}}$
weights the cross-helicity density. In the case of the inhomogeneous incompressible MHD equations, one finds a similar relation to (2.9) and deduces that
$q_{c}$
is a material constant.
4. Comments and conclusion
Before making some comments, let us summarise what we have found so far. Until now, most results on helicity dynamics for compressible flows have required the barotropic approximation. The main thread in this paper has been the investigation of a different definition of helicity density for compressible flows which takes the form
$h_{\rho }=(\rho {\boldsymbol {u}})\cdot (\rho \boldsymbol {\omega })$
for which the barotropic condition is no longer required. The entries in table 1 show how the four cases are related. The inclusion of the
$\rho ^{2}$
term is crucial, as the results do not hold for other powers of
$\rho$
in the helicity density. Moreover, we repeat that the evolution of
$H$
(and
$H_{c}$
) can only be analysed provided there exist time intervals on which sufficiently smooth solutions exist for either the compressible Euler equations (including the internal energy), the equations of compressible ideal MHD or the inhomogeneous incompressible Euler equations, respectively.
Table 1. Summary of the entropy-type relations
$\partial _{t}h + \mbox {div}\,\boldsymbol {J} = \sigma$
for the four different cases: the barotropic compressible Euler equations (Baro–Euler), the inhomogeneous incompressible Euler equations (II-Euler), the fully compressible Euler equations (Comp-Euler) and the ideal compressible MHD equations. Note that
$\mathcal {E}_{0} = {\frac {1}{2}}\rho |{\boldsymbol {u}}|^{2}$
and
$\mathcal {E} = \rho ({\frac {1}{2}}|{\boldsymbol {u}}|^{2}+e)$
.

The inclusion of the specific internal energy per unit mass
$e$
, while it does not appear explicitly in the calculations for the dynamics of
$h_{\rho }$
, impacts not only the
$\mathcal {E}_{0}$
term through its appearance in the total energy equation (2.16), but also the source term
$\sigma _{\rho }$
defined in (2.10). For the compressible Euler equations as given in (2.15) to be fully determined, an equation of state for specifying the pressure
$P$
is required. However, our results in this paper are independent of the choice of such an equation of state, which is why the dependence of the pressure on the density, temperature and entropy has been left unspecified. A typical non-barotropic choice might be the use of the ideal gas law, where
$P$
would be a function of both density and temperature (Davies et al. Reference Davies, Cullen, Malcolm, Mawson, Staniforth, White and Wood2005).
In the case of the inhomogeneous incompressible Euler equations, the new definition of
$h_{\rho }$
and its behaviour leads us to introduce a resolution length scale
$\lambda _{H}$
in (1.7). This new length scale
$\lambda _{H}$
is bounded from below in (2.14) and it suggests a typical length scale on which helicity (and hence topological) variations occur. The two main features of the dynamics are the predominance of the potential vorticity
$q$
which remains bounded in
$L^{\infty }$
and in the fully compressible case the (average) sign of
$\mbox {div}\,{\boldsymbol {u}}$
.
Acknowledgements.
The authors are grateful to K. Moffatt (Cambridge), R. Pandit (IISc Bangalore), I. Roulstone (Surrey) and D. Vincenzi (Nice) for helpful and encouraging discussions on this subject. The authors thank R.M. Kerr (Warwick) for permission to use the figure with the helicity of a trefoil knot. They would also like to thank the Isaac Newton Institute for Mathematical Sciences, Cambridge, for support and hospitality during the programme ‘Anti-diffusive dynamics: from sub-cellular to astrophysical scales’ where work on this paper was undertaken.
Funding.
D.W.B. acknowledges support from the Cambridge Trust and the Cantab Capital Institute for Mathematics of Information. This work was supported by EPSRC grant no. EP/R014604/1.
Declaration of interests.
The authors report no conflict of interest.