# Fluid Mechanics/Analysis Methods

### Pathlines and Streamlines[edit]

The path which a fluid element traces out in space is called a *pathline*. For steady non-fluctuating flows where a pathline is followed continuously by a number of fluid elements , the pathline is called *streamline*. A *streamline* is the imaginary line whose tangent gives the velocity of flow at all times if the flow is steady, however in an unsteady flow, the streamline is constantly changing and thus the tangent gives the velocity of an element at an instant of time.
A common practice in analysis is taking some of the walls of a control volume to be along streamlines.
Since there is no flow perpendicular to streamlines, only the flow across the other boundaries need be considered.

## Hydrostatics[edit]

The pressure distribution in a fluid under gravity is given by the relation *dp/dz = −ρg* where *dz* is the change in the direction of the gravitational field (usually in the vertical direction).
Note that it is quite straightforward to get the relations for arbitrary fields too, for instance, the pseudo field due to rotation.

The pressure in a fluid acts equally in all directions.
When it comes in contact with a surface, the force due to pressure acts normal to the surface.
The force on a small area *dA* is given by *p dA* where the force is in the direction normal to *dA*.
The total force on the area *A* is given by the vector sum of all these infinitesimal forces.

## Control Volume Analysis[edit]

A fluid dynamic system can be analysed using a *control volume*, which is an imaginary surface enclosing a volume of interest.
The control volume can be fixed or moving, and it can be rigid or deformable.
Thus, we will have to write the most general case of the laws of mechanics to deal with control volumes.

The first equation we can write is the conservation of mass over time.
Consider a system where mass flow is given by *dm/dt*, where *m* is the mass of the system.
We have,

For steady flow, we have

And for incompressible flow, we have

If we consider flow through a tube, we have, for steady flow,

and for incompressible steady flow, *A _{1}V_{1} = A_{2}V_{2}*.

Law of conservation of momentum as applied to a control volume states that

where *V* is the velocity vector and *n* is the unit vector normal to the control surface at that point.

Law of Conservation of Energy (First Law of Thermodynamics)

where *e* is the energy per unit mass.

### Bernoulli's Equation[edit]

*Bernoulli's equation* considers frictionless flow along a streamline.

For steady, incompressible flow along a streamline, we have

We see that Bernoulli's equation is just the law of conservation of energy without the heat transfer and work.

It may seem that Bernoulli's equation can only be applied in a very limited set of situations, as it requires ideal conditions.
However, since the equation applies to streamlines, we can consider a streamline near the area of interest where it is satisfied, and it might still give good results, *i.e.*, you don't need a control volume for the actual analysis (although one is used in the derivation of the equation).

#### Energy in terms of Head[edit]

Bernoulli's equation can be recast as

This constant can be called head of the water, and is a representation of the amount of work that can be extracted from it. For example, for water in a dam, at the inlet of the penstock, the pressure is high, but the velocity is low, while at the outlet, the pressure is low (atmospheric) while the velocity is high. The value of head calculated above remains constant (ignoring frictional losses).

#### Mechanical Energy Balance Equation[edit]

Yet another variation of the Bernoulli's equation is the mechanical energy balance equation. The mechanical energy balance equation is useful when needing to consider things such as work or losses due to friction, or if there are differences between the outlet and inlet (such as pressure, velocity, and height).