Home▸Physics & Mechanics▸Gas-Driven Piston Stroke (2D): p-V Diagram, Gas Cooling and Work Ledger

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

The same gas-driven piston rig as a cutaway side view: the gas inside the cylinder is coloured by temperature, the p-V diagram sits below with the adiabatic and isothermal limits, and the work ledger shows where the energy goes. Same shared model and checks as the 3D version.

Physics & Mechanics2DAdvanced60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Gas-Driven Piston Stroke (2D): p-V Diagram, Gas Cooling and Work Ledger ↗ Open standalone

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.

⚙ Under the hood

The same gas-driven piston rig as a cutaway side view: the gas inside the cylinder is coloured by temperature, the p-V diagram sits below with the adiabatic and isothermal limits, and the work ledger shows where the energy goes. Same shared model and checks as the 3D version.

Gas ExpansionAdiabatic ProcessIsothermal ProcessPneumatic Actuatorp-V DiagramFirst Law of ThermodynamicsDefense Engineering

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)