Download Delft University of Technology

Document related concepts

Turbulence wikipedia , lookup

Lagrangian mechanics wikipedia , lookup

Speed of gravity wikipedia , lookup

Density of states wikipedia , lookup

Superconductivity wikipedia , lookup

History of quantum field theory wikipedia , lookup

Noether's theorem wikipedia , lookup

Anti-gravity wikipedia , lookup

History of fluid mechanics wikipedia , lookup

Nordström's theory of gravitation wikipedia , lookup

Woodward effect wikipedia , lookup

Quantum vacuum thruster wikipedia , lookup

Introduction to gauge theory wikipedia , lookup

Aharonov–Bohm effect wikipedia , lookup

Work (physics) wikipedia , lookup

Equation of state wikipedia , lookup

Euler equations (fluid dynamics) wikipedia , lookup

Partial differential equation wikipedia , lookup

Relativistic quantum mechanics wikipedia , lookup

Photon polarization wikipedia , lookup

Kaluza–Klein theory wikipedia , lookup

Field (physics) wikipedia , lookup

Equations of motion wikipedia , lookup

Navier–Stokes equations wikipedia , lookup

Derivation of the Navier–Stokes equations wikipedia , lookup

Maxwell's equations wikipedia , lookup

Theoretical and experimental justification for the Schrödinger equation wikipedia , lookup

Lorentz force wikipedia , lookup

Time in physics wikipedia , lookup

Electromagnetism wikipedia , lookup

Transcript
Delft University of Technology
Faculty of Electrical Engineering, Mathematics and Computer Science
Delft Institute of Applied Mathematics
On Electromagnetically Induced Fluid Flows
in Water
A thesis submitted to the
Delft Institute of Applied Mathematics
in partial fulfilment of the requirements
for the degree
MASTER OF SCIENCE
in
APPLIED MATHEMATICS
by
MICHIEL DE REUS
Delft, the Netherlands
March 2013
c 2013 by Michiel de Reus. All rights reserved.
Copyright MSc THESIS APPLIED MATHEMATICS
“On Electromagnetically Induced Fluid Flows in Water”
MICHIEL DE REUS
Delft University of Technology
Daily Supervisor
Responsible Professor
Dr. N.V. Budko
Prof.dr.ir. C. Vuik
Other thesis committee members
Dr. J. Caro
March, 2013
Delft, the Netherlands
Preface
This document is the final result of my thesis project, a project concluding my master program
in Applied Mathematics at Delft University of Technology. The subject is the result of some
conversations between Neil Budko, my supervisor, and me about his current research topics. I
wanted a project mixing both mathematics and physics, and my choice was a good one.
I want to thank Neil for all the time he invested in me and this project. The appointments
usually took longer than expected because we ended up discussing all kinds of possible ideas to
explore.
Of course I also want to thank all my friends and fellow students who supported me during my
studies and in particular during this project. Special thanks go to André, Frank and Linda, for all
the relaxing conversations during the coffee and lunch breaks, and the help with Latex when things
got complicated. I also want to thank the board of the study association W.I.S.V. ‘Christiaan
Huygens’ for their infinite supply of coffee, a substance essential for the completion of this project.
Furthermore I want to thank professor Vuik, my responsible professor, for his support not only
during this project but throughout my whole studies in Delft, and Jaap Caro, from the physics
department, for taking place in the graduation committee. I hope my thesis will be of some help
in his future research.
And of course last but not least I thank my parents for their general support during the whole
time and my girlfriend Carolyn whose support and friendship are invaluable.
Michiel de Reus
Delft, the Netherlands
March 2013
i
ii
Contents
1 Introduction
1.1 Outline of this thesis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1
2
2 The electromagnetic field
2.1 Maxwell equations in vacuum . . . . . . . .
2.1.1 Subscript notation . . . . . . . . . .
2.1.2 Conservation of energy . . . . . . . .
2.1.3 Conservation of (linear) momentum
2.2 Maxwell equations in matter . . . . . . . .
2.2.1 Polarization and magnetization . . .
2.2.2 Constitutive relations for fluids . . .
2.2.3 Modified Maxwell equations in fluids
2.2.4 Boundary conditions . . . . . . . . .
2.3 Energy and momentum inside a fluid . . . .
2.3.1 Energy equation . . . . . . . . . . .
2.3.2 Momentum equation . . . . . . . . .
2.4 Maxwell in the frequency domain . . . . . .
2.4.1 Complex fields . . . . . . . . . . . .
2.4.2 Dispersion of the permittivity . . . .
2.4.3 Complex Maxwell equations . . . . .
2.4.4 Complex index of refraction . . . . .
2.5 Time-averaged quantities . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
5
5
7
7
8
11
11
12
16
17
18
18
19
20
20
21
23
24
24
3 External electromagnetic sources
3.1 Gaussian beam approximations .
3.1.1 Second term . . . . . . .
3.1.2 First term . . . . . . . . .
3.1.3 Total result . . . . . . . .
3.1.4 Electric field . . . . . . .
3.1.5 Magnetic field . . . . . . .
3.1.6 Implementation . . . . . .
3.1.7 Accuracy . . . . . . . . .
3.2 Gaussian dipole array . . . . . .
3.2.1 Green’s function . . . . .
3.2.2 Perfect dipole . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
29
29
32
34
35
35
37
38
40
43
43
46
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
iii
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
iv
CONTENTS
3.2.3
Gaussian source plane as array of dipoles . . . . . . . . . . . . . . . . . . . .
48
4 Navier-Stokes equations
4.1 Conservation of mass . . . . . . . . . . .
4.2 Conservation of (linear) momentum . .
4.3 Conservation of energy . . . . . . . . . .
4.4 Boussinesq approximation . . . . . . . .
4.5 Steady-state equations . . . . . . . . . .
4.6 Boundary conditions . . . . . . . . . . .
4.7 Discrezation and the SIMPLE algorithm
4.7.1 Momentum equation . . . . . . .
4.7.2 Energy equation . . . . . . . . .
4.7.3 Pressure equation . . . . . . . .
4.7.4 Under relaxation . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
53
53
54
55
56
57
58
58
59
60
60
61
5 Choice of medium and domain
5.1 Domain and boundary . . . . . . . . .
5.1.1 Electromagnetic normalization
5.2 Parameters . . . . . . . . . . . . . . .
5.2.1 Dynamic parameters . . . . . .
5.2.2 Electric parameters . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
63
63
63
64
65
65
6 Numerical results and simulations
6.1 Gaussian beam accuracy . . . . . . . . . . . . .
6.2 Discretization of Gaussian dipole array . . . . .
6.3 Convergence on different grids . . . . . . . . . .
6.3.1 Grid notation and error definition . . .
6.3.2 Error results . . . . . . . . . . . . . . .
6.4 Simulations . . . . . . . . . . . . . . . . . . . .
6.4.1 General setting . . . . . . . . . . . . . .
6.4.2 Intensities for different wavelengths . . .
6.4.3 Force density on fluid . . . . . . . . . .
6.4.4 Velocity profiles . . . . . . . . . . . . . .
6.4.5 Temperature increase due to dissipation.
6.4.6 Higher power beams . . . . . . . . . . .
6.4.7 Influence of boundaries . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
69
69
72
74
74
76
78
78
79
79
82
90
92
94
.
.
.
.
.
7 Conclusions
97
8 Future work
99
A Four-vector notation
101
B Implementation
103
Chapter 1
Introduction
Electromagnetic phenomena are among the most widely researched ones in physics. One active
research subject is that of optical traps. Using focussed laser beams, small dielectric particles in
the micro and nano meter range are trapped by the surrounding electromagnetic fields. The first
observation of this trapping force using a single beam was in the mid 1980s [1].
The trapping of these small particles has a wide range of applications. One can think of separation of particles with different sizes or electric properties on a so-called lab-on-a-chip, or the
fabrication of miniature devices. For example in [16] devices are proposed that no longer need mechanical components for certain tasks such as switching a signal, but use a moving particle instead,
that ’steers‘ a signal beam. This particle is controlled by an optical trap.
Of course for applications like this it is important that the particles react as is expected, so it
is necessary to fully understand the forces acting on it, with high accuracy. As of now this is still
the subject of ongoing research.
The two most important things that determine the expression of the total force on the particle
are the model used for the electromagnetic field generated by the beam, and the expressions used
to determine the total force on a particle given this background field. Additionally there is the
question whether the electromagnetic force is the only force acting on the particle or there are more
forces involved.
In practice the incoming beam is modelled as a Gaussian beam, with its parameters either
deduced theoretically from the properties of the lens system, or determined empirically. As we
will see later on, the Gaussian beam is an approximation that will only hold for certain choices of
parameters. This is important to keep in mind when using this model.
To determine the total electromagnetic force on a particle, the force is split in a relatively large
conservative part and a small non-conservative part. The conservative part is the so-called gradient
force, proportional to the gradient of the electric field intensity. The non-conservative part is the
so-called scattering force and points in the direction of propagation of the beam. Trapping then
occurs because the gradient force is dominant compared to the scattering force, and the particle is
trapped near the point of maximum intensity. Although the splitting of the total force in a gradient
and scattering force is conceptually convenient, it is somewhat arbitrary, and in general incorrect.
A more thorough analysis would make use of the Maxwell stress tensor and the conservation of
total momentum. In [4] multiple expression for the total force on a particle inside an optical trap
are compared. For larger particles these expressions deviate significantly, but for small particles,
1
2
CHAPTER 1. INTRODUCTION
within the Rayleigh regime, all expression result in the same total force.
In [22] an experiment is described in which the total force on small particles is measured directly.
Here the non-conservative part of the trapping force is investigated. A deviation between the
empirical force field and the theoretical force field based on the Gaussian beam approximation is
observed.
One possibility is that there are more forces acting on the particle than just the electromagnetic
force. In [20] the effect of thermophoresis is investigated. Thermophoresis is the phenomenon of an
apparent force on particles submerged in a mixture of different mobile particles under influence of
a temperature gradient.
We now come at the main subject of this thesis. We will investigate a phenomenon, that, if
present, can lead to yet another force on the particles. We already know that particles with an
electric contrast with respect to the background medium, will feel an electromagnetic force. This
is the force responsible for the whole trapping to begin with. We will apply the same reasoning
to the background medium itself. We determine the electromagnetic field and derive an expression
for the force density corresponding to the Maxwell stress tensor. One important detail is that
this stress tensor is not uniquely defined. As can be read in [6], when working in homogeneous
solid media all choices will lead to the same result, since internal forces will only result in local
displacements, creating internal stresses. In our case we are looking at fluids, which, by definition,
cannot withstand internal stress and will start moving when forces are applied. We choose the
stress tensor to be independent of the medium, assuming that all the electromagnetic reactions of
the medium can be thought of as current densities induced on a vacuum background. We then use
the Lorentz force expressions to determine the corresponding force density, which will result in the
fluid starting to move.
1.1
Outline of this thesis
Besides the introduction this thesis consists of seven chapters and one appendix. In Chapter 2
we will investigate the electromagnetic field in general. The Maxwell equations are stated, both
in vacuum and inside a medium. We will derive the complex Maxwell equations that we will use
for the simulations. Also we will derive the time-averaged force density, and the heat dissipation
resulting from conduction.
In Chapter 3 we discuss different external sources used to model the propagating laser beam
that is used in a typical trapping experiment. We first consider the Gaussian beam approximation,
after which we will discuss the so-called Gaussian dipole array, designed to reflect the properties of
the Gaussian beam, without violating the Maxwell equations.
Chapter 4 focusses on the Navier-Stokes equations. Using the different conservation laws we
derive the equations governing the fluid flows. These equations explicitly depend on the force
density and heat dissipation terms determined in Chapter 2.
To perform the simulations themselves we need to choose a medium and domain of interest. In
Chapter 5 we define the domain that we will use, and the parameters corresponding to our medium
of choice, pure water, are discussed.
The numerical experiments themselves are discussed in Chapter 6. First the accuracy of the
Gaussian beam source and the convergence properties of the quantities of interest for different grid
sizes are investigated. Then the results of the simulations themselves are reviewed.
Finally in Chapter 7 and Chapter 8 conclusions are drawn based on the results of the simulations.
Also some topics of future research are proposed.
1.1. OUTLINE OF THIS THESIS
3
In Appendix A some notation considering four-vectors is introduced, which is used in Chapter
2 to determine the Maxwell equations inside a possibly moving fluid.
Appendix B contains information about the software implementation used for the simulations.
Some general information on the OpenFOAM package is given and the specific considerations for
our implementation are mentioned.
4
CHAPTER 1. INTRODUCTION
Chapter 2
The electromagnetic field
It is well known that electromagnetic fields satisfy the Maxwell equations. In this chapter we will
first consider the Maxwell equations in vacuum and derive expressions for the conversation of energy
and momentum of the fields. Then we will consider the so-called macroscopic Maxwell equations in
matter, where polarization of the medium will change the behaviour of the field. Also, conduction
will lead to the dissipation of electromagnetic energy, resulting in exponential decay of the fields.
Throughout this work we will assume that the mediums reaction to the magnetic field is negligible.
This is true for most materials, particularly for water at the frequencies we will consider.
2.1
Maxwell equations in vacuum
From [7] we have the Maxwell equations in vacuum given by the coupled partial differential equations
∂E
∂t
∂B
∇×E+
∂t
− ∇ × B + µ0 ε 0
= −µ0 J,
(2.1)
= 0,
(2.2)
where E = E(x, t) is the electric field, B = B(x, t) is the magnetic field and J = J(x, t) is the
(total) electric current density, and x ∈ R3 is a vector in the domain of interest. The constants
ε0 and µ0 are the permittivity of free space and permeability of free space respectively. These are
considered constants by nature. We will see later on that when we consider electromagnetic fields
in matter, we can model them with similar equations, with different values of these parameters.
The reason there is no term at the right-hand side of the second equation is the lack of magnetic
monopoles in nature. Sometimes a non-zero term is stated, which can be due to an induced magnetic
source, or the application of certain mathematical techniques.
The electric current density consists of the movement of charged particles. When we consider
the equations in matter, we will split the current density in different terms, corresponding to
polarization and conduction. Furthermore we will have an external part, which acts as source of
the initial fields. This is the part we control as part of a physical experiment.
From these two equations we can derive two compatibility equations. We assume electric charge
is (locally) conserved, which can be formulated as the continuity equation
5
6
CHAPTER 2. THE ELECTROMAGNETIC FIELD
∂ρe
= − div J,
(2.3)
∂t
where ρe = ρe (x, t) is the (total) electric charge density. We use the subscript e to distinguish
it from the mass density of the medium, which we will use in the Navier-Stokes equations. Taking
the divergence of (2.1) and (2.2), and noting that the divergence of a curl is always zero, we end
up with the equations
∂E
∂t
∂B
div
∂t
ε0 div
=
− div J,
(2.4)
=
0.
(2.5)
Using (2.4) we can write
ε0 div E = ε0
Z
t
−∞
d
div E dt =
dt
Z
t
ε0 div
−∞
∂E
∂t
dt = −
Z
t
−∞
div J dt =
Z
t
−∞
∂ρe
dt = ρe ,
∂t
where we assume we can interchange the order of integration and differentiation and that there
exists a t0 such that E = 0 and ρe = 0 for t ≤ t0 , or so to say, the external source is switched on at
some point in time. Using the same assumptions on the second equation leads to the compatibility
equations
div E =
div B
=
ρe
,
ε0
0.
(2.6)
(2.7)
Note that the first equation is well-known as Gauss’s law or Gauss’s flux theorem. To make the
Maxwell equations more symmetric, we change to the magnetic field
H=
1
B.
µ0
Since we assume our medium of interest does not react magnetically, we can use the H with a
constant coefficient. In the literature there is some debate which term belongs to which quantity.
When there is a magnetic reaction of the medium to distinguish the different quantities. In this
work we will work mostly with H, and will refer to this quantity as the magnetic field. When a
different quantity is implied, this will be explicitly mentioned.
Substitution in (2.1), (2.2) and (2.7) results in field equations
∂E
∂t
∂H
∇ × E + µ0
∂t
− ∇ × H + ε0
and the compatibility equations
=
−J,
(2.8)
=
0,
(2.9)
7
2.1. MAXWELL EQUATIONS IN VACUUM
div E
div H
2.1.1
ρe
,
ε0
= 0.
=
(2.10)
(2.11)
Subscript notation
Sometimes it is cumbersome to work with the equations in vector notation. Especially when a lot
of derivatives appear in the formulas, the notation gets quickly complex and sometimes ambiguous.
For this reason, we will sometimes switch to subscript notation. This is specially suited for longer
derivations, such as conservation laws. The subscript notation and vector notation are (obviously)
equivalent. In subscript notations, the different components of a vector quantity are denoted with
the subscripts 1, 2 and 3, or a letter, when a random component is referred. The partial derivative
is replaces by the symbol ∂ with as subscript the special component to which the derivative is taken,
or t for derivation with respect to time.
The wave equations in subscript notation are given by
− ǫijk ∂j Hk + ε0 ∂t Ei
ǫijk ∂j Ek + µ0 ∂t Hi
= −Ji ,
= 0,
(2.12)
(2.13)
where ǫijk is the Levi-Civita symbol. The compatibility relations are given by
∂i Ei
=
∂i Hi
=
ρe
,
ε0
0.
(2.14)
(2.15)
We use the Einstein summation convention, which means we sum over repeated indices in one
term.
2.1.2
Conservation of energy
By manipulating the Maxwell equations we can derive a conservation of energy statement for the
electromagnetic fields. It turns out we can define a certain volumetric energy density and an energy
flux density.
If we multiply (2.12) with Ei and (2.13) with Hi and add the results, we get as left-hand side
Ei (−ǫijk ∂j Hk + ε0 ∂t Ei ) + Hi (ǫijk ∂j Ek + µ0 ∂t Hi )
= ε0 Ei ∂t Ei + µ0 Hi ∂t Hi − ǫijk Ei ∂j Hk + ǫijk Hi ∂j Ek
1
= ∂t
(ε0 Ei Ei + µ0 Hi Hi ) − ǫijk Ei ∂j Hk + ǫijk Hi ∂j Ek
2
1
(ε0 Ei Ei + µ0 Hi Hi ) + ǫijk Ej ∂i Hk + ǫijk Hk ∂i Ej
= ∂t
2
1
= ∂t
(ε0 Ei Ei + µ0 Hi Hi ) + ∂i (ǫijk Ej Hk ),
2
8
CHAPTER 2. THE ELECTROMAGNETIC FIELD
where we have used ǫijk = −ǫjik , and relabelled the dummy indices. As right-hand side we get
−Ei Ji .
We define the electromagnetic energy density as
uem =
1
(ε0 Ei Ei + µ0 Hi Hi ) ,
2
(2.16)
Si = ǫijk Ej Hk .
(2.17)
and the Poynting vector as
Then we can write the conservation of energy equation as
or in vector notation
∂t uem = −∂i Si − Ei Ji ,
(2.18)
∂uem
= − div S − E · J.
(2.19)
∂t
This is the conservation of electromagnetic energy in vacuum. We see that when electric currents
are present and have a component in the same direction as the electric field, the electromagnetic
energy will decrease, since the current is induced by the field present. This mechanism happens
when matter is present. The other way around, if the electric field and the electric current have a
component in the opposite direction, the energy increases and we have a source of electromagnetic
energy. This is the idea behind the external source that will be introduced later on.
2.1.3
Conservation of (linear) momentum
It is well known that a charged particle in an electromagnetic field experiences a force, the Lorentz
force. This force is given by
F = qE + v × B,
(2.20)
f = ρe E + J × B.
(2.21)
fi = ρe Ei + µ0 ǫijk Jj Hk .
(2.22)
where q is the electric charge of the particle and v is its velocity.
When we consider a continuous charge density and current density, we can express the Lorentz
force as a force density, given by
Switching to subscript notation and using the H field, the force density is given by
We can to rewrite this force density as function of the fields only by substituting (2.14) to
eliminate ρe , and (2.12) to eliminate Jj . This results in
fi
=
=
=
ε0 (∂j Ej )Ei + µ0 ǫijk (ǫjlm ∂l Hm − ε0 ∂t Ej ) Hk ,
ε0 Ei ∂j Ej + µ0 ǫijk ǫjlm Hk ∂l Hm − ε0 µ0 ǫijk Bk ∂t Ej ,
ε0 Ei ∂j Ej + µ0 ǫjki ǫjlm Hk ∂l Hm − ε0 µ0 ∂t (ǫijk Ej Hk ) + ε0 µ0 ǫijk Ej ∂t Hk .
(2.23)
9
2.1. MAXWELL EQUATIONS IN VACUUM
If we use the identity
ǫjki ǫjlm = δkl δim − δkm δil ,
we can write
ǫjki ǫjlm Hk ∂l Hm
=
=
=
=
=
=
∂l (ǫjki ǫjlm Hk Hm ) − Hm ∂l (ǫjki ǫjlm Hk ),
∂l ((δkl δim − δkm δil )Hk Hm ) − Hm ∂l ((δkl δim − δkm δil )Hk ),
∂l (δkl δim Hk Hm ) − ∂l (δkm δil Hk Hm ) − Hm ∂l (δkl δim Hk ) − Hm ∂l (δkm δil Hk ),
∂k (Hk Hi ) − ∂i (Hk Hk ) − Hi ∂k Hk + Hk ∂i Hk ,
1
Hk ∂k Hi + Hi ∂k Hk − ∂i (Hk Hk ) − Hi ∂k Hk + ∂i (Hk Hk ),
2
1
Hk ∂k Hi − ∂i (Hk Hk ).
2
Substituting in (2.23) and using (2.17) results in
1
fi = ε0 Ei ∂j Ej + µ0 Hk ∂k Hi − µ0 ∂i (Hk Hk ) − µ0 ε0 ∂t Si + µ0 ε0 ǫijk Ej ∂t Hk .
2
The last term on the right-hand side can be rewritten using (2.13). This results in
ε0 µ0 ǫijk Ej ∂t Hk
=
ε0 ǫijk Ej (−ǫklm ∂l Em ),
=
ε0 ǫkji ǫklm Ej ∂l Em ,
1
ε0 Ej ∂j Ei − ε0 ∂i (Ej Ej ),
2
=
where we have used the identity we have just derived in terms of Hi . Substituting this expression,
adding a term
µ0 Hi ∂j Hj = 0,
and rearranging and relabelling the terms results in the expression
1
fi = ε0 (Ei ∂j Ej + Ej ∂j Ei ) + µ0 (Hi ∂j Hj + Hj ∂j Hi ) − ∂i (ε0 Ej Ej + µ0 Hj Hj ) − µ0 ε0 ∂t Si . (2.24)
2
We want to write this force density as divergence of some stress tensor. This can be accomplished
by defining the symmetric Maxwell stress tensor T , with components
1
1
Tij = ε0 Ei Ej − δij Ek Ek + µ0 Hi Hj − δij Hk Hk ,
2
2
(2.25)
with respect to the standard basis. We see that for the divergence of the stress tensor we have
10
CHAPTER 2. THE ELECTROMAGNETIC FIELD
∂j Tij
1
1
,
= ∂j ε0 Ei Ej − δij Ek Ek + µ0 Hi Hj − δij Hk Hk
2
2
1
1
= ε0 Ei ∂j Ej + Ej ∂j Ei − δij ∂j Ek Ek + µ0 Hi ∂j Hj + Hj ∂i Hi − δij ∂j Hk Hk ,
2
2
1
1
= ε0 Ei ∂j Ej + Ej ∂j Ei − ∂i Ej Ej + µ0 Hi ∂j Hj + Hj ∂i Hi − ∂i Hj Hj .
2
2
Comparison with (2.24) results in
fi = ∂j Tij − µ0 ε0 ∂t Si ,
(2.26)
the conservation of electromagnetic momentum. Note fi can be interpreted as the time derivative
of the momentum density. Then ∂j Tij is the momentum density flux in the different directions,
and µ0 ε0 Si the momentum density.
In vector notation we would write the Maxwell stress tensor as
←
←
→
→
1
T = ε 0 E ⊗ E + µ0 H ⊗ H −
ε0 kEk2 + µ0 kHk2 I ,
2
←
→
with I the identity tensor. Then the conservation of momentum can be expressed as
←
→
∂S
f = div T − µ0 ε0
.
∂t
We will see that inside matter we can derive a similar conservation equation.
(2.27)
11
2.2. MAXWELL EQUATIONS IN MATTER
2.2
Maxwell equations in matter
When we consider electromagnetic fields in matter, it is convenient to work with a different set
of equations. Matter reacts in a certain way to electromagnetic fields. The reaction is a combination of polarization, magnetization and conduction. As mentioned earlier we assume that the
magnetization is negligible, but in the derivation of the equations we will include this possibility.
Furthermore we are not interested in the microscopic properties of these reactions, but will consider them from a macroscopic point of view, considering the medium as a continuum with smoothly
varying properties.
2.2.1
Polarization and magnetization
For the analysis of the effect of polarization and magnetization we follow [7] and define two new
quantities, the volumetric polarization density P and the volumetric magnetization density M.
A polarization density gives rise to a bounded volume charge and a bounded surface charge.
The bounded volume charge density is given by
ρb = − div P,
(2.28)
and the bounded surface charge density is given by
σb = P · n̂,
(2.29)
where n̂ is the outward pointing normal unit vector. The surface is the boundary of the medium
in which polarization takes place. Furthermore, changing polarization gives rise to a polarization
current, because of the bound charge moving around. The corresponding polarization current
density is given by
∂P
.
(2.30)
∂t
A magnetization density gives rise to a bounded volume current and a bounded surface current.
The bounded volume current density is given by
Jp =
Jb = ∇ × M,
(2.31)
and the bounded surface current density is given by
Kb = M × n̂,
(2.32)
where again n̂ is the outward pointing normal unit vector. The surface is the boundary of the
medium in which magnetization takes place.
Together with the polarization density and magnetization density, we can define two new fields,
the electric displacement field
D = ε0 E + P,
(2.33)
and the auxiliary magnetic field
H=
1
B − M.
µ0
(2.34)
12
CHAPTER 2. THE ELECTROMAGNETIC FIELD
In order to determine the electromagnetic field we have to know how the matter will react on
applied fields, that is we need to know the constitutive relations.
Using the Maxwell equations for vacuum, we will derive a new set of equivalent equations, in
terms of the fields D and H. The (total) current density can now be split in three parts, the current
densities induced by the polarization and magnetization respectively and the free current density.
That is we have
J
= Jp + Jm + Jf
∂P
+ ∇ × M + Jf .
=
∂t
(2.35)
Likewise the charge density can be written as the sum of the charge density caused by the
polarization and a free charge density. We have
ρe
= ρp + ρf
= − div P + ρf .
(2.36)
Substituting (2.33), (2.34) and (2.35) into (2.1) and rearranging terms results in the so-called
Maxwell equations in matter,
∂D
∂t
∂B
∇×E+
∂t
−∇×H+
=
−Jf ,
(2.37)
=
0.
(2.38)
Substituting (2.36) and (2.34) in (2.10) results in the compatibility equations
div D =
div B =
ρf ,
0.
(2.39)
(2.40)
To be able to solve this system of equations we need so-called constitutive relations for the
displacement field, the auxiliary field and the free current density. These will be discussed in the
next section.
2.2.2
Constitutive relations for fluids
The simplest way to model how matter reacts to applied electromagnetic fields, assumes linear
polarization and magnetization. We assume the fields consist of a single frequency, so that there
is no dispersion. In general the parameters for polarization and magnetization depend on the
frequency of the field. For linear materials we have
P = ε 0 χe E
(2.41)
= χm H.
(2.42)
M
13
2.2. MAXWELL EQUATIONS IN MATTER
The constants χe and χm which are called the electric susceptibility and magnetic susceptibility
respectively. Substituting these relations in (2.33) and (2.34) in (2.10) results in the constitutive
relations
D =
=
B
εE
(2.43)
µH,
(2.44)
where ε = ε0 (1 + χe ) is the electric permittivity and µ = µ0 (1 + χm ) the magnetic permeability.
For conducting media we assume Ohm’s law applies, which says that
Jf = σE,
(2.45)
where the constant σ is called the electric conductivity. In general this constant also depends on
the frequency. We will see that the conduction and polarization can be modelled by one complex
parameter when we consider the fields in the frequency domain.
It is interesting to note that these constitutive relations are only valid in reference frames
where the medium is in rest. For non-fluid media this will usually be no problem, but when
considering fluids, different material parts in general have different velocities. We will need to
find the expressions for the constitutive relations in the stationary lab frame. That is we need to
transform the constitutive relations from the instantaneous rest frame, to the lab frame. Following
[12] we will use the four-vector framework of special relativity to determine these transformations.
The notation and different tensors are defined in Appendix A.
To determine the correct constitutive relations, we will determine tensor equations, which in
the instantaneous rest frame of a certain fluid particle reduce to the ordinary constitutive relation
for linear media. Since by definition all the tensors obey the transformation rules, these equations
will be correct in all (inertial) reference frames, in particular in the lab frame.
From (A.2) we notice that when the regular velocity is zero, the velocity four-vector is equal to
Vµ =
c
0 0
0
suggesting that the correct form for the polarization is
,
Dµν Vν = c2 εF µν Vν .
In vector notation this is equal to
0
cD
−γc
0
2
=c ε
−cD · × H
γv
− 1c E
1
cE
·×B
−γc
γv
.
Writing out the two equations results in
γcD · v
2
γc D + γv × H
1
= c2 ε γE · v,
c
= c2 εγE + c2 εγv × B.
(2.46)
(2.47)
Clearly this reduces to linear polarization if we substitute v = 0. Likewise for the magnetization
we have a similar expression in terms of the dual field tensors,
14
CHAPTER 2. THE ELECTROMAGNETIC FIELD
µH νµ Vν = Gνµ Vν ,
In vector notation this is equal to
µ
0
−H
H
−c(· × D)
−γc
γv
=
0
B
−B − 1c (· × E)
−γc
γv
.
Writing out the equations results in
γµH · v
=
γµcH − γµcv × D =
γB · v,
1
γcB − γ v × E.
c
(2.48)
(2.49)
Again we see that the equations reduce to the expected equations when v = 0 is substituted.
Rewriting (2.47) and (2.49) results in the constitutive relations
D =
B
=
1
v × H,
c2
1
µH − µv × D + 2 v × E.
c
εE + εv × B −
(2.50)
(2.51)
Rewriting (2.47) and (2.49) results in the corresponding compatibility relations
D·v
B·v
=
=
εE · v,
µH · v.
(2.52)
(2.53)
We see that (2.50) and (2.51) are coupled. They both depend on three fields. If we assume the
fluid velocity is not too large, we can simplify the expressions by neglecting higher order terms. At
this point we will only consider the first correction term and neglect all terms much smaller than
µ0 ε0 = c12 . Substituting (2.50) and (2.51) into each other results in
D
1
1
= εE + εv × µH − µv × D + 2 v × E − 2 v × H
c
c
= εE + (µε − µ0 ε0 ) v × H − µεv × (v × D) + εµ0 ε0 v × (v × E) ,
≈ εE + (µε − µ0 ε0 ) v × H − µεv × (v × D) ,
1
,
= εE + (µε − µ0 ε0 ) v × H − µεv × v × εE + εv × B − 2 v × H
c
≈ εE + (µε − µ0 ε0 ) v × H.
Likewise we get the same result for B,
B ≈ µH − (µε − µ0 ε0 )v × E.
15
2.2. MAXWELL EQUATIONS IN MATTER
Finally we need the free current density. In non-conducting media this will of course be zero.
When we have positive electric conductivity, we again construct a tensor equation that reduces to
the correct equation for v = 0. It is clear that the correct expression is given by
σF µν Vν = (Jf )µ .
In vector notation this is equal to
0
σ
− 1c E
1
cE
·×B
Working out these equations results in
−γc
γv
1
γ σE · v
c
γσE + γσv × B
=
=
cρf ,
=
Jf .
cρf
Jf
Rewriting results in the in the equations
1
σE · v,
c2
= γσE + γσv × B.
= γ
ρf
Jf
We see that for v = 0 this reduces to Jf = σE and ρf = 0. For low velocities we have γ ≈ 1,
and kvk
c2 ≈ 0, so we can write
ρf
f
J
≈
≈
0,
σ (E + v × B) .
Finally we want to know the induced current in terms of the H field instead of the B field. If
we substitute for B and only keep the largest term we get as result
Jf = σ (E + µv × H) .
So to conclude we have the constitutive relations
D =
B =
Jf
ρf
=
=
εE + (µε − µ0 ε0 ) v × H,
µH − (µε − µ0 ε0 )v × E,
σ (E + µv × H) ,
0.
(2.54)
(2.55)
(2.56)
(2.57)
where we have only kept the lowest order term involving the fluids velocity. In general we see
that the velocity field has an effect on the electromagnetic field. This interaction is responsible
for energy and momentum exchange between the electromagnetic field and the fluids particles, in
particular the electromagnetic energy is changed in kinetic energy because the Lorentz force will
do work on the fluid particles.
16
CHAPTER 2. THE ELECTROMAGNETIC FIELD
2.2.3
Modified Maxwell equations in fluids
We will now substitute all the constitutive relations in the field equations to derive the final equations governing the electromagnetic field inside a (possibly) moving fluid. If we substitute the
relations (2.54) and (2.56) into equation (2.37) we get
∂
[εE + (µε − µ0 ε0 ) v × H] = −σ (E + µv × H) .
∂t
We assume that the velocity field is constant in time, so that the time derivative of the velocity
disappears. Rewriting then results in
∂E
∂E
∂H
− σ (E + µv × H) .
−∇ × H + ε0
= −(ε − ε0 )
− (µε − µ0 ε0 ) v ×
∂t
∂t
∂t
−∇ × H +
Likewise, if we substitute (2.55) in (2.38) we get
∇×E+
∂
(µH − (µε − µ0 ε0 )v × E) = 0,
∂t
which results in
∇ × E + µ0
∂H
∂H
∂E
= − (µ − µ0 )
+ (µε − µ0 ε0 ) v ×
.
∂t
∂t
∂t
We now define the induced electric and magnetic current densities. They are minus the righthand sides of the modified Maxwell equations we have just derived. So we have
− Jind
=
−Kind
=
∂H
∂E
− σ (E + µv × H) ,
− (µε − µ0 ε0 ) v ×
∂t
∂t
∂E
∂H
.
+ (µε − µ0 ε0 ) v ×
− (µ − µ0 )
∂t
∂t
−(ε − ε0 )
(2.58)
(2.59)
We see that if the fluid is moving this creates an induced current. These terms, depending on
v, create a coupling between the velocity field governed by the Navier-Stokes equations and the
Maxwell equations, and this system of coupled equations is highly non-linear and hard to solve.
In addition to the induced currents there will be external currents. These are controlled currents,
independent of the fields. It are these currents that deliver the field’s energy and momentum in the
first place. The final Maxwell equations governing the fields are given by
∂E
∂t
∂H
∇ × E + µ0
∂t
− ∇ × H + ε0
= −Jind − Jext ,
(2.60)
= −Kind − Kext .
(2.61)
We will also derive the corresponding compatibility relations. Taking the divergence of (2.60),
results in (2.4) so we get the corresponding compatibility equation
div E =
ρe
.
ε0
17
2.2. MAXWELL EQUATIONS IN MATTER
Although magnetic monopoles do not exist, we have seen that in matter magnetic currents can
be induced, and we need (induced) magnetic charge to keep the framework complete. Stipulating
local conservation of magnetic charge, we define
ρm = − div K,
(2.62)
which is a continuity equation like (2.3). Now taking the divergence of (2.61) results in
∂H
= − div K.
(2.63)
∂t
Following the exact same derivation for the first equation and assuming, by causality, that K = 0
for t ≤ t0 for certain t0 , we arrive at the compatibility relation
µ0 div
ρm
.
(2.64)
µ0
We will see in Chapter 6 that the velocities will be so small that the induced currents depending
on the velocity can be neglected for our purposes.
div H =
2.2.4
Boundary conditions
In order to determine the electromagnetic field in a certain region of space, we need appropriate
boundary conditions.
We have boundaries where the material properties are not continuous or there are surface
currents. We assume the boundaries are fixed in space and time.
The derivation of the boundary conditions can be found for example in [7]. They follow directly
from the Maxwell equations. Here we will only state the results.
At a boundary we can write the electric and magnetic field as the sum of a orthogonal and
tangential component,
E = Eort + Etan ,
H = Hort + Htan .
Furthermore at a boundary we have two separate regions A and B, each on one side of the
boundary. We denote by n̂ the unit normal vector pointing from region B to A. On the boundary
itself we have possibly electric and magnetic charge densities σe and σm , and current densities Jsurf
and Ksurf . The four boundary conditions for the field components are then given by
EA,tan − EB,tan
=
EA,ort − EB,ort
=
HA,tan − HB,tan
=
HA,ort − HB,ort
=
Ksurf × n̂,
σe
,
ε0
Jsurf × n̂,
σm
.
µ0
(2.65)
(2.66)
(2.67)
(2.68)
These four boundary conditions together with the Maxwell equations and the charge and current
densities completely determine the fields.
Of course in cases with certain symmetries we can consider different boundary conditions, so
that we can reduce the geometry.
18
CHAPTER 2. THE ELECTROMAGNETIC FIELD
2.3
Energy and momentum inside a fluid
We have derived the field equations inside a (possibly moving) fluid. We will now derive equations
for the energy and momentum conservation. We proceed as in the vacuum case.
2.3.1
Energy equation
For simplicity we will use subscript notation here. If we multiply (2.60) with Ei and (2.61) with
Hi and add the results, we get as left-hand side
Ei (−ǫijk ∂j Hk + ε0 ∂t Ei ) + Hi (ǫijk ∂j Ek + µ0 ∂t Hi )
=
=
=
=
ε0 Ei ∂t Ei + µ0 Hi ∂t Hi − ǫijk Ei ∂j Hk + ǫijk Hi ∂j Ek
1
(ε0 Ei Ei + µ0 Hi Hi ) − ǫijk Ei ∂j Hk + ǫijk Hi ∂j Ek
∂t
2
1
∂t
(ε0 Ei Ei + µ0 Hi Hi ) + ǫijk Ej ∂i Hk + ǫijk Hk ∂i Ej
2
1
(ε0 Ei Ei + µ0 Hi Hi ) + ∂i (ǫijk Ej Hk ),
∂t
2
where we have used ǫijk = −ǫjik , and relabelled the dummy indices. As right-hand side we get
−Ei Ji − Hi Ki .
If we now define the energy density as
1
(ε0 Ei Ei + µ0 Hi Hi ) ,
2
(2.69)
Si = ǫijk Ej Hk ,
(2.70)
∂t uem = −∂i Si − Ei Ji − Hi Ki ,
(2.71)
∂uem
= − div S − E · J − H · K.
∂t
(2.72)
uem =
and the Poynting vector
we can write the equation as
or in vector notation
This is the conservation of electromagnetic energy in matter. Although the expression does not
explicitly depend on the velocity v, the currents do, so the energy density also depends on the fluid
velocity.
2.3. ENERGY AND MOMENTUM INSIDE A FLUID
2.3.2
19
Momentum equation
We can also derive the momentum equation, from which the force density follows. Multiplying
(2.60) by µ0 and taking the cross product with H results in
−µ0 ǫijk ǫklm Hj ∂l Hm + µ0 ε0 ǫijk Hj ∂t Ek = −µ0 ǫijk Hj Jk .
Rewriting using the identity
1
ǫijk ǫklm Hj ∂l Hm = −Hk ∂k Hi + ∂i (Hk Hk ),
2
results in
1
µ0 Hk ∂k Hi − µ0 ∂i (Hk Hk ) + µ0 ε0 ǫijk Hj ∂t Ek = µ0 ǫijk Jj Hk .
2
Using (2.64) we have
µ0 Hk ∂k Hi
= µ0 ∂k (Hk Hi ) − µ0 Hi ∂k Hk ,
= µ0 ∂k (Hk Hi ) − ρm Hi .
Rearranging terms and relabelling results in the equation
1
∂j µ0 Hj Hi − µ0 δij Hk Hk − µ0 ε0 ǫijk (∂t Ej )Hk = ρm Hi + µ0 ǫijk Jj Hk .
2
(2.73)
Likewise multiplying (2.61) by ε0 and taking the cross product with E results in
ε0 ǫijk ǫklm Ej ∂l Em + µ0 ε0 ǫijk Ej ∂t Hk = −ε0 ǫijk Ej Kk ,
which we can rewrite to
1
−ε0 Ek ∂k Ei + ε0 ∂i (Ek Ek ) + µ0 ε0 ǫijk Ej ∂t Hk = ε0 ǫijk Kj Ek .
2
Using (2.63) we have
ε0 Ek ∂k Ei
=
=
ε0 ∂k (Ek Ei ) − ε0 Ei ∂k Ek ,
ε0 ∂k (Ek Ei ) − ρe Ei .
Rearranging terms and relabelling results in the equation
1
− ∂j ε0 Ej Ei − ε0 δij Ek Ek + µ0 ε0 ǫijk Ej ∂t Hk = −ρe Ei + ε0 ǫijk Kj Ek .
2
(2.74)
Defining the stress tensor Tij by
1
1
Tij = µ0 (Hj Hi ) + ε0 (Ej Ei ) − µ0 δij (Hk Hk ) − ε0 δij (Ek Ek ),
2
2
subtracting (2.74 from (2.73) and using (2.70) we can write
(2.75)
20
CHAPTER 2. THE ELECTROMAGNETIC FIELD
fi = ∂j Tij − ∂t Si ,
(2.76)
where fi is the force density given by
fi = ρe Ei + ρm Hi + µ0 ǫijk Jj Hk − ε0 ǫijk Kj Ek .
(2.77)
Equation (2.76) is the expression of momentum conservation in the medium, and couples the
stress tensor to the forces exerted on the fluid particle.
In vector notation this force density is equal to
f = ρe E + ρm H + µ0 J × H − ε0 K × E.
(2.78)
This force density is exerted by the electromagnetic field on the fluid particles, and will be used
as source term in the Navier-Stokes equations.
2.4
Maxwell in the frequency domain
Up until now we have only considered the fields and equations in the time domain. Using Fourier
transforms in the time variable we can switch to the frequency domain. This transformation works
well with the Maxwell equations because they are linear in the field components. In the frequency
domain we can investigate the interesting phenomenon of the electric permittivity being a function
of the frequency. As we will see this leads to distortion of a wave and dissipation.
2.4.1
Complex fields
In general the fields will be a superposition of several frequency components, and using Fourier
transformations, we can write the (real) fields in the time domain as an integral over a complex
field, which is a function of the space coordinates and the frequency variable ω. For an arbitrary
field f (x, t) we can write
1
f (x, t) =
2
Z
+∞
fˆ(x, ω)e−iωt dω.
−∞
Note that the constant coefficient is just a convention, so that the expression we will use have
a simpler form. Since the time-domain fields are real-valued, we have the relation
f (x, t) = f¯(x, t) =
1
2
Z
+∞
−∞
1
¯
fˆ(x, ω)eiωt dω =
2
Z
+∞
−∞
¯
fˆ(x, −ω)e−iωt dω,
¯
so we see for the complex field that we have fˆ(x, ω) = fˆ(x, −ω). Using this relation we can
write
21
2.4. MAXWELL IN THE FREQUENCY DOMAIN
f (x, t) =
1
2
=
1
2
=
1
2
=
Z
+∞
−∞
Z 0
fˆ(x, ω)e−iωt dω
fˆ(x, ω)e−iωt dω +
Re
+∞
0
Z
+∞
fˆ(x, ω)e−iωt dω
0
−∞
"Z
Z
¯
fˆ(x, −ω)e−iωt dω +
+∞
Z
+∞
fˆ(x, ω)e−iωt dω
0
fˆ(x, ω)e−iωt dω ,
0
#
(2.79)
So to determine the time-domain fields we need to take the real part of the complex fields. For
our electromagnetic fields we have the expressions
Ei (x, t)
Hi (x, t)
Di (x, t)
Bi (x, t)
=
=
=
=
1
2
1
2
1
2
1
2
Z
+∞
−∞
Z +∞
−∞
Z +∞
−∞
Z +∞
Êi (x, ω)e−iωt dω,
(2.80)
Ĥi (x, ω)e−iωt dω,
(2.81)
D̂i (x, ω)e−iωt dω,
(2.82)
B̂i (x, ω)e−iωt dω.
(2.83)
−∞
Likewise we can write the electric and magnetic current densities as integrals over the frequency
parameter.
2.4.2
Dispersion of the permittivity
Up until now we have assumed that matter reacts the same to any applied electromagnetic field,
regardless how fast the fields change in time. One of the consequences of this property is that polarization and conduction occur instantaneously, that is, given a certain change in the electromagnetic
fields, the matter instantaneously rearranges itself to retain the linear relationships D = εE and
Jf = σE. Of course such an instantaneous reaction cannot occur on physical grounds, so a more
complex mechanism has to govern the polarization. Following [12] we assume the polarization is
not only a function of the present electric field strength but of all values in the past. In general this
means we can write
Z ∞
Di (x, t) = ε0 Ei (x, t) + ε0
f (τ )Ei (x, t − τ ) dτ.
(2.84)
0
This means that the polarization is not local any more in the temporal variable. In the space
variables we assume it still to be local. The precise way in which the medium reacts depends on
our choice of f (τ ). Note that for the special choice
f (τ ) = χe δ(τ ),
22
CHAPTER 2. THE ELECTROMAGNETIC FIELD
we get the original model with instantaneous response back.
To further analyse the dispersion relation, we consider the complex fields. If we substitute (2.82)
and (2.80) into (2.84) and interchange the order of integration we get as result
Z
+∞
D̂i (x, ω)e−iωt dω =
−∞
=
=
=
ε0
ε0
Z
Z
Z
+∞
Êi (x, ω)e−iωt dω + ε0
−∞
+∞
−∞
∞
f (τ )
0
Êi (x, ω)e
−∞
+∞
Z
−iωt
Z
ε0 Êi (x, ω) 1 +
1+
Z
0
+∞
−∞
∞
f (τ )e
0
∞
Z
iωτ
Êi (x, ω)e−iω(t−τ ) dω dτ,
dτ dω,
f (τ )eiωτ dτ e−iωt dω,
so we see that for the complex field vectors we have the relation
D̂i (x, ω) = ε̂(ω)Êi (x, ω),
(2.85)
where we have defined the complex electric permittivity by
Z
ε̂(ω) = ε0 1 +
0
∞
f (τ )eiωτ dτ .
(2.86)
We see that when we assume the permittivity is local in the space coordinates we get a linear
complex permittivity relation. Through the function f (τ ) this relation depends on the specific
media. We will not dig in the microscopic properties of matter to determine f (τ ), instead we will
take the values of ε̂(ω) for the media of our interest from the literature.
It is interesting to see how we can relate the real permittivity and conductivity to the complex
permittivity. Consider (2.60) together with (2.58) and assume v = 0. Then we have
−ǫljk ∂j Hk + ε0 ∂t El = −(ε − ε0 )∂t El − σEl − Jlext .
Rewriting and substituting (2.80 results in
σ
Êl = −Jˆlext .
−ǫljk ∂l Ĥk − iω ε + i
ω
Comparing with (2.85) we can identify
ε̂(ω) = ε′ (ω) + iε′′ (ω) = ε(ω) + i
σ(ω)
,
ω
where we made the frequency dependency explicit. We see that the imaginary part of the complex permittivity can be associated with conductivity. This suggests intuitively that it is associated
with energy dissipation from the electromagnetic fields to the medium.
23
2.4. MAXWELL IN THE FREQUENCY DOMAIN
2.4.3
Complex Maxwell equations
To determine the equations governing the complex fields we substitute the fields written as integrals
over the frequency parameter in both sides of the Maxwell equations (2.60) and (2.61). After
interchanging the integration and differentiation and performing the time derivation, we get for
each fixes ω the equations
− εijk ∂j Ĥk − iωε0 Êi
εijk ∂j Êk − iωµ0 Ĥi
=
=
−Jˆiind − Jˆiext ,
−K̂iind
−
(2.87)
K̂iext .
(2.88)
In order to determine the complex induced currents, we take the same steps for (2.58) and
(2.59), and we use that σ = ωε′′ and write ε = ε′ for the real permittivity. This results in
− Ĵind
=
−K̂ind
=
ıω(ε′ − ε0 )Ê + ıω(µε′ − µ0 ε0 )v × Ĥ − ωε′′ Ê + µv × Ĥ .
ıω(µ − µ0 )Ĥ − ıω(µε′ − µ0 ε0 )(v × Ê).
(2.89)
(2.90)
If we assume µ = µ0 , and write ε̂ = ε′ + ıε′′ we get after rearranging the terms the equations
− ∇ × Ĥ − ıω ε̂Ê =
∇ × Ê − ıωµ0 Ĥ =
ıωµ0 (ε̂ − ε0 ) v × Ĥ − Ĵext ,
−ıωµ0 (ε − ε0 )v × Ê − K̂
ext
(2.91)
.
(2.92)
Notice that at the right-hand side of (2.92) we only need the real part of the permittivity. We
expect the fluid velocity to be small, so that the first terms on the right-hand side of the equations
can be neglected. This results in the equations
− ∇ × Ĥ − ıω ε̂Ê
∇ × Ê − ıωµ0 Ĥ
= −Ĵext ,
= −K̂ext ,
(2.93)
(2.94)
which is the form we will use most of the time. Taking the divergence on both sides results in
the compatibility relations
ıω∇ · (ε̂Ê) =
ıωµ0 ∇ · Ĥ
=
∇ · Ĵext ,
∇ · K̂
ext
(2.95)
,
(2.96)
We see that for each frequency component the complex fields satisfy these complex Maxwell
equations. It is important to realize that the induced currents in general are functions of the
frequency ω. Since a lot of real-life sources are highly localized in the frequency domain, that is
their intensity is centred around one frequency, we will approximate these sources as if they consist
of only one frequency, and we write fˆ(x, ω ′ ; ω) = δ(ω − ω ′ )f (x). Substitution in (2.79) results in
the expression
o
n
(2.97)
f (x, t) = Re fˆ(x)e−ıωt .
24
CHAPTER 2. THE ELECTROMAGNETIC FIELD
In Chapter 3 we will use these single frequency fields most of the time.
If we split the equations in real and imaginary parts, we end up with four equations. For
equation (2.93) this results in
− ∇ × H′ + ω (ε′′ E′ + ε′ E′′ ) =
−∇ × H′′ − ω (ε′ E′ − ε′′ E′′ ) =
For (2.94) we get as equations
∇ × E′ + ωµ0 H′′
∇ × E′′ − ωµ0 H′
o
n
−Re Ĵext ,
o
n
−Im Ĵext .
o
n
= −Re K̂ext ,
o
n
= −Im K̂ext .
(2.98)
(2.99)
(2.100)
(2.101)
We will use these equations in a later stage to see how well the calculated fields satisfy the
Maxwell equations on different grids.
2.4.4
Complex index of refraction
Up until now we have mostly worked with the complex permittivity parameter. In optics the
complex index of refraction n̂ and the complex wave number k̂ are often used. We define the
complex index of refraction n̂ = n + ıκ by
ε0 n̂2 = ε̂,
(2.102)
where we take the root with positive imaginary part, so that κ ≥ 0. Furthermore we define the
complex wave number k̂ = k + ıα by
ω
n̂.
(2.103)
c
We will use these quantities often, specially because the properties of the medium we will use
are can be found in terms of these parameters in the literature.
k̂ =
2.5
Time-averaged quantities
Our main goal is to couple the Maxwell equations with the Navier-Stokes equations. It is important
to realize that there are two temporal scales in this situation. On one hand there is the time scale
at which the electromagnetic fields oscillate, on the other hand there is the time scale on which the
fluid reacts, and the particles move and accelerate as response to the forces. When we focus on
electromagnetic fields with wavelengths in the micrometer region, the frequencies are of the order
1013 s−1 and higher. We are not interested in the field properties, such as energy transfer or Lorentz
forces, at this time scale, but in the time-averaged properties.
We will focus on single frequency sources, so that the time-domain fields and frequency-domain
fields are related by (2.97). We see that the time-domain fields are periodic in t, with period T = 2π
ω .
In order to determine the time-averaged values, we integrate from − T2 to T2 . The time-averaged
25
2.5. TIME-AVERAGED QUANTITIES
value of a periodic quantity we denote by h·i. We will first focus on two arbitrary fields f and g.
For the field intensity itself we have
hf (x, t)i
=
=
=
=
1
T
Z
T
2
− T2
o
n
Re fˆ(x)e−ıωt dt,
T2 )
1 ˆ
− f (x)e−ıωt
,
ıω
T
2
ıωT
ıωT
1
1
Re − fˆ(x) e− 2 − e 2
T
ıω
0,
1
Re
T
(
which is intuitively clear since the field intensity is consists of an oscillating sine and cosine.
More interesting is the result for quantities that are the product of two complex fields, such as the
components of the Poynting vector or the Maxwell stress tensor. We have
hf (x, t) · g(x, t)i =
=
=
=
=
1
T
T
2
Z
− T2
1
4T
Z
1
4T
1h
Z
T
2
o
n
Re fˆ(x)e−ıωt · Re ĝ(x)e−ıωt dt,
− T2
T
2
− T2
i h
¯
ıωt
¯
dt,
fˆ(x)e−ıωt + fˆ(x)eıωt · ĝ(x)e−ıωt + ĝ(x)e
i
h
¯ ¯
¯
2ıωt
¯
dt,
fˆ(x)ĝ(x)e−2ıωt + fˆ(x)ĝ(x)
+ fˆ(x)ĝ(x) + fˆ(x)ĝ(x)e
i
¯
¯
fˆ(x)ĝ(x)
+ fˆ(x)ĝ(x) ,
4
1 nˆ ¯ o
Re f (x)ĝ(x) ,
2
where in the fourth line we used that the integration is over two periods of the complex exponential. We see that although the two field quantities integrate to zero their product is not zero in
general. This time-averaged non-zero value will give rise to the heat dissipation and force term we
will need. One final quantity we need to average is the time derivative of the product of two field
quantities. We have
∂
[f (x, t) · g(x, t)]
∂t
=
=
=
1
T
Z
T
2
o
i
∂ h nˆ
Re f (x)e−ıωt · Re ĝ(x)e−ıωt dt,
− T2 ∂t
o
i T2
1 h nˆ
Re f (x)e−ıωt · Re ĝ(x)e−ıωt
,
T
− T2
0.
(2.104)
(2.105)
(2.106)
In the last line we again use that the complex exponential is periodic.
We can now determine the time-averaged versions of the conservation equations we have derived
earlier. For the Poynting vector we get
26
CHAPTER 2. THE ELECTROMAGNETIC FIELD
o
1 n
Re Ê × H̄ .
2
This equality will be our motivation to define the complex Poynting vector as
hSi = hE × Hi =
Ŝ =
1
Ê × H̄.
2
(2.107)
If we time-average (2.72) we see that the left-hand side vanishes because of the time derivative,
and after rearranging terms we end up with the conservation equation
n o
o 1 n
o
1 n
div Re Ŝ = − Re Ê · J̄ − Re Ĥ · K̄ .
2
2
Substituting (2.89) results for the first term on the left-hand side in
o
1 n
− Re Ê · J̄
2
o
1 n
,
Re Ê · −ıω(ε′ − ε0 )Ē − ıωµ0 (ε′ − ε0 )v × H̄ − ωε′′ Ē + µ0 v × H̄
2
o
1 n
=
,
Re Ê · −ıωµ0 (ε′ − ε0 )v × H̄ − ωε′′ Ē + µ0 v × H̄
2
n
o 1
n
o 1
1
=
ωµ0 (ε′ − ε0 )Im (v × H̄) · Ê − ωµ0 ε′′ Re (v × H̄) · Ê − ωε′′ Ê · Ē,
2
2
2
n o
n o
1 ′′
′
′′
= −ωµ0 (ε − ε0 )Im Ŝ · v + ωµ0 ε Re Ŝ · v − ωε Ê · Ē.
2
=
Likewise if we substitute (2.90) in the second term we get
o
1 n
− Re Ĥ · K̄
2
1 n
= − Re Ĥ · ıωµ0 (ε′ − ε0 )(v × Ē) ,
2
n
o
1
=
ωµ0 (ε′ − ε0 )Im (v × Ē) · Ĥ ,
2
n o
= −ωµ0 (ε′ − ε0 )Im Ŝ · v.
This results in the equation
n o
n o
n o
1
div Re Ŝ = −2ωµ0 (ε′ − ε0 )Im Ŝ · v + ωµ0 ε′′ Re Ŝ · v − ωε′′ Ê · Ē.
2
We see when we neglect the back-action of the velocity of the fluid we get
n o
1
div Re Ŝ = − ωε′′ Ê · Ē,
2
which we can identify with the heat dissipation generated by the conductance of the fluid. This
dissipation term will be denoted by
1 ′′
ωε Ê · Ē,
2
which is the energy conservation equation for the time-averaged fields.
qem =
(2.108)
27
2.5. TIME-AVERAGED QUANTITIES
For the force we also want to determine the time-averaged value. If we again neglect the current
terms depending on v and assume we have a homogeneous medium, we have ρe = 0 and ρm = 0.
Furthermore K̂ = 0, so we end up with
n
o
1
µ0 Re Ĵind × H̄ .
2
We assume the back-action of the fluid on the fields is negligible. Substituting (2.89) with v = 0
then results in
hf i =
hf i
=
=
=
n
o
1
− ωµ0 Re ı(ε̂ − ε0 )Ê × H̄ ,
2
n
o
ωµ0 Im (ε̂ − ε0 )Ŝ ,
h
n o
n oi
ωµ0 ε′′ Re Ŝ + (ε′ − ε0 )Im Ŝ .
So when we are considering the Navier-Stokes equations, we have as external force density the
term
n oi
h
n o
(2.109)
fem = ωµ0 ε′′ Re Ŝ + (ε′ − ε0 )Im Ŝ .
The first term is proportional to ε′′ , which is the parameter associated with heat dissipation,
so we refer to this term as fdis . The second term is proportional to ε′ , which is associated with
polarization, and we refer to this term is fpol . So we can write the electromagnetic force density as
fem = fpol + fdis .
(2.110)
Which term is dominant will depend on the properties of the medium. In particular, for transparent frequencies fdis will be very small.
We can also express the moment conservation from (2.76) in terms of the time-averaged fields.
This results in
←
→
fem = ∇ · h T i,
(2.111)
where the time-averaged stress tensor is given by time-averaging (2.75), resulting in
1
1 Re ε0 Ei Ej∗ + µ0 Hi Hj∗ − δij ε0 Ei Ej∗ + µ0 Hi Hi∗ .
2
4
We now have all the (theoretical) information we need regarding the electromagnetic properties
of our problem. In order to run a simulation we need to determine the (complex) fields using
equations (2.93) and (2.94). With these field we can determine the complex Poynting vector using
(2.107). Then we can determine the electromagnetic heat dissipation and electromagnetic force
term using (2.108) and (2.109) respectively. In order to proceed we still need to choose the external
sources, which will be the subject of the next chapter.
hTij i =
28
CHAPTER 2. THE ELECTROMAGNETIC FIELD
Chapter 3
External electromagnetic sources
In the previous chapter we derived the equations governing the electromagnetic fields, but we still
need to choose an external source to create the fields in the first place. There are different kind of
sources, and they can be modelled in multiple ways. We will first consider the so-called Gaussian
beam approximation, which is used frequently because it is a good model for the fields create by a
laser, and it has good properties to use in combination with lenses. The main down-side is that it
is only an approximate solution for the Maxwell equations, so we cannot expect the resulting fields
and other quantities depending on the fields to be exact. Since we are interested in the force field,
we need to make sure the approximations are good enough for our purpose.
As an alternative method we will create a source that does satisfy the Maxwell equations. We
will model an aperture with an external current density using an array of perfect dipoles. We will
see that this source does satisfy the Maxwell equations exact.
3.1
Gaussian beam approximations
On approximation that is regularly used for modelling the electromagnetic field of a laser is the
so-called Gaussian beam. We will not assume an explicit external source, but solve for the potential
in a more general setting. We will derive the Gaussian beam solution of the paraxial approximation
of the Maxwell equations in a linear, homogeneous, non magnetic, lossy medium. From Section
2.4.3 we have the frequency domain Maxwell equations given by
− ǫijk ∂j Hk − ıω ε̂Ei
ǫijk ∂j Ek − ıωµ0 Hi
=
=
0,
0,
(3.1)
(3.2)
with ε̂ = ε′ + ıε′′ the complex permittivity. For non-magnetic media we have ε̂ = n̂2 ε0 , so that
ε = (n2 − κ2 )ε0 and ε′′ = 2nκε0 . Taking divergence on both sides results in the compatibility
relations
′
∂i Ei
= 0,
(3.3)
∂i Hi
= 0.
(3.4)
29
30
CHAPTER 3. EXTERNAL ELECTROMAGNETIC SOURCES
Following [3] we will express the equations in terms of a vector potential and solve for the
potential instead of the fields. Then we can derive the field variables from the solution of the
potential. The main advantage of the method is that we can assume the potential only has one
non-zero component, orthogonal to the direction of propagation, while for the fields themselves this
is not possible. We define the vector potential Ai such that
Hi = ǫijk ∂j Ak ,
(3.5)
which is possible because H is divergent-less. Substitution in (3.2) and rewriting results in
ǫijk ∂j (Ek − ıωµ0 Ak ) = 0.
We know that when the curl of a vector field vanishes there exists a scalar field such that the
vector field is equal to the gradient of the scalar field, so there exists V such that
Ei = ıωµ0 Ai − ∂i V.
(3.6)
Substitution in (3.1) results in
−ǫijk ∂j (ǫklm ∂l Ak ) − ıω ε̂ (ıωµ0 Ai − ∂i V ) = 0.
This can be rewritten to
−∂i (∂j Aj ) + ∂j2 Ai + ıω ε̂∂i V + ω 2 µ0 ε̂Ai = 0.
Choosing the Lorenz gauge, such that
∂j Aj = ıω ε̂V,
(3.7)
the equation reduces to
∂j2 Ai + ω 2 µ0 ε̂Ai = 0.
Using (2.103), we can write this equation as
∂j2 Ai + k̂ 2 Ai = 0,
the Helmholtz equation with complex coefficient. We have k̂ = k+ıα, the complex wave number.
We assume our vector potential has non-zero component A = A2 and A1 = A3 = 0, so that we end
up with the equation
∂12 A + ∂22 A + ∂32 A + k̂ 2 A = 0.
(3.8)
We assume the laser beam propagates in the x3 direction, and we write A as
A = ψ(x1 , x2 , x3 )eık̂x3 .
Note that
(3.9)
31
3.1. GAUSSIAN BEAM APPROXIMATIONS
∂32 A
= ∂32 ψeık̂x3 ,
i
h
= ∂3 eık̂x3 ∂3 ψ + ık̂ψ ,
= eık̂x3 ∂32 ψ + ık̂∂3 ψ + ık̂∂3 ψ − k̂ 2 ψ ,
Substitution in (3.8) results in
h
i
eık̂x3 ∂12 ψ + ∂22 ψ + ∂32 ψ + 2ık̂∂3 ψ = 0.
Dividing by eık̂x3 results in the equation
∂12 ψ + ∂22 ψ + ∂32 ψ + 2ık̂∂3 ψ = 0.
(3.10)
We now define a characteristic length scale w0 which later on will be identified as the waist size
of the beam. We also define l̂ = k̂w02 , and transform to the coordinates
x1
x2
x3
→ w0 x1 ,
→ w0 x2 ,
→ l̂x3 .
The partial derivatives transform as
1
∂1 ,
w0
1
∂2 →
∂2 ,
w0
1
∂3 → ∂3 .
l̂
∂1 →
Substitution in (3.10) and multiplying by w02 results in
∂12 ψ + ∂22 ψ + 2ı∂3 ψ + ŝ2 ∂32 ψ = 0,
(3.11)
1
. We want to approximate the solution ψ by expanding it around ŝ and
with ŝ = wl̂0 = k̂w
0
solving for the first term. This will give us an accurate approximation for |ŝ| ≪ 1. We write
ψ=
∞
X
ψn ŝn .
(3.12)
n=0
Substituting in (3.11) and using linearity results in
∞
X
2
∂1 ψn + ∂22 ψn + 2ı∂3 ψn ŝn + ∂32 ψn ŝn+2 = 0.
n=0
(3.13)
32
CHAPTER 3. EXTERNAL ELECTROMAGNETIC SOURCES
Equating terms of equal power in ŝ results for n = 0 in the equation
∂12 ψ0 + ∂22 ψ0 + 2ı∂3 ψ0 = 0.
(3.14)
Note that higher order equations depend on lower order solutions. For n = 2 for example we
have
∂12 ψ2 + ∂22 ψ2 + 2ı∂3 ψ2 = −∂32 ψ0 .
In order to solve (3.14) we substitute the solution
1 ρ2
,
ψ0 = exp ıP (x3 ) + ı
2 q(x3 )
(3.15)
with ρ2 = x21 +x22 , and q(x3 ) a function of x3 that we will make explicit later. For the derivatives
we have
∂1 ψ0
=
∂12 ψ0
=
∂22 ψ0
=
∂3 ψ0
=
x1
ψ0 · ı ,
q
1 x21
ψ0 ı − 2 ,
q
q
1 x22
ψ0 ı − 2 ,
q
q
1 ρ2
ψ0 ı∂3 P − ı 2 ∂3 q .
2q
Substitution in (3.14) results in
0
=
=
1 x22
1 ρ2
1 x21
ψ0 ı − 2 + ψ0 ı − 3 + 2ıψ0 ı∂3 P − ı 2 ∂3 q ,
q
q
q
q
2q
2
2
2
1 x +x
ρ
2ı − 1 2 2 − 2∂3 P + 2 (∂3 q) ψ0 .
q
q
q
Setting ∂3 q = 1 makes the terms in ρ2 vanish, and we end up with the condition
∂3 P =
ı
.
q
(3.16)
We will consider both terms in the exponential of (3.15) separately. First we focus on the second
term, then on the first term.
3.1.1
Second term
Focussing on the second term in the exponential of (3.15), we choose
q(x3 ) = (x3 − z0 ) − q0 ,
(3.17)
33
3.1. GAUSSIAN BEAM APPROXIMATIONS
with z0 and q0 constants, so that ∂3 q = 1. We have z0 the (transformed) point of focus.
Furthermore we write
q0 = ı
zR
w02 k̂
,
with zR the Rayleigh range given by
w02
k.
(3.18)
2
This choice of parameters coincides with the choices in the literature. If we transform back to
the original variables, we can write
zR =
1
1
→
=
q(x3 )
(x3 − z0 ) − q0
1
(x3
w02 k̂
w02 k̂
1
.
zR =
(x3 − z0 ) − ızR
− z0 ) − ı w2 k̂
0
Substitution in the second term of the exponential in (3.15) and using x1 →
so that ρ2 → w12 ρ2 , results in
1
w0 x2 ,
1
w0 x1
and x2 →
0
1
ρ2
1 ρ2
= exp ık̂
,
exp ı
2 q(x3 )
2 (z − z0 ) − ızR
1 2 (z − z0 ) + ızR
.
= exp ı(k + ıα) ρ
2
2 (z − z0 )2 + zR
We define the radius of curvature as
"
R(z) = (z − z0 ) 1 +
zR
z − z0
2 #
,
(3.19)
and the spot size
w(z) = w0
s
1+
z − z0
zR
2
,
both in the original coordinates. Note that
1
z − z0
=
2 ,
R(z)
(z − z0 )2 + zR
and
2
zR
w02
=
2 ,
w(z)2
(z − z0 )2 + zR
so we have
1
w02 1
(z − z0 ) + ızR
=
.
+
ı
2
(z − z0 )2 + zR
R(z)
w(z)2 zR
(3.20)
34
CHAPTER 3. EXTERNAL ELECTROMAGNETIC SOURCES
Substitution results in
1 ρ2
=
exp ı
2 q(x3 )
=
=
=
1
1
w2 1
exp ı(k + ıα) ρ2
,
+ı 02
2
R(z)
w(z) zR
ρ2
1
w02 1
exp ı(k + ıα)
exp −(k + ıα) ρ2
,
2R(z)
2 w(z)2 zR
ρ2
1
1 2 w02
2
2
w02
exp ı(k + ıα)
exp −k ρ2
exp
−ıα
,
ρ
2R(z)
2 w(z)2 w02 k
2 w(z)2 w02 k
ρ2
ρ2
α ρ2
exp ı(k + ıα)
exp −
exp
−ı
,
2R(z)
w(z)2
k w(z)2
So finally we can write the second term as
ρ2
ρ2
α ρ2
1 ρ2
= exp ı(k + ıα)
exp −
exp
−ı
.
exp ı
2 q(x3 )
2R(z)
w(z)2
k w(z)2
(3.21)
Furthermore we have
∂3 R−1 (z) =
2
zR
− (z − z0 )2
2 )2 ,
((z − z0 )2 + zR
(3.22)
w02 z − z0 1
.
zR zR w(z)
(3.23)
and
∂3 w(z) =
An interesting result with respect to the Gaussian beam solution in a lossless medium is the
ρ2
extra phase shift − αk w(z)
2 . So we can not just replace the wave number k with a complex wave
number k̂ in the usual expression for the Gaussian beam solution.
3.1.2
First term
We will now focus on the first term in the exponential of (3.15). Using (3.16) and (3.17) we have
ı∂3 P = −
The anti-derivative is given by
1
.
z − z0 − q0
z − z0
,
ıP = −Log 1 −
q0
where the constant of integration will later on be added as the complex overall constant A0
giving the amplitude and phase. Note that transferring back to the dimensioned coordinates we
have
! z − z0
z − z0 w02 k̂
z − z0
1−
→ 1−
= 1+ı
.
q0
zR
k̂w02 ızR
35
3.1. GAUSSIAN BEAM APPROXIMATIONS
We see that the real part of the argument of the complex logarithm is strictly positive, so we
are on the principal branch for every value of z and the integration is valid. We can now rewrite
the expression as
z − z0
−Log 1 + ı
zR
=
=
s
2

z − z0

,
− ıArg 1 + ı
1+
zR
w(z)
z − z0
− log
− ı arctan
.
w0
zR
− log 
z − z0
zR
We have as final result for this term
w0
z − z0
z − z0
w(z)
− ı arctan
=
. (3.24)
exp −ı arctan
exp (ıP ) = exp − log
w0
zR
w(z)
zR
3.1.3
Total result
Finally if we substitute (3.24) and (3.21) in (3.15) we get as solution of (3.14) the expression
ψ0 =
w0
α ρ2
ρ2
ρ2
−
ı
−
ıζ(z)
.
exp ık̂
−
w(z)
2R(z) w(z)2
k w(z)2
(3.25)
Substitution of (3.25) in (3.9) results in the vector potential
A(x1 , x2 , x3 ) ≈ A0
w0
α ρ2
ρ2
ρ2
−
ı
−
ıζ(z)
,
exp ık̂x3 + ık̂
−
w(z)
2R(z) w(z)2
k w(z)2
(3.26)
with the Gouy phase given by
ζ(z) = arctan
z − z0
zR
,
(3.27)
and A0 the complex amplitude determined by the total power and phase. We see that the
extinction coefficient not only governs the extinction of the potential but also induces a phase shift.
Note that the derivative for the Gouy phase is given by
∂3 ζ(z) =
3.1.4
zR
2 + (z − z )2 .
zR
0
(3.28)
Electric field
From the vector potential we can determine the electric field. Combining (3.6) and (3.7) we get
Ei = ıωµ0 Ai + ı
which using A1 = A3 = 0 results in
1
∂i ∂j Aj ,
ω ε̂
36
CHAPTER 3. EXTERNAL ELECTROMAGNETIC SOURCES
E1
=
E2
=
E3
=
1
∂1 ∂2 A2 ,
ω ε̂
1
ı ∂22 A2 + ıωµ0 A2 ,
ω ε̂
1
ı ∂3 ∂2 A2 .
ω ε̂
ı
Substituting
A2 = A0 exp(ık̂x3 )ψ(x1 , x2 , x3 )
and using ε̂ = ε0 n̂2 results for the first component in
1
A0 exp(ık̂x3 )∂1 ∂2 ψ,
ε0 n̂2 ω
ω
A0 exp(ık̂ 2 w02 x3 )∂1 ∂2 ψ,
→ ı
2
ε0 c k̂ 2 w02
x 3
= ıωµ0 A0 ŝ2 exp ı 2 ∂1 ∂2 ψ.
ŝ
=
E1
Defining
ı
E0 = ıωµ0 A0
(3.29)
results in
x 3
E1 = E0 ŝ2 exp ı 2 ∂1 ∂2 ψ.
ŝ
Likewise for the second component we get
i
h
x 3
E2 = E0 ŝ2 exp ı 2 ∂22 ψ + exp(ık̂x3 )ψ .
ŝ
For the third component we get
E3
1
exp(ı
k̂x
)∂
ψ
,
A
∂
3
2
0
3
ε0 n̂2 ω
1
ω
1
∂3 exp(ık̂ 2 w02 ) ∂2 ψ ,
→ ı
A0
w0
ε0 c2 k̂ 2 k̂w02
x 3
= ıωµ0 A0 ŝ3 ∂3 exp ı 2 ∂2 ψ ,
ŝ
h
x x i
3
3
= E0 ŝ3 exp ı 2 ∂3 ∂2 ψ + ıŝ exp ı 2 ∂2 ψ .
ŝ
ŝ
=
ı
If we now substitute (3.12) in these expressions and neglect all terms of order ŝ2 and higher, we
obtain
3.1. GAUSSIAN BEAM APPROXIMATIONS
37
= 0,
E1
x 3
= E0 exp ı 2 ψ0 ,
ŝ
x 3
E3 = ıŝE0 exp ı 2 ∂2 ψ0 .
ŝ
In the original coordinates this finally results in expressions of the electric field components
given by
E2
E1
=
0,
(3.30)
E2
=
(3.31)
E3
=
E0 exp(ık̂x3 )ψ0 ,
"
#
2ı
1
2α
−
+
x2 ,
E0 exp ık̂x3 ψ0 −
R(z) k̂w(z)2
k k̂w(z)2
where we have used
∂2 ψ0 = ψ0
3.1.5
"
(3.32)
#
2ıα
2
ık̂
x2 .
−
−
R(z) w(z)2
kw(z)2
Magnetic field
For the magnetic field components we use (3.5). Since A1 = A3 = 0 we see directly that H2 = 0.
For H1 we have
H1
=
−∂3 A2 ,
i
h
= −∂3 A0 exp ık̂x3 ψ ,
1
1
A0 ∂3 exp ı x3 ψ ,
→ −
ŝ
k̂w02
1
1
1
2
= −k̂ŝ A0 ı 2 exp ı x3 ψ + exp ı x3 ∂3 ψ ,
ŝ
ŝ
ŝ
1
1
2
= −ık̂A0 exp ı 2 x3 ψ − k̂ŝ A0 exp ı x3 ∂3 ψ.
ŝ
ŝ
For H3 we get as results
H3
=
∂1 A2 ,
h
i
= ∂1 A0 exp ık̂x3 ψ ,
1
1
A0 exp ı 2 x3 ∂1 ψ,
→
w0
ŝ
1
= k̂ŝA0 exp ı 2 x3 ∂1 ψ,
ŝ
38
CHAPTER 3. EXTERNAL ELECTROMAGNETIC SOURCES
Substitution in (3.12), using (3.29) and neglecting all terms of order ŝ2 and higher, we obtain
k̂
E0 exp ık̂x3 ψ0 ,
ωµ0
H1
= −
H2
= 0,
H3
1
= −ı
E0 exp ık̂x3 ∂1 ψ0 .
ωµ0
(3.33)
(3.34)
(3.35)
Substituting the expression
∂1 ψ0 = ψ0
"
#
ık̂
2ıα
2
x1 ,
−
−
R(z) w(z)2
kw(z)2
results in the magnetic field components
H1
= −
H2
= 0,
H3
3.1.6
= −
k̂
E0 exp ık̂x3 ψ0 ,
ωµ0
(3.36)
(3.37)
"
#
1
2ı
2α
1
E0 exp ık̂x3 ψ0 k̂ −
−
+
x1 .
ωµ0
R(z) k̂w(z)2
k k̂w(z)2
(3.38)
Implementation
When implementing these quantities we need to separate the real and imaginary parts. We have
ψ0
α ρ2
ρ2
ρ2
w0
−
ı
−
ıζ(z)
,
) + ık̂
−
= exp log(
w(z)
2R(z) w(z)2
k w(z)2
w0
ρ2
ρ2
ρ2
α ρ2
=
exp
ı
k
−
ζ(z)
exp −α
−
−
w(z)
2R(z) w(z)2
2R(z) k w(z)2
We define the quantities
B(x1 , x2 , x3 ) = E0 exp(ık̂x3 )ψ0 ,
and
C(x1 , x2 , x3 )
1
2ı
2α
,
−
+
2
R(z) k̂w(z)
k k̂w(z)2
2α(k − ıα)
2(ık + α)
1
+
,
− 2
= −
2
2
R(z) (k + α )w(z)
k(k 2 + α2 )w(z)2
2
α
2
1
−ı 2
+
k
.
= −
R(z)
(k + α2 )w(x3 )2 k
= −
39
3.1. GAUSSIAN BEAM APPROXIMATIONS
and
D(x1 , x2 , x3 ) =
=
=
#
2ı
2α
1
−
+
,
k̂ −
R(z) k̂w(z)2
k k̂w(z)2
"
k̂
2α
2ı
+
,
−
2
R(z) w(z)
kw(z)2
k
2α
2
α
−
,
−ı
+
+
R(z) kw(z)2
R(z) w(z)2
−
and assume E0 is real so that
Re {B}
=
Im {B}
=
ρ2
ρ2
ρ2
α ρ2
w0
cos kx3 + k
− ζ(z) ,
exp −αx3 − α
−
−
E0
w(z)
2R(z) w(z)2
2R(z)
k w(z)2
w0
ρ2
ρ2
ρ2
α ρ2
E0
sin kx3 + k
− ζ(z) ,
exp −αx3 − α
−
−
w(z)
2R(z) w(z)2
2R(z) k w(z)2
and
1
,
R(z)
Re {C}
= −
Im {C}
2
= − 2
(k + α2 )w(x3 )2
α2
+k .
k
Split in real and imaginary parts the fields are then given by
E2′
=
E2′′
E3′
E3′′
=
=
=
H1′
=
H1′′
=
H3′
=
H3′′
=
Re {B} ,
Im {B} ,
(Re {B} Re {C} − Im {B} Im {C}) x2 ,
(Re {B} Im {C} + Im {B} Re {C}) x2 ,
1
(kRe {B} − αIm {B}) ,
−
ωµ0
1
−
(αRe {B} + kIm {B}) ,
ωµ0
1
−
(Re {B} Re {D} − Im {B} Im {D}) x1 ,
ωµ0
1
−
(Re {B} Im {D} + Im {B} Re {D}) x1 ,
ωµ0
and E1 = H2 = 0. This is the form of the equations as we will use them in the implementation.
40
CHAPTER 3. EXTERNAL ELECTROMAGNETIC SOURCES
3.1.7
Accuracy
We saw that, by design, the Gaussian beam solution only satisfies the Maxwell equations approximately. To get physically significant results we must ensure that this approximation is accurate
enough, and we need some measure to see how well the solution satisfies the equations, and also
how accurate the derived quantities are. Since we have determine the Gaussian beam solution by
expanding the Maxwell equations around ŝ, we know that for |ŝ| small the solution should satisfy
the original equation well. Using (2.102) we can write
λ0
c 1
=
.
ωw0 n̂
2πw0 n̂
We can determine what the corresponding requirement for the waist size w0 . We have
ŝ =
|ŝ| =
(3.39)
λ0
1
√
.
2
2πw0 n + κ2
For a good approximation we must have |ŝ| ≪ 1, which results in the relation
λ0
1
√
,
2
2π n + κ2
between the waist size and the wave length.
From (3.18) we see that a larger waist size results in a larger Rayleigh range. We then see from
(3.20) that the spot size as function of the direction of propagation gets closer to w0 , its value at
the point of focus. This implies that there is less focus in the direction of propagation, so this poses
a problem for us. The more accurate we want to model the electromagnetic fields, the less focussing
we can have in the direction of propagation. Furthermore, on of the purposes of this project is to
see the influence of flows on Rayleigh particles that are captured using optical tweezers, so we need
wavelengths that are relatively high compared to the size of these particles, and again for higher
wavelengths, the Gaussian beam approximation gets less accurate. This is the reason why in the
next section we will develop an external source that satisfies the Maxwell equation exactly, and still
had focussing properties.
Since we have the analytic solution, we can in principle determine what the analytic residual will
be. Furthermore once we have chosen a grid on which we determine the fields, we can also calculate
numerically the residual. We will determine the numerical residual by using central difference
schemes for the derivatives in the Maxwell equations.
For the analytical residual, we use (3.2). We first choose a grid with grid points xi , on which
we calculate the analytical expression for all the derivatives of the electric field. Then we determine
both the real and imaginary part of the residual, given by
w0 ≫
R′ (xi ) =
R′′ (xi ) =
∇ × E′ (xi ) + ωµ0 H′′ (xi ),
∇ × E′′ (xi ) − ωµ0 H′ (xi ).
Then the scalar residual is given by
R(xi ) = R′ (xi ) · R′ (xi ) + R′′ (x)i · R′′ (xi ).
This quantity we integrate numerically over the whole domain, where we use a midpoint rule.
This results in the total residual
41
3.1. GAUSSIAN BEAM APPROXIMATIONS
R=
X
R(xi )Vi ,
xi ∈V
where Vi is the volume of the corresponding cell. To normalize we determine the norm of the
second term of (3.2),
X
N = ω 2 µ20
(H′ (xi ) · H′ (xi ) + H′′ (xi ) · H′′ (xi )) Vi .
xi ∈V
The relative residual is then given by
Rrel =
r
R
.
N
In order to determine R′ and R′′ , we need the derivatives of E′ and E′′ with respect to all the
spatial coordinates. Using the expressions derived in the previous section, we can easily determine
the derivatives, which results in
∂1 B ′
=
∂1 B ′′
=
∂2 B ′
=
∂2 B ′′
=
∂3 B ′
=
∂3 B ′′
=
x1
κ x1
2x1
kx1
′
α
−
B
,
−2
+
−B ′′
R(x3 )
n w(x3 )2
R(x3 ) w(x3 )2
k(x1 − x0 )
(x1 − x0 ) 2(x1 − x0 )
κ (x1 − x0 )
′′
B′
α
−
B
,
−2
+
R(x3 )
n w(x3 )2
R(x3 )
w(x3 )2
x2
κ x2
2x2
kx2
′
α
−
B
,
−2
+
−B ′′
R(x3 )
n w(x3 )2
R(x3 ) w(x3 )2
k(x2 − y0 )
(x2 − y0 ) 2(x2 − y0 )
κ (x2 − y0 )
′′
B′
α
−
B
,
−2
+
R(x3 )
n w(x3 )2
R(x3 )
w(x3 )2
αρ2
2ρ2
1
∂
w(x
)
B′
B ′ ∂3 w(x3 ) + −α −
∂3 R−1 (x3 ) +
−
3
3
w(x3 )
2
w(x3 )3
ρ2
2κ ρ2
− k + k ∂3 R−1 (x3 ) −
∂
w(x
)
−
∂
ζ(x
)
B ′′ ,
3
3
3
3
2
n w(x3 )3
1
αρ2
2ρ2
−
∂
w(x
)
B ′′
B ′′ ∂3 w(x3 ) + −α −
∂3 R−1 (x3 ) +
3
3
w(x3 )
2
w(x3 )3
ρ2
2κ ρ2
−1
+ k + k ∂3 R (x3 ) −
∂3 w(x3 ) − ∂3 ζ(x3 ) B ′ .
2
n w(x3 )3
Substitution in the field expressions derived in the previous section results directly to analytical
expressions of the derivatives of the fields, which are used in the next section to calculate the
residuals.
Since the electromagnetic field components are accurate up to order |ŝ|, we expect the analytical
approximation of E and H to be of order O(|ŝ|2 ). In Chapter 6 we will check this by calculating
the fields for different parameters.
We will also determine the numerical residual, in exactly the same way. We will check both
Maxwell equations (3.1) and (3.2). The rotations are now determined using central differencing,
and for the integral we again use a midpoint rule. We expect for wavelengths small compared to
42
CHAPTER 3. EXTERNAL ELECTROMAGNETIC SOURCES
the grid size that the numerical error due to the central differencing will be dominant, while for
larger wavelengths, the error will be dominated by the fact that we are using the Gaussian beam
approximation. Again we will investigate this in Chapter 6.
43
3.2. GAUSSIAN DIPOLE ARRAY
3.2
Gaussian dipole array
At the end of Section 3.1 we saw that using the Gaussian beam approximation, we get solutions
that do not satisfy the Maxwell equations, and for tighter and tighter focussing this approximation
gets worse and worse. In this section we will construct fields that do satisfy the Maxwell equations
exactly, and still have highly focussing behaviour. We will construct our external source density as
an array of perfect dipoles in a source plane. We orientate these dipoles so that they are proportional
to the field of an incoming Gaussian Beam in that source plane. Then, suggested by the Huygens
principle, we get a resulting electromagnetic field, mimicking a Gaussian beam. We will use a
Green’s function method to construct the expressions for the fields. We will first derive the Green’s
function and its derivatives, and develop expressions for the electric and magnetic fields. Then we
will describe how we model our Gaussian type beam.
3.2.1
Green’s function
We assume the external current is zero everywhere inside the domain of interest. Then, from (2.96)
we have ∇ · H = 0. It is well-known that a divergence-less vector field can be written as the rotation
of another vector field, so we can define A such that
H = ∇ × A.
Substitution in (2.94) results in
∇ × (E − ıωµ0 A) = 0,
where we have assumed there is no magnetic current density.
It is also well-known that every curl-less vector field can be written as the gradient of a scalar
potential, so there exists a scalar function V such that
E − ıωµ0 A = −∇V.
(3.40)
Substitution in (2.93) results in
−∇ × (∇ × A) − ıω ε̂(ıωµ0 A − ∇V ) = −Jext ,
or
−∇(∇ · A) + ∇2 A + ω 2 µ0 ε̂A + ıω ε̂∇V = −Jext .
Again we choose the Lorenz gauge, given by (3.7),
∇ · A = ıω ε̂V,
so that the equation simplifies to
∇2 A + ω 2 µ0 ε̂A = −Jext .
Here we have assumed the permittivity is homogeneous throughout the whole medium. The
equation for the potential can now be written as
44
CHAPTER 3. EXTERNAL ELECTROMAGNETIC SOURCES
∇2 A + k̂ 2 A = −Jext .
(3.41)
The electric field is then obtained by substituting (3.7) in (3.40). Rewriting results in
E = ıωµ0 A −
1
∇(∇ · A).
ıω ε̂
The fields can now be written as
E
H
1
= ıωµ0 A + ∇(∇ · A) ,
k̂ 2
= ∇ × A.
(3.42)
(3.43)
Taking the Fourier transform of (3.41) results in
−(m21 + m22 + m23 )Ã + k̂ 2 Ã = −J̃ext ,
where mi are the spatial Fourier coordinates. Solving for à results in
à =
1
kmk2
− k̂ 2
J̃ext .
We now formally define the Fourier transform of the Green’s function as
g̃(m) =
1
kmk2 − k̂ 2
.
Given that the inverse exists, the potential is given by taking the inverse Fourier transform,
Z
g(x − y)Jext (y) dV,
(3.44)
A(x) =
y∈R3
where we have used the convolution theorem. To determine g(x), we perform the inverse integrations explicit in spherical coordinates. We have
Z
1
g(x) =
ĝ(m)eım·x dV.
(3.45)
(2π)3 m∈R3
For fixed x 6= 0 we define as basis for m-space a right-handed orthonormal basis {m̂1 , m̂2 , m̂3 },
x
. We parameterize the vectors (m1 , m2 , m3 ) as
such that m̂1 = kxk
m1
= r cos θ,
m2
m3
= r sin θ cos φ,
= r sin θ sin φ,
with 0 ≤ r, 0 ≤ θ < π and 0 ≤ φ < 2π. Note that this is just a form of spherical coordinates,
with the Jacobian of this transformation given by J = r2 sin θ. Furthermore note that
x · m = kxkm̂1 · m = kxkm̂1 · (m1 m̂1 ) = kxkr cos θ,
45
3.2. GAUSSIAN DIPOLE ARRAY
and kmk2 = r2 , so we can write (3.45) as
g(x) =
1
(2π)3
Z
∞
0
Z
π
0
Z
2π
1
r2
0
− k̂ 2
eıkxkr cos θ (r2 sin θ) dφ dθ dr.
Performing the integration over φ and changing parameter to y = cos θ results in
g(x) =
1
(2π)2
Z
∞
0
Performing the integration over y results in
1
(2π)2
Z
0
∞
Z
1
−1
r2
r2 − k̂ 2
eıkxkry dy dr
=
=
=
1
r2
−1
r2 − k̂ 2
Z
eıkxkry dy dr.
1
r2
1
dr,
eıkxkry
ıkxkr r2 − k̂ 2
0
−1
Z ∞
i
h
r
ı
ıkxkr
−ıkxkr
dr,
e
−
e
−
(2π)2 kxk 0 r2 − k̂ 2
Z ∞
ı
r
−
eıkxkr dr.
(2π)2 kxk −∞ r2 − k̂ 2
1
(2π)2
Z
∞
This final integral can be determined by considering it a complex contour integral around a
semi-disk in the upper half of the complex plane, centred around the origin. By using Jordan’s
lemma and assuming k̂ has positive imaginary part, the integral over the semi-circle vanishes in
the limit of the radius going to infinity. The only pole in the upper half-plane is at z0 = k̂ where
we take the root with positive imaginary part. Using z as complex parameter, we can write the
integrand as
z
eıkxkz .
(z − z0 )(z + z0 )
Using the residue theorem from complex calculus we then know that
Z
∞
−∞
r
r2 − k̂ 2
eıkxkr dr
=
=
=
z
eıkxkz , z0 ,
(z − z0 )(z + z0 )
z
2πı lim
eıkxkz ,
z→z0 z + z0
ıπeıkxkz0 .
2πıRes
This finally results in the expression for the Green’s function,
g(x) =
1
eık̂kxk .
4πkxk
(3.46)
Expressions for the derivatives
In this section we will derive the expressions for the derivatives of the Green’s function that we
need. Since in (3.44) we have the expression g(x − y), we will focus on this expression. Note that
46
CHAPTER 3. EXTERNAL ELECTROMAGNETIC SOURCES
the derivatives are taken with respect to x. We define r = x − y, and r = kx − yk. The Green’s
function then becomes
g(r) =
1 ık̂r
e .
4πr
Notice that in Cartesian coordinates
∂i r =
ri
,
r
or in vector notation,
∇r =
r
= r̂.
r
We now have
1 ri
,
∂i g(r) = g(r) ık̂ −
r r
or in vector notation
1
∇g(r) = g(r) ık̂ −
r̂.
r
(3.47)
The second derivatives are given by the symmetric tensor with Cartesian coordinates
∂j ∂i g(r) =
=
2
ri rj
1
1
r2 δij − ri rj
+ g(r) 4 ,
ık̂ −
ık̂ −
+ g(r)
3
r
r
r
r
#
ık̂
ri rj
ri rj
1
ri rj
δij − 3 2
,
g(r) −k̂ 2 2 + 2 3 2 − δij +
r
r
r
r
r
ri rj
g(r) 2
r
"
where we have used the expression
r2 δij − ri rj
.
r3
In vector notation we can write this tensor as
"
#
ık̂
1
2
∇∇g(r) = −g(r) k̂ r̂ ⊗ r̂ + (3r̂ ⊗ r̂ − I) − 2 (3r̂ ⊗ r̂ − I) ,
r
r
∂j r̂i =
(3.48)
(3.49)
with I the identity operator.
3.2.2
Perfect dipole
Before focussing on complex external current densities, we will first consider as external source an
oscillating perfect electric dipole, given by
Jext (x, t) = δ(x − xs )I0 cos(ωt − ϕ)d̂,
47
3.2. GAUSSIAN DIPOLE ARRAY
with I0 the strength, ϕ the phase factor and d̂ the orientation. The orientation d̂i determines the
polarization of the resulting fields. We see that if we define the complex, time harmonic, external
source as
Jext (x) = δ(x − xs )I0 eıϕ d̂,
(3.50)
we have
Jext (x, t) = Re Jext (x)e−ıωt .
Substituting (3.50) in (3.44) results in the expression for the potential
A(x) = g(x − xs )I0 eıϕ d̂.
(3.51)
For simplicity we will absorb the phase factor ϕ in the Green’s function g, which results in
g(r) =
1 ı(k̂r+ϕ)
e
,
4πr
so that we can write
A(x) = g(x − xs )I0 d̂.
(3.52)
Note that this does not alter any of the derivatives. We now define r = x − xs and r = kx − xs k.
From (3.52) we can derive the electric and magnetic fields. Substituting (3.52) in (3.42) and using
(3.49) results in
E
1
= ıωµ0 g(r)I0 d̂ + ∇(∇ · (g(r)I0 d̂)) ,
k̂ 2
1
= ıωµ0 I0 g(r)d̂ + (d̂ · ∇)(∇g(r)) ,
k̂ 2
ı 1 = ıωµ0 I0 g(r) d̂ − (d̂ · r̂)r̂ −
3(d̂ · r̂)r̂ − d̂ .
3(d̂ · r̂)r̂ − d̂ +
k̂r
k̂ 2 r2
We want to split this field in a real and imaginary part. First notice that
1
k̂
=
k − ıα
,
k 2 + α2
and
1
=
k̂ 2
The electric field can now be written as
E =
=
k 2 − α2 − 2ıkα
.
(k 2 + α2 )2
1
ı
ωµ0 I0 g(r) ı d̂ − (d̂ · r̂)r̂ +
3(d̂ · r̂)r̂ − d̂ .
+
k̂r k̂ 2 r2
k − ıα
ı(k 2 − α2 ) + 2kα ωµ0 I0 g(r) ı d̂ − (d̂ · r̂)r̂ +
.
+
3(d̂ · r̂)r̂ − d̂ (3.53)
(k 2 + α2 )r
(k 2 + α2 )2 r2
48
CHAPTER 3. EXTERNAL ELECTROMAGNETIC SOURCES
Splitting in a real and imaginary part results in
E′
E′′
=
=
−ωµ0 I0 (g ′′ v1 − (c1 g ′ + c2 g ′′ ) v2 ) ,
ωµ0 I0 (g ′ v1 + (c1 g ′′ − c2 g ′ ) v2 ) ,
(3.54)
(3.55)
where we have defined the vectors
v1
v2
= d̂ − (d̂ · r̂)r̂,
= 3(d̂ · r̂)r̂ − d̂,
and the scalars
c1
=
c2
=
2kα
k
,
+ 2
(k 2 + α2 )r
(k + α2 )2 r2
α
k 2 − α2
.
−
(k 2 + α2 )r
(k 2 + α2 )2 r2
For the magnetic field we substitute (3.52) in (3.43) and use (3.47), which results in
H
=
=
=
I0 ∇g(r) × d̂,
1
r̂ × d̂,
I0 g(r) ık̂ −
r
1
r̂ × d̂.
I0 g(r) ık̂ −
r
(3.56)
Splitting in real and imaginary part we get as expression for the magnetic field
H′
H′′
1
g ′ + kg ′′ r̂ × d̂,
r
1
g ′′ − kg ′ r̂ × d̂.
α+
= −I0
r
= −I0
α+
(3.57)
(3.58)
So we now have expressions for the electric and magnetic field of a perfect dipole, which satisfy
the Maxwell equations exactly.
3.2.3
Gaussian source plane as array of dipoles
In the previous section we constructed a simple exact solution for the Maxwell equations. We can
now use this solution to construct more interesting fields, by using the superposition principle.
We can place multiple perfect dipoles at different spatial locations, and we know by linearity of
the Maxwell equations that the total electromagnetic field will be the sum of the partial fields.
It is important to notice that is it only the fields that can be added, not the derived quantities
49
3.2. GAUSSIAN DIPOLE ARRAY
such as the heat dissipation or the Poynting vector. To determine these we first determine the
total electromagnetic field and then calculate the derived quantity. We will work with the vector
potential, using (3.44). Once we have determined the vector potential for our solution, we can
easily calculate the electric and magnetic fields by (3.42) and (3.43).
For an arbitrary external electric current density Jext (x), we have
Z
g(x − y)Jext (y) dy,
(3.59)
A(x) =
D
where D is the region where the current density is non-zero. We assume we are interested in
the field values at locations x, so that r = kx − yi k is not too small, that is, we look at points not
too close to the source region. In this case we do not need to take care of the singularity in the
Green’s function. Since the Green’s function contains a factor exp ıkr, it also oscillates over D, so
when discretizing (3.59), we have to make sure our grid is fine enough. Furthermore the spatial
variation of the current density have to be taken into account when determining the grid size. We
will approximate the integral by using the second order midpoint scheme. If we divide the volume
D in cells with label i, and denote the volume Vi and centres yi , we can approximate the integral
as
X
g(x − yi )Jext (yi )Vi ,
(3.60)
A(x) ≈
i
where x is the fixed point where we want to determine the field values.
We now have to determine the current density to use. We will apply the same idea behind
the Huygens-Fresnel principle, which says that the fields of a propagating wave are equal to the
superposition of the fields resulting of point sources in a plane through which the wave front travels.
We will use this principle, by choosing a source plane, through which the beam enters. Then we use
the Gaussian beam approximation to determine the electric field components in this plane, and we
use as external electric currents point sources that are proportional to the (complex) field values at
those point. Mathematically, we choose a plane S, orthogonal to the direction of propagation, which
in Section 3.1 was the z direction, so for each vector y ∈ S, we have z = zs , where s is the subscript
for the source. We will denote the center of the beam in the source plane as xs = (xs , ys , zs ).
Using (3.30) and the proportionality requirement we can thus write the external electric current
density as
J1
=
0,
J2
∝
exp(ık̂z)ψ0 ,
exp ık̂z ψ0
J3
∝
2α
1
2ı
+
−
−
R(z) k̂w(z)2
k k̂w(z)2
!
y.
We will determine the strength of the currents not directly, but through a normalization procedure as described in Section 5.1.1. Since z = zs is fixed, we only have to consider factors depending
on x and y. It is essential that we look at the complex field values, because in general the different
components do not have to be in phase with each other. Using (3.25) we have
ρ2
ρ2
ρ2
α
ψ0 ∝ exp −
,
+ ık̂
−ı
w(zs − zf )2
2R(zs − zf )
k w(zs − zf )2
50
CHAPTER 3. EXTERNAL ELECTROMAGNETIC SOURCES
where we have substituted z = zs − zf , the (oriented) distance between the source plane and
the focal plane and ρ2 = (x − xs )2 + (y − ys )2 , with (xs , ys ) the axial line through the center of the
beam. If we now define complex parameters β̂ and γ̂ = γ̂(ρ) such that
β̂
=
=
γ̂
=
2ı
2α
1
,
−
+
R(zs − zf ) k̂w(zs − zf )2
k k̂w(zs − zf )2
2
1
,
−ı
−
R(zs − zf )
kw(zs − zf )2
ρ2
ρ2
ρ2
α
exp −
,
+ ık̂
−ı
w(zs − zf )2
2R(zs − zf )
k w(zs − zf )2
−
(3.61)
(3.62)
we can write J2ext ∝ γ̂ and J3ext ∝ γ̂ β̂y. Note that although γ̂ occurs in both components, we
can not divide by it, because of the dependence on ρ. Denoting the normalization constant as I0 ,
we can write the external current as
J1ext
J2ext
=
=
J3ext
=
0,
γ̂I0 δ(z − zs ),
γ̂ β̂(y − ys )I0 δ(z − zs ),
where the δ function reflects that the source only acts in a plane. Substitution in (3.59) and
applying the discretization that has lead to (3.60) results in the discretized expresions for the vector
potential,
A1
=
0,
A2
=
I0
X
i
A3
=
I0 β̂
γ̂i g(x − yi ),
X
i
(yi − ys )γ̂i g(x − yi ),
where the δ function is taken into account by fixing z = zs in the integration vector y, changing
from a volume integral to an area integral and we added a subscript to γ̂ to denote its dependency
on ρ. Furthermore we have assumed the cells are of equal area, and absorbed this into the I0
parameter, which will be normalized by the procedure explained in Section 5.1.1. So for our final
discretized vector potential we can write
A(x) = I0
n
X
i=1
h
i
γ̂i g(x − yi ) ŷ + β̂(yi − ys )ẑ ,
(3.63)
where ŷ and ẑ are the standard unit basis vectors. If we compare the expression for this vector
potential with (3.51) we see that it is a superposition of perfect dipoles, with two dipoles with
orthogonal orientation for each source vector yi . This means that in order to determine the vector
potential, and the resulting electric and magnetic fields, we can directly use the expressions derived
in Section 3.2.2, substituting I0 eıϕ d̂ = I0 γ̂i ŷ and I0 eıϕ d̂ = I0 γ̂i β̂yẑ, for the y and z component
respectively.
51
3.2. GAUSSIAN DIPOLE ARRAY
We still need to address the discretization domain. We will assume the domain is a square
patch in the source plane, centred around xs = (xs , ys , zs ) and having length L in both directions.
The dimensions of this square are determined by how fast the amplitude of the external current
density decays. Since I0 is constant on the whole domain we ignore its values, since it is the relative
contribution we are interested in. The amplitude for the y component is then given by |γ̂|. For the
z component we have |β̂||γ̂|y. From (3.62) it is easily seen that
ρ2
ρ2
,
−α
|γ̂| = exp −
w(zs − zf )2
2R(zs − zf )
so the coefficient decays exponentially in ρ2 , which means the amplitude for the y component is
a decreasing function for all ρ. For the z component special care is needed because of the factor y.
Of course we know because of the exponential decay eventually the amplitude starts decreasing. For
fixed y we again have exponential decay in |x − xs |2 for all x. In the y direction the amplitude will
initially grow towards a maximum after which it starts decaying. It is important that our domain
contains this maximum. In order to determine the location we calculate the partial derivative with
respect to y. We have
∂ |β̂||γ̂|y
∂y
∂|γ̂|
y + |γ̂|
∂y
2y 2
.
= |β̂||γ̂| 1 −
w(zs − zf )2
= |β̂|
At the maximum this partial derivative will equal zero, so we have
1
y = ymax = √ w(zs − zf ).
2
For y > ymax the amplitude will again be a decreasing function of ρ, so we will always choose
the length of the source domain such that
L > 2ymax =
√
2w(zs − zf ).
(3.64)
The amplitudes depend on both w0 and zs − zf . To determine a specific value of L, we choose
a tolerance 0 < ǫs < 1. Now we will choose L such that the relative amplitudes in both directions
are smaller than this tolerance, that is, we have |γ̂| < ǫs and |β̂||γ̂| L2 < ǫs , in addition to (3.64).
We will always choose ǫs = 0.001 except when stated otherwise. Such a small value will ensure
that extending the source domain will not lead to significantly changing the resulting fields. Using
this approach, we choose the model the complete Gaussian source beam. It could be that in a
experimental situation, the incoming beam is larger than the aperture on which it is pointed, in
which case it would be more suitable to cut off the source domain at the appropriate value, so that
the modelled fields will approach the physical ones more closely, introducing side lobes from the
edge of the aperture. We will not use this approach here and we will model the complete beam.
Finally we have to make sure the discretization of the grid is fine enough. We already noticed
that the Green’s function oscillates. This is due to the complex exponential exp(ıkr). When
evaluating the integral over the source plane, x is considered constant, so the period of oscillation
depends on how r varies over the source plane with respect to this fixed x. In the limiting case
52
CHAPTER 3. EXTERNAL ELECTROMAGNETIC SOURCES
z → zs the component of r outside the source plane will tend to zero, and we see that r will approach
ρ, resulting in a factor exp(ıkρ), which oscillates in the source plane with period 2π
k . This gives a
lower bound for the period.
From 3.62) we see that the external current density will also oscillate over the source plane, due
to the complex exponential
ρ2
ρ2
α
exp ı k
.
−
2R(zs − zf )
k w(zs − zf )2 )
We see that the period increases for increasing ρ, so by fixing L, the size of the source domain,
we implicitly fix some lower bound for this period.
We will not further analyse this oscillating behaviour analytically. Instead, in Chapter 6 we
will show the consequences of different grid sizes for the source domain, and we will quantitative
estimate the errors involved, to make sure we will choose a grid fine enough for the simulations.
Chapter 4
Navier-Stokes equations
In this chapter we will outline the different equations governing the flow of a fluid. All the equations
follow from the different conservation laws. In particular we use the conservation of mass, linear
momentum, angular momentum and energy.
We have v the velocity of the fluid, which in general is a function of position and time, so
v = v(x, t). We will now determine the equations for v in terms of the material properties and
other variables.
4.1
Conservation of mass
For the fluid in motion we assume that mass is (locally) conserved. From [2] we have the continuity
equation given by
∂ρ
+ div (ρv) = 0,
∂t
(4.1)
where ρ(x, t) is the mass density and v(x, t) the velocity of the fluid. In subscript notation this
becomes
∂t ρ + ∂j (ρvj ) = 0.
(4.2)
Expanding the differentiation results in
∂t ρ + ρ∂j vj + vj ∂j ρ = 0.
(4.3)
This equation can be simplified using certain assumptions on the flow, such as incompressibility.
If we introduce the operator
D
∂
=
+ v · ∇,
Dt
∂t
called the material derivative, we can write the continuity equation as
1 Dρ
= − div v.
ρ Dt
53
(4.4)
(4.5)
54
CHAPTER 4. NAVIER-STOKES EQUATIONS
The material derivative is the derivative along the path of a fluid particle. It can be applied to
field variables, that is variables that are functions of u and t. In subscript notation we will write
Dt , so we can write
1
Dt ρ = −∂i vi .
(4.6)
ρ
We see that if the material derivative of the mass density is zero, the divergence of the velocity
vanishes.
4.2
Conservation of (linear) momentum
Using conservation of (linear) momentum and following the derivation from [2], we arrive at the
general expression for conservation of linear momentum,
ρDt vi = ∂j Tij + fib ,
(4.7)
fib (x, t)
where
is the volumetric body force density and Tij the stress tensor.
Writing out the material derivative results in
ρ (∂t vi + vj ∂j vi ) = ∂j Tij + fib .
(4.8)
We have to determine the relation between the stress tensor and the other quantities that
describe the flow of the fluid. First of all we write the stress tensor as the sum of an isotropic part
and a non-isotropic part
Tij = −pδij + Tij′ ,
(4.9)
Tij′
with p the mechanical pressure and
the non-isotropic part of the stress tensor or the deviatoric
stress tensor. If we consider the fluid to be a Newtonian fluid, the deviatoric stress tensor can be
written as
1
′
Tij = 2µ eij − ∆δij ,
(4.10)
3
where µ is the dynamic viscosity, eij is given by
1
(∂j ui + ∂i uj ) ,
2
and ∆ = ekk = ∂k vk , with summation over k implied. In general the dynamic viscosity is a
function of the temperature.
Substitution of (4.10)and (4.9) in (4.8) results in
eij =
ρ (∂t vi + vj ∂j vi ) =
=
=
1
∂j −pδij + 2µ eij − ∆δij
+ fib ,
3
2
−∂i p + 2∂j (µeij ) − ∂i (µ∆) + fib ,
3
2
−∂i p + ∂j (µ (∂j vi + ∂i vj )) − ∂i (µ∂j vj ) + fib .
3
55
4.3. CONSERVATION OF ENERGY
This is the most general form for Newtonian fluids. If we assume temperature differences are
small, then the viscosity is homogeneous and can be taken out of the derivatives. This results in
the simpler form
1
(4.11)
ρ (∂t vi + vj ∂j vi ) = −∂i p + µ∂j2 vi + µ∂i (∂j vj ) + fib ,
3
where we have interchanged the order of differentiation to combine two terms.
A final important simplification is to consider the flow incompressible. This means that the
material derivative of the mass density of the fluid is zero. From (4.6) it follows directly that
∂i vi = 0.
If we substitute this in (4.11) we have as result the incompressible Navier-Stokes equations with
constant viscosity,
ρ (∂t vi + vj ∂j vi ) = −∂i p + µ∂j2 vi + fib .
(4.12)
We can write this slightly different if we use
vj ∂j vi = ∂j (vj vi ) − vi ∂j vj = ∂j (vj vi ).
The result then is
ρ (∂t vi + ∂j (vj vi )) = −∂i p + µ∂j2 vi + fib .
(4.13)
In general the Navier-Stokes equation together with the continuity equation are four equations
in five unknowns, vi , ρ and p, so our system is not complete yet. In the incompressible case, the
equation Dt ρ = 0 is this final equation. When we consider compressible flow we need to take into
account an energy equation and a thermodynamic relation too. We will consider incompressible
flow throughout this work, but since we do expect there to be heating in the fluid we need these
extra equations, to take care of the heat dissipation.
4.3
Conservation of energy
When the fluid contains heat sources, and heat transfer plays a role we have to take conservation of
energy into account. In general we define the total energy density as the sum of the internal energy
and the kinetic energy,
1
(4.14)
E = ρ e + vi vi ,
2
with e the specific internal energy (per unit mass). Since we assume our fluid is incompressible,
additional heat will have no effect on the density, and we consider only the internal energy. Of
course under this assumption there will be no interaction between the internal and kinetic energy
at all, but in order to investigate whether heat driven currents exists we need a heat equation.
Further details can be found in Section 4.4. The specific internal energy can be written as
e = cp T,
56
CHAPTER 4. NAVIER-STOKES EQUATIONS
where in general cp is a function of T . We assume that the temperature differences will be small,
so that we can assume cp is constant.
If we consider a control volume V we can then write for the internal energy,
Z
Z
d
ρcp T dV = − ρcp T vi n̂i dA + Q.
(4.15)
dt V
S
The first term on the right-hand side is the convection term, in the second term Q is the sum
of the heat source and heat flux through the surface of the control volume. We can write Q as
Z
Z
qi∗ n̂i dA,
(4.16)
q dV −
Q=
V
with q the heat source density and
qi∗
S
the heat flux. For the heat flux we use Fourier’s law,
qi∗ = −k∂i T,
with k ≥ 0 the heat conduction coefficient. In general k = k(T ), but we assume the temperature
differences are small enough to consider k constant.
If we substitute (4.16) in (4.15), interchanging the integration and differentiation in (4.15) and
apply the divergence theorem, we get the integral heat equation
Z
Z
Z
Z
q dV.
∂i (k∂i T ) dV +
∂i (ρcp T vi ) dV +
∂t (ρcp T ) dV = −
V
V
V
V
Since we have chosen V arbitrarily, the integrands have to be equal. Taking out the constant
parameters and using the incompressibility results in the heat equation,
ρcp ∂t T = −ρcp vi ∂i T + k∂i2 T + q.
(4.17)
This is the heat equation we will work with.
4.4
Boussinesq approximation
Since we have a heat source density q generally not equal to zero, it is possible that temperature
differences might lead to small currents, under the influence of gravity. This effect called natural
convection is small for small temperature differences, but since we expect our external electromagnetic forces to be small too, we want to take them into account so that we can investigate which
effect is dominant for different electromagnetic properties. In order to achieve this we use the
Boussinesq approximation.
In general when gravity is taken into account, we have as one of the body forces ρgi , with gi
the gravity acceleration. In the Boussinesq approximation, we assume the density is constant in all
the terms, except this one. Following [13] and [5] we write the density and the temperature as the
difference between a reference value and a small deviation, ρ = ρ0 + ρ′ and T = T0 + T ′ . Since ρ′
is small, we can write it as
∂ρ0
ρ′ =
T ′ = −ρ0 βT ′ ,
∂T p
57
4.5. STEADY-STATE EQUATIONS
with β the thermal expansion coefficient. Using this expression we have for the density the
expression
ρ = ρ0 (1 − β(T − T0 )) .
(4.18)
We now define the modified pressure as
p′ = p + ρgx2 ,
(4.19)
where we assume gravity works in the negative x2 direction. Substitution in the two important
terms of the left-hand side of the momentum equation results in
−∂i p − ρg x̂2 = −∂i (p′ − ρgx2 ) − ρg x̂2 = −∂i p′ + ρg x̂2 + gx2 ∂i ρ − ρg x̂2 = −∂i p′ + gx2 ∂i ρ.
Substitution in (4.13) results in the modified Navier-Stokes equation
ρ0 (∂t vi + ∂j (vj vi )) = −∂i p′ + gx2 ∂i ρ + µ∂j2 vi + fib ,
(4.20)
where from fib gravity is now excluded.
In [5] it is stated that for water the errors introduced by using this approximation are approximately 1% for temperatures differences of 2 K or smaller. For larger differences this error grows,
and the solutions can even become qualitatively different. This is important to keep in keep, and
we always have to check whether we are still in the domain of validity of this approximation.
4.5
Steady-state equations
We have derived a number of conservation equations and other relations that govern the flow of
the fluid. Also we made a number of assumptions on our fluid and flow. In particular we assume
the density is constant and equal to ρ0 . We will now state the final equations that we will use to
determine the steady-state flows in our fluid. As a consequence, the partial time derivatives are
equal to zero. From (4.2), (4.20) and (4.17) we have
∂i vi
ρ0 vj ∂j vi
ρ0 cp vi ∂i T
= 0,
(4.21)
′
= −∂i p + gx2 ∂i ρ +
=
k∂i2 T
µ∂j2 vi
+
fiem ,
+ qem ,
(4.22)
(4.23)
with the modified pressure p′ given by (4.19) and the variable density by (4.18). Furthermore
we have identified the heat source and the body force with the expression from (2.109) and (2.108).
If we divide the second equation by ρ0 we see we get as coefficient for the viscous term
ν=
µ
.
ρ0
This quantity is called the kinematic viscosity, and is it usually stated in the literature.
58
4.6
CHAPTER 4. NAVIER-STOKES EQUATIONS
Boundary conditions
In order to solve the equations stated earlier we need boundary conditions for the velocity and
temperature. Information about the boundary conditions can be found in [5]. For the velocity at
a solid boundary there are two common possibilities. In the inviscid case we assume the velocity is
parallel to the boundary, that is, no fluid particle penetrates the boundary,
v · n̂ = 0,
with n̂ the unit normal vector. In case of a viscous fluid, we assume the no-slip boundary
condition, which says that the fluid ‘sticks’ to the boundary and its velocity is zero,
v = 0.
This boundary condition we will use for the simulations.
For the temperature we can either assume the boundary is perfectly insulated, so that the
normal derivative of the temperature is zero, or that a certain heat flux is present. The latter is
implemented by using a reference temperature and possibly a certain heat coefficient, modelling
the walls heat properties.
For boundaries where fluid is allowed to cross we need different boundary conditions. The most
common situation we will consider is a domain with an inflow and an outflow boundary. At the
inflow we prescribe a certain velocity and temperature. At the outflow we assume the normal
gradient of these quantities is zero.
Notice that we did not specify the pressure. The value of the pressure will usually follow from
the equations. In case that the velocity at an inflow is not known we can prescribe the pressure.
The velocity at the boundary then follows from the equations.
4.7
Discrezation and the SIMPLE algorithm
In order to solve our system of equations we need to discretize the equations and use an algorithm
to obtain the steady-state solutions of the different quantities. The two difficulties are that the
momentum equation is non-linear, and coupled with the pressure. The non-linearity will be solved
by using the velocity field of the previous iteration for one of the terms. The coupling of the
pressure is handled by using the momentum equation to determine a predictor of the velocity field
and solving the pressure equation to determine the pressure field, and create a correction for the
velocity field which obeys the continuity equation. Since we are interested in steady-state solutions
we will use the SIMPLE (Semi-Implicit Method for Pressure Linked Equations) algorithm, which
is described in [15]. Details about the implementation used can be found in [10]. We will give an
overview of the procedure.
First a prediction is made for the velocity components, by solving the momentum equation. Than
this prediction is used to determine a new temperature and density field. Using these predicted
fields, the pressure field is determined by solving a pressure equation, and using the new pressure
field, the velocity field is corrected so that it is divergence free, and the continuity equation is
satisfied. This procedure is iterated until certain conditions are met, which in practice means the
residuals of all the fields involved are smaller than a certain tolerance.
We will use an equidistant rectangular co-located grid. Quantities in the centre of a control
volume have the superscript c, where as quantities in the centre of the faces have the superscript f .
4.7. DISCREZATION AND THE SIMPLE ALGORITHM
59
To obtain quantities at the face centres, second order linear interpolation is used. For differentiation
we use the second order central differencing.
The whole procedure starts with a initial pressure field and velocity field, for example uniform.
4.7.1
Momentum equation
The predicted velocity is determined by solving the discretized momentum equation (4.22). The
whole equation is divided by ρ0 . We integrate both sides over the control volume. For the flux
terms the divergence theorem is applied. For the right-hand side term we get
Z
Z
Z
X
vj ∂j vi dV =
∂j (vj vi ) dV =
vj vi n̂j dS ≈
Aj vif vjf n̂fj ,
V
V
S
with Aj the area of the corresponding face. For vj we use the velocity field of the previous
iteration. For the viscous term we write ν = ρµ0 and we get
Z
Z
X
ν
∂j2 vi dV = ν
∂j vi n̂j dS ≈ ν
Aj (∂j vi )f n̂fj .
V
S
The quantity in parentheses is determined using central differencing with the values in neighbouring cell centres. For the external force term, the electromagnetic force, we use a second order
mid-point scheme, so that
Z
V
1
· (fiem )c ,
f em dV ≈
ρ0 V i
ρ0
with V the volume of the control volume. For the pressure term and the extra buoyancy term
special care is needed. If we would determine the gradient using the scheme
Z
∂i φ dV =
V
Z
S
φn̂i dA ≈
6
X
Aj φfj (n̂i )fj ,
j=1
and use linear interpolation for φfj we see that because the (n̂i )fj are oriented in opposite direction
for faces with the same orientation, the contribution of φc cancels. This decoupling can lead to
so-called checker board oscillations. See [15] for more details. The solution we use is to use so-called
Rhie and Chow interpolation [18], where the gradient value in the cell centre is determined as a
weighted average of the estimated values on the cell faces,
Z
V
∂i φ dV ≈
6
V X
Aj (∂i φ)fj ,
A j=1
where A is the summed area of the faces. The (∂i φ)fj terms are determined with linear interpolation between the value in the control volume and the different neighbouring volumes.
All the terms of the momentum equations are now described, and we can assemble the whole
system in the matrix system
C k vk = rk ,
where the coefficients of C k depend on vk−1 and the coefficients of rk on pk−1 and ρk−1 .
60
CHAPTER 4. NAVIER-STOKES EQUATIONS
This equation is solved iteratively. We use a diagonal incomplete-LU preconditioned bi-conjugate
gradient method. We iterate until the residual is smaller than a certain tolerance. For the exact
definition of the residual, and the normalisation see ([10] page 173-181). This gives a prediction of
the velocity field.
4.7.2
Energy equation
The energy equation resembles the momentum equation almost completely. Both are forms of a
more general transport equation. As a result the numerical treatment is almost equal. The equation
is divided by ρ0 cp , and rewriting results in
∂i (vi T ) =
1
k 2
∂i T +
qem .
ρ0 c p
ρ0 c p
The convective term on the left-hand side is handled exactly as the convective term in momentum
equation, where for the velocity field the values of the previous iteration are used, so that continuity
is assured. Furthermore the conductive term is also implemented the same way as the viscous term
in the momentum equation. The source term is approximated by a second order mid-point scheme,
like the external force term in the momentum equation. This results in a matrix equation
Ak Tk = sk ,
where again the coefficient of the matrix Ak depends on the solution of the velocity field at
the previous iteration, vk−1 . Again we use a diagonal incomplete-LU preconditioned bi-conjugate
gradient method so solve the system.
From the new temperature field we can determine the updated density using (4.18).
4.7.3
Pressure equation
After solving the velocity predictor we can now determine the new pressure field. We write the
momentum equation in the semi-discretized form
Av = −∇p′ + f .
We now split A in the diagonal and non-diagonal part and write for the corrected velocity field
ṽ and substitute the corrected field, resulting in
Dv′ + Bv = −∇p′ + f .
Since D is diagonal the inverse is simple and we can solve for v′ , resulting in
v′ = −D−1 Bv − ∇D−1 p′ + D−1 f .
(4.24)
′
Taking the divergence on both sides and assuming that ∇·v = 0 results in the Poisson equation
∇2 D−1 p′ = −∇ · D−1 Bv − D−1 f .
Solving this equation results in a corrected pressure p′ . Once this pressure is obtained we can
determine the corrected velocity by substitution in (4.24). Having determined the new fields we
can go on to next iteration.
61
4.7. DISCREZATION AND THE SIMPLE ALGORITHM
4.7.4
Under relaxation
In order to use the iterative methods, the system matrix should be diagonally dominant. For timedependent problems this dominance is taken care of by the discretization of the time-derivative.
For steady-state problems we need to enhance the diagonal dominance of the system, which is done
through implicit under relaxation. Following ([10] page 115) we have for each system Ax = b we
define the relaxation parameter 0 < α ≤ 1. We split A in the diagonal and non-diagonal parts
A = D + B. Then to both sides of the equation we add a term resulting in
(D + B)xn +
1−α
1−α
Dxn = b +
Dxn−1 ,
α
α
where xn is the solution vector and xn−1 is the solution vector of the previous iteration. Note
that once steady-state is reached, both terms will coincide. The resulting system is
1−α
1
Dxn−1 ,
( D + B)xn = b +
α
α
and we see that the diagonal dominance of the system matrix is higher. The down-side is that
more iterations are needed in general to obtain the steady-state solution. For the moment and
energy equation we use the value α = 0.7. For the pressure equation α = 0.3 is used.
∂i vi
ρ0 vj ∂j vi
ρ0 cp vi ∂i T
= 0,
(4.25)
′
= −∂i p + gx2 ∂i ρ +
=
k∂i2 T
+ qem ,
µ∂j2 vi
+
fiem ,
(4.26)
(4.27)
62
CHAPTER 4. NAVIER-STOKES EQUATIONS
Chapter 5
Choice of medium and domain
In the previous chapters we have determined all the equations governing the electromagnetic fields,
and the fluid flows that we want to investigate, but we still have to determine the domain in which
we want to determine these quantities and the parameters we want to choice. In this short chapter
we will determine the domain we use to investigate the flows, and the parameters we use for the
numerical experiments.
5.1
Domain and boundary
The domain we consider will be a three dimensional square box, with sides of 10 µm. We define
our axis so that the (x, y, z) = (0, 0, 0) point coincides with one of the lower corner points of the
boundary of the box, and (x, y, z) = (10 µm, 10 µm, 10 µm) will be the opposite corner point.
We choose the y direction as the vertical one, so that gravity is working in the negative y
direction. The positive z direction will be the direction of propagation of our electromagnetic
fields, and we place the source at negative z, centred around (x, y) = (5 µm, 5 µm). Whenever we
use a focussed source, we will use the middle point (x, y, z) = (5 µm, 5 µm, 5 µm) as point of focus.
See Figure (5.1) for a schematic overview of our system.
We assume the fluid satisfies the no-slip boundary condition at all boundaries, so that we have
v = 0 at all points on the boundary. As mentioned before we do not need to impose a boundary
condition for the pressure. Furthermore we assume the domain is in thermal equilibrium with
the environment, so that the boundaries are at constant temperature. We choose T0 = 300 K, as
reference temperature. All the parameters are determined corresponding to either 20◦ Celsius or
25◦ Celsius, corresponding to 293 K and 298 K, close to the reference temperature. In the end it is
only the gradient of the temperature that is essential, so we choose a rounded reference temperature,
so that differences are easy to determine.
5.1.1
Electromagnetic normalization
When simulating the electromagnetic source, we assume the whole space has the electric properties
of water, so that we can assume the permittivity of the whole space is homogeneous. This was one
of the assumptions made in the derivations of the analytic expressions for the sources. Of course
one of the consequences is that in a medium with losses the fields start already decaying outside
63
64
CHAPTER 5. CHOICE OF MEDIUM AND DOMAIN
Figure 5.1: Schematic overview of domain and source.
the domain of interest. Furthermore is it hard to determine an analytic expression for the radiated
energy of the sources in the first place, specially when there is no symmetry in the plane of the
source perpendicular to the direction of propagation. Otherwise the total energy radiated in the
direction of propagation would be half the total radiated energy. To coop with this problem, we
determine numerically the total power through the boundary patch through which the beam enters,
then we normalize the fields so that this power equals the number of mW we want. We already
saw that the real part of the complex Poynting vector gives a measure for the power flow, so that
the total amount of power through a patch is given by
P0 =
Z
S
Re {S} · n̂ dA,
where S is the patch of interest and n̂ is the normal vector orientated in the direction of
propagation. See Figure (5.2) for a schematic overview of this normalization. The integral is taken
over the blue shaded patch, with the normal vector orientated in the positive z direction. Since the
Poynting vector is the product of the electric and magnetic field vectors, we know that the total
power is proportional to I02 when a dipole source is used, and E02 when we consider a Gaussian
beam source.
5.2
Parameters
The parameters depend on the properties of the fluid we use. For this project we will only consider
liquid water. The main reason is that most experimental set-ups use this fluid. Furthermore most
biological particles dwell well inside water, since that is their natural habitat. Most parameters
we will use are for purified water, and they will change for water containing minerals. We are not
too concerned with the exact parameters, since we do not expect flow results to be significantly
65
5.2. PARAMETERS
Figure 5.2: Normalization of the electromagnetic field.
property
density
specific heat (at constant pressure)
coefficient of thermal expansion
kinematic viscosity
thermal conductivity
symbol
ρ0
cp
β
ν
k
value
997
4.18 × 103
2.57 × 10−4
9.02 × 10−7
6.01
unit
kg m−3
J kg−1 K−1
K−1
m2 s−1
W m−1 K−1
Table 5.1: Parameter values in SI units.
different if the parameters vary slightly. Of course when highly accurate quantitative experiments
are performed, the accuracy of parameters will become more important.
5.2.1
Dynamic parameters
For the dynamic parameters, we use [9] as reference. Although this book is mostly about water in
natural occurrences, it also contains values for pure water. The thermal conductivity is taken from
[17], where we linearly interpolated the value. We will use three significant digits, and the reference
temperature of 25◦ Celsius. The values can be found in Table 5.1. All values are in SI units.
5.2.2
Electric parameters
As already mentioned we assume the liquid does not respond magnetically to an electromagnetic
field. For water this is a good approximation. The only medium parameter we need for water is then
the index of refraction n̂. In general this will be a complex number, depending on the frequency of
the fields. We use the data from [8], which is compiled from several experimental sources. Values
are tabulated for vacuum wavelengths between 0.2 µm and 200 µm. All the values are determined
66
CHAPTER 5. CHOICE OF MEDIUM AND DOMAIN
for the reference temperature of 25◦ Celsius. Figure (5.3) shows the real and imaginary part of the
complex index of refraction n̂ = n + ıκ.
0.5
n−1
κ
0.25
0
0
500
λ0 [nm]
1000
Figure 5.3: Overview of the refractive index in water for vacuum wavelengths up to 1 µm. Both the
real and complex part are shown, and the real part is shifted down by 1.
We see that in the micrometer range there are two spikes that are interesting. Both are a
consequence of the vibrational modes of the water molecules. We will focus on the first absorption
spike, stretching from 2.4 µm to 3.8 µm. Furthermore we will investigate one small wavelength, for
which the absorption is very small. From (2.109) we see that the coefficients for the two force terms
are
ω
c2
ε′
−1
ε0
=
ω ′
ω ε′′
ω
δεrel and 2
= 2 ε′′rel .
2
c
c ε0
c
Figure (5.4) shows the values of δε′rel and ε′′rel . Furthermore four vacuum wavelengths are
highlighted, 1.2 µm, 2.4 µm, 2.8 µm and 3.2 µm respectively. These are the wavelengths we will
investigate.
At the first point, only the force term proportional to δε′rel will contribute. Furthermore the
absorption will be low, so that the motion due to buoyancy will also be low. For the second and
third wavelengths, the absorption will be comparable. Furthermore at the second wavelength the
two force term are of equal scale, while for the third point we will have the maximum total force. It
is important to note that these are vacuum wavelengths. Inside the medium, the wavelength will be
different, depending on the real index of refraction. In Figure (5.5) we plotted the same region but
now as function of the wavelength inside the water. Note that the function is no longer single valued,
as a result of the dependency on the index of refraction itself. This means that we have different
vacuum wavelengths with the same wavelength inside the water, but with different absorption
67
5.2. PARAMETERS
1.5
δ ε’rel
ε’’rel
1
0.5
0
1
2
λ0 [µm]
3
4
Figure 5.4: Absorption spike and points of interest, 1.2 µm, 2.4 µm, 2.8 µm and 3.2 µm respectively.
The difference of the real and imaginary part of the relative permittivity compared to the vacuum
are shown.
values. The corresponding wavelengths inside the water are 0.91 µm, 1.88 µm, 2.45 µm and 2.17 µm
respectively. Table 5.2 shows the different parameter values for each of these frequencies.
In Chapter 6 we will investigate the forces and the resulting flows for sources with frequencies
corresponding to these three points of interest.
λ0 [µm]
1.20
2.40
2.80
3.20
λ [µm]
0.91
1.88
2.45
2.17
n [-]
1.32
1.28
1.14
1.48
κ [-]
9.89 × 10−6
9.56 × 10−4
1.15 × 10−1
9.24 × 10−2
k [m−1 ]
6.93 × 106
3.35 × 106
2.56 × 106
2.90 × 106
α [m−1 ]
5.18 × 101
2.50 × 103
2.58 × 105
1.81 × 105
δε′rel [-]
0.753
0.635
0.291
1.176
ε′′rel [-]
2.62 × 10−5
0.0024
0.2627
0.2731
Table 5.2: Parameter values for the wavelengths of interest. The wavelength inside the medium is
shown together with the refractive index, the wave number and the (relative) permittivity.
68
CHAPTER 5. CHOICE OF MEDIUM AND DOMAIN
1.5
δ ε’rel
ε’’rel
1
0.5
0
1
1.5
λ [µm]
2
2.5
3
Figure 5.5: The permittivity of the wavelengths of interest as function of the fluid wavelengths,
0.91 µm, 1.88 µm, 2.45 µm and 2.17 µm respectively. We see that different vacuum wavelengths can
have similar fluid wavelengths because of the index of refraction.
Chapter 6
Numerical results and simulations
In this chapter we will first investigate the numerical properties of the electromagnetic fields generated by the two different external sources we have discussed in Chapter 3. We will see what the
residuals are for different parameters, and how we have to choose them to get accurate results.
Once this is settled we will investigate the flows generated by the electromagnetic fields, and
again investigate the convergence behaviour of the solutions of the Navier-Stokes equations for
different grid sizes.
Once we have obtained accurate enough velocity fields we will investigate what the result of the
induced flow will be on small particles suspended in the fluid.
6.1
Gaussian beam accuracy
As explained in Section 3.1, the Gaussian beam approximation only satisfies the Maxwell equations
approximately, and the error is of order |ŝ|2 , with
ŝ =
λ0
.
2πw0 n̂
We will now investigate this approximation, by looking at both the analytical and numerical
residual of the Maxwell equations. We determine both the numerical and analytical residual for the
wavelengths 2.4 µm, 2.8 µm and 3.2 µm. The waist size w0 varies from 1 µm to 5 µm. The residuals
are determined on grids consisting of 32, 64, 96 and 128 grid points. Figure (6.1) shows the results.
We see that in both cases the residual decreases for smaller |ŝ| values. This is expected since the
analytical error will become less and less. In Figure 6.1(b) we see the analytical residual. For values
|ŝ| < 0.2 the residuals coincide for all different grid sizes. Furthermore the order of this residual is
converging to O(|ŝ2 |), which can be seen fro the reference line, which is parallel to the |ŝ2 | lines.
This is exactly the order we expect from the theoretical derivation. For all lines, the residual passes
0.01 at approximately |ŝ| = 0.09. This corresponds to a waist size
w0 ≈ 1.77
λ0
.
|n̂|
So for highly focussed beams we cannot expect the Gaussian beam model to give very accurate
results, while these beams are exactly the ones we are interested in. In Figure 6.1(b) the numerical
69
70
CHAPTER 6. NUMERICAL RESULTS AND SIMULATIONS
1
10
n = 32
n = 64
n = 96
n = 128
0
10
2
res
gb
O(|s| )
−1
10
−2
10
−3
10
−2
−1
10
10
|s|
0
10
(a) Analytical residual.
0
10
n = 32
n = 64
n = 96
n = 128
O(|s|2)
−1
resmw
10
−2
10
−3
10
−2
10
−1
10
|s|
0
10
(b) Numerical residual.
Figure 6.1: Residuals for the Gaussian beam approximation.
71
6.1. GAUSSIAN BEAM ACCURACY
residuals can be found for two vacuum wavelengths, the full lines correspond to λ0 = 3.2 µm and
the dashed lines to λ0 = 2.4 µm. We see that the larger wavelength is in general better than the
smaller wavelength, on a constant grid, which is a results of the fields of the smaller wavelength
oscillating with a smaller period. We see that for large |ŝ| for all grid sizes the residuals seem to
follow the reference line, suggesting that in this region of |ŝ| the analytical error is dominant over
the numerical error. Then, for decreasing |ŝ| this decrease in residual starts to stagnate, resulting
in no further decrease. The point at which this stagnation starts depends on the grid size, reflecting
that it is the numerical error that ‘kicks in’. When |ŝ| decreases more, the residuals will converge
to a value depending on both λ0 and the grid size. If we focus on the encircled point in Figure
6.1(b) and plot them as function of the grid size we get as result Figure 6.2.
lam0 = 2.4 µ m
lam0 = 3.2 µ m
−1
resnum
10
−2
10
32
64
n
96
128
Figure 6.2: Numerical error for small |ŝ| values.
We see that in the |ŝ| → 0 limit, the error gets of constant order in the grid size. Using
least squares to fit a linear line to both lines results in orders −1.89 and −1.81 for λ0 = 2.4 µm
and λ0 = 3.2 µm respectively, close to the theoretical value −2, reflecting that all the numerical
procedures are of order O(h2 ) in the cell size h.
Until now we have looked at the field values them selves. For our purposes we are more interested
in the derived force density. We can quantitatively estimate how accurate this force density is
by considering how well momentum conservation from (2.111) is satisfied. We will do this by
integrating the force density directly using the midpoint integration scheme, and applying the
divergence theorem to the term containing the time-averaged stress tensor. This transforms the
volume integral of the divergence of the stress tensor to a surface integral of the normal component
of the stress tensor. More precisely we have
Z
Z
←
→
←
→
∇ · T dV =
n̂ · T dA,
V
S
72
CHAPTER 6. NUMERICAL RESULTS AND SIMULATIONS
where V is the specific control volume, and S is its surface, consisting of six faces. The integration
is performed by using a midpoint scheme for each face and adding the result. Finally the sum of all
absolute values is taken over the control volumes, and this quantity is normalized, using the sum
of the absolute values of the force density. The momentum residuals are plotted as function of |ŝ|,
resulting in Figure 6.3.
0
10
n = 32
n = 64
n = 96
n = 128
−1
O(|s|2)
resf
10
−2
10
−3
10
−2
10
−1
10
|s|
0
10
Figure 6.3: Numerical residual of the momentum equation.
We see that for all grid sizes that lines almost coincides, suggesting that the analytical error is
dominant for these choice of parameters. Furthermore the error decreases following the reference
line of order O(|ŝ|2 ), also pointing towards the analytical error. The reason why for the same range
of |ŝ| values we do not see any numerical error, is that the force density is smoother than the field
quantities them selves. From (2.24) we see that the force density is the product of a field component
multiplied with the conjugate of another field component. This means that the exp(ıkz) factor,
which is highly oscillatory in the propagation direction is cancelled by a factor exp(−ıkz) from the
conjugate field component. The result is much smoother function. This will be illustrated in a later
section for specific choices of parameters. The jumpy behaviour of the momentum residual implies
a dependency on a parameter other than |ŝ|, most likely λ or w0 .
We have seen that not only in the fields themselves but also the derived quantities such as the
force density the analytical error is dominant for our choices of parameters. This strengthens our
motivation for using a different external source.
6.2
Discretization of Gaussian dipole array
As mentioned in Section 3.2.3 we have to make sure the discretization grid for the Gaussian plane
is fine enough. We will compute the fields for four different grid sizes to show the effect of the
73
6.2. DISCRETIZATION OF GAUSSIAN DIPOLE ARRAY
discretization of the source domain. We will use as wavelength λ0 = 2.4 µm, and the aperture
will be a square patch of 15λ × 15λ, with λ the wavelength in the medium. The distance between
the source plane and the domain of interest is 2 µm. We will use as number of dipoles the values
nd = 8, 16, 32, 64. For the domain on which we determine the fields we have chosen n = 128 grid
points. Figure 6.4 shows the electric field intensity, |E|2 , in the xz-plane for y = ys .
n =8
n = 16
10
d
10
10
d
x 10
4
x 10
10
15
3
µm
µm
10
5
2
5
5
1
0
5
µm
n = 32
10
µm
10
11
x 10
10
2.5
2.5
2
2
1.5
5
µm
5
µm
n = 64
d
x 10
5
0
0
11
d
10
0
0
10
µm
0
1.5
5
1
1
0.5
0.5
0
0
5
µm
10
Figure 6.4: Intensities for different source resolutions.
We see that for nd = 8 the result is completely different from the other cases, suggesting that
the discretization is too crude. For nd = 16 the qualitative result looks much like the nd = 32
and nd = 64 result, although the intensity is smaller, and side loops are still visible. The results
for nd = 32 and nd = 64 are almost equal. If we calculate the difference of the intensity fields
compared to the results of nd = 64, using
sP
nd 2
| − |Ei64 |2 )
i (|E
Pi
end =
,
64 2
i |Ei |
we get e8 = 0.903, e16 = 0.469 and e32 = 4.57 × 10−6 , so we see the difference for the finest two
grids are also quantitatively very small, showing that nd = 32 already is fine enough to determine
the fields. This confirms that even though the resolution is only about 2 dipoles per wavelength this
74
CHAPTER 6. NUMERICAL RESULTS AND SIMULATIONS
is not a problem since the source current in the source plane does not oscillate with this wavelength,
but has a higher period as we noticed earlier. For our simulations we will use nd = 32 unless stated
otherwise.
6.3
Convergence on different grids
In this section we will investigate the convergence of the resulting velocity and temperature fields
given by the Navier-Stokes equations, for different grid sizes and wavelengths. In order to make
quantitative estimates, we select four grid sizes, with 32, 64, 96 and 128 grid points in each direction.
Of course we expect the values to be more accurate for finer and finer grids, but due to time
and memory limitation we cannot keep improving the grid size. We want to see how the (average)
quantities behave as function of the grid size. First some notation will be introduced, after which
we will define quantitatively how we will compare different quantities on the different grids, and
finally the results for different cases are presented.
6.3.1
Grid notation and error definition
We are working with a rectangular grid, with equal dimensions in all three directions. We denote
the number of cells in each direction as n. We will investigate the convergence properties for
n = 32, 64, 96, 128.
The complete domain is denoted D and for each n it is divided into n3 control volumes so that
3
D=
n
[
(n)
Di .
i=1
(n)
Vi .
Each control volume has volume
To investigate the convergence properties, we will consider as reference volumes Ci the control
(32)
volumes on the coarsest grid, so Ci = Di . We denote the volume of Ci as Vi . For the different grid
sizes these reference volumes consist of a number of control volumes. To make this more explicit,
(n)
we (implicitly) relabel the Di control volumes, so that
Ci =
m
[n
(n)
Di,j ,
j=1
with m32 = 1, m64 = 23 = 8, m96 = 33 = 27, and m128 = 43 = 64. In particular we have
(32)
(32)
= Di,1 and Vi = Vi . We now have a way of identifying the (constant) references volumes
for each grid size. See Figure (6.5) for a two dimensional illustration of the division of the grid.
To be able to quantify how well our solutions coincide for the different grid sizes, we need to
identify analytical quantities related to the reference volumes, that are invariant with respect to
the grid size, and for which we have estimates for each of the different grids. Since we are using a
finite volume method, these quantities naturally arise as the average values of the different physical
quantities. If we consider an arbitrary quantity u(x), x ∈ D, we define the average for each reference
volume Ci as
Z
1
ūi =
u(x) dx.
Vi Ci
(32)
Di
75
6.3. CONVERGENCE ON DIFFERENT GRIDS
Figure 6.5: Division of grid for the different grid sizes.
Now for each grid size we have an estimate for these values, given by
1
ũi =
Vi
mn Z
mn
1 X
1 X
(n) (n)
uij Vij .
u(x) dx =
u(x) dx =
(n)
V
V
i j=1 Di,j
i j=1
Ci
Z
Note that this method is valid for arbitrary grids, as long as we can write each reference volume
as a finite union of disjoint control volumes.
We now define the error for each reference volume as
ei = |ūi − ũi |.
The total error is defined as the sum of these errors over all the reference volumes,
E=
mn
X
i=1
|ūi − ũi |.
A motivation for this choice is that is resembles the standard 1-norm on the function space,
although we have the inequality
XZ
Z
X Z
≤
|v − ṽ| dx = kv − ṽk1 .
|v
−
ṽ|
dx
=
(v
−
ṽ)
dx
i
Di
i
Di
D
The idea is that for grids fine enough both sides of the inequality are close to each other, that
is, the quantities do not vary too much on the scale of the control volumes.
76
CHAPTER 6. NUMERICAL RESULTS AND SIMULATIONS
One difficulty is that value ūi is unknown. This would be the exact value, as given by the exact
solution u(x). To tackle this problem, we assume that the estimates ũi for the finest grid are close
to the analytical value, and we use this estimate as reference value. Since we run our simulations
for four different grid sizes, this means we get error estimates for the coarsest three.
After we have determined the error, we normalize is by dividing by the mean values of the finest
grid, so our final expression for the error will be
P mn
|ū − ũi |
Pmn i
,
(6.1)
Eh = i=1
i=1 |ūi |
where the h denotes the implicit dependency on the grid size.
6.3.2
Error results
We will determine the error for the velocity field and temperature field. We investigate four different
wavelengths, λ0 = 1.2 µm, λ0 = 2.4 µm, λ0 = 2.8 µm and λ0 = 3.2 µm. The corresponding wavelengths in the medium are respectively λ = 0.91 µm, λ = 1.88 µm, λ = 2.45 µm and λ = 2.17 µm.
The Gaussian dipole model is used, with a beam width parameter w0 = 1 µm and the aperture
extended to catch the full source current profile in the source plane, located at zs = −1.0 µm. The
power is normalized to P0 = 1 mW.
Figure (6.6) shows the result for the velocity and temperature fields. We see that all errors are
dropping for finer grids. The very small errors in the temperature for the wavelengths λ0 = 1.2 µm
and λ0 = 2.4 µm are a result of the small values of κ and thus ε′′ for these wavelengths, resulting in
almost zero heat dissipation. It is interesting to see that the error in the x and y component of the
velocity is small for λ0 = 1.2 µm compared to the other wavelengths, while in the z it is relatively
large. There is no direct explanation for this, but it is likely to be a result of the difference in the
scale of the velocity in the direction of propagation and the radial plane.
The errors in all the quantities are dropping for finer grids, with the maximum discrepancy
between the n = 96 and n = 128 grid already being less than 0.0014, the value for the z component
of the velocity, for λ0 = 1.2 µm. This is the smallest wavelength we will use, giving us confidence
that our resulting fields are close enough to the real solutions. We will always use grid sizes between
n = 96 and n = 128 for the simulations.
77
6.3. CONVERGENCE ON DIFFERENT GRIDS
Ux
−2
Uy
−2
10
10
−3
−3
Eh
10
Eh
10
λ0 = 1.2 µ m
−4
10
λ0 = 1.2 µ m
−4
10
λ0 = 2.4 µ m
λ0 = 2.4 µ m
λ0 = 2.8 µ m
λ0 = 2.8 µ m
λ0 = 3.2 µ m
λ0 = 3.2 µ m
−5
10
−5
32
64
n
10
96
Uz
0
10
32
64
n
96
T
−4
10
λ0 = 1.2 µ m
λ0 = 2.4 µ m
λ0 = 2.8 µ m
−1
−6
10
λ0 = 3.2 µ m
−2
Eh
Eh
10
10
λ0 = 1.2 µ m
−8
10
λ0 = 2.4 µ m
λ0 = 2.8 µ m
−3
10
10
−4
10
λ0 = 3.2 µ m
−10
−12
32
64
n
96
10
32
64
n
96
Figure 6.6: Convergence of the velocity and temperature for different wavelengths.
78
6.4
CHAPTER 6. NUMERICAL RESULTS AND SIMULATIONS
Simulations
We have now covered all the numerical aspects of the discretizations, and are confident that they
are accurate enough, and that the fields and flows we calculate are indeed the solutions to the
equations we have derived in the previous chapters.
6.4.1
General setting
In Chapter 5 we have already discussed the domain they we are looking at, and the parameters of
the fluid, purified water, we will consider.
Figure 6.7: Schematic overview including the source domain and parameter values. All coordinates
are in µm.
Figure 6.7 is similar to Figure 5.1, but some details are added to further clarify the choices of
parameters. The grey plane is the source plane, located at zs = −2.5 µm. As focussing point we
chose xs = (5 µm, 5 µm, 5 µm). Notice that since we are not using the Gaussian beam approximation,
this choice does not automatically means the point of highest intensity will be located at this
parameter value. We will see that it usually is located at slightly smaller z value. The value w0
is the parameter we choose as waist size. In the Gaussian beam approximation this would be the
radius at which the intensity drops by a factor exp(−2), but again we cannot expect this to be true
for our dipole model, particularly for small values of w0 , at which the Gaussian beam approximation
does not hold. We will choose w0 = 1 µm as default value. The blue plane, one of the boundaries
of our domain, is used to normalize the incoming time-averaged power to P0 = 1 mW. The domain
is divided in n = 101 grid points in each direction. The values stated here are the default values
used, unless mentioned otherwise.
79
6.4. SIMULATIONS
λ0 (µm)
1.2
2.4
2.8
3.2
λ (µm)
0.91
1.88
2.45
2.16
wf,x (µm)
0.98
1.03
1.49
1.15
wf,y (µm)
1.01
1.22
1.88
1.48
Table 6.1: Waist size at focal point.
6.4.2
Intensities for different wavelengths
We will now determine the electromagnetic fields for the different wavelengths mentioned in Chapter
5. Figure 6.8 shows the electric field intensity, |E|2 in the different planes through the focal point.
The normalization is equal for all images. We can see from the figures of the xz-plane and yz-plane
that the focal points in general do not coincide with the parameter value zf = 5 µm. For larger
wavelengths the focal point moves to smaller z values. The point of highest intensity are found at
z = 4.2 µm, z = 2.9 µm, z = 1.4 µm and z = 1.9 µm respectively. This shows that how smaller the
wavelength in the fluid, the closer the focal point is at the values prescribed by the parameter. Table
6.1 shows the wavelength inside the medium. This seems reasonable, for as smaller the wavelength
in the medium, the closer we get to the Gaussian beam approximation.
p
The red lines are equipotential lines which show the waist size as function of ρ = x2 + y 2 .
This is the distance from the axial line at which the intensity has dropped by a factor exp(−2).
For λ0 = 1.2 µm we see the shape resembles the Gaussian beam approximation, while for the other
wavelengths we see some distortion for small z. This distortion is the contribution of the nearand intermediate field. Even though the distance to the source plane is equal for each wavelength,
the distance expressed in number of wavelengths gets smaller for larger wavelengths, resulting in a
larger contribution of the terms proportional to kr−1 and k 2 r−2 .
In the xy-plane plots we see that for the smallest wavelength the equipotential lines of the
intensity are circles centred around the axial line. For larger wavelengths they get more spread
out in the y direction, resulting in an inhomogeneity of the intensity with respect to the radial
angle. The electric field is polarized in the y direction, so we see that the intensity is spread out
in the direction of polarization. As we will see later this results in smaller gradient forces on the y
direction compared to the x direction.
We estimate the waist size for each wavelength at the point of focus in both the x and y
direction. The results can be found in Table 6.1. To determine this values we interpolated the
intensity values along the (x, yf , zf and (xf , y, zf lines and determined how far from the axial line
the intensity dropped by a factor exp(−2). The interpolation is done using splines.
6.4.3
Force density on fluid
Given the electric and magnetic fields, we can determine the complex Poynting vector, and use
(2.109) to determine the force density on the fluid. From Figure 6.8 we see that the intensities are
concentrated around the focal point, and drop off quickly when moving away from this point. This
suggest that the force density is also largest around the focal point and quickly drops off.
Figure 6.9 shows the total force density in the xy-plane at the focal point. We see indeed that
most of the contribution is centred around the focal point, and it quickly dies off. The figures show
80
CHAPTER 6. NUMERICAL RESULTS AND SIMULATIONS
λ = 1.2 µm, xy−plane
λ = 1.2 µm, xz−plane
5
5
0
0
5
10
x
λ = 2.4 µm, xy−plane
0
0
5
10
z
λ = 2.4 µm, xz−plane
0
5
5
5
0
0
5
10
x
λ0 = 2.8 µm, xy−plane
y
10
x
10
0
0
0
5
10
z
λ0 = 2.8 µm, xz−plane
10
5
5
5
0
0
5
10
x
λ0 = 3.2 µm, xy−plane
y
10
x
10
0
0
0
5
10
z
λ0 = 3.2 µm, xz−plane
10
10
5
5
5
0
5
x
10
0
y
10
0
0
5
z
10
0
5
10
z
λ = 2.4 µm, yz−plane
0
10
x
y
y
5
0
y
0
10
0
y
λ = 1.2 µm, yz−plane
0
10
x
y
0
10
0
0
5
10
z
λ0 = 2.8 µm, yz−plane
0
5
10
z
λ0 = 3.2 µm, yz−plane
0
5
z
10
Figure 6.8: Electric field intensities for different wavelengths, all coordinates are in µm.
81
6.4. SIMULATIONS
−6
x 10
−6
0
6.5
6
6
5.5
5.5
5
5
4.5
4.5
4
4
3.5
4
−6
6.5
x 10
5
x
λ = 2.8
4
−6
0
6
5.5
5.5
5
5
4.5
4.5
4
4
5
x
0
5
x
x 10
6.5
4
λ = 2.4
−6
6
3.5
x 10
3.5
6
y
y
λ = 1.2
y
y
6.5
3.5
6
−6
x 10
x 10
4
6
−6
x 10
λ = 3.2
0
5
x
6
−6
x 10
Figure 6.9: Force density on the fluid in the xy-plane, through the focal point. In the x direction
the force is pointing towards the centre, while in the y direction, the direction of polarization of
the electric field, is it pointing away from the centre. The red lines are streamlines, showing the
additional stationary point for the larger wavelengths.
82
CHAPTER 6. NUMERICAL RESULTS AND SIMULATIONS
patches of 3 µm × 3 µm. The focal point itself is a stationary point. The most important feature
is that the force density is in opposite direction for the x and y direction. In the x direction it is
pointed towards the middle, while in the y direction, the direction of polarization of the electric
field, the force density is pointing away from the centre. This suggests that there will be a flow
that is pointing away from the focal point, the point which is used as trapping point for particles.
We will see that indeed this flow will occur, and later on we will estimate the force this will exert
on particles. Another important feature is that for the larger wavelengths we see that there are
additional stationary points, located on the line with x = xf going through the focal point. The
location depends on the wavelength, the larger is it the closer the point is to the focal point. The
red lines are stream lines showing one of these additional points. It is important to realise this is
only a projection of the force field on the xy-plane, so the z component is likely to be non-zero at
these points.
In Figure 6.10 the force density in the xz- and yz-plane for λ0 = 1.2 µm and λ0 = 2.4 µm are
shown. The z axis is centred around the focal point. We see that the z component is relatively
small, especially for λ0 = 1.2 µm and around the focal point, where it nearly vanishes. In the xzplane the force density is directed towards the centre while in the yz-plane it is directed away from
the centre, showing that the force density in the vicinity of the focal point has the same structure as
we saw in Figure 6.9. On the axial line the force density is nearly zero, which is a result of the small
value of ε′′ for these wavelengths, so that fdis is negligible. These force densities in combination
with the no-slip boundary conditions suggest that the fluid will start moving away from the axial
line in the y-direction and start moving towards the axial line in the x direction, creating loops in
each of the four quadrants defined by the lines x = y = 5 µm in Figure 6.9. We will see that this is
indeed what will happen.
For the two larger wavelengths the force density in the xz- and yz-plane is shown in Figure 6.11.
Here we see a different structure. For these wavelengths there is a significant z component of the
force density, suggesting that the fdis term from (2.110) starts to contribute due to the relatively
large values of ε′′ for these wavelengths. Again we see the x component in the xz-plane pointing
towards the centre while the y component is pointing away from the center. This suggest that again
there will be a rotating behaviour of the fluid, but due to the relatively large z component is it
likely that the flow will follow a spiral movement instead of loops.
6.4.4
Velocity profiles
Until now we have looked only at the electromagnetic fields and quantities that are derived from
them. We will now consider the resulting velocity fields, which are determined using the SIMPLE
algorithm described in Section 4.7. We will show the same planes as for the force density in the
previous section.
Figure 6.12 shows the velocity in the xy-plane through the focal point for each wavelength. The
red lines are streamlines. We see for λ0 = 1.2 µm and λ0 = 2.4 µm that velocity fields look alike,
and form closed loops in this plane, implying a zero z component in this plane. For λ0 = 3.2 µm
we also see a loop structure but here the streamlines are not closed, but converge to a singular
point, implying a non-zero z component of the velocity. For λ0 = 2.8 µm we do not see any looplike streamlines at all. This confirms what we conjectured earlier from the force density. For the
wavelengths with relatively large values of ε′′ the z component of the velocity gets dominant. The
two streamlines for λ0 = 1.2 µm and λ0 = 2.4 µm seem to coincide very closely, but it is important
to note that all four quiver plots are independently normalized, so they can differ in magnitude.
83
6.4. SIMULATIONS
λ = 1.2
−6
0
x 10
−6
λ0 = 1.2
3
4
x 10
6
6
5.5
5.5
5
5
y
x
6.5
4.5
4.5
4
4
3.5
3
4
5
6
z
6.5
6
6
5.5
5.5
5
5
4.5
4.5
4
4
3.5
1
2
3
z
4
5
−6
x 10
6
3.5
0
x 10
1
−6
x 10
λ = 2.4
−6
0
x 10
y
x
x 10
λ = 2.4
−6
6.5
5
z
−6
2
3
z
4
5
−6
x 10
Figure 6.10: Force density in the xz- and yz-plane for λ0 = 1.2 µm and λ0 = 2.4 µm, centred around
the focal points. We see that the z component is relatively small, especially for λ0 = 1.2 µm. In
the xz-plane the force density is direction towards the centre while in the yz-plane it is direction
away from the centre.
84
CHAPTER 6. NUMERICAL RESULTS AND SIMULATIONS
λ = 2.8
−6
6.5
6
6
5.5
5.5
5
5
4.5
4.5
4
4
3.5
0
1
3.5
4
x 10
5.5
5.5
5
5
4.5
4.5
4
4
1
2
z
1
3
4
−6
x 10
3.5
x 10
0
2
z
3
4
−6
x 10
λ0 = 3.2
−6
6.5
6
0
0
x 10
6
3.5
0
x 10
−6
y
x
3
λ0 = 3.2
−6
6.5
2
z
λ = 2.8
−6
0
x 10
y
x
6.5
1
2
z
3
4
−6
x 10
Figure 6.11: Force density in the xz- and yz-plane for λ0 = 2.8 µm and λ0 = 3.2 µm. For these
wavelengths there is a significant z component of the force density, suggesting that the fdis term
from (2.110) starts to contribute due to the relatively large values of ε′′ for these wavelengths.
85
6.4. SIMULATIONS
−5
1
x 10
λ0 = 1.2
−5
1
0.6
0.6
λ0 = 2.4
y
0.8
y
0.8
x 10
0.4
0.4
0.2
0.2
0
0
0.5
x
−5
1
x 10
0
1
0
0.5
x
−5
x 10
λ0 = 2.8
−5
1
0.6
0.6
λ0 = 3.2
y
0.8
y
0.8
x 10
1
−5
x 10
0.4
0.4
0.2
0.2
0
0
0.5
x
1
−5
x 10
0
0
0.5
x
1
−5
x 10
Figure 6.12: Resulting velocity field in the xy-plane, through the focal point. The red lines are
streamlines. We see for λ0 = 1.2 µm and λ0 = 2.4 µm that velocity fields look alike, and form closed
loops. For λ0 = 3.2 µm we also see a loop structure but here the streamlines are not closed, implying
a non-zero z component of the velocity. For λ0 = 2.8 µm we do not see any loop-like streamlines at
all.
86
CHAPTER 6. NUMERICAL RESULTS AND SIMULATIONS
Indeed we find as maximum velocity components in this plane the values 87 µm s−1 , 64 µm s−1 ,
11 µm s−1 and 39 µm s−1 respectively.
−4
1
x 10
λ0 = 1.2 µm
λ0 = 2.4 µm
0.9
0.8
0.7
|U|
0.6
0.5
0.4
0.3
0.2
0.1
0
5.5
6
6.5
7
7.5
x
8
8.5
9
9.5
10
−6
x 10
Figure 6.13: Magnitude of the velocity corresponding to the two closed loops in Figure 6.12, for
λ0 = 1.2 µm and λ0 = 2.4 µm. The curves are traversed counter-clockwise in time by the fluid
particles. We see that the shape for both wavelengths is alike.
Figure 6.13 shows the magnitude of the velocity for the closed loops in Figure 6.12. The larger
velocity corresponds to λ0 = 1.2 µm while the smaller velocity corresponds to λ0 = 2.4 µm. We see
that except for the magnitude, the shape of the two curved is identical. The curved in 6.12 are
traversed clockwise by the velocity field, so increasing speeds correspond to decreasing x values.
This means the curves in 6.13 are traversed counter-clockwise in time.
In Figure 6.14 we see the velocity field in the xz- and yz-plane for the wavelengths λ0 = 1.2 µm
and λ0 = 2.4 µm. Near the focal point we have zero z component in all plots. As for the force
density, in the xz-plane the velocity is pointing toward the central axis, while in the yz-plane it is
pointing away from the axis, following our conjecture based on the force density. At the central axis
the velocity is zero in both planes, and it is growing to a maximum when moving radially outward,
after which it quickly gets smaller again. The maximum magnitude in these planes are again
87 µm s−1 and 64 µm s−1 respectively, just as in the xy-plane, which implies that this maximum
magnitude is attained at the radial axes going through the focal point.
In Figure 6.15 shows the velocity fields in the same planes but now for the wavelengths λ0 =
2.8 µm and λ0 = 3.2 µm. We see a qualitatively different picture. The most important feature is that
the z component is dominant near the focal axis. This confirms our conclusions from Figure 6.12,
that the fdis term starts contributing for these wavelengths. Because this non-zero z component
we now see circulation in both the xz- and yz-plane. This suggest that in contrast to the smaller
wavelengths, where the circulation is in the xy-plane, we now have circulation in all three directions.
Furthermore we see that the flow in the y direction is no longer away from the central axis for all
z values. For small z values it is actually flowing towards the centre.
Figure 6.16 shows some streamlines for the different wavelengths. For λ0 = 1.2 µm and λ0 =
2.4 µm the streamlines show circulation in the xy-plane just was predicted earlier from Figure
87
6.4. SIMULATIONS
λ = 1.2
−5
1
0.9
0.9
0.8
0.8
0.7
0.7
0.6
0.6
0.5
0.5
0.4
0.4
0.3
0.3
0.2
0.2
0.1
0.1
0
0
0.2
0.4
0.6
0.8
z
0.9
0.8
0.8
0.7
0.7
0.6
0.6
0.5
0.5
0.4
0.4
0.3
0.3
0.2
0.2
0.1
0.1
0
0.2
0.4
0.6
z
0.4
0.6
0.8
1
−5
x 10
0.8
0
0
x 10
0
1
−5
x 10
λ = 2.4
−5
1
0.9
0
0.2
z
0
x 10
0
x 10
y
x
0
1
0
x 10
−5
λ = 2.4
−5
1
λ = 1.2
−5
0
x 10
y
x
1
0.2
0.4
0.6
z
0.8
1
−5
x 10
Figure 6.14: Velocity field in the xz- and yz-plane, through the focal point for λ0 = 1.2 µm and
λ0 = 2.4 µm. Near the focal point we have a zero z component in all the plots. Also in the xz-plane
we have the velocity pointing towards the central axis while in the yz-plane is it pointing away from
the central axis.
88
CHAPTER 6. NUMERICAL RESULTS AND SIMULATIONS
λ0 = 2.8
−5
x 10
0.9
0.9
0.8
0.8
0.7
0.7
0.6
0.6
0.5
0.5
0.4
0.4
0.3
0.3
0.2
0.2
0.1
0.1
0
0
0.2
0.4
0.6
0.8
z
x 10
0.9
0.8
0.7
0.7
0.6
0.6
0.5
0.5
0.4
0.4
0.3
0.3
0.2
0.2
0.1
0.1
0.2
0.4
0.6
z
0.4
0.8
1
−5
x 10
0.6
0.8
0
x 10
0
1
−5
x 10
λ0 = 3.2
−5
1
0.8
0
0.2
z
0.9
0
0
x 10
y
x
0
1
x 10
−5
λ0 = 3.2
−5
1
λ0 = 2.8
−5
1
y
x
1
0.2
0.4
0.6
z
0.8
1
−5
x 10
Figure 6.15: Velocity field in the xz- and yz-plane, through the focal point for λ0 = 2.8 µm and
λ0 = 3.2 µm. For these wavelength we have a large z component at the focal axis, pointing away
from the source. This is the contribution of the fdis force density term.
6.4. SIMULATIONS
89
Figure 6.16: Velocity field in the xz- and yz-plane, through the focal point for λ0 = 1.2 µm and
λ0 = 2.4 µm. Near the focal point we have a zero z component in all the plots. Also in the xz-plane
we have the velocity pointing towards the central axis while in the yz-plane is it pointing away from
the central axis, following our conjecture based on the force density.
90
CHAPTER 6. NUMERICAL RESULTS AND SIMULATIONS
6.12. Furthermore they do not pass through the planes x = xf and yf , confining the flow to a
specific quadrant in the xy-plane. Although the streamlines for the larger wavelengths move in
the z direction, they are still confined to a specific quadrant in the xy-plane, like with the smaller
wavelengths. This suggest that in the plane defined by x = xf , the x component of the velocity
is (nearly) zero for all the wavelengths. Also the y component in the plane defined by y = yf will
be nearly zero. Because of this none of the streamlines passes through these planes. This means
that the fluid is circulating through a specific region of the domain, not passing, or barely passing,
certain ‘boundary’ planes. This is exactly what we see in 6.16 for λ0 = 2.8 µm and λ0 = 3.2 µm,
where all the streamlines fall in the quadrant with x > xf and y > yf . The reason why for these
wavelengths the streamlines are not confined in the z direction is because of the significant fdis
term, which has a large z value, pointing in positive z direction.
As a particular example we will investigate the y component of the velocity through the plane
y = yf = 5 µm. Figure 6.17 shows this component for all four wavelengths. Each wavelength
is scaled independently to show the structure of the velocity component. For λ0 = 1.2 µm and
λ0 = 2.4 µm the order of the velocity is 10−10 m s−1 and 10−9 m s−1 respectively, which is negligible
compared to the velocities we saw earlier, in the order of 10−5 m s−1 . The apparent asymmetry in
the x direction is a numerical artefact because of these small values. For the larger wavelengths,
λ0 = 2.8 µm and λ0 = 3.2 µm we see that the velocity component is two orders larger, and more
local. This is a consequence of the heat dissipation and the buoyancy flow induced because of
the resulting temperature differences. But still velocities of the order of 10−8 m s−1 are very small
compared to the maximum velocities 11 µm s−1 and 39 µm s−1 we saw earlier for these wavelengths.
6.4.5
Temperature increase due to dissipation.
Up until now we have focussed on the resulting velocity fields for the different wavelengths. In
Section 4.4 we described the Boussinesq approximation for modelling buoyancy flows induced by
density differences, resulting from temperature differences. In Figure 6.17 we saw the first signs of
this phenomenon. For the larger wavelengths, with larger values of the ε′′ , which is proportional
to the heat dissipation, we saw a relatively large flow in the y direction, compared to the smaller,
transparent, frequencies. From (2.108) we see that the heat dissipation is proportional to |E|2 .
Figure 6.8 shows that the heat dissipation is highly localized at the point of focus. Using a midpoint
scheme to numerically integrate qem we can determine the total (time-averaged) absorbed power
for each wavelength. This results in
Q=
Z
qem dV,
V
with V the total domain.
In Table 6.2 the results are stated, together with the maximum temperature deviation from
the reference temperature. The reference temperature is set to 300 K in all cases. We see that for
the small wavelengths the absorption is low and also the temperature difference is very small. For
λ0 = 2.4 µm, we are under the 2 K difference mentioned at the end of Section 4.4. For the larger
wavelengths the temperature differences are much larger, and is it here where our approximation
loses its validity. For wavelengths having such a high heat dissipation, we have to look beyond the
Boussinesq approximation in order to get the right, physical, flows. One of the possibilities would
be to consider the flow compressible, so to allow density variations along the streamlines.
91
6.4. SIMULATIONS
λ0 = 1.2
λ0 = 2.4
−10
x 10
1e−05
−10
x 10
1e−05
15
2
10
5
x
x
0
0
−2
−5
0
0
0
1e−05
0
1e−05
z
z
λ = 2.8
λ = 3.2
−8
0
−8
0
x 10
1e−05
x 10
4
1e−05
3
3
2
x
x
2
0
0
1
1
0
0
0
1e−05
z
0
1e−05
z
Figure 6.17: Velocity field in the xz- and yz-plane, through the focal point for λ0 = 1.2 µm and
λ0 = 2.4 µm. Near the focal point we have a zero z component in all the plots. Also in the xz-plane
we have the velocity pointing towards the central axis while in the yz-plane is it pointing away from
the central axis, following our conjecture based on the force density.
λ0 [µm]
1.2
2.4
2.8
3.2
Q [mW]
0.001
0.053
0.998
0.110
max. ∆T [K]
0.047
1.906
37.653
42.654
Table 6.2: Heat dissipation and temperature difference for all four wavelengths. We see that for
the larger wavelengths the temperature differences are significantly higher, making the Boussinesq
approximation invalid in these cases.
92
CHAPTER 6. NUMERICAL RESULTS AND SIMULATIONS
6.4.6
Higher power beams
All simulation are run using a normalization power of P0 = 1 mW. In most experimental setups more powerful laser beams are used, varying from less than 5 mW up to 50 mW [19]. In
the previous section we saw that for the larger wavelengths, λ0 = 2.8 µm and λ0 = 3.2 µm the
temperatures already rise above the limits of our approximation. We will now focus on λ0 = 1.2 µm
and λ0 = 2.4 µm, and examine the resulting velocity and temperature fields when we rise the ingoing
power to P0 = 50 mW. Of course we expect the total heat absorbed to increase, and so also the
resulting temperatures. We have to be careful to stay within the boundaries of the Boussinesq
approximation. When increasing the incoming power, the fields will have the same structure, only
multiplied by a constant, since P0 ∝ I02 , so for the field structure we refer to the previous sections.
Since |E|2 ∝ I02 and S ∝ I02 , both qem and fem will be 50 times larger when we increase the power
from P0 = 1 mW to P0 = 50 mW.
λ = 1.2
−5
1
λ = 2.4
−5
0
x 10
1
0.6
0.6
y
0.8
y
0.8
0
x 10
0.4
0.4
0.2
0.2
0
0
0.2
0.4
0.6
x
0.8
1
−5
x 10
0
0
0.2
0.4
0.6
x
0.8
1
−5
x 10
Figure 6.18: Resulting velocity field in the xy-plane, through the focal point. The red lines are
streamlines. The velocity fields look very similar to the two corresponding plots in Figure 6.12.
Figure 6.18 shows the resulting velocity profile in the xy-plane. It looks very similar to the
two corresponding plots in Figure 6.12. Also the curves of the magnitude of the velocity of the
streamlines outlined has the exact same shape but is multiplied by approximately 50, the factor
with which the power increased. Table 6.3 shows the minimum and maximum velocity magnitude
for the streamlines outlined in Figure 6.18 compared to the corresponding ones in Figure 6.12. The
values in parentheses are for P0 = 1 mW. All values are exactly multiplied by 50, showing that in
this regime the flow is linear in the external force density fem , confirming that we are in the laminar
Stokes regime.
As mentioned earlier, with larger power comes larger heat dissipation and higher temperatures.
Figure 6.19 shows the temperature distribution in the xy-plane through the focal point, with z = zf .
For λ0 = 1.2 µm the maximum temperature rise is 2.34 K, still small enough for the Boussinesq
93
6.4. SIMULATIONS
λ0 [µm]
1.2
2.4
umin [µm s−1 ]
790 (15.8)
614 (12.3)
umax [µm s−1 ]
3975 (79.5)
2889 (57.8)
Table 6.3: Minimum and maximum velocity magnitudes for the streamlines from Figure 6.18 and
Figure 6.12. The values in parentheses are for the P0 = 1 mW case. The values are proportional
with a factor 50.
λ0 = 1.2 µm
λ0 = 2.4 µm
10
5
302
380
301.5
360
y
y
10
301
5
340
300.5
0
0
5
x
10
320
0
0
5
x
10
Figure 6.19: Temperature in the xy-plane through the focal point. For λ0 = 1.2 µm the increase is
about 2 K, still small enough for the Boussinesq approximation to be valid, but for λ0 = 2.4 µm the
increase is almost 100 K, so our assumption is not valid in this case.
94
CHAPTER 6. NUMERICAL RESULTS AND SIMULATIONS
approximation to be valid, but for λ0 = 2.4 µm the increase is 95.2 K, so our assumption is not
valid in this case, and the resulting flow is not the one we expect physically. This implies that our
suggestion that the flow is linear in the external force density is only valid for the most transparent
wavelengths. For wavelengths at which heat dissipation is significant, non-linear phenomena can
occur, resulting in (possibly quantitatively) different flows.
6.4.7
Influence of boundaries
The domain size we are using is relatively small, having length L = 10 µm in each direction. The
result is that the no-slip boundary condition can be of big influence to the resulting flow. On
obvious solution to rule this out would be to enlarge the domain, but using a similar grid size
this means we would need to solve a larger system. This becomes quickly infeasible, since we are
working with a three dimensional domain. One option we will explore is to double the domain
size, without changing the number of cells, thus effectively we will have cells that are twice as large
in each direction. We then have L = 20 µm. It is not likely that the flow patterns will change
qualitatively, we already saw that away from the focal axis the velocity gets smaller quickly. This
is why we will focus on the amplitude of the velocity, especially near the focal point. We will also
consider the results of the Stokes equations. The Stokes equations follow from the Navier-Stokes
equations if we assume the non-linear advective term vj ∂j vi from (4.22) is negligible. Furthermore
the buoyancy is neglected. This results in the linear equations
∂i p = µ∂j2 vi + fiem .
These equations are valid for small Reynolds numbers. The Reynolds number is given by
vL
,
ν
where v and L are the characteristic velocity and length respectively. We will consider the
smallest wavelength λ0 = 1.2 µm, with power P0 = 1 mW, so that the velocity is relatively small,
and the effect of the buoyancy is negligible since the total absorbed heat is very small. For our
case we have Re ≪ 1, so the Stokes equations can be used to approximate our solution. In order
to solve them we use the corresponding Green’s function, the so-called Stokeslet. Here we assume
there are no physical boundaries, so we have an infinite domain. The Green’s function is derived
in [11].
In Figure 6.20 we see the velocity in plane z = zf for the three cases with L = 10 µm, L =
20 µm and the Stokes flow. We translated the coordinates so that the focal planes coincide at
xf = yf = 10 µm. The x component it taken for y = yf and vice-versa the y component it taken
for x = xf , so both are evaluated on a line through the focal point. All three cases coincide near
the focal point itself, but the maximum values differ slightly. For the full Navier-Stokes equations
the maximum amplitudes are smaller than for the Stokes flow, so ignoring the advective term leads
to larger velocities. This can be understood because the advective term states that the velocity is
‘carried away by itself’, resulting in smaller velocity values. For points further away from the focus
we see that the velocity is larger when the boundaries are further away. The difference between
L = 10 µm, L = 20 µm are relatively large, so indeed the close boundaries do temper the flow. The
larger domain is already getting close to the Stokes flow. Although the amplitudes to change with
a changing domain, overall qualitative picture seems to coincide in all cases. For the Stokes flow
this is as expected since we are in the Stokes domain with small Reynolds numbers.
Re =
95
6.4. SIMULATIONS
100
100
L = 10 µm
L = 20 µm
L = ∞ (Stokes flow)
60
60
40
40
20
20
0
0
−20
−20
−40
−40
−60
−60
−80
−80
−100
−100
0
5
10
x [µm]
15
L = 10 µm
L = 20 µm
L = ∞ (Stokes flow)
80
uy [µm / s]
ux [µm / s]
80
20
0
5
10
y [µm]
15
20
Figure 6.20: Velocity components along two lines through the focal point. The x component is
shown as function of x for y = yf and z = zf , and likewise the y component is shown as function
of y for x = xf and z = zf . We see that for the full Navier-Stokes equations the amplitude drops
slightly for the bigger domain, while for the approximation of the Stokes flow it increases slightly.
96
CHAPTER 6. NUMERICAL RESULTS AND SIMULATIONS
Chapter 7
Conclusions
Using the Maxwell equations and the Navier-Stokes equations we have formulated a number of
equations to simulate fluid flows induced by electromagnetic fields, in particular those produced by
laser beams.
Our first concern was which electromagnetic source to use. An often used approximation for
laser beams is the Gaussian beam approximation. We have showed that this approximation leads
to large analytical errors for the most interesting parameters choices, and this might lead to nonphysical force densities. To circumvent this problem we have designed the dipole approximation,
which is an exact solution of the Maxwell equations. We also showed that the numerical accuracy
is high enough for our choice of parameters. Also for small wavelengths we get resulting fields much
alike the Gaussian beam, suggesting that our model is an adequate one, and the derived quantities
are indeed similar to the physical ones.
Using these dipole sources we have run several simulations, for four different wavelengths, the
relatively transparent short wavelengths, λ0 = 1.2 µm and λ0 = 2.4 µm and the more absorbing
wavelengths λ0 = 2.8 µm and λ0 = 3.2 µm. For the different wavelengths we noticed different flows
and resulting temperatures.
For the smaller wavelengths the force density has no component in the direction of propagation.
In the plane orthogonal to this propagation direction, the component in the direction of polarization
of the electric field is pointing away from the focal axis, while the component orthogonal to the
polarization direction is pointing towards the focal axis.
For the low power beams the heat dissipation is very small and the resulting temperatures
are within the Boussinesq approximation, but the resulting buoyancy flow does not lead to any
significant effect. The flow generated by the force density is highly dominant and leads to circulation
in the planes orthogonal to the direction of propagation of the beam. The direction of the circulation
depends on the polarization of the electric field as described earlier. As a consequence of this
circulating motion the streamlines are confined to a specific quadrant in the planes orthogonal to
the propagation direction.
For the high power beams we see two different things. For the smallest wavelength, λ0 = 1.2 µm,
the resulting flow is nearly proportional, suggesting that the flow is linear in the force density. This
shows that we have a Stokes flow with small Reynolds number. Again the resulting temperatures
are within the Boussinesq approximation, but there is not significant flow because of the buoyancy.
For λ0 = 2.4 µm we see the same proportionality with the high power beam, but now the resulting
97
98
CHAPTER 7. CONCLUSIONS
temperature rise is large, and we are far outside the Boussinesq regime, so this proportional flow is
not necessarily the physical flow we would expect, and a more thorough model is needed to coop
with the large temperature differences. The fluid density will become inhomogeneous, and also the
variation in viscosity might become significant. We conclude that for this wavelength at higher
powers our model is not and we need a more complete approach.
The fact that we use a limited domain has some influence on the flow, but leads to the same
qualitative results. Away from the focus, the magnitude of the velocity will drop off more slowly in
larger domains, but near the focus the results are similar. Since this is the region of most interest
to us, using a smaller domain is not a real drawback for investigating these flows.
For the larger wavelengths we see qualitatively different results. These wavelengths are much less
transparent, leading to big losses of electromagnetic energy to heat. The most obvious consequence
is that the beams do not penetrate the domain very far, and the focal point is closer to the source
plane. Furthermore the contribution of the dissipative term of the force density, which was negligible
for the shorter wavelengths, is now significant, leading to a large force component in the direction
of propagation. The non-dissipative force term is still there, and the total force density, which is
the sum of these two contributions, leads to a complicated flow pattern. The streamlines are still
confined to a specific quadrant in the xy-plane, but will move in the direction of propagation.
As a consequence of the large heat dissipation, the resulting temperatures are much higher than
for the smaller wavelengths. Even for the low power beam the temperatures are well above the
Boussinesq regime, so our approximation is not valid for these wavelengths. As a consequence we
cannot claim that the flows we observe are physical. The large temperature differences can lead to
different flows that are not captured in our model. Again a variable density and viscosity is needed
to model these situations adequately.
Finally there is the question of the force density itself. Although derived in a very thorough
manner, there are still assumptions about the interaction of the electromagnetic field with the
matter inside the medium that we cannot answer by any simulations. In particular, the correct
form of the stress tensor that governs all these forces. Thorough experimental investigation is
needed to see whether the flows we predict are indeed there, to confirm that these assumptions are
correct.
Chapter 8
Future work
As mentioned in the previous chapter, there is still a lot of interesting work to be done in this
research area. Considering the flows we have investigated, the most important next step would be
to drop the Boussinesq approximation and work with the full compressible Navier-Stokes equations.
The large temperature differences due to heat absorption lead to significant differences in density.
Also the viscosity changes with temperature and should be taken as a variable quantity.
Another interesting point would be the boundary conditions for the temperature. We assumed
the boundaries were at a constant ambient temperature, while in a physical set-up there would be
some heat transfer coefficient governing the temperatures at the boundary of the domain. This
might be of particular interest when the focal point if very close to one of the sides of the domain.
An important next step will be an experimental set-up where the induced flows we predict can
be measured directly. This will settle the question of the electromagnetic stress tensor and would
justify further investigation of this phenomenon. One thing that is needed to model such a set-up
is a more complex domain. A difficulty might be the electromagnetic boundary conditions. When
a domain with small scale structure is introduced the permittivity could start varying over the
domain, leading to inhomogeneous heating, scattering and all sorts of electromagnetic phenomena.
A different way to model the fields is then needed. A possible way to overcome these electromagnetic
difficulties is to use a solid material with equal index of refraction as the liquid, a so-called indexmatching material. The electromagnetic field will then be unaltered by the solid material, but the
flows will be channelled by the geometry of the solid.
As we saw in Chapter 6, for the high frequency beams, with low losses, we have a very distinctive
structure of the force density near the focal point. In the polarization direction the force is pointing
away from the focal point, while in the orthogonal direction it is pointing towards the focal point.
This is also the region where the force density is at its maximum magnitude, so it is a logical choice
to focus on this region. A problem is that the loops created by this force density depend on the size
of the domain. To overcome this, we could use the index matching material to create a channel to
guide the fluid around. This channel could for example coincide with one of the closed loops from
Figure 6.16. There is still the matter of measuring the velocity through this small channel.
Finally we have neglected the possible back-action of the fluid to the fields. Since the fluid
velocities are small the terms involved in this interaction are small too, but at some point they
might no longer be neglected. Especially when certain parameters such as the density are considered
variable, since the permittivity depends on this quantity.
99
100
CHAPTER 8. FUTURE WORK
Appendix A
Four-vector notation
In order to determine the right constitutive relations, and energy and momentum equations, we
will use the four-vector notation from special relativity. Since the Maxwell equations are Lorentz
invariant, we can get compact notation in this way. Once we have the correct expressions for the
constitutive relations and energy and momentum equations, we will make assumptions about the
fluid velocity being non-relativistic, in order to simplify things
We change to the coordinates x0 = ct and xi = xi for i = 1, 2, 3. We use the notations of [7]
and [21]. The partial derivatives are now given by
∂µ =
1
c ∂t
∂1
∂2
∂3
.
We will use the so-called (− + ++) convention, meaning that the metric tensor is given by


−1 0 0 0
 0 1 0 0 

(A.1)
η µν = ηµν = 
 0 0 1 0 .
0 0 0 1
We will need the four-vectors for the velocity and the electric and magnetic current densities.
For the velocity we have
Vµ =
γc γv1
γv2
γv3
where γ is the famous gamma factor, given by
,
(A.2)
1
.
γ= q
2
1 − kvk
c2
For ordinary velocities we have γ ≈ 1, and we will use this simplification when applicable. We
define the electric current density four-vector
Jµ =
cρe
J1
and the magnetic current density four-vector
101
J2
J3
,
(A.3)
102
APPENDIX A. FOUR-VECTOR NOTATION
Kµ =
cρm
K1
K2
K3
(A.4)
,
where Ji and Ki are the components of the normal current densities. If we separate the vector
in a time and space part, we can write the space part in vector notation. We then get
Vµ =
γc
γv
, Jµ =
cρe
J
We can now define the field tensor F νµ as

E1
0
c
E
1
 −
0
µν
c

F =  E2
− c −µ0 H3
µ 0 H2
− Ec3
1 µνρσ ρσ
ǫ
F
2
0
−µ0 H1

0
 −µ0 H1
=
 −µ0 H2
−µ0 H3
In vector notation these tensors are equal to
0
νµ
F =
− 1c E
and K µ =
E2
c
µ 0 H3
and the dual field tensor Gνµ as
Gµν =
µ 0 H1
0
E3
c
− Ec2
·×
1
cE
(µ0 H)
E3
c
−µ0 H2
cρm
K
.


,
µ 0 H1 
0
µ 0 H2
− Ec3
0
µ 0 H3
E1
c
0
E2
c
− Ec1
(A.5)


.

(A.6)
and
Gνµ =
0
−µ0 H
µ0 H
· × ( 1c E)
,
where · × E means that vector with which is multiplied is inserted in the curl operator.
The Maxwell equations can now be stated as
∂ν F µν = J µ ,
∂ν Gµν = K µ .
(A.7)
(A.8)
Conversation of electric and magnetic charge are expressed as
∂µ J µ = 0,
µ
∂µ K = 0.
(A.9)
(A.10)
Further expression can be derived for the Lorentz force and Poynting theorem as the gradient
of the energy-stress tensor. At this point we will not need these results since we already derived
them directly from the Maxwell equations.
Appendix B
Implementation
In this appendix we will discuss how we have implemented the simulations. We have mainly
used OpenFOAM, a free open-source software package written in C++. OpenFOAM is originally
developed for numerically solving fluid mechanics problems, but applications include for example
electro-hydrodynamics or partial differential equations in general. The main advantages of using
OpenFOAM is that it contains the algorithms needed to solve the fluid dynamics equations, and it
gives the possibility to use high-level syntax for manipulating scalar and vector fields on the mesh,
using concepts such as operator-overloading. One major disadvantage is the lack of support for
complex numbers, which is the reason why we have split all expressions in a real and imaginary
part in Chapter 2 and Chapter 3.
The OpenFOAM package consists of a number of libraries, responsible for certain physical models, algorithms or general tasks such as mesh control or the implementation of boundary conditions.
These libraries are used by the executable programs themselves, usually referred to as the solvers.
The package comes with a number of basic solvers that can be used out-of-the-box. For example there are solvers for solving problems with incompressible flow, with or without turbulence.
Also there are solvers for compressible flow, and solvers for certain specific problems containing for
example natural convection.
Each problem, or case, consist of a file-tree containing configuration files, or dictionary files, to
control the process of solving. Furthermore they contain the value of the parameters used by the
specific solver. Through these dictionary files the user has a lot of flexibility in solving the problem.
Almost everything can be tweaked to meet the needs of the specific case problem. For example the
convergence criteria for the solving algorithm, in our case the SIMPLE algorithm, the discretization
schemes used to discretized the differential operators in the equations, the algorithms used to solve
the linear systems that need to be solved during the whole process, and what pre-conditioners are
used.
Furthermore OpenFOAM comes with basic meshing and post-processing tools. For simple
domains, such as the one we have used, the blockMesh tool can be used. This tool can create
meshes consisting of one or more rectangular boxes. For more complicated domains, there are tools
specifically designed for this task, and OpenFOAM can handle most common formats (or has tools
to convert them to a format it can handle). For data gathering there is the sample tool, that
extracts user-defined data points from the solution fields, using the interpolation method of the
user’s choice.
103
104
APPENDIX B. IMPLEMENTATION
A lot of information on the general settings and the solvers and tools that come with OpenFOAM
can be found in the user guide [14].
For our simulations we have developed several solvers for the different tasks. First the electromagnetic fields are calculated on the mesh points. For both the Gaussian beam model and the
dipole array we have analytic expressions of the electric and magnetic fields for all positions in the
domain. This means that we can determine all the field components explicitly given the position
vectors of the grid. This is where the advantage of the high-level syntax comes in. For example, to
calculate the real part of the Green’s function from (3.46),
Re {g(r)} =
1
e−αkrk cos kkrk,
4πkrk
we use three lines of code,
volVectorField x = mesh.C();
volScalarField dr = Foam::mag(x - y);
volScalarField g = 0.25 / Foam::constant::mathematical::pi / dr *
Foam::exp(-alpha * dr) * Foam::cos(k * dr);
The volVectorField and volScalarField objects are defined in an OpenFOAM library and
contain a vector and scalar field, defined in all the centres of the grid points of the mesh. The mesh
itself is contained in the mesh object. The expression mesh.C() simply returns the coordinates of
the centres of all the grid points in the mesh as a volVectorField. After the total electric and
magnetic fields are determined, the derived quantities such as the Poynting vector and the intensity
of the electric field are calculated. This is easily done using the lines
volVectorField S_real = 0.5 * ((E_real ^ H_real) + (E_imag ^ H_imag));
volVectorField S_imag = 0.5 * ((E_imag ^ H_real) - (E_real ^ H_imag));
volScalarField E_sq = (E_real & E_real) + (E_imag & E_imag);
Here we see how the operator over-loading works. Where normally in C++ the ^ and & operators are bitwise operators on the integer types, OpenFOAM defines them on the volVectorField
and surfaceVectorField objects, their meaning being the cross-product and the inner-product
respectively. Again we see the explicit splitting in real and imaginary part.
Two other useful objects are the surfaceVectorField and surfaceScalarField. These also
contain vector and scalar fields over the mesh, but now defined in the centres of all the faces of
each grid point. There is also support for tensor fields over the mesh, where a distinction is made
between symmetric and non-symmetric tensors.
OpenFOAM also takes care of the creation of the linear systems used during the different
stages of the solving algorithm. In order to achieve this there are expressions that convert a
differential operator on a field quantity and other explicit terms to a discrete system of the famous
form Ax = b. Here a distinction is made between implicit and explicit discretization. Implicit
discretization means the field considered is actually the field that is solved for and is treated as
unknown. The discretization scheme defined through the dictionary files is applied and the term is
added to the system matrix A. Explicit discretization works similar in that again the discretization
scheme from the dictionary files is applied, but now the field itself is considered to be known. In
simple words, the values of the previous iteration are substituted and the contribution goes to the b
term. Of course when explicit discretization is used, it is essential that the field is initialized to some
105
initial value for the first step. The implicit discretization terms are found in the name-space fvm and
the explicit discretization terms in the name-space fvc. The programmer does not manipulate the
system matrices directly. However there are procedures available to manipulate them, for example
to apply the relaxation described in Section 4.7.
Another advantage of the fact that OpenFOAM is open-source, and you compile and link your
own solvers is that it is easy to combine it with functionalities from other libraries. For example
when implementing the dipole array explained in Section 3.2, the fields of a lot of individual dipoles
are needed to be calculated and in the end all their contributions need to be summed. Since for
each dipole the calculations are alike, except a different source vector y is used, these calculations
are very suitable to perform in parallel. During the project a small CUDA implementation was
developed and linked with the solver. This results in significantly higher performance. Other useful
applications might be for example the use of LAPACK routines for certain tasks.
As mentioned earlier OpenFOAM can handle complicated meshes that are created using other
tools. It can solve the fluid dynamical equations governing the flows in these complex domains. One
thing that is not supported at this point is to solve the (full) Maxwell equations on such complex
meshes. In order to achieve this, either an external method has to be used, or such a Maxwell solver
has to be implemented in OpenFOAM.
Our implementation of the fluid dynamics solver is based on existing solvers in OpenFOAM. We
used the standard incompressible flow solver without a turbulence model, and added the buoyancy
concepts from the natural convection solver. The essential part of the SIMPLE algorithm is given
by the lines
while (simple.loop())
{
// --- Pressure-velocity SIMPLE corrector
{
#include "UEqn.H"
#include "TEqn.H"
#include "pEqn.H"
}
runTime.write();
}
The included files contain the solution procedures of the different equations. The code for the
momentum equation is given by
// Momentum predictor
tmp<fvVectorMatrix> UEqn
(
fvm::div(phi, U)
- fvm::laplacian(nu, U)
== f_em / rho_0
);
106
APPENDIX B. IMPLEMENTATION
UEqn().relax();
if (simple.momentumPredictor())
{
solve
(
UEqn()
==
fvc::reconstruct
(
(
- ghf*fvc::snGrad(rhok)
- fvc::snGrad(p_rgh)
) * mesh.magSf()
)
);
}
Here we see how in the first lines the implicit part containing the velocity field is created and
relaxed. In the second part the explicit terms containing the (modified) pressure are added. The
energy equation given by (4.23), can be rewritten as
∂i (vi T ) − T ∂i vi −
qem
k 2
∂ T =
.
ρ0 c p i
ρ0 c p
The discretization of this equation in our implementation is given by the lines
fvScalarMatrix TEqn
(
fvm::div(phi, T)
- fvm::Sp(fvc::div(phi), T)
- fvm::laplacian(k / rho_0 / c_p, T)
// Added source term, divided by correct quantities
== H
);
TEqn.relax();
TEqn.solve();
rhok = 1.0 - beta*(T - T_0);
We see that the temperature field is discretized implicitely in all three terms. The expression
phi is the fluid flux, determined in the pressure equation. Also the new density is determined. The
pressure equation takes more effort. The code is given by
{
volScalarField rAU("rAU", 1.0/UEqn().A());
107
surfaceScalarField rAUf("(1|A(U))", fvc::interpolate(rAU));
U = rAU*UEqn().H();
UEqn.clear();
phi = fvc::interpolate(U) & mesh.Sf();
adjustPhi(phi, U, p_rgh);
surfaceScalarField buoyancyPhi(rAUf*ghf*fvc::snGrad(rhok)*mesh.magSf());
phi -= buoyancyPhi;
while (simple.correctNonOrthogonal())
{
fvScalarMatrix p_rghEqn
(
fvm::laplacian(rAUf, p_rgh) == fvc::div(phi)
);
p_rghEqn.setReference(pRefCell, getRefCellValue(p_rgh, pRefCell));
p_rghEqn.solve();
if (simple.finalNonOrthogonalIter())
{
// Calculate the conservative fluxes
phi -= p_rghEqn.flux();
// Explicitly relax pressure for momentum corrector
p_rgh.relax();
// Correct the momentum source with the pressure gradient flux
// calculated from the relaxed pressure
U -= rAU*fvc::reconstruct((buoyancyPhi + p_rghEqn.flux())/rAUf);
U.correctBoundaryConditions();
}
}
#include "continuityErrs.H"
p = p_rgh + rhok*gh;
if (p_rgh.needReference())
{
p += dimensionedScalar
(
"p",
108
APPENDIX B. IMPLEMENTATION
p.dimensions(),
pRefValue - getRefCellValue(p, pRefCell)
);
p_rgh = p - rhok*gh;
}
}
We see the modified pressure being determined and the pressure equation being solved. After
this the velocity field is corrected. The final part makes sure the reference value for the pressure is
taken into account.
Bibliography
[1] A. Ashkin, J. M. Dziedzic, J. E. Bjorkholm, and Steven Chu. Observation of a single-beam
gradient force optical trap for dielectric particles. Opt. Lett., 11(5):288–290, May 1986.
[2] G. K. Batchelor. An Introduction to Fluid Dynamics. Cambridge University Press, cambridge
mathematical library edition, 2000.
[3] L. W. Davis. Theory of electromagnetic beams. Phys. Review A, 19:1177–1179, 1979.
[4] Maria Dienerowitz, Michael Mazilu, and Kishan Dholakia. Optical manipulation of nanoparticles: a review. Journal of Nanophotonics, 2(1):021875–021875–32, 2008.
[5] J. H. Ferziger and M. Perić. Computational Methods for Fluid Dynamics. Springer, 3rd edition,
2002.
[6] Winston Frias and Andrei I. Smolyakov. Electromagnetic forces and internal stresses in dielectric media. Phys. Rev. E, 85:046606, Apr 2012.
[7] David J. Griffiths. Introduction to Electrodynamics. Prentice Hall, 3rd edition, 1999.
[8] George M. Hale and Marvin R. Querry. Optical constants of water in the 200-nm to 200-µm
wavelength region. Appl. Opt., 12(3):555–563, Mar 1973.
[9] Kolumban Hutter, Yongqi Wang, and IrinaP. Chubarenko. Phenomenological coefficients of
water. In Physics of Lakes, Advances in Geophysical and Environmental Mechanics and Mathematics, pages 389–418. Springer Berlin Heidelberg, 2011.
[10] H. Jasak. Error analysis and estimation for the Finite Volume method with applications to
fluid flows. PhD thesis, Imperial College, University of London, 1996.
[11] Sangtae Kim and Seppo J. Karrila. Microhydrodynamics: Principles and Selected Applications.
Butterworth-Henemann, Boston, June 1991.
[12] L. D. Landau and E. M. Lifshitz. Electrodynamics of Continuous Media. Pergamon Press, 2nd
edition, 1984.
[13] L. D. Landau and E. M. Lifshitz. Fluid Mechanics. Pergamon Press, 2nd edition, 1984.
[14] OpenCFD Limited. OpenFOAM 2.1.1 User Guide, 2012.
[15] S. V. Patankar. Numerical heat transfer and fluid flow. Hemisphere Publishing Corporation,
1981.
109
110
BIBLIOGRAPHY
[16] Demetri Psaltis, Stephen R. Quake, and Changhuei Yang. Developing optofluidic technology
through the fusion of microfluidics and optics. Nature, 442(7101):381–386, July 2006.
[17] Maria L. V. Ramires, Carlos A. Nieto de Castro, Yuchi Nagasaka, Akira Nagashima, Marc J.
Assael, and William A. Wakeham. Standard reference data for the thermal conductivity of
water. Journal of Physical and Chemical Reference Data, 24(3):1377–1381, 1995.
[18] C. M. Rhie and W. L. Chow. Numerical study of the turbulent flow past an airfoil with trailing
edge separation. AIAA Journal, 21:1525–1532, November 1983.
[19] Alexander Rohrbach. Stiffness of optical traps: Quantitative agreement between experiment
and electromagnetic theory. Phys. Rev. Lett., 95:168102, Oct 2005.
[20] Ross T. Schermer, Colin C. Olson, J. Patrick Coleman, and Frank Bucholtz. Laser-induced
thermophoresis of individual particles in a viscous liquid. Opt. Express, 19(11):10571–10586,
May 2011.
[21] Jack Vanderlinde. Classical Electromagnetic Theory. Kluwer Academic Publishers, 2nd edition,
2004.
[22] Pinyu Wu, Rongxin Huang, Christian Tischer, Alexandr Jonas, and Ernst-Ludwig Florin.
Direct measurement of the nonconservative force field generated by optical tweezers. Phys.
Rev. Lett., 103:108101, Sep 2009.