Different forms of fluid energy conservation equations

Click For Summary

Homework Help Overview

The discussion revolves around deriving fluid energy conservation equations, specifically focusing on the relationships between pressure, density, and energy in the context of fluid dynamics. The subject area includes thermodynamics and fluid mechanics, particularly concerning adiabatic processes and the behavior of ideal gases.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants explore various equations related to fluid energy conservation, including the conservation of internal energy and the continuity equation. There are attempts to derive specific expressions for pressure and density changes in a fluid, with some participants questioning the assumptions and definitions used in their derivations.

Discussion Status

The discussion is active, with participants sharing their approaches and reasoning. Some have provided insights into the relationships between different equations, while others express uncertainty about how to proceed with their derivations. There is no explicit consensus on the methods to derive the desired equations, but several productive lines of inquiry are being explored.

Contextual Notes

Participants note the complexity of the equations involved and the potential independence of certain expressions. There are references to specific conditions under which the equations apply, such as adiabatic processes, and discussions about the implications of the continuity equation and material derivatives.

happyparticle
Messages
490
Reaction score
24
Homework Statement
Derive the different forms of the continuity equation
Relevant Equations
##\frac{De}{Dt} + (\gamma - 1)e \nabla \cdot \vec{u} = - \frac{1}{\rho} (\vec{u} \cdot \nabla)p
##

##\frac{Dp}{Dt} + \gamma p \nabla\cdot \vec{u} = 0
##

##\frac{D}{Dt} \frac{p}{\rho^{\gamma}} = 0
##

##e = \frac{1}{\gamma -1} \frac{p}{\rho}
##
I asked this question about one year ago, but at that time I didn't really understand what I was doing.

After spending a lot of time in this problem, I still fail to get the asked answer.

Starting with ##\frac{De}{Dt} + (\gamma - 1)e \nabla \cdot \vec{u} = - \frac{1}{\rho} (\vec{u} \cdot \nabla)p## I have to derive the following expressions.

##\frac{Dp}{Dt} + \gamma p \nabla\cdot \vec{u} = 0
##

##\frac{D}{Dt} \frac{p}{\rho^{\gamma}} = 0
##

I don't know what I'm doing wrong or what I'm missing, but I couldn't get those expressions.

Here is what I did.
##\frac{De}{Dt} + (\gamma - 1)e \nabla \cdot \vec{u} = - \frac{1}{\rho} (\vec{u} \cdot \nabla)p
## (1)

## \frac{De}{Dt} = \frac{\partial}{\partial t} (\frac{P}{(\gamma - 1) \rho}) + (\vec{u} \cdot \nabla) (\frac{P}{(\gamma -1) \rho})## (2)

Replacing (2) into (1) and multiplying both side by ##(\gamma - 1) \rho##
## \frac{\partial p}{\partial t} - \frac{p \partial \rho}{\rho \partial t} + \vec{u} \cdot \nabla p - \frac{p}{\rho} \vec{u} \cdot \nabla \rho + (\gamma -1)p \nabla \cdot \vec{u} = - (\gamma -1) \vec{u} \cdot \nabla p##

Then using the definition of the material derivative.
##\frac{Dc}{Dt} = \frac{\partial c}{\partial t} + \vec{u} \cdot \nabla c##

##\frac{Dp}{Dt} - \frac{P}{\rho} \frac{D\rho}{Dt} + (\gamma -1)p \nabla \cdot \vec{u} = - (\gamma -1) \vec{u} \cdot \nabla p ##

So far there are too much terms on the left hand side. For instance, there are two terms with ##\gamma## and in the final answer there is only one.
 
Last edited:
  • Like
Likes   Reactions: jbagley72
Physics news on Phys.org
The continuity equation is <br /> \frac{\partial \rho}{\partial t} + \nabla \cdot (\rho \vec{u}) = 0. This can be rewritten as <br /> \frac{D\rho}{Dt} + \rho \nabla \cdot \vec{u} = 0. Your first relevant equation for De/Dt is the conservation of internal energy, which is an independent result.

From <br /> (\gamma -1 )e\rho = p you can take the material derivative of both sides and use the product rule on the left to get an expression for Dp/Dt in terms of De/Dt and D\rho/Dt, both of which you already know. Then you can use the quotient rule on <br /> \frac{D}{Dt}\left(\frac{p}{\rho^\gamma}\right).
 
Last edited:
  • Like
Likes   Reactions: jbagley72 and happyparticle
happyparticle said:
##\frac{Dp}{Dt} + \gamma p \nabla\cdot \vec{u} = 0
##
This equation is the expression for adiabatic reversible expansion or compression of an ideal gas.
happyparticle said:
##\frac{D}{Dt} \frac{p}{\rho^{\gamma}} = 0
##
This can be derived from the previous equation using the continuity equation.
 
I don't know where to begin to get this equation ##
\frac{Dp}{Dt} + \gamma p \nabla\cdot \vec{u} = 0
##

I thought I had to start from the conservation of internal energy.
 
The last equation is derived by the ideal gas relationship:$$e=C_VT= C_V\frac{pv}{R}$$where v is the molar density ##v=1/\rho## and e is the internal energy per mole. So, $$e=\frac{C_Vp}{\rho R}=\frac{p}{\rho}\frac{1}{\gamma-1}$$

The first equation derives from the adiabatic thermal energy balance equation $$\frac{\partial \rho e}{\partial t}+\nabla\centerdot (\rho \vec{u}e)=-p\nabla \centerdot \vec{u}$$
 
Last edited:
  • Like
Likes   Reactions: jbagley72
I knew how to get those equations. Here I have to get the second equation, but I don't know where to begin.


As I said, I thought I had to start from the conservation of internal energy.
 
happyparticle said:
I knew how to get those equations. Here I have to get the second equation, but I don't know where to begin.


As I said, I thought I had to start from the conservation of internal energy.
The final equation in my post is the energy conservation equation.
 
Chestermiller said:
The final equation in my post is the energy conservation equation.
Exactly, @pasmith wrote it. However I thought I could get ##
\frac{Dp}{Dt} + \gamma p \nabla\cdot \vec{u} = 0
## from it.

In my first post I started with the energy conservation equation to get the expression above. However, I think they are independent. Basically, I'm trying to understand how to get ##\frac{Dp}{Dt} + \gamma p \nabla\cdot \vec{u} = 0##, then as you said, I can derive ##
\frac{D}{Dt} \frac{p}{\rho^{\gamma}} = 0
## from it.

I think I understand...
The term ##\nabla P## is 0 for the energy conservation equation and then from there I can get what I'm looking for. Am I correct?
 
Last edited:
happyparticle said:
Exactly, @pasmith wrote it. However I thought I could get ##
\frac{Dp}{Dt} + \gamma p \nabla\cdot \vec{u} = 0
## from it.

In my first post I started with the energy conservation equation to get the expression above. However, I think they are independent. Basically, I'm trying to understand how to get ##\frac{Dp}{Dt} + \gamma p \nabla\cdot \vec{u} = 0##, then as you said, I can derive ##
\frac{D}{Dt} \frac{p}{\rho^{\gamma}} = 0
## from it.

I think I understand...
The term ##\nabla P## is 0 for the energy conservation equation and then from there I can get what I'm looking for. Am I correct?
No.
So you accept my two equations?
$$e=\frac{C_Vp}{\rho R}=\frac{p}{\rho}\frac{1}{\gamma-1}\tag{1}$$
and$$\frac{\partial \rho e}{\partial t}+\nabla\centerdot (\rho \vec{u}e)=-p\nabla \centerdot \vec{u}\tag{2}$$If I substitute Eqn. 1 into Eqn.2, I get $$\frac{1}{\gamma-1}\left[\frac{\partial p}{\partial t}+\nabla\centerdot (p \vec{u})\right]=-p\nabla \centerdot \vec{u}\tag{3}$$OK so far?
 
  • Like
Likes   Reactions: happyparticle
  • #10
Ah yeah I see. I don't understand why it takes me so long to understand.

Thank you!
 
  • #11
happyparticle said:
Ah yeah I see. I don't understand why it takes me so long to understand.

Thank you!
So we don’t need to show the rest, right?
 
  • #12
Chestermiller said:
So we don’t need to show the rest, right?
No, I'm fine. Thank you.
 
  • #13
I don't know if it's too late, but I realized something.

To get ##
\frac{De}{Dt} + (\gamma - 1)e \nabla \cdot \vec{u} = - \frac{1}{\rho} (\vec{u} \cdot \nabla)p
##

I have to use the adiabatic thermal energy balance equation. ##
\frac{\partial \rho e}{\partial t}+\nabla\centerdot (\rho \vec{u}e)=-\nabla(p \vec{u})
##

However, I have to use what you wrote. ##
\frac{\partial \rho e}{\partial t}+\nabla\centerdot (\rho \vec{u}e)=-p\nabla \centerdot \vec{u}\tag{2}
## To get ##
\frac{Dp}{Dt} + \gamma p \nabla\cdot \vec{u} = 0
##

Knowing that ##\nabla(p \vec{u}) = p \nabla \cdot \vec{u} + \vec{u} \cdot \nabla p##. It looks like the last term is 0. Why?
 
  • #14
happyparticle said:
I don't know if it's too late, but I realized something.

To get ##
\frac{De}{Dt} + (\gamma - 1)e \nabla \cdot \vec{u} = - \frac{1}{\rho} (\vec{u} \cdot \nabla)p
##
Your starting equation is not correct if e is the internal energy per unit mass. The right hand side should be ##-p\nabla \centerdot \vec{u}##. Your first equation does not include the kinetic energy terms. If you include the KE terms, e needs to be replaced by ##e+\frac{1}{2}u^2##, and you need to subtract the velocity vector dotted with the equation of motion.
 
Last edited:
  • #15
Yet starting from ##
\frac{\partial \rho e}{\partial t}+\nabla\centerdot (\rho \vec{u}e)=-\nabla(p \vec{u})
##

=> ##e[\frac{\partial \rho}{\partial t} + \nabla \cdot (\rho \vec{u})] + \rho [ \frac{\partial e}{\partial t} + (\vec{u} \cdot \nabla) e] = -p \nabla \cdot \vec{u} - (\vec{u} \cdot \nabla)p##

The first term on the left hand side is the continuity equation and thus equal to 0.

Thus, using the material derivative I get the expression ##
\frac{De}{Dt} + (\gamma - 1)e \nabla \cdot \vec{u} = - \frac{1}{\rho} (\vec{u} \cdot \nabla)p
##

It looks fine to me. However, I couldn't get ##
\frac{Dp}{Dt} + \gamma p \nabla\cdot \vec{u} = 0
##
 
  • #16
happyparticle said:
Yet starting from ##
\frac{\partial \rho e}{\partial t}+\nabla\centerdot (\rho \vec{u}e)=-\nabla(p \vec{u})
##

=> ##e[\frac{\partial \rho}{\partial t} + \nabla \cdot (\rho \vec{u})] + \rho [ \frac{\partial e}{\partial t} + (\vec{u} \cdot \nabla) e] = -p \nabla \cdot \vec{u} - (\vec{u} \cdot \nabla)p##

The first term on the left hand side is the continuity equation and thus equal to 0.

Thus, using the material derivative I get the expression ##
\frac{De}{Dt} + (\gamma - 1)e \nabla \cdot \vec{u} = - \frac{1}{\rho} (\vec{u} \cdot \nabla)p
##

It looks fine to me. However, I couldn't get ##
\frac{Dp}{Dt} + \gamma p \nabla\cdot \vec{u} = 0
##
The correct equation is
$$\frac{\partial \rho (e+\hat{k})}{\partial t}+\nabla\centerdot (\rho \vec{u}(e+\hat{k}))=-\nabla(p \vec{u})$$
where ##\hat{k}## is the kinetic energy per unit mass: $$\hat{k}=\frac{1}{2}|u|^2$$
In addition, the dot product of the velocity vector with the equation of motion gives the Bernoulli Eqn. $$\rho\frac{D\hat{k}}{Dt}=-\vec{u} \centerdot \nabla p$$
 
  • #17
In the notes I'm following ##\vec{k}## is not taking into account.

Also, With out without ##\vec{k}##, I don't see how to get ##
\frac{Dp}{Dt} + \gamma p \nabla\cdot \vec{u} = 0##
 
  • #18
happyparticle said:
In the notes I'm following ##\vec{k}## is not taking into account.

Also, With out without ##\vec{k}##, I don't see how to get ##
\frac{Dp}{Dt} + \gamma p \nabla\cdot \vec{u} = 0##
See Transport Phenomena by Bird et al, Chapter 11, large 2-psge-centerfold Table.
 
Last edited:
  • #19
There are some equations of energy without ##\vec{k}##. Pretty similar that what I'm using. As I said, I can't find a way to get neither of these equations. The whole chapter doesn't mention ##\vec{k}## ##
\frac{De}{Dt} + (\gamma - 1)e \nabla \cdot \vec{u} = - \frac{1}{\rho} (\vec{u} \cdot \nabla)p
## or ##
\frac{Dp}{Dt} + \gamma p \nabla\cdot \vec{u} = 0
##

For instance, without ##\vec{k}## I can get ##
\frac{De}{Dt} + (\gamma - 1)e \nabla \cdot \vec{u} = - \frac{1}{\rho} (\vec{u} \cdot \nabla)p
## which is something I had to do.

Perhaps I don't express myself well.
 
  • #20
k is the kinetic energy per unit mass. See Eqns. P, Q, and R of BSL Table 11.4.1. Eqn. R is the result of subtracting Eqn. Q from Eqn. P (neglecting viscous stresses and gravitational terms). Note that Eqn. R differs from your energy balance equation, but is of the right form to get your desired results.
 
Last edited:
  • #21
I'm so confuse. How do you get ##
\frac{\partial \rho e}{\partial t}+\nabla\centerdot (\rho \vec{u}e)=-p\nabla \centerdot \vec{u}\tag{2}
##

The term ## \nabla (-p \vec{u})## in ##
\frac{\partial \rho e}{\partial t}+\nabla\centerdot (\rho \vec{u}e)=-\nabla(p \vec{u})


## come from ##\frac{\Delta W}{ \Delta t}## which is the work against the pressure.

## \frac{\Delta W}{ \Delta t} = \int (-p \hat{n}) \cdot \vec{u} ds##
 
Last edited:
  • #22
Chestermiller said:
k is the kinetic energy per unit mass. See Eqns. P, Q, and R of BSL Table 11.4.1. Eqn. R is the result of subtracting Eqn. Q from Eqn. P (neglecting viscous stresses and gravitational terms). Note that Eqn. R differs from your energy balance equation, but is of the right form to get your desired results.
Do you agree with equations P and Q?
 
  • #23
Chestermiller said:
Do you agree with equations P and Q?
Yes, if the energy is ##\vec{K} + \vec{U}##
 
  • #24
happyparticle said:
Yes, if the energy is ##\vec{K} + \vec{U}##
Aside from potential energy, that is what it is.
 
  • #25
Why exactly in this case ##e## needs to be replaced by ##
e+\frac{1}{2}u^2
##?
That is what I don't understand.

My initial question was how to get ##
\frac{Dp}{Dt} + \gamma p \nabla\cdot \vec{u} = 0
##

Also, I have a similar issue using the Eqn. R. Since Two terms on the right hand side must be 0 to have ##
\frac{\partial \rho e}{\partial t}+\nabla\centerdot (\rho \vec{u}e)=-p\nabla \centerdot \vec{u}\tag{2}


##. Similar to my equation. However, I'm not sure to understand the notation used in the book. At the end of the day, it seems like ##- (\nabla \cdot q) - (\tau; \nabla v) = \vec{u} \cdot \nabla p = 0##
 
Last edited:
  • #26
happyparticle said:
Why exactly in this case ##e## needs to be replaced by ##
e+\frac{1}{2}u^2
##?
That is what I don't understand.
The total energy of the fluid particles is the sum of internal energy, kinetic energy.
happyparticle said:
My initial question was how to get ##
\frac{Dp}{Dt} + \gamma p \nabla\cdot \vec{u} = 0
##

Also, I have a similar issue using the Eqn. R. Since Two terms on the right hand side must be 0 to have ##
\frac{\partial \rho e}{\partial t}+\nabla\centerdot (\rho \vec{u}e)=-p\nabla \centerdot \vec{u}\tag{2}


##. Similar to my equation. However, I'm not sure to understand the notation used in the book. At the end of the day, it seems like ##- (\nabla \cdot q) - (\tau; \nabla v) = \vec{u} \cdot \nabla p = 0##
The flow is assumed adiabatic, so q = 0. The flow is also assumed inviscid, so the term involving tau is zero. ##\vec{u} \cdot \nabla p## is not assumed to be zero. That term cancels when equations P and Q are combined.
 
  • #27
I see. So basically, my energy balance equation was wrong all along or it was just correct to get ##
\frac{De}{Dt} + (\gamma - 1)e \nabla \cdot \vec{u} = - \frac{1}{\rho} (\vec{u} \cdot \nabla)p
## ?
 
  • #28
happyparticle said:
I see. So basically, my energy balance equation was wrong all along

Yes
 
  • #29
All right.

One more quick question.

To get ##
\frac{D}{Dt} \frac{p}{\rho^{\gamma}} = 0
##

Is it correct to start from ##
\frac{1}{\gamma p} \frac{Dp}{Dt} + \nabla\cdot \vec{u} =
\frac{1}{\rho}[ \frac{\partial \rho}{\partial t} + \nabla \cdot (\rho \vec{u})]
##

Since ##
\frac{Dp}{Dt} + \gamma p \nabla\cdot \vec{u} = 0
##

##
\frac{\partial \rho}{\partial t} + \nabla \cdot (\rho \vec{u}) = 0.


##
 
  • #30
happyparticle said:
All right.

One more quick question.

To get ##
\frac{D}{Dt} \frac{p}{\rho^{\gamma}} = 0
##

Is it correct to start from ##
\frac{1}{\gamma p} \frac{Dp}{Dt} + \nabla\cdot \vec{u} =
\frac{1}{\rho}[ \frac{\partial \rho}{\partial t} + \nabla \cdot (\rho \vec{u})]
##

Since ##
\frac{Dp}{Dt} + \gamma p \nabla\cdot \vec{u} = 0
##

##
\frac{\partial \rho}{\partial t} + \nabla \cdot (\rho \vec{u}) = 0.


##
The starting point has to be the energy equation and the mass balance equation, also known as continuity equation.
 

Similar threads

Replies
5
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
7
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 26 ·
Replies
26
Views
3K
Replies
3
Views
2K
Replies
8
Views
2K