Hi Algis. Thanks very much for the compliment.
I believe I understand your new set up, and at least the problem you describe is understandable, though I’m afraid there’s a bit of a error in your “PROBLEM” description here:
The gas in the tank will be at T0 or less (if the escaping gas had already isenthalpically cooled).
Just a quick pointer here that you had described it correctly when you said:
The isenthalpic expansion will not involve a change of temperature.
Let’s be careful here. The isenthalpic expansion across the valve, assuming a thermodynamically ideal gas, will not experience a temperture drop (let’s use the assumptions you’ve stated in the “PROCESS” description). So you said it correctly in the PROCESS description, but then slipped up as you described your PROBLEM statement. What I believe you meant to say is along the lines that the gas going into the tank is cooler than it was when it was inside the tire, and there it collects at this lower temperature until the pressure across the valve is equal and flow stops. (that’s where the error cropped up in your description)
Try this – draw a control volume around the tank and write the first law of thermo for it. You should end up with dU = Hin. What does this imply about the temperature of the gas inside the tank? (note that m*cp*T is greater than m*cv*T which implies a continued increase in temperature of the gas in the tank as more gas is added)
Now take a look from a different perspective. Let’s say we just started to fill the tank and we still have a large pressure difference. Draw a control surface around the gas in the tank. Now add more gas and imagine the gas coming in doesn’t mix with the gas inside your control surface. (This is what we call a control mass since we are only looking at some given mass which is undergoing a change in state.) This mass inside the control surface must continue to decrease in volume as more and more gas enters the tank, right? As the volume gets smaller and smaller (it is getting squeezed into one end of the tank as more gas comes in), and assuming there is no heat transfer (process is adiabatic), what process would we say this control mass is being subjected to? Note that this process is the mirror image of the process inside the tire, because if we draw a control surface around a volume that is changing, and say there is no heat transfer, then the change in volume and pressure must be accompanied by work. For a decrease in volume such as for the control mass in the tank, work must be done on that volume. Such a process is also considered
isentropic.
I’d suggest going back and rewriting the equations for internal energy for the tire and for the tank. Note that dU = Hout for the tire, while dU = Hin for the tank. Finally, note that Hout = Hin. This is all applicable only for an isolated system in which there is no heat transfer from the environment.
The hardest part of doing this when you’re in college is probably the simple fact that you don’t have a computerized database that allows you to do a numerical analysis of this process very easily. With each bit of mass that passes through the valve, the temperature inside the tire drops and the temperature inside the tank rises. If you had a database of fluid properties, it’s easy enough to do a numerical analysis on each volume and see what happens and even graph the results over time. With that, you can easily see what happens to temperature, pressure and internal energy during this process. Hope that helps.