I recently went through the USS Drum, a WW2 submarine. Powered by two stroke diesels. That itself not unusual. They had a crank on top and the bottom though. That’s unusual. The piston on the top crank meets a piston from the bottom crank and diesel fuel is injected at the right time for ignition. No cylinder head to speak of.