>back to Chapters
Each scientific field needs an optimised language. Without it, this field can not develope.
For example, calculus could not develop with Roman numbers.

Without arabic numbers and the decimal system, even the basic operations would not be possible.
Fluid Mechanics deals with the changes of flow and fluid variables in three space dimensions and in time. In order to tackle with this complexity, there is also a need for an optimized language in the field of fluid mechanics. Unfortunately, for the same vector operation there are multiple mathematical notations:

Symbols are not unique and, somewhat, confusing, i.e. unified language is beneficial to speed up the development in this field.
In this chapter, we will be particularly introduced to such unified mathematical concept, Tensor which is very important for computational fluid dynamics and also many other field of science.
This chapter will give a gentle introduction about fascinating Tensor but readers are encouraged to read more from the references.Due to this short introduction,Tensor will not be used any other chapter.
The concept of tensor could be easily understood if we want to imagine a function which takes vector as input and do some operation with it and then give another vector as output. For example, let's assume a vector which is defined in Euclidean reference co-ordinate system. Now for some unknown reason, the co-ordinate system changed via rotation or translation. To find our previous vector defined in the new co ordinate system, we can assume a magical operator or function which will take the initial components of the vector in old co-ordinate system as input and give us back the new vector component in new co-ordinate system as output. In other way, New position vector= f(Old position vector). It is found that if this operator or function is linear, then this function or operator would be a 2nd rank tensor.
A second rank tensor looks like
matrix. For example,
is a
matrix.
If we now multiply this matrix with another matrix with
matrix we will get as an output,
matrix where the element of these matrices could be imagined as the vector components of initial and new vector.
So we can say that a 2nd rank Tensor is capable to keep the map or information of how a vector will change between new to old co-ordinate system. Now, we have small introduction to Tensor, we can present the definition of tensor.
A tensor
is a linear transformation from a vector space
to
.[1] Thus, we can write

which means tensor A operates on vector u to give new vector v.
This concept is found to be extremely useful where all computational calculations have to be performed in somehow matrix format. A very nice illustration of use of tensor is shown here[2].
Very common examples of Tensor are : Deformation Gradient Tensor, Stress Tensor, Einstein's famous stress-energy tensor. Even dot and cross product of two vectors are also tensor.
Although the concept of linear operation is very useful to understand the application of tensor at first time,it's not all.
Let's consider about a cylinder which is stretched along it's length and due to poisson's contraction, we will see contraction in radial direction to keep the volume constant. So we can say that
the deformation along different directions is somehow related on the stress applied along different directions.It appears that this relationship is a tensor which is called Stiffness Tensor and this relationship forms like :[Strain Tensor(written in column vector and reduced form)]=[Stiffness Tensor,C][Stress Tensor(same as Strain Tensor)]. The relationship for isotropic material will look like below:

This above matrix looks differently for an anisotropic material[3]. So in other way, we can say this particular tensor can help to express how the Stress Tensor will be influencing Strain Tensor and this 'how' is a signature of type of material which is point of interest.
Tensor could be envisioned in more easy way. Let us consider a vector which has components of
. This components are essential to express this vector precisely in a given co-ordinate system.These components together will give value of the vector by
. If this co-ordinate system change also, the vector will be represented with 3 components with different value
but
would give the same value as previous which means that something remains as identity of the vector. The components changed keeping something constant. Now lets consider about tensor. Imagine we form an entity where we have 3 vectors as components(meaning actually it has 9 or
components of vectors now) and they are somehow coupled.This means that when the co-ordinate system will change, the individual components of vector(hence the entity) will be determined keeping 'some other value' constant like
in the case of vector. Of course, this 'other value' has to be calculated by using 9 components of that entity. After transformation, this new 9 components will give the same 'other value'. It would be shown later on actually that vector itself is 1st order tensor.
Scalar: Tensor of
order[edit | edit source]
We may associate some properties of fluid or flow at one point without any preference of direction.
![{\displaystyle \displaystyle P=\underbrace {1.01\times 10^{5}} _{magnitude}\ \underbrace {\left[{\frac {N}{m^{2}}}\right]} _{unit},T=293\left[K\right]\ {\text{and}}\ \rho =1.01\times 10^{3}\left[{\frac {kg}{m^{3}}}\right]}](https://wikimedia.org/api/rest_v1/media/math/render/svg/1f15c87e40ba2cab2b89bad08fba112d3d1ea80e)
Those are examples of such fluid variables.
Summation can be only done between variables having the same unit, i.e.
![{\displaystyle \displaystyle \displaystyle a[Pa]+b[Pa]=a+b[Pa]}](https://wikimedia.org/api/rest_v1/media/math/render/svg/9b089c1ca9a7d388da6347c59d93a700c48ae93c)
![{\displaystyle \displaystyle a[Pa]+b[K]=\ ?}](https://wikimedia.org/api/rest_v1/media/math/render/svg/1b575d267129b4fa29777e2b39c89d75e9a63b24)
Multiplication is valid for variables having different units.
![{\displaystyle \displaystyle \displaystyle a[Pa]*b[K]=a*b[PaK]}](https://wikimedia.org/api/rest_v1/media/math/render/svg/ec95dab42e7f6f6fd8aa55479a85eee43e326cb0)
Products of variables having different units, have a new physical meaning.

![{\displaystyle \displaystyle [kg]=\left[{\frac {kg}{m^{3}}}\right][m^{3}]}](https://wikimedia.org/api/rest_v1/media/math/render/svg/4787ac6779e06711659a2e689243c60922119377)
Power loss (Energy loss per unit time)
Pressure drop measurement in a pipe
![{\displaystyle \displaystyle \Delta P\cdot {\dot {V}}=\left|\Delta P\right|\left|{\dot {V}}\right|\left[{\frac {N}{m^{2}}}\right]\left[{\frac {m^{3}}{s}}\right]}](https://wikimedia.org/api/rest_v1/media/math/render/svg/d80c342ba10df146a0b7b3104a254bac8f925d45)
![{\displaystyle \displaystyle \Delta P\cdot {\dot {V}}=\left|\Delta P\right|\left|{\dot {V}}\right|\left[{\frac {Nm}{s}}\right]}](https://wikimedia.org/api/rest_v1/media/math/render/svg/fc6d4a5a20d86f556a87d02398cb239fac853049)
![{\displaystyle \displaystyle \Delta P\cdot {\dot {V}}=\left|\Delta P\right|\left|{\dot {V}}\right|\left[Watt\right]}](https://wikimedia.org/api/rest_v1/media/math/render/svg/f391817cbd6c8c618255dda92c94206cfa4a59a3)
Watt is the unit for Power.
Vectors:
order tensors[edit | edit source]
Variables of flow, associated with a point and a direction, like force and velocity, are vectors.
The direction of a vector should be specified in relation with respect to a given frame of reference. This frame of reference is arbitrary as the units. Let us use the Cartesian coordinate system having 3 mutually orthogonal axes.
are components of this vector and can differ with respect to selected coordinate system but the amplitude not.
Components allow us to reconstruct the vector in a particular system of reference. One should distinguish vector as an entity from its components.
Summation of variables, identified with indices can be shortly written with the summation symbol fro series:

In short, we will write

In other words, repeated indices means series sum over this index. Thus,


Now we can introduce the component representation of a vector
:

Let's look some examples:

whereas

indicates no summation over
and
and

indicates also no summation. Other examples of summation are:


In the following expression

the repeating index
is also a dummy index, i.e. can be replaced by
.
The following equality

is valid only when
. Then,
is called free index
for
can be expanded as
Einstein summation convention[edit | edit source]
Any expression involving a repeated index (sub- or superscript) shall automatically considered for its sum over the index range
.
Remark:
- All indices have the same range,
, unless stated otherwise.
- No idex appear more than twice in any given expresion.
Sumed over i:

Sumed over j:

Let
and
.
Then
. Here we find more than two repeated indices.
Find duplicated dumy index:
.
Change dummy index:
.
Substitude:
.





replaces one of the dummy index with the other one.
Remember that,








If m and n are unit vectors in the direction of
and
.




Vector product of two vectors
Consider vector products of unit vectors.




The symmetric determinant will be the same:

The permutation symbol is defined as:

Hence, the vector product can be written as:

![{\displaystyle \displaystyle a\cdot (b\times c)=a\cdot \left[\in _{ijk}b_{i}c_{j}{\vec {e}}_{k}\right]=a_{k}\in _{ijk}b_{i}c_{j}=\epsilon _{ijk}a_{k}b_{i}c_{j}=\in _{ijk}a_{i}b_{j}c_{k}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/47aeb7cd51c57b37d8698a76f3910fd31ac262a3)
Product of two tensors

where
![{\displaystyle c_{ij}=\left[{\begin{array}{lll}c_{11}&c_{12}&c_{13}\\c_{21}&c_{22}&c_{23}\\c_{31}&c_{32}&c_{33}\end{array}}\right]}](https://wikimedia.org/api/rest_v1/media/math/render/svg/a6f82ca27fd61e220406fcb4e2322f326a1408c4)
Similarly,

Thus, generally, the product of a tensor having
order and another tensor having
order will result in a tensor having an order of m + n.
Therefore,

The order is increased by two.
Substitution


Consequently if a tensor has a pair of repeated indices, its order reduces by two. And it can be shown that:


Index j is replaced by index i. This opperation is called substitution. Generally:

Contraction

The total order is reduced by four.
Or equally:

The order of
is reduced by two.
This operation is called contraction with respect to i and j.
Scalar product of tensors
Remember:

Contraction of a tensor product of two
order tensors results in scalar product of two vectors.
Hence, the scalar product of two tensors are:

Remember:


Consider,

In conclusion, using component notation and basic rules the form of the tensor can be deduced.
Important Relations



(repeated index)


Contraction with respect to k n.

Twice contraction,
![{\displaystyle \displaystyle \delta _{jm}\delta _{kn}\epsilon _{ijk}\epsilon _{lmn}=\delta _{jm}[\delta _{il}\delta _{jm}-\delta _{im}\delta _{jl}]}](https://wikimedia.org/api/rest_v1/media/math/render/svg/8469d33cab30fe311950adadb808ca12ebd3893c)
![{\displaystyle \displaystyle \delta _{jm}\delta _{kn}\epsilon _{ijk}\epsilon _{lmn}=[\delta _{il}\delta _{jj}-\delta _{ij}\delta _{jl}]=[3\delta _{il}-\delta _{il}]=2\delta _{il}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/f0a409f8d68a4613e0b54a4865edfd56f544e3d0)
![{\displaystyle \displaystyle \delta _{jm}[\delta _{kn}\epsilon _{ijk}\epsilon _{lmn}]=\delta _{jm}\ \epsilon _{ijk}\ \epsilon _{lmk}\ =\ \epsilon _{ijk}\epsilon _{ljk}\ =2\delta _{il}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/69df039a9dc0c066d2b2ccbf45e158d1815b7f5b)
and

Therefore, it can be a linear sum of two vectors.

Use component notation.





Let A scalar derivative with respect to
:

Let A a vector:

Generally, the
derivative of a tensor of the
order is a tensor of the
order.
Special case,



Let
:

:
