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
Magma chamber 1 km and 10 km down. Magma rises through cracks from beneath and across the crust because it is less dense than the surrounding rock. When the magma cannot find a path upwards it pools into a magma chamber. These chambers are commonly built up over time, by successive horizontal or vertical magma injections. Influx of new magma causes reaction of pre-existing crystals and the pressure in the chamber to increase. The residing magma starts to cool, with the higher melting point components such as olivine crystallizing out of the solution, particularly near to the cooler walls of the chamber,