Piston rig, side view
p-V diagram of the stroke

Gas-Driven Piston Stroke (2D): p-V Diagram, Gas Cooling and Work Ledger

Open a valve and let compressed air in a tank expand behind a piston that pushes a sliding load block along rails until a rubber cushion stops it. The gas follows the first law with wall heat exchange and the ideal-gas law (RK4, 20 microsecond steps), the load obeys Newton with seal friction and the room pressure. Compare the live p-V path with the adiabatic and isothermal limits, watch the gas cool during the fast stroke, and see where the work goes: kinetic energy, the room, friction heat and wall heat. Blender-built tank, valve, gauge, glass cylinder, rod, load block and cushion; seven independent checks (adiabatic invariant, closed-form work, isothermal work, first law, energy ledger, equation of state, constant-pressure speed). A generic pneumatic actuator model with a captive load, for teaching expansion work.

Made with 🟠 Blender