Thermo - PV work and mechanical work

In summary, Chet explains that work is the area under a p-v diagram curve, not the force exerted on a system. Work is also path dependent and depends on the process being done.
  • #36
I would like to start by the isothermal. If we can calculate the total energy too it would be better!
 
Last edited:
Physics news on Phys.org
  • #37
LoopInt said:
I would like to start by the isothermal.
Isothermal

In the isothermal case, we are going to express the work specifically for the isothermal case, we are going to determine the heat added Q, and we are going to look at the change in entropy of the gas.

When we compress the gas irreversibly like in our problem, the temperature and pressure of the gas within the cylinder are both going t be non-uniform, except in the initial and final equilibrium states. So during the deformation we can't use the ideal gas law, but at the beginning and end we can. We will make use of this.

During the deformation, the gas being compressed irreversibly in the cylinder is going to get hotter than in the initial state. In order to guarantee that the process is considered "isothermal," we are going to need to make sure that the final temperature T2 is equal to the initial temperature T1. This is what the term "isothermal" means for an irreversible process. We can guarantee that this condition is met by holding all or part of the inside surface of the cylinder at T1. It is not necessary to hold the entire surface at T1, and the remaining part of the surface can be insulated. But, in the part where the temperature is T1, all the heat removal -Q will take place through the portion of the surface held at T1. For our purposes, we can assume that the base of the cylinder is held at T1, and the remainder of the cylinder, as well as the piston, are insulated.

Previously, we showed that the work done by the gas on the surroundings (i.e., the two masses) is given by:
[tex]W=\int_{V_1}^{V_2}{PdV}=\frac{(m+M)g}{A}(V_2-V_1)[/tex]
We also showed that:

P1=mg/A

P2=(m+M)g/A

and

P2/P1=(m+M)/m

Please use these these relationships in conjunction with the ideal gas law to express W exclusively in terms of T1, R, n (the number of moles), m, and M.

Chet
 
  • #38
Ok. First off, I have one question. It doesn`t matter if the system increases or decreases temperature in the middle, as far as Tinicial=Tfinal?

Now to the problem.

(m+M)g/A (V2-V1)

At the initial state volume is V1 and we can use ideal gas law, because the system is at equilibrium. So,

V1=nRT/P1 and V2=nRT/P2, since the system is in equilibrium at the final stage. T1=T2=T

nRT(1/P1-1/P2) --> nRT( (P2-P1)/P1P2) ) --> nRT( A/gm - A/mg(m+M)) --> AnRT(1/mg-1/mg(m+M)) = (V2-V1)

W = (m+M)nRT(1/m-1/m(m+M)) --> W = nRT((m+M)-1)/m
 
  • #39
LoopInt said:
Ok. First off, I have one question. It doesn`t matter if the system increases or decreases temperature in the middle, as far as Tinicial=Tfinal?
Yes. Apparently, in this problem, because of the constraints imposed by the weights of the masses in determining the amount of work done, the details of the path between the initial and final states is not as important as in other problems. After all, we really haven't made any assumptions in deriving our equation for the amount of work. Our equation tells us that the only parameters really involved in determining the amount of work are the initial and final volumes, and the final pressure.
Now to the problem.

(m+M)g/A (V2-V1)

At the initial state volume is V1 and we can use ideal gas law, because the system is at equilibrium. So,

V1=nRT/P1 and V2=nRT/P2, since the system is in equilibrium at the final stage. T1=T2=T

nRT(1/P1-1/P2) --> nRT( (P2-P1)/P1P2) ) --> nRT( A/gm - A/mg(m+M)) --> AnRT(1/mg-1/mg(m+M)) = (V2-V1)

W = (m+M)nRT(1/m-1/m(m+M)) --> W = nRT((m+M)-1)/m

Excellent. This is what I got, except I had a minus sign, and, I combined terms further to obtain W = -nRT1M/m.
Now, the next step is to use the first law (we haven't even used it yet) to determine the amount of heat added to the system (gas) from the surroundings Q, and the change in internal energy of the system. What is your assessment of this?

We are also going to show that the Clausius inequality is satisfied by our system. According to the Clausius inequality, ΔS≥Q/TI, where TI is the temperature at the interface with the surroundings (in our problem T1) over the portion of the interfacial area that the heat Q passes. So, first of all, what do you get for Q/TI? Secondly, have you learned the equation for the change in entropy of an ideal gas from an initial equilibrium state to a final equilibrium state in terms of T2/T1 and V2/V1? If so, please write it out, and apply it to our specific problem. Then, from these two results, please determine whether the Clausius inequality is satisfied by our irreversible process.

This will complete the analysis of the isothermal case. We can then start on the more interesting adiabatic case, if you still have the energy. In my judgement, you're been doing extremely well so far, and have been covering a lot of interesting material as well as gaining valuable experience.

Chet
 
  • #40
Why the minus sign? The work done by the system shouldn't be positive? (convention)
Well, I don't know much of the first law. What I know is that dE = dQ - dW.
So I will guess that, since E is the total energy of the system, we can ignore some terms of E. The kinetic energy of the system at initial and final states are 0, because the system is in equilibrium. So only the internal energy is significant for our system. So,
U2-U1 = Q - W
Now I guess we should evaluate U2 U1 somehow or calculate Q=mc(T2-T1).

I know S is entropy, and that's all hehe.

Can you guide me through?

And I sure want to continue our adventure hehe. Thank's for this great help!
 
  • #41
LoopInt said:
Why the minus sign?
In #38, you made a small algebra error. The factor should have been V2-V1, not V1-V2.
Well, I don't know much of the first law. What I know is that dE = dQ - dW.
So I will guess that, since E is the total energy of the system, we can ignore some terms of E. The kinetic energy of the system at initial and final states are 0, because the system is in equilibrium. So only the internal energy is significant for our system. So,
U2-U1 = Q - W
Nice analysis.
Now I guess we should evaluate U2 U1 somehow or calculate Q=mc(T2-T1).
For an ideal gas, the internal energy is a function only of temperature. Since we are looking at the isothermal case, U2-U1=0. So

Q = W = -nRT1M/m

Basically, when we compress the gas isothermally, we have to remove heat.

I know S is entropy, and that's all hehe.

Can you guide me through?
To get the change in entropy, you need to first identify a reversible path between the initial and final states, and then you need to calculate ∫dQ/T for that path. Fortunately, we've already done that when we analyzed the problem for the case where we lower the weight gradually (which constitutes a reversible path). In that case you determined that:

[tex]W=nRT_1\ln (\frac{L}{L-d})=nRT_1\ln (V_1/V_21)=-nRT_1\ln \left(1+\frac{M}{m}\right)[/tex]
So, for the change in entropy, we have

[tex]ΔS=-nR\ln \left(1+\frac{M}{m}\right)[/tex]

and for the irreversible path we have:

Q/T = -nR(M/m)

These results clearly satisfy Cauchy's inequality that ΔS ≥ Q/T

Gotta leave not, but I'll be back later to get us started on the adiabatic case.

Chet
 
  • #42
Adiabatic Irreversible Compression Case

In the adiabatic compression case, the work done on the gas is going to cause its temperature to rise. We don't know the final temperature yet, and we will have to use the first law to calculate it. Let T2 represent the final temperature of the gas. From our previous analysis, we have equations for P1 and P2, and we can use the ideal gas law for the initial and final states. We also have a general equation for the work that we can apply to this case. Please use these equations to express the work W in terms of n, R, T1, T2, M, and m. After we have this relationship, we can apply the first law to get T2.

Chet
 
  • #43
Ok. Let's check some concepts first.

To calculate the entropy I need an expression of Q. To determine how Q changes we looked at the work that we calculated, because

U2-U1=Q-W

We know U2-U1 for the isothermal case, so we know that Q=W

Now at the integration we have

\int dQ/T

We know T is constant so its
1/T \int dQ = Q/T = W/T

Ok, now I don't understand why can we do the same for the irreversible path, since we need to calculate the work from a reversible path.

Now to express the work

I found that

W=(T2m-T1(m+M))nR

And since Q=0 in the adiabatic case

U2-U1=-W

If I knew how the internal energy is calculated for a perfect gas I would continue substituting for U2 and U1.
 
  • #44
LoopInt said:
Ok. Let's check some concepts first.

To calculate the entropy I need an expression of Q. To determine how Q changes we looked at the work that we calculated

Not exactly. As I said in post #41, in order to calculate the change in entropy, you need to first dream up a reversible path between the same initial and final states as for your irreversible path. You calculate ΔS=∫dQ/T for that reversible path.

U2-U1=Q-W

We know U2-U1 for the isothermal case, so we know that Q=W

Now at the integration we have

\int dQ/T

We know T is constant so its
1/T \int dQ = Q/T = W/T

Ok, now I don't understand why can we do the same for the irreversible path, since we need to calculate the work from a reversible path.

In general, if the reversible path is not isothermal, we don't calculate the entropy from the work, but we always calculate if from ∫dQ/T for the reversible path.

Now Back to the Adiabatic Irreversible Case.
Now to express the work

I found that

W=(T2m-T1(m+M))nR
Try the algebra again. I get W=(T2-T1(m+M)/m)nR
And since Q=0 in the adiabatic case

U2-U1=-W

If I knew how the internal energy is calculated for a perfect gas I would continue substituting for U2 and U1.
For an ideal gas, the internal energy is a function only of temperature. Assuming that the molar heat capacity at constant volume Cv is constant between temperatures T1 and T2, the change in internal energy is given by:

U2-U1=nCv(T2-T1).

You now have what you need to calculate T2. Please solve for T2, and then we can continue.

Chet
 
  • #45
Yea I left one m behind.

So we have
U2-U1=-W
U2-U1=Cv(T2-T1)

So, sunstituting the terms and solving for T2, I got

T2= (nR(m+M)-Cvm)T1/(m(nR-Cv))
 
  • #46
LoopInt said:
Yea I left one m behind.

So we have
U2-U1=-W
U2-U1=Cv(T2-T1)

So, sunstituting the terms and solving for T2, I got

T2= (nR(m+M)-Cvm)T1/(m(nR-Cv))
You made a couple of algebra errors. You left out a factor of n in your equation for the change in internal energy, and you forgot to change the sign on the W term to get -W. Also, the n's should cancel out.

Please try again.

Chet
 
  • #47
Sorry, my head is somewhere else.

T2=(((m+M)R+Cvm)T1)/(mR+Cvm)
 
  • #48
LoopInt said:
Sorry, my head is somewhere else.

T2=(((m+M)R+Cvm)T1)/(mR+Cvm)
That's a lot of parenthesis. I took your result and expressed it in a little different way:
[tex]\frac{T_2}{T_1}=1+\frac{R}{(C_v+R)}\frac{M}{m}[/tex]
In adiabatic compression and expansion problems, a parameter which occurs very often is γ, the ratio of the heat capacity at constant pressure to the heat capacity at constant volume:
[tex]γ=\frac{C_p}{C_v}=\frac{C_v+R}{C_v}[/tex]
where we have made use here of the condition that, for an ideal gas, [itex]C_p=C_v+R[/itex]
See if you can use this to express T2/T1 exclusively in terms of γ and M/m.

Then we'll go on to determining the change in entropy, and comparing it with ∫dQ/T for our irreversible adiabatic compression process.

Chet
 
Last edited:
  • #49
Sorry I took so long,

[tex]\frac{T_2}{T_1}=\frac{(y-1)M}{ym}[/tex]

And I need to ask you something. I am trying to understand how viscoelastic materials behave. I'm getting hysteresis on my system and I think that it is mainly due to the latex rubber I'm using. I'm trying to model the dissipated energy of the latex due to streching. Can you suggest a way I can do that? Or the theory I can use?
 
  • #50
LoopInt said:
Sorry I took so long,

[tex]\frac{T_2}{T_1}=\frac{(y-1)M}{ym}[/tex]
Almost. You left out the 1
And I need to ask you something. I am trying to understand how viscoelastic materials behave. I'm getting hysteresis on my system and I think that it is mainly due to the latex rubber I'm using. I'm trying to model the dissipated energy of the latex due to streching. Can you suggest a way I can do that? Or the theory I can use?
You are getting into a complicated area. Is it large deformation or small deformation? That is, is it small deformation like in dynamic mechanical analysis? Also, regarding hysteresis, if you do the deformation very slowly, or just deform to a new equilibrium state (i.e., wait until the system equilibrates), is the hysteresis still present?

Chet
 
  • #51
Hello,
If I am not wrong the issue is why displacement work is an inexact differential whereas mechanical work is not always denoted as an exact differential?:biggrin:

Short answer: W=∫Fdx is the generalized equation for mechanical work ,where,

It's most appropriate to write W=∫δw and NOT ∫dw as work is a path dependent process.
So, writing W=∫dw or dw=Fdx is a serious malpractice.

Explanation: You need to specify the properties pressure and volume for a series of quasi static or equilibrium states to specify the path upon which work can be calculated. As work is defined as the area under the curve between the properties P and V in a displacement process one needs to add up all the elemental work for each equilibrium states to get total work done.As there can be more than one quasi static paths possible between two end states of a thermodynamic process different work transfers are possible.Thus work is essentially a path dependent process.

Even when considering mechanical extension or compression of a spring you need intermediate equilibrium positions to be achieved after each oscillation restores to a new equilibrium position.Thus to obtain work using integration we need a series of equilibrium states to specify the path upon which work is to be calculated hence work is practically always an inexact differential.

So it's always appropriate to write δw=Fdx or δw=PdV as it demands the application of mathematical integration to obtain total work.

Hope this helps
Best regards
 
  • #52
Soumalya said:
Hello,
If I am not wrong the issue is why displacement work is an inexact differential whereas mechanical work is not always denoted as an exact differential?:biggrin:

Short answer: W=∫Fdx is the generalized equation for mechanical work ,where,

It's most appropriate to write W=∫δw and NOT ∫dw as work is a path dependent process.
So, writing W=∫dw or dw=Fdx is a serious malpractice.

Explanation: You need to specify the properties pressure and volume for a series of quasi static or equilibrium states to specify the path upon which work can be calculated. As work is defined as the area under the curve between the properties P and V in a displacement process one needs to add up all the elemental work for each equilibrium states to get total work done.As there can be more than one quasi static paths possible between two end states of a thermodynamic process different work transfers are possible.Thus work is essentially a path dependent process.

Even when considering mechanical extension or compression of a spring you need intermediate equilibrium positions to be achieved after each oscillation restores to a new equilibrium position.Thus to obtain work using integration we need a series of equilibrium states to specify the path upon which work is to be calculated hence work is practically always an inexact differential.

So it's always appropriate to write δw=Fdx or δw=PdV as it demands the application of mathematical integration to obtain total work.

Hope this helps
Best regards
For an irreversible process, you can't assume that the work can be obtained by integrating over a quasistatic sequence of equilibrium states. This is only correct to do for a reversible process.

Chet
 
  • #53
Hi!

I've read part of the discussion, and I'd have a related question.
I believe you can always (?) choose the environment so that its changes occur reversibly. Why is this i.e. why can you choose it that way?
 
  • #54
ffia said:
Hi!

I've read part of the discussion, and I'd have a related question.
I believe you can always (?) choose the environment so that its changes occur reversibly. Why is this i.e. why can you choose it that way?
I don't quite understand this question. Are you saying that you can always find a reversible path between the initial and final equilibrium states of a (closed) system? Or, are you saying that, even for an irreversible path between the initial and final equilibrium states of a closed system, you can always somehow view the irreversible path from some perspective as being a reversible path?

Have you read my Physics Forums blog?

Chet
 
  • #55
Chestermiller said:
I don't quite understand this question. Are you saying that you can always find a reversible path between the initial and final equilibrium states of a (closed) system? Or, are you saying that, even for an irreversible path between the initial and final equilibrium states of a closed system, you can always somehow view the irreversible path from some perspective as being a reversible path?

Have you read my Physics Forums blog?

Chet
Thanks for the fast reply!
I'm actually looking at your blog right now.
And sorry. But I feel like I can't be more specific with the question before I understand the answer.
But I'll try, this is something I read from a book by Reiss. Reiss uses the wording "the environment (surroundings, outside the system in which there might occur an irreversible change) has been chosen to always behave reversibly". He refers to one of his chapters for a proof of this, but in that chapter I only find an example of a single process, hardly a proof.

Now that I think of it, I am not sure whether the statement requires for the system to be closed or not (the system is of course not isolated). But in the situations in which this is supposed to apply, this is supposed to help the examination of the system, if we know anything about the surroundings. For if the changes in the surroundings are reversible, then it is supposed to have well-defined quantities, and I can always define the entropy change, work/heat change, related to the possibly irreversible changes of the system.

I would appreciate any clarification:
-is that statement true (surroundings behave reversibly), and when?
-if so, how can you motivate/prove that it's true

EDIT: The idea of a reversible behaviour of the surroundings sounds like a very general concept, as he uses this, for example, to show that the work done reversibly is always greater than work done irreversibly (for the same change in a system)
[Here, he assumes an irreversible change in a system. For this change, there is a corresponding change in heat, [itex]Dq[/itex] (he uses D for not necessarily reversible changes). Here he states that as the surroundings behave reversibly, [itex]Dq = dq_{surr} = TdS_{surr}[/itex]. From here he goes onto writing the entropy change for system + surroundings, and so on..]
 
Last edited:
  • #56
ffia said:
Thanks for the fast reply!
I'm actually looking at your blog right now.
And sorry. But I feel like I can't be more specific with the question before I understand the answer.
But I'll try, this is something I read from a book by Reiss. Reiss uses the wording "the environment (surroundings, outside the system in which there might occur an irreversible change) has been chosen to always behave reversibly". He refers to one of his chapters for a proof of this, but in that chapter I only find an example of a single process, hardly a proof.

Now that I think of it, I am not sure whether the statement requires for the system to be closed or not (the system is of course not isolated). But in the situations in which this is supposed to apply, this is supposed to help the examination of the system, if we know anything about the surroundings. For if the changes in the surroundings are reversible, then it is supposed to have well-defined quantities, and I can always define the entropy change, work/heat change, related to the possibly irreversible changes of the system.

I would appreciate any clarification:
-is that statement true (surroundings behave reversibly), and when?
-if so, how can you motivate/prove that it's true

EDIT: The idea of a reversible behaviour of the surroundings sounds like a very general concept, as he uses this, for example, to show that the work done reversibly is always greater than work done irreversibly (for the same change in a system)
[Here, he assumes an irreversible change in a system. For this change, there is a corresponding change in heat, [itex]Dq[/itex] (he uses D for not necessarily reversible changes). Here he states that as the surroundings behave reversibly, [itex]Dq = dq_{surr} = TdS_{surr}[/itex]. From here he goes onto writing the entropy change for system + surroundings, and so on..]
I'm not familiar with Reiss' book, so I can't comment intelligently. I'm going to try to articulate what you are saying to see if I understand correctly.

He is saying that, even if a (closed) system experiences an irreversible process, it is possible to identify one or more reversible paths for the surroundings that imposes the exact same irreversible path on the system. Correct?

Chet
 
  • #57
Chestermiller said:
I'm not familiar with Reiss' book, so I can't comment intelligently. I'm going to try to articulate what you are saying to see if I understand correctly.

He is saying that, even if a (closed) system experiences an irreversible process, it is possible to identify one or more reversible paths for the surroundings that imposes the exact same irreversible path on the system. Correct?

Chet

Yes! Or, rather (the bolded part) irreversible change (I think). Actually quite like you suggested earlier, I think Reiss says that between any two points on the state space one can find the reversible path between them.
The most counterintuitive part is that we would be able to always "find" that path from the surroundings.
[Now that I think of it it's actually kind of funny that we always "end up" on a point in the state space even with an irreversible change. I guess that's because of the "static" nature of thermodynamics - in the end of a process we are at some kind of equilibrium].
 
  • #58
Chestermiller said:
For an irreversible process, you can't assume that the work can be obtained by integrating over a quasistatic sequence of equilibrium states. This is only correct to do for a reversible process.

Chet

Hi friend,
You are correct!But I already mentioned about the reversible path when I say quasi static process nevertheless I was speaking solely about reversible work.All quasi static processes are reversible.

For an irreversible process we cannot use integration.
 
  • #59
Soumalya said:
Hi friend,
You are correct!But I already mentioned about the reversible path when I say quasi static process nevertheless I was speaking solely about reversible work.All quasi static processes are reversible.

For an irreversible process we cannot use integration.
All quasi static processes are not reversible, because you can still have irreversible heat transfer (involving temperature gradients) occurring within the system. Just consider the transient heating of a solid by conduction. The solid is not deforming, so the process is quasi static, but it definitely is not reversible.

Chet
 
  • #60
Chestermiller: So, do you know whether the statement holds?
And moreover, why does/doesn't it?
["He is saying that, even if a (closed) system experiences an irreversible process, it is possible to identify one or more reversible paths for the surroundings that imposes the exact same irreversible path on the system."]
 
  • #61
ffia said:
Chestermiller: So, do you know whether the statement holds?
And moreover, why does/doesn't it?
["He is saying that, even if a (closed) system experiences an irreversible process, it is possible to identify one or more reversible paths for the surroundings that imposes the exact same irreversible path on the system."]
No, I really don't know. I've never thought much about the path that the surroundings experiences. In my judgement, the focus should always be on the system. And, to get the entropy change of the system, I think we can always dream up a reversible path to get the entropy change. I guess I've never had much motivation for looking at the process experienced by the surroundings.

Maybe you can pick a specific example of an irreversible path for the system, and we can see whether we can dream up a reversible path for the surroundings that puts the system through the exact same irreversible path.

Chet
 
  • #62
Chestermiller said:
No, I really don't know. I've never thought much about the path that the surroundings experiences. In my judgement, the focus should always be on the system. And, to get the entropy change of the system, I think we can always dream up a reversible path to get the entropy change. I guess I've never had much motivation for looking at the process experienced by the surroundings.

Maybe you can pick a specific example of an irreversible path for the system, and we can see whether we can dream up a reversible path for the surroundings that puts the system through the exact same irreversible path.

Chet

I also have a difficult time believing that this should always be the case.

But perhaps this should be viewed as just a "trick"/approximation to "at least be able to calculate something". [For example, I'm pretty sure my lecturer thinks that this is an "ok approach", and I just feel cognitive pain trying to understand/motivate it to myself.]

I believe there tries to be a philosophy like this:
If the system undergoes an irreversible change, some of its thermodynamical variables are not well-defined, right?
However, in the process the energy of the system changes, and work and heat are transferred between the system and its surroundings. And what leaves the system, enters its surroundings.
Now if the environment is big, one can approximate that its thermodynamic variables don't change much (at least the convenient ones...).
On the other hand one has to think that the environment behaves reversibly, but at the same time the environment should have super fast "relaxation times". This would allow me to make a macroscopic change in the system at a finite rate while only making reversible changes in the surroundings.
And, with this logic I get the changes in the system indirectly from the changes that happened in the surroundings.

I'm not sure, this is just how I've tried to understand it, now having read thermodynamics from a few different sources. Although most sources don't explicitly talk much about this. Some just use this and some just don't introduce problems where this kind of approach could be used.

For example, this seems to give ok results (well, at least results) in the adiabatic, irreversible compression of an ideal gas in a cylinder. In the problem we only know the initial state of the gas, the pressure of the surrounding air (and the area of the piston and the weight we suddenly put on it), and want to calculate work and the change in height.
[I've understood that the relation [itex]PV^{γ}=constant[/itex] only works for reversible processes, which is why this is not straightforward.]

[Sorry about my bad english, btw.]
 

Similar threads

Replies
27
Views
8K
Replies
4
Views
729
Replies
9
Views
10K
Replies
5
Views
978
  • Classical Physics
Replies
21
Views
1K
Replies
5
Views
554
Replies
1
Views
607
Replies
8
Views
3K
Replies
3
Views
1K
Replies
4
Views
7K
Back
Top