6.3.1. Axial Region
 The thermal structure within the one-dimensional axial intrusion region is calculated using a mass and thermal balance. At each depth mass conservation is used to equate the vertical inflow of melt and solid to the vertical outflow of melt and solid and the horizontal outflow of material to the off-axis region. The horizontally outflowing material leaves the axial region with speed U, the half-spreading rate, at all depths. The vertical flow of material at crustal depths can be calculated once the distribution of crystallization, θ(z), has been specified, as shown in (1).
 A differential equation satisfied by the temperature structure, T(z), in the one-dimensional axial intrusion region can be obtained from a thermal balance (Figure 6). Heat transport takes place by either conduction or advection (of both liquid and solid), while the crystallization of the crust releases latent heat, and hydrothermal circulation cools the crust by acting as a heat sink. Balancing the heat flows generated by these processes gives the differential equation for the temperature structure of the axial region.
Figure 6. Mass and thermal balance within the one-dimensional axial region. Advective terms, shown in orange and red, are included in the mass balance. Hydrothermal heat removal (for the upper crust), in blue, and conduction, in green, are also included in the thermal balance. Latent heat and specific heat is carried by the advective terms in the thermal balance. The balance is carried out for elements of infinitesimal height dz.
Download figure to PowerPoint
 By balancing advection of heat by melt and solid, latent heat release during crystallization, and conduction and using the mass balance relationships in (1) gives the differential equation (5).
This equation must be solved in order to determine the temperature structure T(z) within the lower axial crust, where it is assumed that no hydrothermal heat removal takes place. The parameters and variables that feature in this equation are listed in Tables 1 and 2 while its derivation is given in Appendix B. The first term on the left hand side corresponds to vertical conduction, while the last on the right hand side is horizontal conduction of heat to the off-axis region. The other terms involving the melt and solid fluxes, ℱl and ℱs, and the half-spreading velocity, U, account for the advection of latent and specific heat both vertically within the axial region and horizontally to the off-axis region. Evaluation of the function Ti, the melt input temperature, and the crystal fractions γ and σ is outlined in section 6.4.
 In the upper crust, at depths shallower than zm, hydrothermal circulation can act to cool the crust, providing an additional term in the heat balance. For all models considered later on in the paper, it is furthermore assumed that in the upper crust the vertical solid flux is zero, and the fluid intrusion temperature is constant (Ti0), as is expected for emplacement of the upper crust in dykes or lava flows. Under these assumptions, the temperature equation for the upper crust is given by
with the hydrothermal cooling incorporated in the final term on the right hand side, and the crystal fraction τ evaluated as described in section 6.4.
 In calculation of the temperature structure of the mantle it is assumed that the input temperature gradient is that which results from melting that produces a crustal thickness of zc [McKenzie and Bickle, 1988]. This gradient is then matched to the melt input temperature at the onset of crystallization. The temperature equation used for the mantle is then derived by a heat balance which neglects vertical motion of melt and solid, and instead assumes that melt is supplied rapidly to the Moho at the ridge axis, giving
The effect of the melt extraction style on mantle temperatures has been studied by Asimow  who showed that varying the steady state melt extraction mechanism can lead to variation in the Moho temperatures of up to 20°C.
 In the models which simulate focused crystallization in a shallow melt lens the depth of the lens is set to be zm. The crystallization and cooling that takes place at this depth acts as a source of heat and must be accounted for in the models. Heat is bought into the melt lens by liquid at temperature Ti(zm), with flux −ℱl(zm), and is removed upward from the melt lens by liquid with temperature Ti0, and flux U zm. Solid flows downward from the melt lens with flux ℱs(zm), temperature T(zm) and crystal fraction γ(T(zm)). The rate of heat release in the melt lens is calculated from the change in latent and specific heat carried into and out of the lens, and is thus given by
The heat source can be taken into account by adding a delta function of this size acting at zm as a source term to the differential equation for temperature.
 Equations (5), (6) and (7) provide a second order differential equation that T(z) satisfies at all depths. Once the style and distribution of crystallization, ϕ(z) and θ(z), have been specified, the equations can be solved, using a numerical relaxation scheme described in Appendix C, for a depth range 0 < z < zg (where zg is the depth to the bottom of the mantle melting region), subject to the boundary conditions T(zg) = Ti(zg) and T(0) = 0. This relaxation scheme has the advantages of being rapid and allowing resolution of features of vertical extent of 10 m or less, in contrast to the numerical cost and low resolution of previous finite difference [Henstock et al., 1993] or finite element [Phipps Morgan and Chen, 1993] models.
6.3.2. Off-Axis Region
 In the off-axis region the temperature field T(x, z) satisfies an advection-diffusion equation, with a constant horizontal advection velocity U [Sleep, 1975; Morton and Sleep, 1985]:
The two source terms on the right hand side of this equation represent heat removed by hydrothermal circulation and latent heat released by crystallization. Equation (9) is solved in the region x ≥ A, 0 ≤ z ≤ zl, where zl is a depth at which isotherms are approximately horizontal. The boundary conditions that are applied are that: (1) T(A, z) matches the temperature structure found from the one-dimensional calculation in the axial region; (2) T(x, 0) = 0; (3) T(x, zl) = Tl, where Tl is the temperature in the axial region at depth zl; (4) T Tlz/zl as x ∞, so that far from the ridge the temperature approaches a conductive profile.
 Latent heat is assumed to be released uniformly as crystallization proceeds, so that Q(T, z) is given by
The nature of Q means that (9) is nonlinear, and so it is solved using an iterative scheme of the form
At each stage of the iteration the right hand side of this equation becomes a known function (x, z). In a similar fashion to the treatment of Morton and Sleep , each inhomogeneous equation in the iterative scheme is solved by the use of a Fourier sine series expansion
as explained in Appendix D. In order to join the axial and off-axis regions, it is necessary to use another iterative scheme. The temperature in the axial region was calculated and then used as the boundary condition T(A, z) for the off-axis region. The resulting temperature field for the off-axis region was then used to calculate the horizontal heat conduction at x = A, which is used as an input for the axial calculation. Convergence of this scheme usually takes two or three iterations.