Pages

Saturday, February 21, 2009

7. Derivation of the Continuity Equation in Cartesian Coordinates

[Previous Article: How Euler Derived the Continuity Equation]
The continuity equation is an expression of a fundamental conservation principle, namely, that of mass conservation. It is a statement that fluid mass is conserved: all fluid particles that flow into any fluid region must flow out. To obtain this equation, we consider a cubical control volume inside a fluid. Mass conservation requires that the the net flow through the control volume is zero. In other words, all fluid that is accumulated inside the control volume (due to compressibility for example) + all fluid that is flowing into the control volume must be equal to the amount of fluid flowing out of the control volume.
Accumulation + Flow In = Flow Out
control-volume-cartesian-continuity
The mass of the control volume at some time t is

The time rate of change of mass in the control volume is

Now we can compute the net flow through the control volume faces. Starting with the x direction, the net flow is

Similarly, the net flow through the y faces is

while that through the z faces is

Upon adding up the resulting net flow and diving by the volume of the fluid element (i.e. dxdydz), we get the continuity equation in Cartesian coordinates

Voila!

6 comments:

  1. this series of article is a great resource

    ReplyDelete
  2. the time derivative term (or the first term) on the last equation as well as the second equation should not have velocity, "u" in it

    ReplyDelete
  3. yes, thank you for finding this typo. Its been corrected.

    ReplyDelete
  4. I do not know why the right side should not be like this:

    ro*u*dy*dz + [ro+(del ro/del x)*dx]*[u+(del u/del x)*dx]*dy*dz

    Can anyone explain this. Thanks

    ReplyDelete
  5. waht is the practical application of above said equation ? please help

    ReplyDelete