The work done by a uniform pressure on an expanding boundary is . With internal energy , the first law of thermodynamics for an adiabatically expanding region reads . For a homogeneous cosmological perfect fluid, and give the cosmological continuity equation .
New to topics? Read the docs here!