ASPECT solves a system of equations in a - or -dimensional domain that describes the motion of a highly viscous fluid driven by differences in the gravitational force due to a density that depends on the temperature. In the following, we largely follow the exposition of this material in Schubert, Turcotte and Olson [STO01].
Specifically, we consider the following set of equations for velocity , pressure and temperature , as well as a set of advected quantities that we call compositional fields:
where is the symmetric gradient of the velocity (often called the strain rate).1
In this set of equations, (1) and (2) represent the compressible Stokes equations in which is the velocity field and the pressure field. Both fields depend on space and time . Fluid flow is driven by the gravity force that acts on the fluid and that is proportional to both the density of the fluid and the strength of the gravitational pull.
Coupled to this Stokes system is equation (3) for the temperature field that contains heat conduction terms as well as advection with the flow velocity . The right hand side terms of this equation correspond to
The last term of the temperature equation corresponds to the latent heat generated or consumed in the process of phase change of material. The latent heat release is proportional to changes in the fraction of material that has already undergone the phase transition (also called phase function) and the change of entropy . This process applies both to solid-state phase transitions and to melting/solidification. Here, is positive for exothermic phase transitions. As the phase of the material, for a given composition, depends on the temperature and pressure, the latent heat term can be reformulated:
The last transformation results from the assumption that the flow field is always in equilibrium and consequently (this is the same assumption that underlies the fact that equation (1) does not have a term ). With this reformulation, we can rewrite (3) in the following way in which it is in fact implemented:
The last of the equations above, equation (4), describes the evolution of additional fields that are transported along with the velocity field and may react with each other and react to other features of the solution, but that do not diffuse. We call these fields compositional fields, although they can also be used for other purposes than just tracking chemical compositions. We will discuss this equation in more detail in Section 2.7.
Other codes and texts sometimes make a simplification to the adiabatic heating term in the previous equation. If you assume the vertical component of the gradient of the dynamic pressure to be small compared to the gradient of the total pressure (in other words, the gradient is dominated by the gradient of the hydrostatic pressure), then , and we have the following relation (the negative sign is due to pointing downwards)
While this simplification is possible, it is not necessary if you have access to the total pressure. ASPECT therefore by default implements the original term without this simplification, but allows to simplify this term by setting the “Use simplified adiabatic heating” parameter in section ??.
Having discussed (3), let us come to the last one of the original set of equations, (4). It describes the motion of a set of advected quantities . We call these compositional fields because we think of them as spatially and temporally varying concentrations of different elements, minerals, or other constituents of the composition of the material that convects. As such, these fields participate actively in determining the values of the various coefficients of these equations. On the other hand, ASPECT also allows the definition of material models that are independent of these compositional fields, making them passively advected quantities. Several of the cookbooks in Section 5 consider compositional fields in this way, i.e., essentially as tracer quantities that only keep track of where material came from.
These equations are augmented by boundary conditions that can either be of Dirichlet, Neumann, or tangential type on subsets of the boundary :
Here, the boundary conditions for velocity and temperature are subdivided into disjoint parts:
We require that one of these boundary conditions hold at each point for both velocity and temperature, i.e., and .
Boundary conditions have to be imposed for the compositional fields only at those parts of the boundary where flow points inward, see equation (12), but not where it is either tangential to the boundary or points outward. The difference in treatment between temperature and compositional boundary conditions is due to the fact that the temperature equation contains a (possibly small) diffusion component, whereas the compositional equations do not.
There are other equations that ASPECT can optionally solve. For example, it can deal with free surfaces (see Section 2.12), melt generation and transport (see Section 2.13), and it can advect along particles (see Section 2.15). These optional models are discussed in more detail in the indicated sections.
ASPECT allows solving both two- and three-dimensional models via a parameter in the input files, see also Section 4.2. At the same time, the world is unambiguously three-dimensional. This raises the question what exactly we mean when we say that we want to solve two-dimensional problems.
The notion we adopt here – in agreement with that chosen by many other codes – is to think of two-dimensional models in the following way: We assume that the domain we want to solve on is a two-dimensional cross section (parameterized by and coordinates) that extends infinitely far in both negative and positive direction. Further, we assume that the velocity is zero in direction and that all variables have no variation in direction. As a consequence, we ought to really think of these two-dimensional models as three-dimensional ones in which the component of the velocity is zero and so are all derivatives.
If one adopts this point of view, the Stokes equations (1)–(2) naturally simplify in a way that allows us to reduce the equations to only , but it makes clear that the correct description of the compressible strain rate is still , rather than using a factor of for the second term. (A derivation of why the compressible strain rate tensor has this form can be found in [STO01, Section 6.5].)
It is interesting to realize that this compressible strain rate indeed requires a tensor: While under the assumptions above we have
with the expected zeros in the last row and column, the full compressible strain rate tensor reads
The entry in the position of this tensor may be surprising. It disappears, however, when taking the (three-dimensional) divergence of the stress, as is done in (1), because the divergence applies the derivative to all elements of the last row – and the assumption above was that all derivatives are zero; consequently whatever lives in the third row of the strain rate tensor does not matter.
ASPECT solves these equations in essentially the form stated. In particular, the form given in (1) implies that the pressure we compute is in fact the total pressure, i.e., the sum of hydrostatic pressure and dynamic pressure (however, see Section 2.4 for more information on this, as well as the extensive discussion of this issue in [KHB12]). Consequently, it allows the direct use of this pressure when looking up pressure dependent material parameters.
1There is no consensus in the sciences on the notation used for strain and strain rate. The symbols , , , and , can all be found. In this manual, and in the code, we will consistently use as an operator, i.e., the symbol is not used on its own but only as applied to a field. In other words, if is the velocity field, then will denote the strain rate. On the other hand, if is the displacement field, then will denote the strain.