Your free, of course, to think what you want.VincentG wrote: ↑Fri May 24, 2024 8:39 am Work is a function of pressure x volume.
Pressure is a function of heat applied to a gas.
But that does not mean that heat converts to work. Work is just a consequence of heat. Heat creates pressure and pressure converts to work as the heat does what heat does, attempt to reach equilibrium.
But the gas expanding (pressure) is just gas molecules striking the piston, transferring kinetic energy to the piston, loosing kinetic energy in the process.
U = U(T) only for an ideal gas
For most temperatures and pressures, air is basically an ideal gas.
When the gas transfers energy to the piston the gas temperature goes down Joule for Joule.
The piston is not a gas but a composite of molecules joined, so when it receives kinetic energy from the gas it moves as a composite structure. It's temperature does not increase.
So the "heat" or thermal internal energy measured by temperature of the gas is converted into mechanical motion of the composite piston as a whole structure.
The result is the piston is moved and the temperature of the gas goes down.