The role of water in cooling ignimbrites