
#1
Jan2613, 07:01 PM

P: 249

I want to show that the work done by compressing a container of gas with uniform pressure is [tex]\int_{V_i}^{V_F} p(V)dV,[/tex] where p(V) is the pressure of the gas as a function of volume. This equation was derived in my text for the special case of a piston, but I wanted a more general derivation.
So I started by writing down the equation for the power transmitted to the gas in the container: [tex]P=\oint p \vec{v} \cdot d\vec{A},[/tex] where the integral is taken over the entire surface of the container and v is the velocity of some point on the container. Assuming p is uniform, we get that [tex]P=p\oint \vec{v} \cdot d\vec{A} = p\frac{d}{dt} \oint \vec{r} \cdot d\vec{A} = p\frac{d}{dt} \int \nabla \cdot \vec{r} dV = 3p\frac{dV}{dt}.[/tex] Integrating this equation with respect to time gives the wrong result by a factor of 3. What have I done wrong? 



#2
Jan2613, 07:48 PM

P: 101

Not sure I understand the question. If you're compressing the gas, the pressure should be increasing, otherwise you're not really compressing the gas. Also, if you're calculating a force times a velocity, you're solving for power rather than work.




#3
Jan2613, 08:08 PM

P: 249





#4
Jan2613, 11:30 PM

P: 101

Work done by compressing a container of gas 



#5
Jan2713, 03:22 AM

P: 5,462

You should be careful about this and check your notes.
P should be the external pressure not the pressure of the gas. (external) Work is done against this external pressure. P_{int} may not even be uniform or definable. It is quite possible for ∫P_{int}dV to exist but not be equal to the work done. In an extreme case, such as expansion into a vacuum, the work done is zero, but ∫P_{int}dV is not. 



#6
Jan2713, 09:33 AM

P: 249

At any rate, even if you think it's important to replace internal pressure with external pressure, neither the derivation nor the desired result changes, so we're still left with the original problem. IMO I don't think the problem is with the physics. I don't think my math was quite kosher, especially the step were I pulled the time derivative out of the integral. 



#7
Jan2713, 09:53 AM

P: 101

If the pressures are equal on both sides of the container, no work is being done.




#8
Jan2713, 10:17 AM

P: 5,462

Here is a simplified physics argument along the lines of yours, you might like to reproduce using your surface integrals. Referring to the diagram consider a volume of fluid with surface area A. Let it suffer a small expansion to area A' under a uniform external pressure P. Consider element of area dA of the surface and let its displacement along the normal be dn. If this is expansion is carried out extemely slowly no energy of motion will be developed so the only mechanical work performed will be due to the enlargement of the volume. Thus the work done by the fluid is δW = Ʃ(P.dA)dn = PƩdA.dn =P x total increase in volume of small shell =P dV Integrating again (ie dW) from V_{1} to V_{2} gives the total work 



#9
Jan2713, 10:31 AM

P: 343

I think if the pressure is constant while compressing, it is not likely to be an adiabatic process, meaning that there would be interaction with surroundings that you also need to consider, right?




#10
Jan2713, 11:42 AM

Sci Advisor
HW Helper
Thanks
PF Gold
P: 4,398

[itex]\nabla \cdot \frac{D\vec{r}}{Dt}[/itex] is not equal to [itex]\frac{D(\nabla \cdot\vec{r})}{Dt}[/itex] You already had the result you needed, and didn't realize it. [tex]P=\int p \vec{v} \cdot d\vec{A}=p\int \vec{v} \cdot \vec{n}dA[/tex] where [itex]\vec{n}[/itex] is an outwardly directed normal to the boundary. [itex]\vec{v} \cdot \vec{n}[/itex] is just the component of boundary velocity normal to the present boundary location (the component tangent to the boundary surface doesn't contribute to volume increase). When this is integrated over the entire boundary surface, it gives you the rate of change of volume contained within the boundary. Thus, [tex]\frac{dV}{dt}=\int \vec{v} \cdot \vec{n}dA[/tex] 



#11
Jan2713, 12:49 PM

Sci Advisor
HW Helper
Thanks
PF Gold
P: 4,398

I think the next thing you want to do is apply the divergence theorem to my last equation, and then combine the result with the continuity equation (differential mass balance equation) to eliminate del dot v, and replace it with the material time derivative of the natural log of density.
[tex]\frac{dV}{dt}=\int \vec{v} \cdot \vec{n}dA[/tex] Applying the divergence theorem: [tex]\frac{dV}{dt}=\int (\nabla \cdot \vec{v})dV[/tex] The continuity equation gives: [tex] \nabla \cdot \vec{v}=\frac{1}{\rho}\frac{D\rho}{Dt}[/tex] The right hand side of this equation represents physically the local fractional rate in volumetric expansion per unit time, following the material parcels. If we substitute this equation into the previous equation, we get: [tex]\frac{dV}{dt}=\int (\frac{1}{\rho}\frac{D\rho}{Dt})dV[/tex] In this equation, the quantity [itex](\frac{1}{\rho}\frac{D\rho}{Dt})dV[/itex] represents physically the time rate of increase in volume of the material parcel dV. Chet 



#12
Jan2813, 03:06 PM

Sci Advisor
HW Helper
Thanks
PF Gold
P: 4,398

I also wanted to mention that the material derivative D/Dt does not commute with the integral over surface area or volume. D/Dt is strictly a local microscopic derivative following a mass parcel. This is another mistake that you made in your derivation.



Register to reply 
Related Discussions  
Finding Work Done by Compressing A Spring  Introductory Physics Homework  3  
Stretching or Compressing a Spring; Given work, find the displacement of the object  Introductory Physics Homework  9  
compressing ideal gas isothermally, calc work  Advanced Physics Homework  2  
heat and work in adiabatic container  Introductory Physics Homework  1  
Work done in Compressing a fluid in a piston (Bulk Modulus)  Introductory Physics Homework  7 