I'm working on a project and need some input for how a fluid behaves when compressed. I'm a layman, so please try to keep answers layman-esque.
Here's the setup: imagine you've got a double acting hydraulic cylinder with one outlet hooked up to your hydraulic system and the other a closed system of a gas. These two systems (gas and hydraulic) are both separate, closed systems. They intersect at the cylinder, but do not actually ever connect with each other (one of the systems pushes the piston forward, and the other pushes it back)
You then add gas into the gas system, increasing pressure to the the gas side of cylinder, causing a backstroke. When the cylinder completes the stroke, you turn on the hydraulics, which pushes the piston forward, dumping the gas from the cylinder into the gas system. You repeat this process indefinitely.
My question: does heat get created by the action of the hydraulics forcing gas through the small hole of the cylinder outlet and into the gas system (we're talking high pressures, 1500-2000 psi).? Does the heat dissipate naturally, or would it collect and build and need to be removed? or would the heat equation be a wash (I. e. would the heat created by the hydraulic powered frontstroke be offset by an equal amount of heat loss during the gas powered back stroke)?
Would the work of the hydraulic system forcing the gas through the small hole back into the resoirvoir create heat in the gas (or fluid) itself?
Hopefully this isn't too confusing. Any help would be appreciated.