Friday, 26 December 2014

Total derivative

A fluid parcel is an infinitesimal, indivisible piece of fluid - effectively a very small fluid parcel of fixed mass.

The total (or material or substantive or advective or Lagrangian) derivative is the rate of change of a property of the fluid parcel.

Consider the temperature, $T$, of a parcel. The change in $T$ is given by:
$$ \delta T = \frac{\partial T}{\partial t} \delta t + \frac{\partial T}{\partial x}\delta x + \frac{\partial T}{\partial y}\delta y + \frac{\partial T}{\partial z}\delta z$$

So, the change in $T$ in time $\delta t$ is:
$$ \frac{\delta T}{\delta t} = \frac{\partial T}{\partial t} + \frac{\partial T}{\partial x} \frac{\delta x}{\delta t} + \frac{\partial T}{\partial y} \frac{\delta y}{\delta t} + \frac{\partial T}{\partial z} \frac{\delta z}{\delta t}$$


and so the total derivative is given by:
$$
\begin{align*}
\frac{DT}{dt} &= \frac{\partial T}{\partial t} + u \frac{\partial T}{\partial x} + v \frac{\partial T}{\partial y} + w \frac{\partial T}{\partial z} \\
 &= \frac{\partial T}{\partial t} + (\mathbf{v} \cdot \nabla ) T
\end{align*}
$$

Eulerian and Lagrangian viewpoints

In a Lagrangian point of view, we are interested in following a fluid parcel along its journey. We float along with the current.

In an Eulerian point of view, we are interested in how things change at a fixed point. We watch the flow pass by.

Laplacian

The Laplacian is the div of the grad of a function on Euclidean space:
$$ \nabla^2 \psi = \nabla \cdot \nabla \psi = \Delta \psi = \frac{\partial^2 \psi}{\partial x^2} + \frac{\partial^2 \psi}{\partial y^2} + \frac{\partial^2 \psi}{\partial z^2} $$

The Laplacian represents the flux density of the gradient flow of a function, and can be thought of as a measure of source or sink in the flow.

Laplace's equation is the case when the Laplacian equals zero: $\nabla^2 \rho = 0$.

Tuesday, 23 December 2014

Curl

The curl is a vector operator that describes the infinitesimal rotation of a 3-dimensional vector field. At every point in the field, the curl of that point is represented by a vector. The direction of the curl is the axis of rotation, as determined by the right-hand rule, and the magnitude of the curl is the magnitude of rotation.
For $\mathbf{F}=(u,v,w)$: $$ \nabla \times \mathbf{F} = \left| \begin{array}{ccc} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ \frac{\partial}{\partial x} & \frac{\partial }{\partial y} & \frac{\partial}{\partial z} \\ u & v & w \end{array} \right| = \left( \frac{\partial w}{\partial y} - \frac{\partial v}{\partial z} \right) \mathbf{i} + \left( \frac{\partial u}{\partial z} - \frac{\partial w}{\partial x} \right) \mathbf{j} + \left( \frac{\partial v}{\partial x} - \frac{\partial u}{\partial y} \right) \mathbf{k} $$
The curl gives the infinitesimal area density of the circulation of the vector field.