Conservation of Mass

We can think of the mass density to be naturally defined over as where is the world space counterpart of (the ball of radius surrounding an arbitrary ). This is arguably a natural definition since should be a measurable quantity. Conservation of mass can be expressed as

Now, with a change of variables, we have , so Equation (16.1.1) becomes and so since . Then combining Equations (16.1.2), (16.1.3), and (16.1.4), we can express the conservation of mass as This just says that the mass in (as expressed via an integral of the mass density) should not change with time. This set is associated with a subset of the material at time and as it evolves in the flow, the material will take up more or less space, but there will always be the same amount (mass) of material in the set. Since is arbitrary, it must be true that

Remark 16.1.1 (Lagrangian and Eulerian Views). In simulation methods that discretize and track materials directly based on , conservation of mass is inherently satisfied. For instance, in our Finite Element Method (FEM) simulator, is segmented into triangles, with the mass of each triangle remaining constant regardless of deformation throughout the simulation. This approach is known as the Lagrangian method. In contrast, Eulerian methods discretize and evolve physical quantities based on and often need to specially deal with mass conservation.