Magma be stored in magma chambers or trans-crustal crystal-rich mush zones. During their storage in the crust, magma compositions may be modified by fractional crystallization, contamination with crustal melts, magma mixing, and degassing. Following their ascent through the crust, magmas may feed a volcano or solidify underground to form an intrusion (e.g., an igneous dike or a sill). While the study of magma has historically relied on observing magma in the form of lava flows, magma has been encountered in situ three times during geothermal drilling projects—twice in Iceland (see Magma usage for energy production), and once in Hawaii. Most magmatic
Igneous rock viscosity, determined by temperature, composition, crystal content and the amount of silica. High-temperature magma, most of which is basaltic in composition, behaves in a manner similar to thick oil and, as it cools, treacle. Long, thin basalt flows with pahoehoe surfaces are common. Intermediate composition magma, such as andesite, tends to form cinder cones of intermingled ash, tuff and lava, and may have a viscosity similar to thick, cold molasses or even rubber when erupted. Felsic magma, such as rhyolite, is usually erupted at low temperature and is up to 10,000 times as viscous as basalt. Volcanoes with rhyolitic magma