Fundamentals of inhomogeneous fluids. (2020)