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
Lava dome in two ways: by high levels of silica in the magma, or by degassing of fluid magma. Since viscous basaltic and andesitic domes weather fast and easily break apart by further input of fluid lava, most of the preserved domes have high silica content and consist of rhyolite or dacite. Existence of lava domes has been suggested for some domed structures on the Moon, Venus and Mars e.g. the Martian surface in the western part of Arcadia Planitia and within Terra Sirenum. Lava domes evolve unpredictably, due to non-linear dynamics caused by crystallization and outgassing of the highly viscous lava