The equation of state expresses how the mechanical properties of the rock and the fluid change with state during flow in porous media. During flow, state quantities such as the pressure change continuously, and the rock and fluid involved in the flow are elastic, so their mechanical properties change accordingly; this relation is described by the state equation. The general form for a liquid is
where ρ and ρ0 are the liquid densities at pressures p and p0, respectively, and C is the isothermal compressibility of the liquid. A liquid with C = 0 is an incompressible liquid; for a slightly compressible liquid C ≈ 0, and the simplified form ρ = ρ0[1 + C(p − p0)] can be used.