In this post, we will derive the differential form of the quasi-1D mass conservation equation. We will be starting from the result of the quasi-1D mass conservation derivation that will be discussed in a different post (and will be linked to here when it becomes available). The quasi-1D mass conservation equation can be written as the following.
(1)
Now we need to convert this to differential form. That is, we want this equation in terms of changes in the variables (, , ). There are a few different methods we can use here, and I’ll go through each of them for completeness. I will be using the abbreviations LHS and RHS for left-hand side and right-hand side, respectively.
Method 1
The first method is to take the derivative of the above equation. We need to take the derivative of both the left and right sides of the equation.
(2)
The value is a constant. We need to use the chain rule here for the LHS. Note that the derivative of a constant is zero.
(3)
Now we will divide each term by .
(4)
After canceling the correct values in the terms, we are left with the differential form of the continuity equation.
(5)
Method 2
For this method, we will use natural logarithm differentiation. Start by taking the natural log of both sides of the equation. We can recognize that the natural logarithm of a constant is still a constant.
(6)
From log rules, we can separate out the multiplication of the individual terms on the LHS as additions.
(7)
Finally, we can take the derivative of each term on both sides, and we end up with the same final equation as we got from Method 1.
(8)
Method 3
For this last method, we need to imagine that the properties change by a differential amount as they move from state 1 to state 2 (through the control volume). For each state we have the following.
(9)
(10)
(11)
We can plug these values into the following form of the continuity equation.
(12)
(13)
On the RHS, multiply the first two terms in the parentheses by each other, leaving the third term alone.
(14)
We can cancel the last term in the first parentheses term on the RHS of the equation. This is because it is a product of two infinitesimally small differentials, which will be much smaller than the other terms in the equation. After this cancellation, we can multiply all the terms on the RHS.
(15)
The LHS term and the first term on the RHS cancel each other. The last two terms on the RHS will also drop out of the equation because they are products of two differentials. This leaves us with the following.
(16)
After we divide both sides by , we end up with the same result that we derived in the previous two methods.
(17)