In fluid mechanics, hydrostatic equilibrium, also called hydrostatic balance and hydrostasy, is the condition of a fluid or plastic solid at rest, which occurs when external forces, such as gravity, are balanced by a pressure-gradient force. In the planetary physics of Earth, the pressure-gradient force prevents gravity from collapsing the atmosphere of Earth into a thin, dense shell, whereas gravity prevents the pressure-gradient force from diffusing the atmosphere into outer space. In general, it is what causes objects in space to be spherical. Hydrostatic equilibrium is the distinguishing criterion between dwarf planets and small solar system bodies, and features in astrophysics and planetary geology. Said qualification of equilibrium indicates that the shape of the object is symmetrically rounded, mostly by rotation, into an ellipsoid, where any irregular surface features are consequent to a relatively thin solid crust. In addition to the Sun, there are a dozen or so equilibrium objects confirmed to exist in the Solar System.
Mathematical consideration
For a hydrostatic fluid on Earth: dP=−ρ(P)g(h)dh
Derivation from force summation
Newton's laws of motion state that a volume of a fluid that is not in motion or that is in a state of constant velocity must have zero net force on it. This means the sum of the forces in a given direction must be opposed by an equal sum of forces in the opposite direction. This force balance is called a hydrostatic equilibrium. The fluid can be split into a large number of cuboid volume elements; by considering a single element, the action of the fluid can be derived. There are three forces: the force downwards onto the top of the cuboid from the pressure, P, of the fluid above it is, from the definition of pressure, Ftop=−PtopA Similarly, the force on the volume element from the pressure of the fluid below pushing upwards is Fbottom=PbottomA Finally, the weight of the volume element causes a force downwards. If the density is ρ, the volume is V and g the standard gravity, then: Fweight=−ρgV The volume of this cuboid is equal to the area of the top or bottom, times the height – the formula for finding the volume of a cube. Fweight=−ρgAh By balancing these forces, the total force on the fluid is ∑F=Fbottom+Ftop+Fweight=PbottomA−PtopA−ρgAh This sum equals zero if the fluid's velocity is constant. Dividing by A, 0=Pbottom−Ptop−ρgh Or, Ptop−Pbottom=−ρgh Ptop − Pbottom is a change in pressure, and h is the height of the volume element—a change in the distance above the ground. By saying these changes are infinitesimally small, the equation can be written in differential form. dP=−ρgdh Density changes with pressure, and gravity changes with height, so the equation would be: dP=−ρ(P)g(h)dh
Derivation from Navier–Stokes equations Note finally that this last equation can be derived by solving the three-dimensional Navier–Stokes equations for the equilibrium situation where u=v=∂p∂x=∂p∂y=0 Then the only non-trivial equation is the z-equation, which now reads ∂p∂z+ρg=0 Thus, hydrostatic balance can be regarded as a particularly simple equilibrium solution of the Navier–Stokes equations.
Derivation from general relativity By plugging the energy–momentum tensor for a perfect fluid Tμν=(ρc2+P)uμuν+Pgμν into the Einstein field equations Rμν=8πGc4(Tμν−12gμνT) and using the conservation condition ∇μTμν=0 one can derive the Tolman–Oppenheimer–Volkoff equation for the structure of a static, spherically symmetric relativistic star in isotropic coordinates: dPdr=−GM(r)ρ(r)r2(1+P(r)ρ(r)c2)(1+4πr3P(r)M(r)c2)(1−2GM(r)rc2)−1 In practice, Ρ and ρ are related by an equation of state of the form f(Ρ,ρ) = 0, with f specific to makeup of the star. M(r) is a foliation of spheres weighted by the mass density ρ(r), with the largest sphere having radius r: M(r)=4π∫0rdr′r'2ρ(r′). Per standard procedure in taking the nonrelativistic limit, we let c → ∞, so that the factor (1+P(r)ρ(r)c2)(1+4πr3P(r)M(r)c2)(1−2GM(r)rc2)−1→1 Therefore, in the nonrelativistic limit the Tolman–Oppenheimer–Volkoff equation reduces to Newton's hydrostatic equilibrium: dPdr=−GM(r)ρ(r)r2=−g(r)ρ(r)⟶dP=−ρ(h)g(h)dh (we have made the trivial notation change h = r and have used f(Ρ,ρ) = 0 to express ρ in terms of P). A similar equation can be computed for rotating, axially symmetric stars, which in its gauge independent form reads: ∂iPP+ρ−∂ilnut+utuφ∂iuφut=0 Unlike the TOV equilibrium equation, these are two equations (for instance, if as usual when treating stars, one chooses spherical coordinates as basis coordinates (t,r,θ,φ), the index i runs for the coordinates r and θ).
Applications
Fluids The hydrostatic equilibrium pertains to hydrostatics and the principles of equilibrium of fluids. A hydrostatic balance is a particular balance for weighing substances in water. Hydrostatic balance allows the discovery of their specific gravities. This equilibrium is strictly applicable when an ideal fluid is in steady horizontal laminar flow, and when any fluid is at rest or in vertical motion at constant speed. It can also be a satisfactory approximation when flow speeds are low enough that acceleration is negligible.
… excerpt ends here. Continue reading the full article.


