to create a vacuum in the chamber which then sucks in cold air from outside right back through the opening the hot gas just escaped from.
It might be workable to have a manson type engine work like this.
Hot air expands, pushes the piston past the vents, air escapes creating vacuum (or at least low pressure), fresh charge rushes in, piston covers the
vents and compresses the air into the hot chamber so it absorbs heat quickly, restart.
![Image](https://i.imgur.com/lbXNW5G.png)