i have thought about this kind of engine befor (see above diagrams). its not strictly a Stirling engine . stirling engines have heat exchangers where the gas passes back and forward through a regenorator .
these types of engine have two gas circuits in the heat exchanger , takes hot output to preheat cold input.
tomsid