Ga Fluid Dynamics
Ga Fluid Dynamics
Ga Fluid Dynamics
Abstract In this work we will use geometric algebra to prove a number of well
known theorems central to the field of fluid dynamics, such as Kelvin’s Circulation
Theorem and Helmholtz’ Theorem, showing that it is accessible by geometric alge-
bra methods and that these methods facilitate the representation of and calculation
with fluid dynamics concepts. Then we propose a generalization of the stream func-
tion to arbitrary dimensions, extending its explanatory power to higher-dimensional
flows. We will show how this extended stream function behaves on streamlines and
we will relate it to the curl of the flow’s vector field, i.e. its vorticity.
1 Introduction
Carsten Cibura
Technische Universität Darmstadt, currently at
Universiteit van Amsterdam, Faculteit der Natuurwetenschappen, Wiskunde en Informatica,
Kruislaan 404, 1098 SM Amsterdam, e-mail: c.cibura@uva.nl
Dietmar Hildenbrand
Technische Universität Darmstadt,
Fraunhoferstr. 5, 64283 Darmstadt, e-mail: dietmar.hildenbrand@gris.informatik.tu-darmstadt.de
1
2 Carsten Cibura and Dietmar Hildenbrand
function to arbitrary dimensions. Classically, the stream function is defined for two-
dimensional flows, where it can be used to calculate stream lines or the (complex)
potential of a flow. Generalizing the stream function to arbitrary dimensions offers
extended possibilities of analyzing a fluid flow.
We will proceed as follows. In section 2 we will give a short introduction into
what we consider advanced concepts of geometric algebra, like vector differentia-
tion and integration. Section 3 will introduce the reader to some pecularities of fluid
dynamics on a rather algebraic level, to an extent that is needed to understand this
work. For a more extended and figurative introduction, see [2]. In section 4 we use
geometric algebra to prove a number of theorems central to fluid dynamics, such as
Kelvin’s Circulation Theorem and Helmholtz’ Theorem. Also, we will show how to
define the stream function, which is recognized as useful for the description of 2D
flows, in arbitrary dimensions. Finally, in section 5, we will summarize our findings.
2 Geometric Algebra
We assume that the reader is familiar with the basics of geometric algebra, i.e. the
inner, outer and geometric product, the way these apply to vectors, how they extend
to higher grade objects, the role of the pseudoscalar etc.
In the following we will give a brief introduction into vector differentiation and
directed integration. For a comprehensive and more axiomatic introduction we refer
the reader to [7]. [5] gives an introduction that might be considered more accessible.
The vector derivative ∇ unites the algebraic properties of a vector with those of an
operator. This becomes clear, if one expands it in terms of a basis. Given a coordinate
frame {ek } and its reciprocal frame {ek }, one can write
∂
∇ = ∑ ek ek · ∇ = ∑ ek , (1)
k k ∂ xk
which shows that ∇ inherits the properties of the partial derivatives – i.e. chain rule
and product rule apply – while at the same time it plays the role of a vector in any
product. The application of the vector derivative to scalar and vector-valued func-
tions or fields, respectively, may serve as an illustration of its calculational power.
Let p(x) be a scalar-valued field, i.e. a function depending on n-dimensional
position x. Then
∂ p(x)
∇p(x) = ∑ ek , (2)
k ∂ xk
is the vector-valued gradient of the scalar field p(x).
Geometric Algebra Approach to Fluid Dynamics 3
a general multivector consisting of two terms of grade zero and two, respectively.
The scalar term ∇ · u(x), which is the divergence of u(x) and a pure bivector ∇ ∧
u(x), which is the vector field’s curl. Note that neither contains an abuse of notation,
but both seamlessly integrate into the geometric algebra calculus.
Moreover, it is possible to extend the vector derivative to general multivectors
and take the derivative ∇F(x) of any multivector-valued function F(x) with respect
to a vector argument.
As a vector the position of ∇ in any geometric algebra expression is not arbitrary,
since the geometric product is not commutative. As a consequence it no longer suf-
fices to determine the target of the operator ∇. The following rule of notation may
help to disambiguate things.
• In the absence of brackets, ∇ acts on the quantity to its immediate right.
• When ∇ is followed by brackets, it acts on all of the terms inside the brackets.
• When ∇ acts on a multivector, which is not on its right, the scope will be signified
by overdots.
• If ∇ has a subscript, then that indicates the variable with respect to which the
derivative has to be taken.
Consider the derivative of a nested function. Let u(v(x)) be such a function, with
u, v and x vectors. Then, by the chain rule
∂u i
∇x u = ∑ e
∂ xi
∂u ∂vj
= ∑ j i ei
∂v ∂x
=∇˙ x (v̇(x) · ∇
´ v )ú(v(x)) . (4)
With that it is possible to define the directional derivative of any multivector field
in the direction of a vector a in terms of the geometric product as
1 ˙ Ḟ(x) .
(a · ∇)F(x) = a∇F(x) + ∇a (5)
2
dx
Z Z β
F(x)dx = F(x) ds . (6)
C α ds
The term
dx
ds = e(x)ds
dx = (7)
ds
is called directed line element. The argument x of e often is suppressed.
Three things are notable about this definition. First, the vector e(x) is the tangent
vector of the curve C in point x, spanning the tangent space there. Secondly, the
measure dx preserves a sense of direction, since it is defined as a vector-valued in-
finitesimal quantity. And finally, the product between the integrand and the measure
is to be read as a geometric product. That is, for example, for any vector field u(x)
the integral can be split into
Z Z Z
u(x)dx = u(x) · dx + u(x) ∧ dx . (8)
C C C
In analogy to (7) one determines the directed line elements for coordinate curves
in higher dimensions by
∂x
dxk = k dsk = ek dsk . (9)
∂s
From these the directed area element of a surface S = {x(s1 , s2 )} can be found
to be
d2 x = dx1 ∧ dx2 = e1 ∧ e2 ds1 ds2 , (10)
and the directed surface integral defined in terms of an iterated scalar integral by
Z Z Z β1 Z β2 (s1 )
Fd2 x = Fdx1 ∧ dx2 = ds1 ds2 Fe1 ∧ e2 . (11)
S S α1 α2 (s1 )
We omit the proof here and refer the reader to [2] or [5]. Let us point out, though,
that the orientation of the manifold as well as its boundary is taken care of by the
definition of the directed measures dX and dS, respectively.
Geometric Algebra Approach to Fluid Dynamics 5
One important consequence of Stokes’ theorem is the fact that the path integral
along a closed curve in any gradient field is zero. In order to see this, consider the
function L(A) = f · A with f and A vectors in a two-dimensional manifold V and f the
gradient of some scalar-valued function w, i.e. f = ∇w = ∇ ∧ w. Then
I Z
f · dx = ˙ 2 x)
ḟ · (∇d
∂V V
Z
= ˙ · d2 x
(ḟ ∧ ∇)
V
Z
=− (∇ ∧ ∇ ∧ w) · d2 x = 0 . (14)
V
Here, d2 x has grade two, serving as a pseudoscalar for the tangent space of V . By
basic rewriting rules available in geometric algebra, it can be used to swap the inner
and outer product, which we did in line two, above.
3 Fluid Dynamics
∂ x(x0 ,t)
u(x,t) = (15)
∂t
= (u1 (x,t), . . . , un (x,t)) , (16)
d ˙ u̇ + ∂ u ,
u(x,t) = (u · ∇) (17)
dt ∂t
D ∂
as can be verified by applying the chain rule. We write Dt = (u · ∇) + ∂t , an operator
which is called the material derivative. It takes into acount that the fluid is moving
and the particle position changes with time.
6 Carsten Cibura and Dietmar Hildenbrand
∂ρ
+ ∇ · (ρu) = 0 , (18)
∂t
where ρ = ρ(x,t), the scalar-valued mass density of the fluid.
There is a position- and time-dependent scalar-valued function p(x,t), pressure,
which describes a force acting on any arbitrary surface inside the fluid, in the direc-
tion of the surface normal.
While pressure is a force acting locally, most real world fluids are subject to
global forces such as gravity, acting on the whole volume of fluid. These forces are
called body forces and denoted b.
The above properties hold for all fluid flows, but there is a number of restrictions
that can be placed on a flow to create interesting and important special cases.
An ideal fluid is a fluid in which no internal friction occurs. Therefore it does not
have viscosity. Note that in nature ideal fluids do not exist. However, they permit a
simplification of certain concepts that can be extended later on.
In an ideal fluid, the law of balance of momentum holds, stating that
Du
ρ = −∇p + ρb . (19)
Dt
A fluid flow is called incompressible, if its mass density is constant following the
flow, i.e. Dρ
Dt = 0. Equivalently, ∇ · u = 0 (see [2] for proof).
A fluid flow is called homogeneous, if its mass density is constant in space.
A fluid flow is called isentropic, if there is a scalar-valued function w(x,t), called
enthalpy, with
1
∇w = ∇p . (20)
ρ
Figuratively speaking, w is a measure of the heat content of a fluid. It consists of the
internal energy and pressure work. Internal energy is made up by molecular rotation
and oscillation, potential energy of chemical bonds etc. and roughly proportional to
the fluid’s temperature. Pressure work is the work that is done to establish the fluid’s
volume agains pressure’s influence trying to compress the fluid.
d
Z
ΓC = − ∇w · dx = 0 , (24)
dt t Ct
because the path integral along a closed curve in a gradient field is zero, as was
shown in (14). tu
Definition 2 (Vortex Sheets, Lines and Tubes). A vortex sheet (resp. vortex line)
is a surface S (resp. a curve C), which – in each of its points – is orthogonal to the
vorticity plane ξ ≡ ∇ ∧ u of a fluid flow u.
A vortex tube consists of a surface, nowhere locally a vortex sheet, with vortex
lines drawn through each point of its bounding curve and extending as far as possible
in each direction.
Proof. Let S(x) be a vortex sheet parametrized by s1 and s2 . Then dS = ∂∂sS1 ds1 ∧
∂S
∂ s2
ds2 = e1 (x)∧e2 (x)ds1 ds2 is the directed area element of S at x. The orthogonality
property between S and ξ can be written as (∇ ∧ u(x)) · (e1 (x) ∧ e2 (x)) = 0, for all x.
Integrating over a vortex sheet and taking the derivative with respect to time yields
d d
Z I
(∇ ∧ u) · dS = u · dx = 0 , (26)
dt S dt ∂S
according to (13), (21) and (24), which proves i) for vortex sheets. The claim for
vortex lines is proven by the fact that every vortex line is the intersection of two
vortex sheets, locally.
Consider a vortex tube. Let S1 and S2 be two arbitrary cross sections of the tube
with bounding curves C1 and C2 , respectively. Let S denote the surface between C1
and C2 , i.e. the tube’s side. Then S1 , S2 and S enclose a region V and by (13)
Z
0= (∇ ∧ (∇ ∧ u)) · dX
IV
= ξ · dS
S1 ∪S2 ∪S
I I I
= ξ · dS + ξ · dS + ξ · dS
S1 S2 S
I I
= ξ · dS + ξ · dS
S1 S2
Z Z
= u · dx + u · dx , (27)
C1 C2
because S is a vortex sheet. And since S1 and S2 are oriented oppositely, with sur-
face normals pointing “outward”, this proves ii). iii) follows from the Circulation
Theorem. t u
After having shown that geometric algebra can simplify the representation and
proof of a number of fluid flow properties, we now present the stream function ψ in
mulitple dimensions as a graded function, with the grade varying with the dimension
of the respective flow. This is possible because of the fact that geometric algebra is
a graded algebra and that the grade of an algebraic object can be seen as a variable
on a scale, rather than as an immutable, constituting property.
In two dimensions, this function is uniquely determined up to an additive con-
stant. The behaviour of the stream function on streamlines allows for an adjustment
of this additive constant, which, in turn, determines the stream function and through
it the two-dimensional flow. The lack of such a simple determination is one of the
main problems in describing a three-dimensional flow. Finding and exploring consti-
tuting properties of the multivector-valued stream function ψ in higher dimensions
would greatly facilitate the understanding of general fluid flows.
Geometric Algebra Approach to Fluid Dynamics 9
∇ ∧ ψ = uIn−1 , (28)
0 = ∇ ∧ (∇ ∧ ψ)
= ∇ ∧ (uIn−1 )
= (∇ · u)In−1 , (29)
u0 = (∇ ∧ ψ 0 )In
= (∇ ∧ ψ + ∇ ∧ ∇ ∧ g)In
= (∇ ∧ ψ)In
= u. (30)
∇ · ψ 0 = ∇ · (ψ + ∇ ∧ g)
= m + ∇ · (∇ ∧ g) 6= m . (31)
ξ = ∇∧u
= ∇ ∧ ((∇ ∧ ψ)In )
= [∇ ∧ ((∇ ∧ ψ)In )] In In−1
= [∇ · ((∇ ∧ ψ)In In )] In−1
1
= (−1) 2 n(n−1) (∇ · (∇ ∧ ψ))In−1 . (32)
dx
= u(x(s),t), t fixed . (33)
ds
Let x(s) be a streamline parametrized by s. Then by (4)
d
ψ(x(s),t) = ∇s ψ(x(s),t)
ds
=∇˙ s (ẋ(s) · ∇
´ x )ψ́(x(s),t)
= u(x(s),t) · ∇ ´ ψ́(x(s),t)
´ ψ́.
= (u · ∇) (34)
5 Conclusion
In the present work we have shown that the highly complex field of fluid dynamics is
accessible by the methods of geometric algebra, which facilitates the understanding
of many concepts by – literally – adding new dimensions of consideration.
Also, we have proposed a definition for a stream function in arbitrary-dimensional
fluid flows as a graded function. It can be seen to be identical to the known stream
function in the special case of two-dimensional flows. We showed how this stream
function relates to the geometric algebra formulation of the flow field’s curl, i.e. the
fluid flow’s vorticity.
References