I have often wondered if it could be possible to make an internal expansion steam engine where the steam is created directly in the piston chamber (similar to a diesel engine). Diesel engines heat air with compression to an extent that it causes the diesel to ignite (explode). Could compression cause enough heat to turn water in to steam. I realise that pressure also raises the boiling point of water and this could mean that the pressure would always prevent the water from turning in to steam. If this is so, could the pressure be quickly released after the heat has been created? I also realise that a sudden drop in pressure causes a drop in temperature so this may not work either. Yet another silly water for fuel idea?