# Fluid statics

**Fluid statics** is the branch of fluid mechanics which studies fluids at rest.

## Equations

### Pressure variation in a static Fluid

Applying Newton's laws of motions to a fluid at rest, it can be determined that the sum of forces must equal zero throughout the fluid, which means any arbitrary element of the fluid is subjected to forces that sums to zero. Since the fluid is not deforming while it is at rest, the only forces acting on the fluid are those due to gravity and pressure.

For a given fluid element, the pressure is given by the differential equation^{[1]}

where is the density of the fluid, **g** is the gravitational acceleration (vector), and P is the pressure at the fluid element.

For small changes in altitude, **g** can be assumed to be constant (A more accurate description for large change in altitude can be found here). Simplifications can also be made for constant density, and reducing the analysis to only the y dimension:

## Examples

For system filled with an isothermal (constant temperature throughout) ideal gas, a relation between pressure altitude can be established using the following method: For ideal gases, the density is given by

Where M is the molar mass, R is the ideal gas constant and T is the temperature (Absolute temperature, in Kelvin or Rankine) of the gas. we can then set up the equation as follows:

Note that we are using the scalar value of gravity (g), so the minus sign is included due to gravity is downwards, in the negative direction of the y-axis. using the method of separation of variables, we can rearrange the equation so

Integrating both sides gives

Where P_{0} is the reference pressure at point y_{0} (often taken at the point which P_{0} is the atmospheric pressure).

Rearranging gives

## References

- ↑ James R. Welty, Charles E. Wicks, Robert E. Wilson, and Gregory L. Rorrer,
*Fundamentals of Momentum, Heat, and Mass Transfer*, 4th Ed. Toronto: John Wiley & Sons Inc, 2001.