the Creative Commons Attribution 4.0 License.
the Creative Commons Attribution 4.0 License.
101 geodynamic modelling: how to design, interpret, and communicate numerical studies of the solid Earth
Iris van Zelst
Fabio Crameri
Adina E. Pusok
Anne Glerum
Juliane Dannberg
Cedric Thieulot
Geodynamic modelling provides a powerful tool to investigate processes in the Earth's crust, mantle, and core that are not directly observable. However, numerical models are inherently subject to the assumptions and simplifications on which they are based. In order to use and review numerical modelling studies appropriately, one needs to be aware of the limitations of geodynamic modelling as well as its advantages. Here, we present a comprehensive yet concise overview of the geodynamic modelling process applied to the solid Earth from the choice of governing equations to numerical methods, model setup, model interpretation, and the eventual communication of the model results. We highlight best practices and discuss their implementations including code verification, model validation, internal consistency checks, and software and data management. Thus, with this perspective, we encourage highquality modelling studies, fair external interpretation, and sensible use of published work. We provide ample examples, from lithosphere and mantle dynamics specifically, and point out synergies with related fields such as seismology, tectonophysics, geology, mineral physics, planetary science, and geodesy. We clarify and consolidate terminology across geodynamics and numerical modelling to set a standard for clear communication of modelling studies. All in all, this paper presents the basics of geodynamic modelling for firsttime and experienced modellers, collaborators, and reviewers from diverse backgrounds to (re)gain a solid understanding of geodynamic modelling as a whole.
 Article
(7495 KB)  Fulltext XML

Supplement
(344 KB)  BibTeX
 EndNote
 Included in Encyclopedia of Geosciences
The term geodynamics^{1} combines the Greek word “geo”, meaning “Earth”, and the term “dynamics” – a discipline of physics that concerns itself with forces acting on a body and the subsequent motions they produce (Forte, 2011). Hence, geodynamics is the study of forces acting on the Earth and the subsequent motion and deformation occurring in the Earth. Studying geodynamics contributes to our understanding of the evolution and current state of the Earth and other planets, as well as the natural hazards and resources on Earth.
The broad definition of geodynamics typically results in a subdivision of disciplines relating to one of the Earth's spherical shells and specific spatial and temporal scales (Fig. 1). So, geodynamics considers brittle and ductile deformation and plate tectonic processes on the crustal and lithospheric scale as well as convection processes in the Earth's mantle and core. Lithospheric and crustal deformation operates on scales of tens to thousands of kilometres and thousands to millions of years to study both the folding of lithospheric plates and the faulting patterns accommodating them (Watts et al., 2013). Mantle convection encompasses individual flow features like mantle plumes and subducted slabs on scales of hundreds of kilometres and hundred of thousands of years as well as wholemantle overturns on thousandkilometre and billionyear scales (Androvandi et al., 2011; King, 2015). In the outer core, there are both small convection patterns on hundredmetre and hour scales and largescale convection processes taking place over tens of kilometres and tens of thousands of years (Bouffard et al., 2019). Innercore dynamics are believed to act on similar scales as mantle convection, although it is has not yet been established whether or not the Rayleigh number allows for convection (Deguen and Cardin, 2011). In addition to the largescale dynamics of the different spherical shells of the Earth, there are other processes that play a role and operate on yet other different spatial and temporal scales. For example, earthquakes – and on larger timescales, earthquake cycles – facilitate the largescale deformation of the lithosphere, but their nucleation process can occur on scales as little as milliseconds and millimetres (Stein and Wysession, 2009; Beroza and Kanamori, 2015). Similarly, surface processes such as erosion can play an important role in lithosphere dynamics, although they take place on a smaller spatial and temporal scale (Pelletier, 2008). For lithosphere and mantle dynamics, processes including magma, fluid, volatile, and grain dynamics have been shown to be important, which all have smaller spatial and temporal scales (Solomatov and Reese, 2008; Keller et al., 2013; McKenzie, 1984; Rüpke et al., 2004; Bercovici and Ricard, 2012; Keller and Katz, 2016; Katz, 2008; Montési and Behn, 2007). Hence, in order to fully understand geodynamics, many processes on different temporal and spatial scales need to be taken into account simultaneously. However, this is difficult to achieve using only observational or experimental studies.
Indeed, since the study of geodynamics is predominantly occupied with processes occurring below the surface of the Earth, one of the challenges is the limited number of direct observations in space and time. Engineering limitations are responsible for a lack of direct observations of processes at depth, with, for example, the deepest borehole on Earth being a mere 12 km (e.g. Ganchin et al., 1998), which is less than 0.2 % of the radius of the Earth (6371 km). In addition, the available rock record grows increasingly scarce when going back in time. Other disciplines, such as seismology, geology, and geodesy, relate to geodynamics as they study the (indirectly) observable expressions of geodynamic processes at the surface and at depth. Disciplines like mineral physics and rock mechanics relate to geodynamics by studying the physical properties and flow laws of rocks involved in geodynamic processes.
To compensate for the limited amount of data in geodynamics, many studies have turned towards modelling. Roughly speaking, there are two main branches of modelling based on the tools that they use: analogue modelling, wherein realworld materials are used in a lab, and physical or mathematical modelling, wherein physical principles and computational methods are used. Analogue models have many advantages, the most straightforward of which is that they are automatically subject to all the physical laws on Earth. However, it is nontrivial to upscale the models to realworld applications that occur on a different temporal and spatial scale. Similarly, important aspects such as gravity are difficult to scale in a lab setting (e.g. Ramberg, 1967; Mart et al., 2005; Noble and Dixon, 2011). In addition, it is hard to determine variables such as stress and strain across the entire domain at any given time. Physical models aim to describe processes through equations. For relatively simple processes, analytical solutions or semianalytical models can be used (e.g. Lamb, 1879; Samuel and Bercovici, 2006; Montési and Behn, 2007; Turcotte and Schubert, 2014; Ribe, 2018; McKenzie, 1969; Hager and O'Connell, 1981). However, when the equations and their dependencies become increasingly complex in their description of geodynamic processes, numerical methods become necessary to solve the set of equations. Hence, numerical modelling is the use of numerical methods to solve a set of physical equations describing a physical process. Numerical models are powerful tools to study any desired geometry and time evolution with full control over the physics and access to all variables at any point in time and space in the model, but they come with their own set of limitations and caveats. For example, despite recent developments in numerical methods and modelling studies, it remains difficult to combine diverse spatial and temporal scales in one numerical model. This is due to the fact that numerical models are increasingly more difficult to solve computationally when large contrasts are present in the physical properties (e.g. in space or time). Therefore, different modelling approaches have been developed to tackle the different natures of the processes outlined in Fig. 1. Ideally, these modelling approaches would be combined in the future. In this article, we focus on the continuously growing branch of thermomechanical numerical modelling studies in geodynamics which mainly deal with lithosphere deformation and mantle convection, but we point out the links with other processes wherever relevant. Other disciplines, such as atmospheric dynamics and hydrology, use similar equations and assumptions but are not discussed in detail here.
Since geodynamics has much in common with other Earth science disciplines, there is a frequent exchange of knowledge; e.g. geodynamic studies use data from other disciplines to constrain their models. Vice versa, geodynamic models can inform other disciplines on the theoretically possible motions in the Earth. Therefore, scientists from widely diverging backgrounds are starting to incorporate geodynamic models into their own projects, apply the interpretation of geodynamic models to their own hypotheses, or be asked to review geodynamic articles. In order to correctly use, interpret, and review geodynamic modelling studies, it is important to be aware of the numerous assumptions that go into these models and how they affect the modelling results. Similarly, knowing the strengths and weaknesses of numerical modelling studies can help to narrow down whether or not a geodynamic model is the best way of answering a particular research question.
Here, we provide an overview of the whole geodynamic modelling process (Fig. 2). We discuss how to develop the numerical code, set up the model from a geological problem, test and interpret the model, and communicate the results to the scientific community. We highlight the common and best practices in numerical thermomechanical modelling studies of the solid Earth and the assumptions that enter such models. We will focus on the Earth's crust and mantle, although the methods outlined here are similarly valid for other solid planetary bodies such as terrestrial planets and icy satellites, as well as the Earth's solid inner core. More specifically, we concentrate on and provide examples of lithosphere and mantle dynamics. We focus on recent advances in good modelling practices and clearly, unambiguously communicated, open science that make thermomechanical modelling studies reproducible and available for everyone.
1.1 What is a model?
We will use the word model to mean a simplified version of reality that can be used to isolate and investigate certain aspects of the real world. Therefore, by definition, a model never equals the complexity of the real world and is never a complete representation of the world; i.e. all models are inherently wrong, but some are useful (Box, 1976). We define a physical model as the set of equations that describes a physical or chemical process occurring in the Earth.
Computational geodynamics concerns itself with using numerical methods to solve a physical model. It is a relatively new discipline that took off with the discovery of plate tectonics and the rise of computers in the 1960s (Schubert et al., 2001; Gerya, 2019). Within computational geodynamics, a numerical model refers to a specific set of physical equations which are discretised and solved numerically with initial and boundary conditions. Here, we limit ourselves to thermomechanical numerical models of the Earth's crust, lithosphere, and mantle, with “thermomechanical” referring to the specific set of equations the numerical code solves (Sect. 2).
It is important to realise that a numerical model is not equivalent to the numerical code. A numerical code can contain and solve one or more numerical models (i.e. different sets of discretised equations). Each numerical model can have a different model setup with different dimensions, geometries, and initial and boundary conditions. For a specific model setup, the numerical model can then be executed multiple times by varying different aspects of the model setup to constitute multiple model simulations (also often called model runs).
While it can be tested if a numerical model solves the equations correctly through analytical solutions, it cannot be proven that the numerical model solves the appropriate physical model, i.e. equations. In addition, the results of simulations with complexity beyond analytical solutions can be compared against observations and results from other codes, but again these cannot be proven to be correct or, indeed, the only possibilities for producing such results.
The models we are concerned with here are all forward models; we obtain a model result by solving equations that describe the physics of a system. These results are a prediction of how the system behaves given its physical state which afterwards can be compared to observations. On the other hand, inverse models start from an existing dataset of observations and aim to determine the conditions responsible for producing the observed dataset. A wellknown example of these kinds of models are tomographic models of the Earth's mantle, which determine the 3D seismic velocity structure of the mantle based on seismic datasets consisting of e.g. Pwave arrival times or full waveforms (e.g. Dziewonski, 1984; Bijwaard and Spakman, 2000; Fichtner et al., 2013). The possibility of incorporating data and estimating the model uncertainties in inverse models has recently led to increasing efforts combining both inverse and forward methods in geodynamic modelling. For example, adjoint methods (Liu and Gurnis, 2008; Burstedde et al., 2009; Reuber et al., 2018c, 2020a), pattern recognition (Atkins et al., 2016), and data assimilation (Bunge et al., 2002, 2003; IsmailZadeh et al., 2004; Hier Majumder et al., 2005; Bocher et al., 2016, 2018) have been incorporated in lithosphere and mantle dynamics models. One of the most common ways of solving the inverse problem in geodynamics is to run many forward models and subsequently test which one fits the observations best (Baumann and Kaus, 2015). This is difficult because individual forward models are computationally expensive, which results in a limited number of forward models that can be run. Additionally, there are too many parameters in the forward models to invert for. An alternative approach is to incorporate automatic parameter scaling routines or use adjoint methods to test parameter sensitivities in models (Reuber et al., 2018a, c), which could considerably reduce the number of models required. However, whether it is forward or inverse models of geodynamics, a thorough understanding of the forward model is generally required, which we focus on in this work. The prospect of estimating uncertainties in geodynamic modelling and the increasing inclusion of data make the combination of inverse and forward modelling an exciting avenue in geodynamics.
1.2 What is modelling?
A scientific modelling study encompasses more than simply running a model, as is illustrated in Fig. 2. First and foremost, the modeller needs to decide which natural process they want to study based on observations to increase the understanding of the Earth's system. From this, a hypothesis (i.e. a proposed explanation based on limited evidence) is formulated as a starting point to further investigate a knowledge gap driven by the modeller's curiosity. The modeller then needs to choose the equations that describe the physics of the processes they are interested in, i.e. the physical model (Sect. 2). Here, we confine ourselves to the conservation equations of mass, momentum, and energy (Sect. 2.1). In order to solve the physical model, a numerical model is needed, which solves the discretised versions of the equations using a specific numerical scheme (Sect. 3). Before applying the code to a particular problem, the code needs to be verified to ensure that it solves the equations correctly (Sect. 4). Once it has been established that the code works as intended, the tobetackled geological problem needs to be simplified into a model setup with appropriate geometry, material properties, initial and boundary conditions, and the correct modelling philosophy (Sect. 5). After the model has successfully run, the model results should be validated in terms of robustness and against observations (Sect. 6). The results of the simulation then need to be interpreted, visualised, and diagnosed while taking into account the assumptions and limitations that entered the modelling study in previous steps (Sect. 7). The final step of a modelling study is to communicate the results to peers as openly, clearly, and reproducibly as possible (Sects. 8, 9). It is important to note that geodynamic modelling is not a linear process as depicted in Fig. 2. For example, modelling does not necessarily start with the formulation of a hypothesis, as this can also arise from the encounter of interesting, unexpected modelling results, resulting in the formulation of a hypothesis later on in the process. Similarly, observations from nature feed directly into all of the abovementioned steps, as illustrated by the dark grey arrow through all modelling steps (Fig. 2). Indeed, it is important to evaluate and adjust the numerical modelling study throughout the entire process.
In the remaining parts of this paper, each of the abovementioned steps of a modelling study correspond to individual sections, making this a comprehensive guide to geodynamic modelling studies.
From seismology, we know that on short timescales the Earth predominantly deforms like an elastic medium. Our own experience tells us that when strong forces are applied to rocks, they will break (brittle failure). But from the observation that continents have moved over the history of the Earth and from the postglacial rebound of regions like Scandinavia, we know that on long timescales the mantle strongly deforms internally. In geodynamic models, this ductile deformation of rocks is usually approximated as the flow of a highly viscous fluid (Schubert et al., 2001; Gerya, 2019). The transition from short to long timescales that controls which deformation behaviour is dominant is marked by the Maxwell relaxation time (Ricard, 2015), which is on the order of 450 years for the Earth's sublithospheric mantle (Schubert et al., 2001). The rocks in the Earth's interior are not the only material that deforms predominantly in this way. In fact, many other materials show the same behaviour: solid ice, for example, also flows, causing the constant motion of glaciers (Ricard, 2015).
In the following, we will focus on problems that occur on large timescales on the order of thousands or millions of years (i.e. ≫450 years, the Maxwell time, see Fig. 1). Accordingly, we will treat the Earth's interior as a highly viscous fluid. We further discuss this assumption and how well it approximates rocks in the Earth in Sect. 2.2.1. We will also treat Earth materials as a continuum; i.e. we assume that the material is continuously distributed and completely fills the space it occupies and that material properties are averaged over any unit volume. Thus, we ignore the fact that the material is made up of individual atoms (Helena, 2017). This implies that, on a macroscopic scale, there are no massfree voids or gaps (Gerya, 2019). Under these assumptions and keeping the large uncertainties of Earth's materials in mind, we can apply the concepts of fluid dynamics to model the Earth’s interior.
2.1 Basic equations
We have discussed above that setting up a model includes choosing the equations that describe the physical process one wants to study. In a fluid dynamics model, these governing equations usually consist of a mass balance equation, a force balance or momentum conservation equation, and an energy conservation equation. The solution to these equations states how the values of the unknown variables such as the material velocity, pressure, and temperature (i.e. the dependent variables) change in space and how they evolve over time (i.e. when one or more of the known and/or independent variables change). Even though these governing equations are conservation equations, geodynamic models often consider them in a local rather than a global context, i.e. material and energy flow into or out of a system, or an external force is applied. Additionally, the equations only consider specific types of energy, i.e. thermal energy, and not, for example, the potential energy related to nuclear forces. This means that for any system considered – or, in other words, within a given volume – a property can change due to the transport of that property into or out of the system, and thermal energy may be generated or consumed through a conversion into other types of energy, e.g. through radioactive decay. This can be expressed using the basic principle.
This statement suggests that accumulation, or the rate of change of a quantity within a system, is balanced by net flux through the system boundaries (influx–outflux) and net production within the system (generation–consumption). Depending on which physical processes are relevant and/or of interest, different terms may be included in the equations, which is a source of differences between geodynamic studies. Since each term describes a different phenomenon and may imply characteristic timescales and length scales, being aware of these relations is not only important for setting up the model, but also for interpreting the model results and comparing them to observations. Mathematical tools like scaling analysis or linear stability analysis are helpful to determine the relative importance of each of the terms (see also Sect. 7.2) and for determining which terms should be included in any given model. In solid Earth geodynamic modelling, we are usually interested in problems occurring on large timescales on the order of thousands or millions of years (Fig. 1). Accordingly, we usually model the Earth's interior as a viscous fluid. The corresponding equations are the Stokes equations, describing the motion of a highly viscous fluid driven in a gravitational field, and the energy balance written as a function of temperature (Fig. 3). These equations are partial differential equations describing the relation between the unknowns (velocity, pressure, and temperature) and their partial derivatives with respect to space and time. Solving them requires additional relations, the socalled constitutive equations (Sect. 2.2), that describe the material properties appearing as parameters in the Stokes equations and energy balance (such as the density) as well as their dependence on velocity, temperature, and pressure. We look at each equation in more detail in the following sections, but we do not provide their derivations and instead refer the interested reader to Schubert et al. (2001).
2.1.1 Mass conservation
The first equation describes the conservation of mass:
where ρ is the mass density, t is time, and v is the velocity vector. The conservation of mass in Eq. (2) states that in any given volume of material, local changes in mass $\partial \mathit{\rho}/\partial t$ can only occur when they are compensated for by an equal net influx or outflux of mass ∇⋅(ρv). These local changes in mass are caused by the expansion or contraction of material, which implies a change in density ρ. This usually happens as a response to a change in external conditions, such as a change in temperature (thermal expansion or contraction) or pressure, and is described by the equation of state (see Sect. 2.2.5). Other specific examples in the Earth are phase transitions or chemical reactions.
Because the first term explicitly includes a time dependence, it introduces a characteristic timescale into the model due to viscous (Curbelo et al., 2019) and elastic forces (Patočka et al., 2019). For viscous forces, this is called the viscous isentropic relaxation timescale and is on the order of a few hundred years for the upper mantle to a few tens of thousands of years for the lower mantle (Curbelo et al., 2019). For viscoelastic deformation, this timescale is the Maxwell time (see above). When we consider the Earth to be a viscoelastic body (see Sect. 2.2.1), the relaxation time is dominated by elastic forces.
The timescale of viscous relaxation is usually shorter than that of convective processes and is often shorter than the timescales a model is focused on. In addition, these local changes in mass are often quite small compared to the overall mass flux in the Earth. Accordingly, many geodynamic models do not include this term (see also Jarvis and McKenzie, 1980; Glatzmaier, 1988; Bercovici et al., 1992), and instead Eq. (2) is replaced by
This means that the net influx and outflux of mass in any given volume of material is zero. The density can still change, e.g. if material is advected into a region of higher or lower pressure (i.e. downwards or upwards within the Earth), but these changes in density are always associated with the motion of material to a new location. Using this approximation still takes into account the largest density changes. For example, for the Earth's mantle, density increases by approximately 65 % from the Earth's surface to the core–mantle boundary.
In some geodynamic models, particularly the ones that span only a small depth range, even this kind of density change is small. For example, within the Earth's upper mantle, the average density changes by less than 20 %. This is the basis for another approximation: assuming that material is incompressible (i.e. its density ρ is constant). In this case, Eq. (2) becomes
Assuming incompressibility also has implications for another material property in the model, the Poisson ratio ν, which is defined as $\mathit{\nu}=\frac{\mathit{\lambda}}{\mathrm{2}(\mathit{\lambda}+G)}$ for a homogeneous isotropic linear elastic material, where λ is Lamé's first parameter and G is the shear modulus. Poisson's ratio is a measure frequently used in seismology to describe the volume change of a material in response to loading or, in other words, how much a material under compression expands in the direction perpendicular to the direction of compression. The assumption of incompressibility implies a Poisson ratio of ν=0.5. When converting material properties from geodynamic models to wave speeds for seismological applications, incompressible models result in unrealistic infinite Pwave speeds unless a different value for the Poisson ratio is assumed during the conversion (van Zelst et al., 2019).
2.1.2 Momentum conservation
Equation (5) describes the conservation of momentum or, in the way we use it here, a force balance:
where σ is the stress tensor, ρ is the density, and g is gravitational acceleration vector. The conservation of momentum states that the sum of all forces acting on any parcel of material is zero. Specifically, the first term ∇⋅σ represents the net surface forces and the second term the net body forces. In mantle convection and longterm tectonics models, the gravity force ρg is generally the only body force considered, and the gravitational acceleration g is often taken as a constant of 10 m s^{−2} for global studies because it varies by less than 10 % over the whole mantle depth (Dziewonski and Anderson, 1981), whereas for lithosphericscale studies g is taken to be 9.8 m s^{−2}. Other body forces like electromagnetic or Coriolis forces are negligibly small compared to gravity. Conversely, these forces are very important for modelling the magnetic field in the outer core. Hence, depending on the geodynamic problem, additional terms become relevant in the force balance.
The surface forces are expressed as the spatial derivatives of the stress ∇⋅σ. Stresses can be perpendicular to the surface of a given parcel of material like the pressure; they can act parallel to the surface, or they can point in any other arbitrary direction. In addition, the forces acting on a surface may be different for each surface of a parcel of material. Accordingly, the stress can be expressed as a 3×3 tensor in three dimensions (3D), with each entry corresponding to the component of the force acting in one of the three coordinate directions (x, y, z) on a surface oriented in any one of the three coordinate directions, giving a total of $\mathrm{3}\times \mathrm{3}=\mathrm{9}$ entries. One of the most complex choices in the design of a geodynamic model is the relation between these stresses and the deformation (rate) of rocks, i.e. the rheology (Sect. 2.2.1).
Under the assumption that deformation is dominantly viscous, Eqs. (2) and (5) are often referred to as the Stokes equations. In their more general form, called the Navier–Stokes equations, Eq. (5) would contain an additional term $\mathit{\rho}\phantom{\rule{0.125em}{0ex}}D\mathit{v}/Dt$ that governs inertia effects describing the acceleration of the material. In the Earth's mantle, material moves so slowly that inertia (and, consequently, the momentum of the material) does not have a significant influence on the motion of the material. Consequently, this term is very small and usually neglected in geodynamic models. In other words, we look at the behaviour of the material on such a long timescale that from our point of view, material accelerates or decelerates almost immediately to its steadystate velocity. Conversely, for models of seismic wave propagation (which cover a much shorter timescale and consequently use a different form of the momentum equation because deformation is predominantly elastic; Stein and Wysession, 2009), it is crucial to include the inertia term because it introduces the physical behaviour that allows for the formation of seismic waves.
Dropping the inertia term means that the Stokes equations (Eqs. 2 and 5) describe an instantaneous problem if the mass conservation is solved using one of the common approximations in Eqs. (3) or (4). The time does not appear explicitly in these equations, so the solution for velocity and pressure at any point in time is independent of the history unless this is explicitly incorporated in the material properties (Sect. 2.2). The model evolution in time is incorporated through Eq. (6), which describes the conservation of energy. For more details on the Stokes equations and a complete derivation, we refer the reader to Schubert et al. (2001).
2.1.3 Energy conservation
Equation (6) describes the conservation of thermal energy, expressed as ρC_{p}T:
where ρ is density, C_{p} is the isobaric heat capacity (i.e. p is pressure) T is the temperature, t is time, v is the velocity vector, k is the thermal conductivity, H is a volumetric heat production term, and $S={S}_{\mathrm{1}}+{S}_{\mathrm{2}}+{S}_{\mathrm{3}}$ represents other sources of heat. Changes in thermal energy over time $\left(\mathit{\rho}{C}_{\mathrm{p}}\partial T/\partial t\right)$ can be caused by several different processes. The term ρC_{p}v⋅∇T corresponds to advective heat transport, i.e. the transport of thermal energy with the motion of material. Consequently, it depends on the velocity v the material moves with and on how much the temperature, and with that the thermal energy, changes in space, which can be expressed through the temperature gradient ∇T. Heat is also transported by conduction, which is represented by the term ∇⋅(k∇T). When the thermal conductivity k is larger or the temperature variation as expressed by the gradient ∇T becomes steeper, more heat is diffused. If the model includes no additional heating processes, Eq. (6) can be simplified by dividing it by ρC_{p}, assuming that they are constants:
which introduces the thermal diffusivity $\mathit{\kappa}=k/\left(\mathit{\rho}{C}_{\mathrm{p}}\right)$.
The terms on the righthand side of Eq. (6) describe other heating processes that can be significant in a geodynamic model. Internal heating can be expressed as the product of the density ρ and a volumetric heat production rate H. Its most common source is the decay of radiogenic elements. Accordingly, this process is important in regions where the concentration of heatproducing elements is high, such as the continental crust. Viscous dissipation, also called shear heating, describes the amount of energy that is released as heat when material is deformed viscously and/or plastically. The more stress required to deform the material and the larger the amount of deformation, the more shear heating is produced. This can be expressed as ${S}_{\mathrm{1}}={\mathit{\sigma}}^{\prime}:{\dot{\mathit{\epsilon}}}^{\prime}$, where σ^{′} is the deviatoric stress, i.e. the part of the stress not related to the hydrostatic pressure, ${\dot{\mathit{\epsilon}}}^{\prime}$ is the nonrecoverable, i.e. nonelastic, deviatoric strain rate (see also Eqs. 8 and 9 in Sect. 2.2.1), and the colon (:) is the matrix inner product, so ${\mathit{\sigma}}^{\prime}:{\dot{\mathit{\epsilon}}}^{\prime}={\sum}_{i}{\sum}_{j}{\mathit{\sigma}}_{ij}^{\prime}{\dot{\mathit{\epsilon}}}_{ij}^{\prime}$. Adiabatic heating describes how the temperature of the material changes when it is compressed or when it expands due to changes in pressure, assuming that no energy is exchanged with the surrounding material during this process. Hence, the work being done to compress the material is released as heat. This temperature change depends on the thermal expansivity α, which expresses how much the material expands for a given increase in temperature and on the changes in pressure over time: ${S}_{\mathrm{2}}=\mathit{\alpha}TDp/Dt$. Here, $Dp/Dt=\partial p/\partial t+\mathit{v}\cdot \mathbf{\nabla}p$ is the material (Lagrangian) derivative of the pressure. Since the dominant pressure variation in the Earth's interior is the effect of the lithostatic pressure increase with depth, the usual assumption is that pressure only changes due to the vertical motion of material with velocity v_{z} along a (lithostatic) pressure gradient $\mathbf{\nabla}p=\mathit{\rho}g\widehat{\mathit{z}}$ (with $\widehat{\mathit{z}}$ the unit vector in the vertical direction), resulting in S_{2}=αTρgv_{z}.
When material undergoes phase changes, thermal energy is consumed (endothermic reaction) or released (exothermic reaction) as latent heat. This happens both for solidstate phase transitions, such as from olivine to wadsleyite, and for melting of mantle rocks. For phase transitions that occur over a narrow pressure and/or temperature range, this can lead to abrupt changes in mantle temperature where phase transitions are located, such as around 410 km depth. The amount of energy released or consumed is proportional to the density ρ, the temperature T, and the change in the thermodynamic quantity entropy across the phase transitions ΔS, i.e. ${S}_{\mathrm{3}}=\mathit{\rho}T\mathrm{\Delta}SDX/Dt$ (Schubert et al., 2001, Chapter 4.1). Here, X is the fraction of the material that has already undergone the transition, sometimes also called the phase function. For mantle melting, X would be the melt fraction. The terms discussed above are generally the most important heating processes in the Earth's interior. While there may be other sources of heat or heat transport, they are assumed to be so small that they can be neglected in most cases, such as heat transport by radiation or the energy required for reducing the mineral grain size and creating new boundaries between the grains.
2.1.4 Approximations of the governing equations
In the previous sections on the mass, momentum, and energy equations, we have already seen that there are different ways these equations can be simplified and that there is a choice of which physical processes to include. Based on an analysis of the equations, there are a number of different approximations that are commonly used in geodynamics (see also Gassmöller et al., 2020; Schubert et al., 2001). They all make choices about how the density is approximated, so it is important to understand the magnitude of density variations in a model (see also Sect. 2.2.5). In the Earth's mantle, the primary density variations that drive flow are usually caused by temperature and are on the order of 1 % of the total density (assuming a thermal expansivity of 10^{−5} K^{−1} and temperature variations of about 1000 K). Density variations due to chemical heterogeneities have a similar magnitude. Density jumps at phase transitions can reach 500 kg m^{−3}, which is on the order of 10 % of the total density. The increase in lithostatic pressure from the surface to the core–mantle boundary causes a density increase of 65 % (Schubert et al., 2001), but these density changes do not drive the flow. Density variations caused by the dynamic pressure are much smaller, on the order of 0.1 % of the total density (assuming dynamic pressures of up to 500 MPa). Note that these are estimates for the Earth's mantle, and these values may change for other applications. For example, a model of salt domes has a much larger compositional density contrast between the salt and the rock, and certain dehydration reactions can lead to volume changes larger than 10 %. Before deciding to use any of the following approximations in a geodynamic model, it is therefore important to make sure that the underlying assumptions about the density variations are justified for that particular application.
The anelastic liquid approximation (ALA; Jarvis and McKenzie, 1980) assumes that lateral density variations are small relative to a reference density profile and can be neglected in the mass equation in Eq. (3) and energy conservation equation in Eq. (6), which instead use the density of the depthdependent reference profile. Only the buoyancy term in the momentum equation in Eq. (5) uses a temperature and pressuredependent density, which is approximated using a Taylor expansion (Appendix A1). This approximation is commonly used in wholemantle convection models, wherein the density changes substantially from the surface to the core–mantle boundary, and compressibility is an important effect. Its use is appropriate as long as deviations from the reference profile remain small or are not important for the interpretation of the model. For example, substantial expansion or contraction caused by temperature changes that are not on the reference profile, such as cooling or heating in the thermal boundary layers caused by conduction, and the stresses caused by this process cannot be modelled with this approximation. Phase transitions of different types of materials can also cause large density or temperature changes, since only one type of material can be represented by the reference profile (see also Gassmöller et al., 2020).
The truncated anelastic liquid approximation (TALA; Jarvis and McKenzie, 1980; Ita and King, 1994) is based on the same assumptions as the ALA but further assumes that the variation of the density due to pressure variations can be neglected in the buoyancy term as well. In the Earth's mantle, these density variations are typically an order of magnitude smaller than the density changes caused by temperature. The TALA has similar applications as ALA but introduces an imbalance between energy dissipation calculated from the Stokes equation and heat dissipation in the energy equation. Consequently, it should be avoided when energy dissipation is important in the model (Leng and Zhong, 2008; Alboussière and Ricard, 2013).
The Boussinesq approximation (BA; Oberbeck, 1879; Boussinesq, 1903; Rayleigh, 1916) assumes that density variations are so small that they can be neglected everywhere except in the buoyancy term in the momentum equation in Eq. (5), which is equivalent to using a constant reference density profile. This implies incompressibility, i.e. the use of Eq. (4) for mass conservation. In addition, adiabatic heating and shear heating are not considered in the energy equation in Eq. (6). This approximation is valid as long as density variations are small (see also Sect. 2.1.1) and the modelled processes would cause no substantial shear or adiabatic heating. The Boussinesq approximation is often used in lithospherescale models. Due to its simplicity, the approximation of incompressibility is sometimes also adopted for wholemantle convection models, wherein it is only approximately valid, and it has been shown that compressibility can have a large effect on the pattern of convective flow (e.g. Tackley, 1996).
The extended Boussinesq approximation (EBA; Christensen and Yuen, 1985; Oxburgh and Turcotte, 1978) is based on the same assumptions as the BA but does consider adiabatic and shear heating. Since it includes adiabatic heating, but not the associated volume and density changes, it can lead to artificial changes of energy in the model, i.e. material is being heated or cooled based on the assumption that it is compressed or it expands, but the mechanical work that causes compression or expansion is not done. Consequently, the extended Boussinesq approximation should only be used in models without substantial adiabatic temperature changes.
For a comparison between some of these approximations using benchmark models, see e.g. Steinbach et al. (1989), Leng and Zhong (2008), King et al. (2010), and Gassmöller et al. (2020). In addition, the choice of approximation may also be limited by the numerical methods being employed (for example, the accuracy of the solution for the variables that affect the density). Also note that, technically, these approximations are all internally inconsistent to varying degrees (Sect. 6.2), since they do not fulfil the definitions of thermodynamic variables but use linearised versions instead, and they use different density formulations in the different equations. Nevertheless, many of them are generally accepted and widely used in geodynamic modelling studies, as they allow for simpler equations and more easily obtained solutions.
2.2 The constitutive equations: material properties
Using the equations discussed in the previous section (Sect. 2.1) to model how Earth materials move under the influence of gravity requires some assumptions about how Earth materials respond to external forces or conditions. These relations are often called constitutive equations, and they relate the material properties to the solution variables of the conservation equations, like temperature and pressure. Which of these relations is most important for the model evolution depends on the application. In regional models that impose the plate driving forces externally, the relation between stress and deformation, i.e. the rheology (Sect. 2.2.1), can be the most important parameter choice in the model and can control most of the model evolution. Since buoyancy is one of the main forces that drive the flow of Earth materials, it is often most important to take into account how the density depends on other variables and to include this dependency in the buoyancy term, i.e. the righthand side of Eq. (5). This is particularly important for mantle convection models and is described by the equation of state (Sect. 2.2.5) of the material. In models of the lithosphere and crust, stress and state of deformation become more important. The constitutive equations can also include timedependent terms, like in cases in which the strength of a rock depends on its deformation history, requiring additional equations to be solved (see also Sect. 2.3).
2.2.1 Rheology of Earth materials
The rheology describes how materials deform when they are exposed to stresses. This relation between stress and deformation enters the momentum equation in Eq. (5) in the term ∇⋅σ, which represents the surface forces, and is also used to compute the amount of shear heating ${\mathit{\sigma}}^{\prime}:{\dot{\mathit{\epsilon}}}^{\prime}$ in the energy balance. In many cases, the material reacts differently to shear stresses (acting parallel to the surface) and normal stresses (acting normal to the surface and leading to volumetric deformation). Correspondingly, the resistance to these different types of deformation is expressed by different material parameters: the shear viscosity or shear modulus and the bulk viscosity or bulk modulus.
Rocks deform in different ways, necessitating different rheologies. For example, rocks can deform elastically or by brittle failure. On long timescales their inelastic deformation is usually modelled as that of a highly viscous fluid. Based on this latter assumption, we use the Stokes equations to describe the deformation. This physical model adequately explains many processes in the Earth's interior related to mantle convection and observations. However, some observations such as plate tectonics, which involve strain localisation and strong hysteresis, and the existence of ancient geochemical heterogeneity revealed by isotopic studies are behaviours not commonly associated with fluids. Indeed, in fluids, different chemical components are wellmixed in a convective flow, and the flow usually does not depend on the deformation history and has no material memory. Geodynamic models still aim to reproduce such processes using complex rheologies that go beyond the basic assumption of a viscous fluid and include plastic yielding, strain or strain rate weakening or hardening, and other friction laws (see below). Hence, resolving how to go forward with the assumption of a viscous fluid in the face of complex deformation behaviour of rocks remains an important challenge for the geodynamic modelling community.
In the following, we will discuss some common rheological behaviours being used in geodynamic models.
2.2.2 Viscous deformation
We start by discussing a very simple type of rheology with the following features: (i) only viscous (rather than elastic or brittle) deformation, (ii) deformation behaviour that does not depend on the direction of deformation (corresponding to an isotropic material), (iii) a linear relation between the stress and the rate of deformation (corresponding to a Newtonian fluid), and (iv) a low amount of energy dissipation under compaction or expansion (corresponding to a negligible bulk viscosity). In this case, the (symmetric) stress tensor σ can be written as
where p is the pressure, I is the unit tensor, σ^{′} is the deviatoric stress tensor, η is the (dynamic) shear viscosity, and ${\dot{\mathit{\epsilon}}}^{\prime}\left(\mathit{v}\right)$ is the deviatoric rate of deformation tensor (often called the deviatoric strain rate tensor), which is directly related to the velocity gradients in the fluid. The total strain rate tensor is defined as
It describes both volume changes of the material (volumetric) and changes in shape (deviatoric), and it can be written as the sum of these two deformation components: $\dot{\mathit{\epsilon}}\left(\mathit{v}\right)=\frac{\mathrm{1}}{\mathrm{3}}\left(\mathrm{\nabla}\cdot \mathit{v}\right)\mathbf{I}+{\dot{\mathit{\epsilon}}}^{\prime}\left(\mathit{v}\right)$. The prime denotes the deviatoric part of the tensor, i.e. the part that refers to the change in shape. It follows that the case of incompressible flows, with the density assumed to be constant and $\mathbf{\nabla}\cdot \mathit{v}=\mathrm{0}$ (Eq. 4), also implies ${\dot{\mathit{\epsilon}}}^{\prime}\left(\mathit{v}\right)=\dot{\mathit{\epsilon}}\left(\mathit{v}\right)$. Hence, incompressibility implies that there is no volume change of the material, so this part of the strain rate tensor is not taken into account.
In the Earth's interior, viscous deformation is the dominant rock deformation process on long timescales if temperatures are not too far from the rocks' melting temperature. Under these conditions, imperfections in the crystal lattice move through mineral grains and contribute to largescale deformation over time. The physical process that is thought to most closely resemble this idealised case of a Newtonian fluid is diffusion creep, whereby single atoms or vacancies, i.e. the places in the crystal lattice where an atom is missing, migrate through the crystal. Diffusion creep is assumed to be the dominant deformation mechanism in the lower mantle. Other creep processes exhibit different behaviour. Dislocation creep, which is considered to be important in the upper mantle, is enabled by defects in the crystal lattice that are not just a single atom, but an entire line of atoms. Dislocation creep is highly sensitive to the stress applied to a rock, which means that the relation between stress and strain rate is no longer linear but a power law. Peierls creep, which has an exponential relation between stress and rate of deformation, becomes important at even higher stresses (Gerya, 2019). Grain boundary sliding describes deformation due to grains sliding against each other along grain boundaries, which has to be accommodated by another mechanism that allows the grains themselves to deform (e.g. diffusion or dislocation creep). It becomes important at high temperatures and high stresses (Hansen et al., 2011; Ohuchi et al., 2015).
Consequently, the viscosity of rocks strongly depends on e.g. temperature, pressure, stress, size of the mineral grains, deformation history, and the presence of melt or water, and it varies by several orders of magnitude, often over small length scales. These experimentally obtained flow laws can be expressed in a generalised form using the relation (Hirth and Kohlstedt, 2003)
where $\dot{\mathit{\epsilon}}$ is the strain rate, σ_{d} is the applied differential stress, d is the grain size, ${f}_{{\text{H}}_{\mathrm{2}}\text{O}}$ is the water fugacity and relates to the presence of water, ϕ is the melt fraction, and A, n, q, r, α^{∗}, E, V, and R are constants. In geodynamic modelling, this flow law is usually recast in terms of the square root of the second invariant of the deviatoric strain rate or stress tensors to obtain the effective viscosity (see Chapter 6 of Gerya, 2019). Each of these parameters (except for R, which is the gas constant) varies depending on the mineral and creep mechanism. Which of these dependencies is most important depends on the type of model. For example, diffusion creep exhibits a linear relation between stress and strain rate, so n=1, whereas dislocation creep strongly depends on stress (typically $n\sim \mathrm{3}\mathrm{4}$), but there is no dependence on grain size (i.e. q=0). Accordingly, temperature is probably the most important control in the lower mantle, while in the upper mantle, the stress dependence plays a dominant role. Grain size d is another potentially strong influence (e.g. Hirth and Kohlstedt, 2003; King, 2016; Jain et al., 2018), but since the grain size in the mantle is not wellconstrained it is hard to include this effect in geodynamic models (Dannberg et al., 2017). While the presence of melt can also lead to substantial weakening of rocks, the exact dependence on melt fraction is less wellconstrained than other dependencies, and additional equations for the motion of melt are usually required to model a realistic melt distribution (see also Sect. 2.3). Generally, several deformation mechanisms with different flow laws (Eq. 10) can be active at the same time, and their individual strain rates add up to the total “effective” rate of deformation.
2.2.3 Elastic deformation
On shorter timescales, the elastic behaviour of rocks becomes important in addition to viscous flow. In the case of elasticity, the stress tensor is related to the strain tensor through the generalised Hooke's law $\mathit{\sigma}=\mathbf{C}:\mathit{\epsilon}\left(\mathit{u}\right)$, where C is the fourthorder elastic tensor and ε is the strain tensor, which depends on the displacement vector u as follows:
Hence, for elastic deformation, the stress is proportional to the amount of deformation rather than the rate of deformation, as is the case for viscous processes. Due to the inherent symmetries of σ, ε, and C, the tensor C is reduced to two numbers for homogeneous isotropic media, and the stress–strain relation becomes
where λ is the first Lamé parameter and G is the second Lamé parameter (also referred to as shear modulus), which describes how much the material deforms elastically under a given shear stress. These two moduli together define Poisson's ratio ν (also see Sect. 2.1.1).
Elastic deformation is often included in geodynamic codes that solve the Stokes equations by taking the time derivative of Eq. (12), which introduces the velocity and strain rate. The term $\dot{\mathit{\sigma}}$ is then approximated by a firstorder Taylor expansion (see Appendix A), which ultimately amounts to adding terms to the righthand side of the momentum equation (Eq. 5; see, for example, von Tscharner and Schmalholz, 2015).
2.2.4 Brittle deformation
For strong deformation and large stresses on short timescales, such as occurring in the crust and lithosphere, brittle deformation becomes the controlling mechanism. In this case, a fault or a network of faults (which can range from the atomic to the kilometre scale) accommodates deformation. The relative motion of the two discrete sides of the fault is limited by the friction on the interface. However, in a continuum formulation, discontinuous faults cannot be represented, and hence the deformation in geodynamics models typically localises in socalled shear bands of finite width, which can be interpreted as faults on crustal and lithospheric scales (van Zelst et al., 2019). We approximate the brittle behaviour by socalled plasticity, characterised by a yield criterion that determines the yield stress (also called yield strength) that the maximum stress must satisfy. When locally builtup stresses reach this yield stress, the rock is permanently deformed and the plastic strain rate is no longer zero. Note that it is difficult to compare a tensor (the stress) and a scalar (the yield stress). This is particularly important as the difference between the standard yield criteria is partly based on the way that this comparison is made, i.e. the stress invariant for the von Mises and Drucker–Prager yield criteria, which leads to a smooth yield envelope, versus shear stress for the Tresca and Mohr–Coulomb yield criteria, which leads to a segmented yield envelope. Also, in other Earth science communities the terms “plastic deformation” and “plasticity” are used to describe all nonrecoverable, timedependent deformation (e.g. solidstate creep, like dislocation creep) that is commonly also referred to as ductile or viscous deformation (e.g. Karato, 2008; Fossen, 2016). Here we use plasticity to refer to nonrecoverable, nearly instantaneous yielding at high stresses and fracturing.
One of the most wellknown yield criteria is the Mohr–Coulomb criterion (Handin, 1969; Kachanov, 2004), whereby yielding occurs when
where ${\mathit{\tau}}_{\text{m}}=\frac{{\mathit{\sigma}}_{\mathrm{1}}{\mathit{\sigma}}_{\mathrm{3}}}{\mathrm{2}}$ is the maximum shear stress (i.e. m stands for maximum), ${\mathit{\sigma}}_{\text{m}}=\frac{{\mathit{\sigma}}_{\mathrm{1}}+{\mathit{\sigma}}_{\mathrm{3}}}{\mathrm{2}}$ is the maximum normal stress, σ_{1} and σ_{3} are the maximum and minimum principal stresses, respectively, C is the cohesion, and ϕ_{f} is the angle of friction. The strength of rocks is primarily characterised by the two parameters C and ϕ_{f} that are obtained from laboratory measurements.
Often Eq. (13) is rewritten as $F={\mathit{\tau}}_{\text{m}}C\mathrm{cos}{\mathit{\varphi}}_{\text{f}}{\mathit{\sigma}}_{\text{m}}\mathrm{sin}{\mathit{\varphi}}_{\text{f}}=\mathrm{0}$, where F is the yield criterion. F>0 is not allowed as the stresses would then exceed the strength of the rock. This function can be formulated as a function of the pressure and the second and third deviatoric stress invariants (see Appendix B of Thieulot, 2011, for the invariants expression). For each location in the model domain, if F<0, then deformation is (elasto)viscous; otherwise; plastic deformation occurs and a solution satisfying F=0 is found.
In a Mohr's circle diagram of shear stress τ versus normal stress σ_{n}, the Mohr–Coulomb yield function or envelope is given by
where μ_{f}=tan ϕ_{f} represents the friction coefficient of the rock. It is clear from this equation that the effective strength of the rock increases with the normal stress. At F=0, Mohr's circle touches the yield function.
Experimentally, Byerlee (1978) measured $\mathit{\tau}={\mathit{\mu}}_{\text{f}}\phantom{\rule{0.25em}{0ex}}{\mathit{\sigma}}_{\text{n}}=\mathrm{0.85}{\mathit{\sigma}}_{\text{n}}$ for low stresses up to approximately 200 MPa and $\mathit{\tau}=C+{\mathit{\mu}}_{\text{f}}\phantom{\rule{0.25em}{0ex}}{\mathit{\sigma}}_{\text{n}}=\mathrm{50}+\mathrm{0.6}{\mathit{\sigma}}_{\text{n}}$ (in MPa units) for higher normal stresses. This relationship between the shear stress and the normal stress is commonly referred to as Byerlee's law.
The numerical implementation of the Mohr–Coulomb yield criterion is convoluted because of the shape of the yield envelope in the principal stress space $({\mathit{\sigma}}_{\mathrm{1}},{\mathit{\sigma}}_{\mathrm{2}},{\mathit{\sigma}}_{\mathrm{3}})$. As a consequence, the Drucker–Prager yield criterion (Drucker and Prager, 1952) is often preferred. In the case of an incompressible, twodimensional (2D) model with a plane strain assumption, the Drucker–Prager and Mohr–Coulomb yield criteria are equivalent for consistently chosen parameters. However, in general the Drucker–Prager and Mohr–Coulomb criteria are not equivalent and the resulting strength of the rocks can differ by as much as 300 % between them (Wojciechowski, 2018) for the same friction angle and cohesion parameters. In contrast to the above Drucker–Prager and Mohr–Coulomb criteria, the simpler von Mises and Tresca yield criteria do not consider a normal stress or pressure dependence of the yield stress.
A common simplification of the Drucker–Prager and Mohr–Coulomb yield criteria is to use the lithostatic pressure p_{lith}=ρgz (where z is depth) instead of the total pressure, thereby ignoring contributions to the pressure by e.g. the dynamic pressure and pore fluid pressure. This assumption effectively makes the yield criterion purely depthdependent and is sometimes referred to as the depthdependent von Mises criterion (Spiegelman et al., 2016). If only lithostatic pressure is used in the yield criterion, shear bands are always oriented at 45^{∘} with regards to the principal stress directions under both extension and compression. This assumption is allowed for the mantle, where the total pressure is close to the lithostatic pressure. However, pressure can deviate strongly from the lithostatic pressure in the lithosphere, which can have major effects on the results.
In nature, the strength of rocks can change over time and depends on the deformation history. Examples are the evolution of the mineral grain size, formation of a fault gouge, and percolation of fluids, which alter the strength of the rock. To account for this variation in strength over time on tectonic timescales, the cohesion and friction coefficient of the rock can be made dependent on the strain or strain rate in what is called strain or strain rate weakening (also called softening): when the strain or strain rate increases, the strength of the rock is lowered. Similarly, strain or strain rate hardening can be applied (e.g. Massmeyer et al., 2013). When geodynamic models are used to study fault and earthquake processes, they focus on a shorter timescale of rock strength variations (Fig. 1), and a more sophisticated way of representing strength variations needs to be used. Experiments have shown that the strength of the rock is better represented as depending on slip velocity (i.e. the velocity with which the two sides of a fault slide past each other). In hybrid seismothermomechanical models, it is often assumed that the slip velocity is equivalent to the strain rate apart from a multiplication with an assumed constant fault width (van Dinther et al., 2013a). Complex friction laws based on the parameterisation of lab experiments have been developed to describe the change in friction coefficient μ_{f} (Eq. 14) of rocks during an earthquake varying from simple linear slip weakening approximations (Ida, 1973) to complex rate (van Dinther et al., 2013a; Dal Zilio et al., 2018; van Zelst et al., 2019) and rateandstatedependent friction laws (Lapusta et al., 2000; Sobolev and Muldashev, 2017; Herrendörfer et al., 2018).
In the Earth, the relation between stress and deformation can be very complex, and deformation is a combination of elastic and viscous behaviour and brittle failure. In general, both the viscosity and the elastic moduli can depend on temperature, pressure, chemical composition, the presence of melt and fluids, the size and orientation of mineral grains, the rate of deformation, and the deformation history of the material. Consequently, Earth materials are usually not isotropic, and the strength of the material depends on the direction of deformation. To incorporate this behaviour into geodynamic models, the viscosity and elastic moduli have to be expressed as tensors and cannot be reduced to one or two parameters (Mühlhaus et al., 2002; Lev and Hager, 2008). This complexity is not taken into account in most geodynamic models. This is, on the one hand, because it is computationally expensive and requires substantial effort to implement in a model, but also because there is substantial uncertainty in how, specifically, rocks deform anisotropically. For models that include anisotropy, see, for example, Mühlhaus et al. (2002), Kocher et al. (2006), Lev and Hager (2008), Heister et al. (2017), Faccenda (2014), PerryHouts and Karlstrom (2018), and Király et al. (2020a).
2.2.5 The equation of state
The relation between density, temperature, pressure, and sometimes other variables like chemical composition is often called the equation of state. It describes the state of the material (density) under a set of conditions (temperature, pressure, etc.). It incorporates material properties such as the thermal expansivity α, which describes how much the rock expands when the temperature is increased, and the compressibility, which describes how much the volume of a rock decreases when it is exposed to higher pressures. These relations should be chosen in a way that is thermodynamically consistent (see Sect. 6.2).
Depending on the model application, there are many different equations of state that can be used. For models that aim to capture the firstorder effects of a given process, analyse the influence of a material property on the model evolution, or develop a scaling law (see Sect. 5.2.2), it is often appropriate to simplify the relationships between solution variables and material properties. In mantle convection models, the temperature usually has the largest influence on density variations that affect buoyancy. So in the simplest case, the equation of state may be a linear relationship between density and temperature. For example, it could take the form $\mathit{\rho}={\mathit{\rho}}_{\mathrm{0}}(\mathrm{1}\mathit{\alpha}\mathrm{\Delta}T)$, with ρ_{0} being the constant reference density, and $\mathrm{\Delta}T=T{T}_{\mathrm{0}}$, with T_{0} being the constant reference temperature at which the density equals ρ_{0}. This relationship is commonly used in the Boussinesq approximation. However, the most important variables depend on the application. For example, chemical composition plays an important role in both the outer core, where temperature variations are very small, and in lithospheric deformation.
On the other end of the spectrum, there are models designed to fit existing observations (e.g. seismic wave speeds; see also Sect. 5.2.1). In such a scenario, it is often desirable to include the material properties in the most realistic way that our current knowledge allows. This requires knowledge about mineral physics and thermodynamics, which is often handled by external thermodynamics programmes. Software packages such as Perple_X (Connolly, 1990), HeFESTo (Stixrude and LithgowBertelloni, 2005), and BurnMan (Cottaar et al., 2014), in connection with a mineral physics database, include the complex thermodynamic relations that determine how mineral assemblages evolve under Earth conditions. They compute material properties as a function of the solution variables of the geodynamic model (usually temperature and pressure, but alternatively, specific entropy and volume, or a combination of these variables, can be used; see Connolly, 2009). Twoway coupling of geodynamic and thermodynamic models is challenging, and there are ongoing community efforts to improve model interoperability (e.g. ENKI, http://enkiportal.org, last access: 24 February 2022). On the other hand, oneway coupling, wherein precomputed lookup tables from thermodynamic software for a fixed composition and pressure–temperature range are used to determine the material properties in geodynamic models, has become a common approach (Gerya et al., 2004; Nakagawa et al., 2009; Faccenda and Dal Zilio, 2017; Rummel et al., 2020).
2.3 More complex processes
The mass, momentum, and energy conservation equations are visibly coupled since velocity (derivatives) and pressure enter the stress tensor, and thermal energy transport due to advection depends on the velocity. More importantly, the previous sections have highlighted how material properties such as α, ρ, and C_{p} depend on pressure, temperature, and other quantities such as composition and the fact that deformation is partitioned between various mechanisms. Their pressure, temperature, and strain rate dependence makes the exact partitioning complex and renders the conservation in Eqs. (2), (5), and (6) very nonlinear with regards to the primary variables v, p, and T. Hence, the equations usually contain nonlinear terms that imply a relationship between the solution variables that is no longer linear.
In addition to temperature, pressure, and velocity there may be other conditions in the model that change over time and are important for the model evolution, but not directly related to changes in temperature, pressure, and velocity. A common example is the chemical composition of the material (which can refer to the major element composition but may also relate to the water content, for example). In this case, a transport equation is required for every additional quantity that should be tracked in the model and moves with the material flow:
where c_{i} is the tobetracked quantity, t is time, v is velocity, and n_{c} is the number of compositions, fields, or materials present. This advection equation assumes that at any given location, changes in composition over time $\partial {c}_{i}/\partial t$ are caused by the transport of material with the velocity v of the flow. The stronger the spatial variations in composition, expressed by the gradient of the composition ∇c_{i}, and the faster the flow, the bigger the changes in composition over time. Another way to think about this is that this equation describes the mass conservation of each composition (compare to Eq. 2). Consequently, if there are other processes that influence the composition, like chemical reactions or diffusion, the corresponding terms would have to be included in the equation.
Other physical processes may require additional terms or additional equations. Examples are the generation of the magnetic field in the outer core (Jones, 2011), twophase (McKenzie, 1984; Bercovici et al., 2001) or multiphase flow (Oliveira et al., 2018; Keller and Suckale, 2019), disequilibrium melting (Rudge et al., 2011), complex magma dynamics in the crust (Keller et al., 2013), reactive melt transport (Aharonov et al., 1995; Keller and Katz, 2016), (de)hydration reactions and water transport (Faccenda et al., 2012; Magni et al., 2014; Quinquis and Buiter, 2014; Wilson et al., 2014a; Nakagawa et al., 2015), the evolution of the mineral grain size (Hall and Parmentier, 2003; Solomatov and Reese, 2008; Bercovici and Ricard, 2012; Cerpa et al., 2017; Mulyukova and Bercovici, 2019), the fluid dynamics and thermodynamics of a magma ocean (Labrosse et al., 2007; Solomatov, 2000; Ulvrová et al., 2012), the interaction of tectonic processes with erosion and other surface processes (Burov and Cloetingh, 1997; Roe et al., 2006; Thieulot et al., 2014; Ueda et al., 2015; Sternai, 2020), anisotropic fabric (Mühlhaus et al., 2002; Lev and Hager, 2008; Heister et al., 2017; Faccenda, 2014; PerryHouts and Karlstrom, 2018; Király et al., 2020a), phase transformation kinetics (Bina et al., 2001; Tetzlaff and Schmeling, 2009; Quinteros and Sobolev, 2012; Agrusta et al., 2014), and inertial processes and seismic cycles (van Dinther et al., 2013b, a; Sobolev and Muldashev, 2017; Tong, 2019). Since the aim of this contribution is to introduce the general concepts of geodynamic modelling, we will not discuss these more complex effects here and will instead focus on the main conservation equations presented above.
In the end, the partial differential equations in Eqs. (2), (5), (6), and potentially (15), as well as the constitutive equations, must be supplemented by the geometry of the domain on which they are to be solved (e.g. 2D or 3D, Cartesian, cylindrical, spherical; Sect. 5), a set of initial conditions for the timedependent temperature and compositions, and a set of boundary conditions (Sect. 5.3).
The conservation equations in Sect. 2.1 generally cannot be solved analytically. However, computers are capable of finding approximate solutions to Eqs. (2), (5), and (6). To this end, we must define a numerical model, i.e. the mathematical description of the physical model in a computer language, to solve numerically. As computers cannot by construction represent a continuum, the above equations must be discretised and then solved on a finite domain divided into a finite number of grid points, which together form the mesh of the computation. This process requires specific numerical methods (Sect. 3.1) and choices (Sects. 3.2–3.7) as well as verification of the resulting numerical code (Sect. 4). For a recent indepth analysis and outlook on numerical methods in geodynamics, we refer the reader to Morra et al. (2020).
3.1 Numerical methods
The solutions of the continuum equations described in Sect. 2.1 need to be computed on a finite number of moments in time and locations in space. Rewriting the equations in Sect. 2.1 for a discrete number of points is called discretisation. The three main methods of discretisation in geodynamics are the finiteelement method (FEM), the finitedifference method (FDM), and the finitevolume method (FVM). The last two are equivalent in some instances, such as in the case of the commonly used staggeredgrid finitedifference discretisation in geodynamic codes. Often combinations of these methods are used to deal with time and space discretisation separately. All three discretisation methods convert ordinary differential equations (ODEs) or partial differential equations (PDEs), which may be nonlinear, into a system of linear equations that can be solved by matrix algebra techniques. None is intrinsically better than the other, although there are differences that make a certain method more suitable for certain types of science questions. For instance, the finiteelement and finitevolume methods are capable of dealing with nonCartesian geometries, such as the spherical shape of the Earth, or topography at the surface of a model, while the finitedifference method is not. On the other hand, the finitedifference method is more intuitive in its design than the other two. An overview of the basic principles of these numerical methods is available in IsmailZadeh and Tackley (2010) and Zhong et al. (2015), and an indepth exposé of the finitedifference method in geodynamics is available in Gerya (2019). It is worth noting that spectral methods are also encountered in mantle dynamics modelling (IsmailZadeh and Tackley, 2010; Petrunin et al., 2013), as is the boundary element method (BEM) (Morra et al., 2009, 2010) and the lattice Boltzmann method (Mora and Yuen, 2017). Meshless methods such as the discreteelement method (DEM; Buiter et al., 2016), the smoothed particle hydrodynamics method (SPH; Golabek et al., 2018), and the radial basis function method (RBF; Arrial et al., 2014) have also been used in geodynamic modelling. In what follows we focus on the most popular methods, i.e. finite differences, finite elements, and finite volumes.
3.2 Discretisation
The discretisation concept for all three main methods (FEM, FDM, FVM) is identical. The domain is subdivided in cells or elements, as shown in Fig. 4. In essence, the methods look for the solution of the equations in Sect. 2.1 in the form of combinations of polynomial expressions (also called shape functions in FEM terminology) defined on each element or cell.
To illustrate this concept, we provide a small example here for the conservation of energy using the finitedifference method, which is based on a Taylor expansion keeping only first and secondorder terms (see Appendix A for the complete example). In one dimension and under the assumptions that there is no advection or heat sources and that the coefficients are all constant in space, Eq. (6) becomes what is commonly called the heat equation:
This is to be solved for T(x,t), for x between 0 and L_{x}, and t between 0 and t_{final}. The time discretisation describes how to use a temperature distribution that is known at time t_{n} to compute a new temperature at time ${t}_{n+\mathrm{1}}={t}_{\text{n}}+\mathrm{\Delta}t$, with Δt being the time step size. The discretisation in space means that this temperature distribution is computed at a finite number np of points. The simplest way of choosing the position of these points is such that x_{i}=ih, with $h={L}_{x}/(np\mathrm{1})$ being the distance between points (which is often referred to as the resolution or grid size of the model) and the point indices running $\mathrm{0}\le i\le np\mathrm{1}$. As shown in Appendix A, there are different ways of discretising Eq. (16), but the socalled explicit version is written as
where the subscripts refer to space indices and the superscripts refer to time indices, i.e. ${T}_{i}^{n}=T({x}_{i},{t}_{\text{n}})$. This also means that ${T}_{i}^{\mathrm{0}}$ is the initial temperature condition needed to start the calculation. In this example, we know all temperatures at time step n and we can easily compute the temperatures at time step n+1 at all locations i inside the domain, while the temperature on the boundary T(x_{i=0}) and $T\left({x}_{i=np\mathrm{1}}\right)$ is prescribed by the boundary conditions. It also illustrates what the name of the finitedifference method means: when going from the continuum to a finite number of grid points, derivatives are approximated by differences in temperature between these points. In addition, “finite” refers to the mathematical definition of a derivative as a limit where h→0 is replaced by a formula in which h remains finite (see Appendix A).
While finitedifference codes only need to specify the order of the approximation they rely on (and the associated stencil), finiteelement codes often specify the type of element they use (i.e. the specific polynomial expressions for the shape functions). This also controls how the partial differential equations are solved on the grid, with finitedifference methods solving the equations pointwise and finiteelement methods averaging the equations per element. Earlier codes such as Citcom (S/CU) (Moresi and Solomatov, 1995), ConMan (King et al., 1990), and SOPALE (Fullsack, 1995) relied on the computationally cheap (i.e. yielding the smallest possible linear system size) Q_{1}×P_{0} element. This finiteelement pair is known to be unstable and this manifests itself via socalled pressure modes (see Sect. 6.1). Stable pairs are to be preferred, and modern codes such as ASPECT (Kronbichler et al., 2012) and pTatin3D (May et al., 2015) rely on the more accurate Q_{2}×Q_{1} and ${Q}_{\mathrm{2}}\times {P}_{\mathrm{1}}$ (sometimes denoted ${Q}_{\mathrm{2}}\times {P}_{\mathrm{1}}^{\mathrm{disc}}$) elements, respectively.
For quadrilaterals and hexahedra, the designation Q_{m}×Q_{n} means that each component of the velocity is approximated by a continuous piecewise polynomial of degree m in each direction on the element and likewise for pressure, except that the polynomial is of degree n. Again for the same families, ${Q}_{\text{m}}\times {P}_{n}$ indicates the same velocity approximation with a pressure approximation that is a discontinuous complete piecewise polynomial of degree n (not of degree n in each direction) (Donea and Huerta, 2003; Gresho and Sani, 2000). Stable elements are typically characterised by m>n.
For all methods, the discretisation process results in a linear system of equations with its size being the number of unknowns, i.e. a multiple of the number of nodes and/or elements. This system of equations is written as
where A is a large and very sparse matrix, X is the vector of unknowns, typically consisting of velocity components, pressure, and temperature on the grid, and b is the known righthandside vector. In each time step, the system is solved, and new solution fields are obtained, postprocessed, and analysed. If the model evolves in time, the domain and therefore the mesh may evolve, compositions are transported, and a new system is formed.
3.3 Kinematical description
After the discretisation step, a kinematical description must be chosen to define how the material is going to move in the model. There are several widely used options, i.e. the Eulerian, Lagrangian, and arbitrary Lagrangian–Eulerian (ALE) formulations (Fig. 5).
Eulerian codes have a fixed mesh through which material flows. Since the evolution of the top boundary of the model is often of prime importance in geodynamical studies as it accounts for the generated topography, a feature that is directly and easily observable on Earth, the air above the crust must be modelled as well to allow for the formation of topography. This air layer has been coined “sticky air” (Crameri et al., 2012) because of its much higher viscosity (∼10^{18} Pa s) than real air ($\sim {\mathrm{10}}^{\mathrm{5}}$ Pa s). This higher viscosity is necessary to avoid numerically difficult viscosity contrasts in the domain of more than 20 orders of magnitude. Although the sticky air viscosity seems high, it remains very low compared to the effective viscosity of the crust (∼10^{24} Pa s) bordering the sticky air, so negligible shear forces are exerted on the crust surface by the air layer. Hence, topography can be developed. Finitedifference codes typically use the Eulerian kinematical description and the sticky air approach. Problems associated with the use of sticky air and a possible solution are presented in Duretz et al. (2016).
In contrast to a Eulerian kinematical description, the mesh of Lagrangian codes deforms with the computed flow and therefore does not require the use of sticky air to model topography. This limits Lagrangian codes to small deformation. For example, subduction processes would quickly deform the mesh to such a point that it would not be suitable for accurate calculations. PyLith (Aagaard et al., 2013), a finiteelement code for dynamic and quasistatic simulations of crustal deformation, uses a Lagrangian kinematical description.
Finally, as its name implies, the arbitrary Lagrangian–Eulerian (ALE) method, part of the semiLagrangian class of methods, is a kinematical description that combines features of both the Lagrangian and Eulerian formulations. In geodynamical codes, it often amounts to the mesh conforming vertically or radially to the free surface while retaining its structure in the horizontal or tangential direction (Fig. 5). This approach forms the basis of the SOPALE (Fullsack, 1995), FANTOM (Thieulot, 2011), pTatin3D (May et al., 2015), and ASPECT (Rose et al., 2017) codes.
3.4 Solving the linear system
The discretisation process outlined in Sect. (3.2) leads to a linear system as given in Eq. (18). There are many ways to solve these large linear systems of equations, which can be split into two families: direct methods and iterative methods. Direct methods exploit the sparsity of the matrix (i.e. the ratio of nonzero terms to the number of terms in the matrix is very small) and arrive at the desired solution within a predictable number of operations. Because of the memory requirements of the direct solvers to store and process the matrix terms, these tend to be used for 2D applications (or lowresolution 3D problems) only. Examples of direct solver packages frequently used in geodynamics (e.g. Braun et al., 2008; Quinquis et al., 2011; Thieulot, 2011) are MUMPS (Amestoy et al., 2019), Pardiso (Petra et al., 2014), and WSMP (, ).
Iterative methods start with an initial solution (a guess) and incrementally improve on it until a convergence criterion is met; i.e. the remaining error (residual) is small. Common iterative methods in geodynamic codes are the conjugate gradient (CG) method (Shewchuk, 1994) and the GMRES (generalised minimal residual) method (Saad, 2003; Langer and Neumüller, 2018), which are used in conjunction with multigrid methods to accelerate their convergence. Note that the choice of iterative solving method is intrinsically tied to the properties of the matrix A. The most popular iterative solvers packages are PETSc (Balay et al., 1997) (used in pTatin3D, May et al., 2015) and Trilinos (Heroux et al., 2005) (used in ASPECT, Kronbichler et al., 2012). Recently, iterative pseudotransient solvers have been used to solve coupled sets of equations (Räss et al., 2019; Reuber et al., 2020b). These methods introduce a physicsbased transient term (a time derivative) to a steadystate equation in order to iterate towards the steadystate solution. The matrixfree, finitedifference, pseudotransient schemes of Räss et al. (2019) are wellsuited for GPU (graphical processing unit) accelerated systems (Räss et al., 2020).
3.5 Computer architectures and parallelisation
Early computing architectures of the 1970s were quite limited by today's standards and predominantly relied on sequential programming whereby one task is performed after the other (Fig. 6). Hence, early models in the 1970s were confined to a few thousand unknowns at most (Stephansson and Berner, 1971; Beaumont and Lambert, 1972). The computer architectures and processor speeds on which calculations are performed have since vastly increased in the past decades following Moore's law (Eijkhout, 2013), resulting in models with several hundred million unknowns now possible (Alisic et al., 2012). Accommodating such enormous computational loads was only made possible by the use of parallel architectures (Fig. 6) and their growing availability. Such architectures can be multicore processorbased commoditygrade desktop computers, homemade (socalled Beowulf clusters), or super calculators counting up to a few million processors as listed in the TOP500 (https://www.top500.org/, last access: 24 February 2022). The majority of the stateoftheart geodynamics codes run in parallel on distributed memory systems and rely on the MPI (Message Passing Interface) standard (Fig. 6). In MPI, domain decomposition is used; i.e. each computer thread of tasks only “knows” about a subset of the mesh for which the solution is obtained. This allows for a virtually unlimited number of threads but it requires the whole code to be built with parallelism in mind to achieve maximum efficiency (Saad, 2003).
Other codes, such as the surface processes code FastScape (Braun and Willett, 2013) or the geodynamics code I2/I3ELVIS (Gerya and Yuen, 2007), rely on a different approach based on OpenMP, which is limited to running on shared memory systems. OpenMP can be added later on to an already existing sequential code and targets areas of the code which take the most time. Although appealing at first, this level of parallelism is limited by the number of CPUs attached to the single memory (typically a few dozen at the maximum). It is worth noticing that many codes or the linear algebra libraries that they link to use a combination of both MPI and OpenMP.
When documenting the parallel performance of a code, one often talks of strong and weak scaling (Kronbichler et al., 2012; May et al., 2015; Kaus et al., 2016). Strong scaling is defined as how the solution time varies with the number of processors for a fixed problem size. Optimal strong scaling is achieved if the solution time is inversely proportional to the number of processors. Conversely, when looking at weak scaling, both the number of processors and the problem size are increased by the same factor. This also results in a constant workload per processor, and one therefore expects a constant solution time for optimal weak scaling. In practice, all geodynamic modelling codes have different limits for their strong and weak scaling, thereby limiting the size of the model they can effectively compute.
3.6 Dealing with nonlinearities
As mentioned in Sect. 2.3, the set of partial differential equations to be solved is likely to be nonlinear; i.e. the coefficients of the equations depend on the solution. For example, the viscosity may depend on the velocity via the strain rate tensor, which makes the term of the momentum equation that is the product of viscosity and strain rate a nonlinear term. Special techniques must then be employed to solve this system, and socalled nonlinear iterations are carried out on the linearised equations until a converged solution is obtained. Note that these nonlinear iterations are distinct from the iterations taking place in the iterative method employed to solve the system. One type of nonlinear iteration is a fixedpoint (Picard) iteration, whereby a guess of the solution is made and used to compute the solutiondependent coefficients. The linear system is solved, and the coefficients are updated with the new solution. This process is repeated until the lefthand side and the righthand side of the linear system match up to a given tolerance. Then, the iterative process has reached convergence. This technique is suboptimal in its convergence rate as it often requires dozens or hundreds of iterations for strongly nonlinear problems; i.e. the linear system must be solved as many times (Spiegelman et al., 2016; Glerum et al., 2018).
Stateoftheart codes now all rely on some form of Newton iterations based the Newton–Raphson method, which guarantee quadratic convergence towards the solution in contrast to the linear convergence of the Picard iteration, provided the initial guess is close enough to the solution of the nonlinear problem (May et al., 2015; Kaus et al., 2016; Rudi et al., 2015; Spiegelman et al., 2016). It is worth noting that the implementation of Newton's method is substantially more complex and therefore difficult than Picard iterations (Fraters et al., 2019a).
3.7 Tracking materials
Aside from the conservation of mass, momentum, and energy, special care must be taken when solving the advection in Eq. (15), which accounts for the tracking of the different fluids, chemical species, or materials in a broad sense. Many techniques have been devised in the field of computational fluid dynamics and are used in geodynamic codes. The methods differ in whether they are designed to treat smoothly varying fields such as temperature or discontinuous fields such as those that represent lithologies. Many methods have been developed to advect smooth fields while minimising artefacts such as numerical diffusion and dispersion (i.e. streamline upwind Petrov–Galerkin or SUPG, flux limiters, total variation diminishing or TVD, fluxcorrected transport or FCT, and the multidimensional positivedefinite advection transport algorithm or MPDATA; Gerya, 2019; IsmailZadeh and Tackley, 2010). Other employed techniques for tracking discontinuous fields are the levelset method (Samuel and Evonuk, 2010; Hillebrand et al., 2014; Braun et al., 2008), gridbased advection methods (sometimes referred to as compositional fields methods, Fig. 4, Gerya, 2019), the markerchain method (van Keken et al., 1997), and the volumeoffluid method (Robey and Puckett, 2019; LouisNapoléon et al., 2020). A popular advection method, especially for discontinuities, is the particleincell (sometimes called markerincell) technique (Fig. 4), whereby a set of markers is placed throughout the domain at the beginning of the simulation with an assigned material identity, e.g. crust, mantle lithosphere, or sediments. These properties are then projected onto the mesh on which they are needed for solving the partial differential equations. Once a new velocity field has been computed, these markers are advected with the flow velocity field, and the process is repeated at each time step. This method is found in finiteelement (Tackley and King, 2003; Deubelbeiss and Kaus, 2008; Thielmann et al., 2014; Gassmöller et al., 2018, 2019) and finitedifference codes alike (Gerya and Yuen, 2007; Pusok et al., 2016).
It is important to mention that there is no single best recipe for advection, and oftentimes methods are tested against each other (van Keken et al., 1997; Tackley and King, 2003). Each method comes with its own strengths and weaknesses and needs to be assessed in the context of the problem at hand. For example, particlebased methods are relatively easy to implement, not subject to numerical diffusion (a form of undesirable smearing of sharp gradients), and can also be used to track properties like deformation history, water content, composition, and phase transitions. However, they take up considerable memory, introduce artificial noise, and may violate conservation laws of the advected quantities when averaged to the grid. On the other hand, fieldbased methods are straightforward to parallelise and much lighter in terms of memory usage, but they are more challenging to advect and require numerical stabilisation. As such, choosing a fieldbased method for tracking a single smooth property is generally warranted, while particle methods serve well for tracking multiple properties that vary throughout the model domain.
3.8 Multiphysics
On Earth, the lithosphere interacts with the cryosphere, biosphere, atmosphere, hydrosphere, magnetosphere, and other systems, and the deformation of the lithosphere is related to many natural hazards such as earthquakes, volcanic eruptions, landslides, and tsunamis. These systems are often inherently multiscale with different processes occurring on vastly different timescales, length scales (Fig. 1), and/or multiphysics wherein the coupling of different physical processes is important. Such multiphysics or multidisciplinary research often sees researchers coupling a geodynamics code with another existing one, be it for surface processes (Braun and Yamato, 2010; Thieulot et al., 2014; Collignon et al., 2014; Ueda et al., 2015; Beucher and Huismans, 2020), atmosphere evolution (Gillmann and Tackley, 2014), planetary impact (Golabek et al., 2018), plate reconstruction modelling (Bull et al., 2014; Gassmöller et al., 2016), elastic flexure (Naliboff et al., 2009), or dynamic rupture models and tsunami models (van Zelst et al., 2019; Madden et al., 2020). This coupling often takes place in the boundary conditions of the geodynamics code at the surface or at the bottom of the lithosphere or mantle. This coupling can be onesided when e.g. plate velocities are prescribed. The coupling can also be twosided when e.g. the uplift rate and a current topography of a geodynamic model are used in a surface process model that returns an eroded surface which forms the new top boundary of a geodynamic model. Coupling codes and the clever use of boundary conditions (Sect. 5.3.1) are promising avenues to incorporate geodynamic models in a host of multidisciplinary research.
However, some multiphysics problems are so closely intertwined that solving the coupled system of equations requires different numerical methods than solving the problems individually (for example, coupled magma–mantle dynamics). In these cases, coupling requires the development of a new code that tightly integrates the different physical processes. One recent approach in building numerical applications for multiphysics problems that could be used for this makes use of Application Programming Interfaces (APIs) instead of readily available community codes. APIs can be a collection of routines that are optimised to perform certain operations such as assembling vectors and matrices, solving systems of equations in parallel (i.e. PETSc, https://petsc.org, Balay et al., 2021, last access: 24 February 2022; ParallelStencil, https://github.com/omlins/ParallelStencil.jl, last access: 24 February 2022 for Julia https://julialang.org/, last access: 24 February 2022), or creating and solving geodynamically oriented objects such as tensors or even partial differential equation systems (i.e. FEniCS, https://fenicsproject.org/, last access: 24 February 2022; MILAMIN, http://milamin.org/, Dabrowski et al., 2008; Räss et al., 2017; Pusok et al., 2020, last access: 24 February 2022). These APIs are not necessarily standalone codes, but are instead building blocks that require the user to set up their model (i.e. programme their code application using available routines). Therefore, they provide the user with more flexibility in creating and coupling models with different physics and can be more robustly tested as the APIs usually come with their own suite of tests. This approach also allows scientists to build simple experimental numerical applications, which can then be scaled to large parallelised production codes in a relatively short time span.
At this point, we have described the model in terms of governing and constitutive equations, and we have discretised and solved the system using appropriate numerical methods. Hence, an application code has been obtained at this point. However, before any scientific study can be performed with confidence, the code must be tested to ensure it does what it is intended to do. This process has two components: verification and validation (Sect. 6). Verification means “solving the equations right”, while validation means “solving the right equations” (Roache, 1997). In this section, we will briefly focus on code verification, which involves using tests and benchmarks.
In the software engineering community, the importance of tests is wellacknowledged: “Without tests every change is a possible bug” (Martin, 2008). While there are only a few equations to solve in geodynamics (Sect. 2; Lynch, 2005), the coefficients and the constitutive equations (i.e. rock rheology, multicomponent processes) to describe the physical system often turn them into complex nonlinear problems, which can be difficult to test. Tests should verify specific parts or the whole functionality of the code. It is also desirable to test as many features of the code as possible. Of course, one can think of an infinite number of tests for even a simple geodynamics application, but because code verification can be timeconsuming, a balance has to be found between test coverage and production. Without a doubt, verification is an absolutely necessary stage of code development as its purpose is to test the robustness of the code in a broad range of situations and applications.
The recommended approach is to implement only what is needed, test it and refactor and expand the system to implement new features later on, and test again. Implementing an automatic testing framework can speed up these steps. Good tests also follow the FIRST acronym: fast (run quickly), independent (do not depend on each other), repeatable (in any environment), and selfvalidating (have a Boolean output, pass or fail) tests (Martin, 2008). Without proper testing, model results may look beautiful but are probably wrong, and having only simple tests may not catch bugs in complex geodynamic applications (Gerya, 2019). Moreover, just inspecting the output and saying “it looks right” is not sufficient. Instead, checking error norms and expected convergence rates or other numerical diagnostics is more robust. Tests should verify the code in a broad range of challenging cases relevant to the scientific question. For example, in lithosphere dynamics modelling, the code should correctly handle timedependent problems with a variable viscosity that depends on temperature and strain rate as well as with complex geometries with a free surface, and the transport of chemical heterogeneities.
The types of tests one can do to benchmark codes relate to numerical implementation and functionality. In general, this means comparing the numerical solution obtained from solving the system of equations to analytical solutions, results of analogue experiments, numerical results from other codes, and general physical considerations. However, one can also make smaller unit tests that verify correct functionality of individual routines, i.e. not necessarily routines that solve for physics, and make sure they do not change when modifications are done somewhere else in the code. For example, parallelisation is not a physical process but poses new problems that can be tested with unit testing. In a parallel code, one can verify that the parallel communication routines work correctly with a simple hello world test. Unit tests can now be automatically incorporated in the development process through platforms like GitHub (https://github.com, last access: 24 February 2022), GitLab (https://gitlab.com, last access: 24 February 2022), BitBucket (https://bitbucket.org, last access: 24 February 2022), and Travis CI (https://travisci.org, last access: 24 February 2022).
Analytical solutions are available for systems of equations that are welldefined (e.g. steadystate diffusion, linear singleflow models) (Turcotte and Schubert, 2014). Using analytical solutions for testing is powerful because it verifies the whole code functionality, including boundary conditions, and the solutions often have a physical meaning. However, the disadvantage is that they are mostly restricted to simple models with linear coefficients. Analytical solutions for problems relevant to solidEarth physics include the onset of mantle convection, topography relaxation for the free surface, the corner flow (applied to mantle wedges), viscous folding (Schmalholz and Podladchikov, 1999), halfspace cooling, the bending of an elastic beam, and indentation into a viscoplastic material. More examples can be found in Turcotte and Schubert (2014) and Gerya (2019, and references therein), and numerical benchmarks for some analytical solutions can be found in the ASPECT manual (Bangerth et al., 2019).
Analytical solutions for code verification can also be used in the form of the method of manufactured solutions (MMS) (Roache, 1997, 2002). In principle, the user manufactures an exact solution or coefficients without being concerned about their physical meaning. The method of manufactured solutions primarily verifies correct implementation and the convergence order of a particular numerical method, i.e. the accuracy of the solution with increasing spatial and temporal resolution. Even if the method does not focus on the physical meaning of the solution, some physical considerations still need to be taken into account when using manufactured solutions; e.g. coefficients corresponding to physical parameters need to be positive. The method of manufactured solutions is a powerful technique as it can be applied to arbitrarily complex partial differential equations (e.g. linear, nonlinear, timedependent) and to arbitrarily complex domains and boundary conditions. Recent computational advances have made this method easy to use by creating manufactured solutions using symbolic algebra packages such as Maple (https://www.maplesoft.com/products/maple/features/symbolicnumericmath.aspx, last access: 24 February 2022), MATLAB (https://www.mathworks.com/products/matlab.html, last access: 24 February 2022), Mathematica (https://www.wolfram.com/mathematica/, last access: 24 February 2022), and SymPy (https://www.sympy.org/en/index.html, last access: 24 February 2022). The method of manufactured solutions is not as commonly used in geodynamics as in engineering or applied mathematics, but it provides potential for more robust testing frameworks, including nonlinear problems (May et al., 2013; Donea and Huerta, 2003; Burstedde et al., 2013; Kramer et al., 2021).
When analytical solutions are not possible, numerical experiments of the same model setup (i.e. equations, boundary conditions, geometry, and parameters) can be tested with a number of different codes within the community. These are called community benchmarks and allow for testing complex problems by comparing similar diagnostics (e.g. nondimensionless parameters such as the Nusselt number; Sect. 7.2) across codes. The results are then compiled, and the best average behaviour among codes is taken as the benchmark for the test. Examples of community benchmarks include thermomechanical convection (Blankenbach et al., 1989; Travis et al., 1990; Busse et al., 1994; Tackley and King, 2003; Zhong et al., 2008; King et al., 2010; Arrial et al., 2014; Tosi et al., 2015), subduction (Schmeling et al., 2008; van Keken et al., 2008), Rayleigh–Taylor instabilities (van Keken, 1997; LouisNapoléon et al., 2020), and motion of the free surface (Crameri et al., 2012). It is important to note that community benchmarks are not bulletproof against bugs and do not necessarily provide insights into the numerical or physical behaviour of the system. Moreover, successfully developing and executing a community benchmark is a long process that typically takes years.
Comparison with analogue experiments is important for calibrating numerical models for the complex processes required for numerical modelling of largescale tectonic processes (e.g. plastic failure). They can be used for both verification and validation of numerical models. For example, modelling sandbox experiments (Buck and Sokoutis, 1994; Buiter et al., 2006, 2016) poses significant computational challenges because the numerical code must be able to calculate large strains along narrow shear zones. Other complex processes for which analogue experiments can be insightful include frictional and freesurface boundaries, complex rheology involving both viscous and frictional and/or plastic materials, and reactive processes. Numerical studies comparing to analogue experiments include gelatine wedge seismic experiments (van Dinther et al., 2013a), plume dynamics (Davaille, 1999; Davaille et al., 2011), indenter block experiment (Tapponnier et al., 1982; Peltzer and Tapponnier, 1988), and subduction dynamics (Schellart, 2005; Duarte et al., 2013; Király et al., 2020b). Since there are fundamental differences between numerical and laboratory experiments, the model results are often not identical, and instead certain characteristic features of the solutions need to be compared.
As the importance of testing is revealed, more software engineering practices are required to keep codes clean, testable, and robust (see Sect. 9). Designing a suite of complete tests is just as important as building efficient, fast, complex, highresolution numerical 3D codes. There are many excellent books on analytical solutions (Turcotte and Schubert, 2014), keeping codes clean (Martin, 2008; Hunt and Thomas, 1999), and building robust testing frameworks for geodynamics (IsmailZadeh and Tackley, 2010; Simpson, 2017; Morra, 2018). As a final note on code verification, complex systems of equations (i.e. multiphase, multicomponent, nonlinear rheology) can still be badly posed and are difficult to test. For this reason, verification of simpler systems is important, and complex solutions should be validated using scaling analysis and against natural observations (see Sect. 6).
Designing a model is not straightforward. Before starting to design a model, it is important to understand the code, the model, and the difference between the two. While the code's purpose is of a general nature (e.g. to allow for creating models to investigate some geodynamic problems), the purpose of the model is very specific and, in most cases, indeed unique. This unique purpose is reflected in the complex nature of the model, which has to be set up with care. A model is the sum of an underlying (modelling) philosophy, one or more geodynamic concepts and hypotheses, its physical and numerical construct, and initial and boundary conditions. Even though the purpose of a geodynamic model is usually unique, its outcome never is. The same result of a spatially or temporally restricted model of nature can always be recovered by multiple different models. Therefore, a geodynamic model cannot be verified, in contrast to the code.
How to design a simplified – but not oversimplified – geodynamic model that is based on a certain modelling philosophy and applies suitable initial and boundary conditions is therefore outlined in this section.
5.1 Simplifying without oversimplifying
A model is, by definition, a simplified representation of a more complex natural phenomenon. This is a simple and obvious truth that is easily forgotten when geodynamic models are interpreted, presented, and reviewed. It is the modeller's responsibility to not only constantly remind themselves, but also others, about this key underlying fact.
The complexity of the planet Earth as a whole is vast. It is therefore challenging to reconcile such true complexity with a desired simplicity. A model can easily become too complex and, just as easily, oversimplified (Fig. 7). A geodynamic modeller should always strive for the appropriate middle ground between a model that is too complex and a model that is too simple. This is one of the first major tasks of a modeller when setting up a new modelling approach to address a certain hypothesis: everything should be made as simple as possible but not simpler.
So, how simple should a model optimally be? The answer to this question is not an easy one, as it strongly depends on the purpose of the model, the capabilities to diagnose and understand it, and the hypothesis that it will test. It is clear though that a more complex model does not necessarily mean a better model. In fact, a simpler model is often better than a more complex model. A simpler model is clearer to understand, clearer to communicate, and, by making fewer assumptions, more likely right (Occam's razor; Thorburn, 1915), although not necessarily directly applicable to the real world.
There are various ways to reduce model complexity (Fig. 8). Simplifying the physical model is one of them. Any given physical complexity of the natural phenomenon in question has to be evaluated and a decision has to be made to either reproduce it, parameterise it (i.e. mimic the phenomenon with a simplified approach), or neglect it in the model. This decision is based upon the model's purpose and the spatial and temporal extent of the process under investigation.
Further model simplification is achieved through numerical adjustments. For example, all the following studies model plate tectonics, but the geometry of the model can be complex (e.g. a 3D spherical domain like Arnould et al., 2020) or simple (e.g. a 1D or 2D domain like Bercovici and Ricard, 2014). One can choose the temporal extent of the model to be more complex (e.g. timedependent with a long evolution as in Crameri et al., 2012) or simply instantaneous as done by Stadler et al. (2010). For the same model, such simplifying choices make for a generally simpler model. However, a model with simpler geometry (or time evolution) can, of course, also feature more complicated processes than one with a more complex geometry. Indeed, a simpler model geometry (or time evolution) often enables the modelling of more complex physical processes.
The numerical model complexity can also be adjusted by changing the initial and boundary conditions (heterogeneous as in Conrad and Gurnis, 2003, or homogeneous as in Foley and Becker, 2009) and the imposed forcing (space and timedependent forcing like Quere and Forte, 2006, or selfconsistent like Rolf and Tackley, 2011). Overall, complexity should be decided based on the scientific question addressed and the focus and scope of the study.
5.2 Modelling philosophies
There are two overarching geodynamic modelling philosophies: specific modelling and generic modelling (Fig. 9). The first philosophy attempts to reproduce the specific state of a certain geodynamic system (e.g. based on a specific observation) with a specific model to better understand the system's specific state. In contrast, generic modelling attempts to produce different regimes of behaviour of a certain geodynamic system (e.g. based on a general observation) to better understand the system's general behaviour.
Both overarching modelling philosophies can either fulfil or reject a hypothesis. Most results published to date fulfil a hypothesis, even though positive modelling results only hint at a certain phenomenon being responsible for an observation. Modelling results that reject a hypothesis (often called “failed models”) are of course more abundant, but also much clearer as they indeed serve as proof that a certain situation does not lead to a specific observation.
Furthermore, both overarching modelling philosophies can result in instantaneous and timedependent studies (Tackley et al., 2005). Instantaneous models are focused on resolving a certain state and usually rely heavily on a comparison with measured geophysical, geological, and geochemical data. Timedependent models tend to focus more on the evolution or the natural state of a system. For general modelling, timedependent studies can be performed either focusing on the transient evolution from a known initial state or the statistical (quasi)steady state.
5.2.1 Specific modelling procedure
Modelling aimed to compare and understand a specific state of a geodynamic system necessitates the following procedure. Firstly, a specific observation (in a certain region) has to be defined. Secondly, a hypothesis about the control mechanism(s) has to be outlined. Thirdly, a model setup needs to be designed considering three key aspects. The model needs to be able to produce the observed feature, include the hypothetical control mechanism(s), and physically link the control mechanism to the observed feature. Lastly, the model has to be simplified to be easily understandable without being oversimplified. For specific modelling in particular, the modeller needs to keep in mind that there is no guarantee that the suspected control mechanism is the actual, or the only, controlling mechanism (see Sect. 1.2).
A specific modelling philosophy is often used to understand the circumstances that facilitated natural hazard events, like earthquakes, in order to improve hazard analyses. For example, Smith and Sandwell (2006) optimise the fit between geodetic velocities of the San Andreas Fault and their model predictions of the seismic history of the fault. From the modelled presentday stress state, regions of high seismic hazard are then inferred. Another example involves investigations into the specific surface topographic history of a certain subduction zone. These investigations first build the bestinformed model of a subduction zone (e.g. the Cocos subduction zone in southwestern Mexico or the southern Alaskan subduction zone in North America) and then use it to reproduce and study how this subduction zone impacts the topographic evolution of the adjacent topographic heights (e.g. the TransMexican Volcanic Belt) as done in Gérault et al. (2015) or intracontinental shear zones (e.g. the Denali fault) as done in Haynie and Jadamec (2017). A global specific modelling example is the global lithosphere–asthenosphere modelling study of Osei Tutu et al. (2018), which obtains plate boundary friction coefficients and the minimum asthenospheric viscosity cutoff value by optimising the fit with observed global plate motions.
5.2.2 Generic modelling procedure
Modelling aimed at understanding the general behaviour of a geodynamic system necessitates the following procedure. First, a general firstorder observation has to be defined. Second, a hypothesis about the controlling parameters and their possible range has to be outlined. Third, a model setup needs to be designed considering two key aspects. The model needs to include the proposed control mechanism(s), and it needs to be built on a set of assumptions for simplification. For generic modelling in particular, the assumptions that go into designing the geodynamic model are key and need to be specified and described clearly (Sect. 8.1).
When a generic modelling philosophy is applied, a general geodynamic feature is investigated via a parameter study, whereby a certain parameter space is mapped out and can be represented by a socalled regime diagram (e.g. Lourenço et al., 2020; Citron et al., 2020; Gülcher et al., 2020; Neuharth et al., 2021; Pusok and Kaus, 2015). For example, surface elevation changes due to plate subduction can be investigated without specifically relating to one particular subduction zone but to subduction zones in general. One way of doing that is to model subduction and its surface response and vary all key subduction parameters over their individual Earthlike ranges as done in e.g. Crameri et al. (2017). Other generic modelling examples include quantifying crustal thickness at midocean ridges for various spreading velocities (e.g. Katz, 2008), reproducing general magma dynamics (e.g. McKenzie, 1984; Spiegelman, 1993; Sim et al., 2020) or magma transport behaviour (e.g. Yamato et al., 2012), the onset of convection in a planetary mantle (Turcotte and Schubert, 2014, Sect. 6.19), testing for what Rayleigh numbers and Clapeyron slopes a phase transition induces layered convection (e.g. Christensen and Yuen, 1985), quantifying the amount of entrainment of a dense layer into mantle plumes (e.g. Lin and van Keken, 2006a, b; Jones et al., 2016), investigating the plate tectonic regimes of a planet, which might range from a stagnant lid with only one plate to a mobile lid, similar to modern plate tectonics (e.g. Petersen et al., 2017; Lourenço et al., 2016, 2020), investigating under which conditions the flow in the Earth's outer core would cause an Earthlike dynamo (Christensen, 2011; Christensen and Wicht, 2015; Wicht and Sanchez, 2019), and mapping out the dominance of innercore convection, rotation, or translation depending on its viscosity and conductivity (e.g. Deguen et al., 2013). Nondimensional numbers often make up axes and boundaries in regime diagrams, although other diagnostic quantities can also be used (Sect. 7.2).
The mapping of a parameter space is often done through manual variation of a single model parameter and comparison of the resulting model predictions. However, recent developments allow scaling laws between the model solution and the model parameters to be computed automatically through adjoint methods. Besides solving inverse problems (e.g. IsmailZadeh et al., 2003; Ghelichkhan and Bunge, 2016; Colli et al., 2018), adjoint methods can efficiently compute the scaling exponent for all model parameters with one linear solve (for a specific model time step) (Reuber et al., 2018c). These scaling exponents (that are based on the derivative of the solution parameter to model parameter) indicate which parameters control the model solution and which have a lesser effect (e.g. Reuber et al., 2018a; Crawford et al., 2018). Knowledge of the relative importance of each model parameter can help decrease the parameter space that is to be investigated (see also Sect. 7.3).
5.3 Boundary and initial conditions
After choosing the equations that will be solved and the model geometry, both initial and boundary conditions are needed to solve the numerical model. The solution of the numerical model will depend on the initial and boundary conditions used, so it is important to choose them carefully (Quinquis et al., 2011; Chertova et al., 2012).
5.3.1 Boundary conditions
The boundary conditions describe (part of) the solution variables (e.g. velocity) at the boundaries of the model domain necessary to solve the system of equations. They can vary in time and space. Mathematically, there are five main types of boundary conditions. (1) Dirichlet boundary conditions (also called firsttype or fixed) specify the value of the solution of an equation at the boundary. (2) Neumann boundary conditions (also called secondtype) specify the value of the derivative of the solution. (3) Robin boundary conditions (also called thirdtype) are linear combinations of the values and the derivatives of the solution. (4) Mixed boundary conditions indicate that across one boundary, Dirichlet, Neumann, and Robin boundary conditions are applied to specific parts of that boundary. For example, in lithosphere dynamics, there could be both a lithospheric plate and the mantle at the vertical boundary of a Cartesian model. Mixed boundary conditions applied here could be a constant velocity (Dirichlet) applied to the lithospheric plate, while the mantle has an open boundary condition (Neumann). The last type of boundary condition is (5) the Cauchy boundary condition according to which both the Dirichlet and Neumann boundary condition are applied to a boundary simultaneously by specifying both the solution and its normal derivative. Note that this differs from Robin boundary conditions as there is no linear combination and the normal derivative is specifically prescribed for Cauchy boundary conditions.
For the thermomechanical models considered here, we need to prescribe boundary conditions for the conservation of mass, momentum, and energy equations in order to solve them. For the Stokes equations, typical mechanical boundary conditions include (1) the free surface (Neumann), where there is no shear (parallel to the boundary) or normal (perpendicular to the boundary) stress acting on the boundary and which can therefore freely deform according to the velocity solution. It is most commonly used in models wherein topography is important. Specifying the stress is a Neumann boundary condition because the relations between stress and velocity defined in the constitutive equations (Sect. 2.2.1, Eqs. 8 and 9) imply that fixing the stress prescribes the velocity derivatives. (2) For the freeslip boundary condition, the component of the velocity normal to the boundary is set to 0 (Dirichlet), and there are no stresses acting parallel to the boundary (Neumann). This results in material flowing freely along the boundary such as the core–mantle boundary for global convection models. Note that the freeslip boundary condition is neither a Robin nor a Cauchy boundary condition even though it combines prescribing the solution and its derivative. (3) Prescribed velocities (Dirichlet), also called kinematic or inflow–outflow boundary conditions, are often applied at the sides of plates in lithospheric models or at the top of mantle convection models to mimic plate tectonics (Bull et al., 2014). (4) The noslip boundary condition (Dirichlet) is a special case of prescribed velocities in which the velocity is zero at the boundary. This is typically used to mimic the 660 discontinuity at the bottom boundary of asthenosphericscale models. (5) Prescribed stresses are Neumann boundary conditions as the stresses relate to the velocities through the derivatives. They can be used to mimic plate push and topographic loads. (6) An open boundary (Neumann) is a special case of prescribed stresses in which material can freely leave the domain (Chertova et al., 2012). In addition, infinitylike or “external” boundary conditions can be applied when a boundary is modelled as being far away (Gerya, 2019). This is typically applied in lithosphericscale models, wherein an external free or noslip boundary is applied to the bottom boundary, mimicking a free or noslip boundary at a distance ΔL from the actual boundary. Similar to this, a Winkler boundary condition assumes an isostatic equilibrium at the bottom boundary, analogous to applying a freesurface boundary condition at the bottom of a lithospheric or crustalscale model (Burov et al., 2001; Yamato et al., 2008). In combination with a freeslip boundary condition, a layer of less dense (ρ≈1 kg m^{−3}) sticky air (or “sticky water”) material is often used to model topography in methods that use an undeformable mesh and can therefore not employ a freesurface boundary condition (Sect. 3.3, Fig. 4) (Schmeling et al., 2008; Crameri et al., 2012).
Periodic boundary conditions represent another type of commonly used boundary condition in geodynamics. They are different in nature from the purely mathematical boundary conditions listed above, as they do not explicitly prescribe any part of the solution. Instead, they “link” boundaries together to approximate a larger (or infinite) system of which the model setup is merely a part: any materials or flows passing through one boundary interface reenter the model domain through the opposite boundary interface. This makes periodic boundary conditions the natural choice in global mantle convection models (Gurnis, 1988; Lowman et al., 2001). This technique is also widely used in lithosphere dynamics, in which smallerscale model setups are often used, but they are modelled as part of the wider mantle convection process through periodic boundary conditions. For example, mantle flow leaving the domain at the righthand side of the model setup will reenter the model domain on the lefthand side of the model domain, thereby effectively creating a theoretical closed mantle convection cell. Another example is the use of periodic conditions on the boundaries normal to the rift trend in 3D models of continental rifting, effectively creating an infinitely long rift, only a segment of which is modelled.
Boundary conditions can be used to drive the system by e.g. prescribing the velocities of plates resulting in lithospheric extension or convergence. Hence, the modeller could assimilate data on plate motions from the geologic record into the model through the boundary conditions to improve the predictive power of the model (Colli et al., 2015). Similarly, stress boundary conditions can be implemented to simulate a load on the model, such as an ice sheet. The data assimilation into the models via boundary conditions is typically used for specific modelling studies (Sect. 5.2).
Considering boundary conditions for the energy equation for models of the Earth's mantle and crust, it is common practice to prescribe fixed temperatures (Dirichlet) at the Earth's surface and at the core–mantle boundary, as well as prescribed heat fluxes (Neumann) for boundaries within the mantle. Fixing the heat flux fixes the amount of energy within the domain. When using fixed temperatures, the amount of energy can freely evolve but the temperature variations are fixed. However, this might not always be applicable. For example, a model of a mantle plume in the upper mantle will need a prescribed inflowing plume temperature at the bottom of the model at the upper mantle. Similarly, although the outer core can be assumed to be a reservoir with a constant temperature for mantle models, for models of the outercore heat flux boundary conditions at the core–mantle boundary are more appropriate (Wicht and Sanchez, 2019). Coupled modelling methods could also result in different temperature boundary conditions (Sect. 3).
The boundary conditions of both the Stokes equations and the energy equations can be related in the model. For example, if the model has an open boundary, there could be both inflow and outflow along different parts of that open boundary. On the inflow part of the boundary, it is useful to prescribe the temperature (e.g. slab age), whereas on the outflow part of the boundary, insulating Neumann boundary conditions can be used.
It is also possible to constrain degrees of freedom inside the domain. For example, in lithosphericscale models, a velocity prescribed within the slab (i.e. not at the boundary) is an example of an internal driving force to prescribe subduction in the absence of initial slab pull (e.g. van Dinther et al., 2013b).
The choice of boundary conditions can alter the modelling results with e.g. different mechanical boundary conditions on the sidewalls of the mantle affecting the resulting subduction behaviour (Chertova et al., 2012; Quinquis et al., 2011). It is also important to choose boundary conditions consistent with the rest of the model (Sect. 6.2). Hence, the modeller should be careful when selecting the boundary conditions and keep in mind how they affect the produced model results.
5.3.2 Initial conditions
Initial conditions are required for timedependent equations. Together with boundary conditions, they control how the model evolves over time and are required to set up and drive the model. Since the conservation of energy Eq. 6 contains a time derivative $\partial T/\partial t$, we need to define an initial temperature field. This is difficult, since we have even less knowledge about what the Earth looked like at depth in the past than the present day. Luckily, there are some useful strategies to come up with reasonable initial conditions. In the case of oceanic lithosphere, the modeller can choose the age of the lithosphere and calculate the corresponding temperature profile according to wellestablished cooling models, such as the halfspace cooling model or the plate cooling model (Turcotte and Schubert, 2014). For the continental lithosphere, an initially linear temperature profile or slightly more complex geotherm can be prescribed (Chapman, 1986). In the regions of the mantle that are not part of the thermal boundary layers, it is often a reasonable assumption to start from an adiabatic temperature profile, which is the temperature path along which material in a convecting mantle moves if it does not exchange energy with its surroundings (see also adiabatic heating). As the conservation equations of mass and momentum do not contain time derivatives of the velocity or pressure, we do not need to provide an initial velocity or pressure field. However, from a numerical point of view, a reasonable initial guess for the pressure or velocity can reduce the number of iterations needed in iterative solvers and hence speed up computations. This becomes particularly relevant when using pressure and strainratedependent rheologies and is critical in cases when deformation mechanisms included in a model are strainratedependent (such as pure dislocation creep).
The initial conditions also include the initial compositional geometry and material layout and/or history in the model, since the transport equation in Eq. (15) contains a time derivative as well. For general parametric studies of the dynamics of a system, simple geometric blocks could be used to set up the initial geometry, representing, for example, the lithosphere. For more complex models, the initial conditions could be inferred from (regional) tomographic models. For complex models of specific regions, it is often difficult to manually create detailed geometries that correspond to geologic or tomographic observations. Therefore, several tools have recently been developed, such as geomIO (Bauville and Baumann, 2019), the SlabGenerator (Jadamec and Billen, 2012), and the Geodynamic World Builder (Fraters et al., 2019b), to automate and simplify setting up models with complex 3D geometries. Another choice the modeller has to make concerns the initial chemical heterogeneity present in the Earth's mantle. The simplest choice is to assume that the mantle is homogeneous or has been mixed so well that heterogeneities are on such a small length scale that they do not influence mantle dynamics. However, we know from geochemical data that the mantle and crust are chemically heterogeneous. In addition, subduction zones continuously introduce new chemical heterogeneities into the mantle. Hence, another option is to initialise the model with chemical heterogeneities on a given length scale, for example representing a model like the marblecake mantle (Allègre and Turcotte, 1986), or to include distinct chemical reservoirs in the model setup. The initial state of deformation in terms of accumulated plastic or viscous strain or the state variable in rateandstate friction laws can also be prescribed as initial conditions. Such initial strain can represent preexisting heterogeneity in the crust or lithosphere formed through deformation prior to the model start time. The top of the model can be used to assimilate topographic data into the model for a certain region or from another model (Sect. 3.3).
To initially drive the model in the absence of driving boundary conditions, specific initial conditions inside the model domain, socalled initial perturbations, can be applied. A frequently used example in mantle modelling is a density or temperature perturbation in the middle of, or distributed throughout, the mantle. Such a perturbation ensures that subsequent deformation starts immediately, rather than after the accumulation of numerical rounding errors over time, and it localises the deformation in the region the modeller is interested in e.g. a plume rises in the middle of the model.
Another common example of initial conditions is the socalled weak seeds in numerical models: a small zone with artificially lowered strength used to localise the deformation in the model in the desired region. Without a weak seed, numerical inaccuracies will determine the location of instabilities and subsequent deformation, typically at the boundaries of a model. This is undesirable because this results in irreproducible, random models and deformation influenced directly by boundary conditions. Hence, weak seeds are necessary in models and can represent naturally occurring heterogeneity in the Earth such as a previous fault zone or a region of melting (Buck et al., 1999). Weak seeds are commonly used in lithospheric or crustalscale models of rifting (Huismans et al., 2005; Allken et al., 2011), strikeslip (Schierjott et al., 2020), subduction (Erdos et al., 2015), and continental collision to localise the deformation and force the model to behave in such a way that the relevant process can be studied (Gray and Pysklywec, 2012; Yang et al., 2020). They can take numerous shapes and sizes, and the lower strength of the weak seed can be achieved through many different methods, including a mechanically weaker seed (i.e. lower friction coefficient Allken et al., 2012; Erdős et al., 2019), initial strain, or a temperature anomaly such as a locally raised thermal lithosphere–asthenosphere boundary (Brune et al., 2017). The choice of weak seed affects the numerical results, as it could, for instance, lead to different modes of rifting (Dyksterhuis et al., 2007). However, most studies argue that the weak seed does not significantly alter the conclusions, like Jammes and Lavier (2016), who consider random noise in the plastic strain of the crust in order to demonstrate that the weak seed does not control the geometry of the margin and the mechanism of deformation. The effect of weak seeds and robustness of the models can vary between codes.
The modeller should always keep in mind that the initial conditions can often determine the model outcome. That is, after all, their purpose, since otherwise there would be no localised deformation or initial drivers. Efficiently starting the model is solely at the discretion of the modeller, who aims to artificially mimic a process they are interested in. Since these initial conditions, in combination with the boundary conditions, are critical for the model development, the choices the modeller makes are sometimes referred to as the hand of god that helps the models along in the beginning. It is therefore important that initial conditions and their effects on the model are acknowledged and described alongside other important details of the modelling approach (Sect. 8.1).
After the code has been successfully tested and benchmarked (Sect. 4), every individual model setup with its particular modelling strategy (Sect. 5.2) and initial and boundary conditions (Sect. 5.3) should be carefully validated to make sure that it contains no detectable flaws, is internally consistent, and represents the geological problem to the best of our knowledge.
6.1 Common numerical problems
The construction of a specific model setup to investigate a particular problem or hypothesis can give rise to numerical issues, despite successful code verification. During the model validation process, these issues are identified and addressed. They can usually be spotted through monitoring solver convergence behaviour and visual inspection of the solution throughout the model evolution, with model breakdown (i.e. a crash of the programme) and unexpected behaviour being the most obvious red flags. In this section, we describe a number of common problems and their potential solutions.
A resolution test should be standard to check whether a certain model, or model aspect, is meshdependent or not. So, the modeller should check the change in model results with higher mesh resolution. In the ideal case, from a certain resolution onward the solution no longer changes significantly or the spatial discretisation error becomes smaller than other errors like that resulting from time discretisation; i.e. the numerical solution has converged. It is desirable to use a grid spacing for which, for example, the thermal boundary layers or crustal compositions are wellresolved and the resolution therefore does not affect the model evolution anymore. However, it is not always possible to completely avoid grid dependency. For example, most implementations of brittle (plastic) deformation do not include an internal length scale and are therefore griddependent (de Borst and Duretz, 2020; Fig. 10c). This grid dependency causes shear zone width to keep decreasing with increased resolution. There is an active research effort to include internal length scales that can limit grid dependency (Lavier et al., 2000; Choi and Petersen, 2015; Duretz et al., 2018, 2019, 2020). The practical solution is to have one fixed resolution for the affected domain throughout the modelling study after assessment of changes in the overall model behaviour with resolution.
When using a free surface, quickly increasing model velocities, a corresponding increase in solver iterations, and a sloshing movement of the surface are indicative of the drunken sailor effect (Fig. 10a). It occurs for models with a free surface wherein the time step is chosen too large to accurately reproduce changes in surface boundary elevation. The interface then overshoots slightly in one time step, which causes it to overshoot in the other direction even further the next time step. The positive feedback of this numerical instability deriving from the stark density contrasts at the surface usually leads to the programme crashing. The stark density contrasts (approximately 1.2 kg m^{−3} versus 2830 kg m^{−3}) lead to much larger stress perturbations from topographic changes compared to similar topography variations at a typical density contrast inside the Earth (e.g. the density jump at the continental crust–mantle boundary is ∼280 kg m^{−3}; Martinec, 1994). Solutions to the drunken sailor problem involve using either smaller time steps or a stabilisation algorithm (e.g. Duretz et al., 2011; Kaus et al., 2010; Quinquis et al., 2011; Kramer et al., 2012; Rose et al., 2017) to enable the model to run stably with larger time steps.
Another problem that can occur when mesh deformation is allowed in finite elements (i.e. in Lagrangian and ALE methods; Fig. 5) is distortion of the mesh elements. The quality of the mesh decreases when element aspect ratios change too much from 1 for triangular as well as quadrilateral elements (e.g. the ratio of the width and height of a 2D quadrilateral element, Fig. 4, and similarly in 3D), and the accuracy of the computations therefore decreases. When the element distortion is too large, the computation will crash or at the very least become extremely inaccurate. To avoid such a distortion of the elements, local or global remeshing (i.e. mesh regeneration) or mesh smoothing can be applied (e.g. Zienkiewicz et al., 1995; Yamato et al., 2007; Steer et al., 2011; Thielmann et al., 2015; Duretz et al., 2016). Diffusion of the surface topography can also help to stabilise the model by smoothing highgradient topography. (Nonlinear) diffusion can be implemented atop the model, mimicking erosional processes (e.g. Burov and Cloetingh, 1997; Sternai, 2020), but remeshing of the free surface also introduces some numerical diffusion (Jammes and Huismans, 2012) that could help remedy instabilities. However, adding diffusion could possibly change the physics included in the model.
Visual inspection of the modelling results can uncover other issues. For one, smaller features (e.g. a subduction interface) can be seen to spread out over time and disappear; this can be due to diffusion or smearing of the advected field in the gridbased advection method. On the other hand, steep gradients of advected fields can lead to oscillations of these fields normal to the gradients. Mitigating such undershooting and overshooting requires more diffusion or different stabilisation algorithms of advection (e.g. Lenardic and Kaula, 1993; Brooks and Hughes, 1982; Guermond and Pasquetti, 2011).
Unstable yet very popular finiteelement pairs such as the Q_{1}×P_{0} element (Sect. 3.2) are prone to spurious oscillations and an elementwise chequerboard pressure pattern (Fig. 10b as shown in Fig. 18 of Thieulot et al., 2008 or in Donea and Huerta, 2003). Before this pressure can be used in rheological expressions it must be postprocessed and smoothed so as to remove the chequerboard mode (Lee et al., 1979). Stable elements, which fulfil the Ladyzhenskaya–Babuška–Brezzi compatibility condition (LBB or infsup condition), do not exhibit pressure artefacts (Donea and Huerta, 2003) and are preferable (see Bathe, 2014, for examples of such elements). Moreover, the required number of outer iterations does not increase significantly with mesh resolution compared to the Q_{1}×P_{0} element (Thieulot and Bangerth, 2021).
6.2 Internal consistency of the model
Internal inconsistencies can arise from disagreements in the modeller's choices in terms of boundary conditions, density formulations in the different governing equations, and the equations' coefficients. Not all inconsistencies are easily detectable or manifest themselves as numerical problems. For example, when the net prescribed inflow and outflow through the model boundaries is not (close to) zero, while a model is assumed incompressible, volume is no longer conserved and the solver for the Stokes equations might crash or return a nonsensical solution. When a free surface is used, this problem might be overlooked, as the surface can rise or fall in response to a net increase or decrease in volume, respectively. This physical inconsistency is also harder to detect in compressible models. Another example is prescribed surface velocities based on, for example, plate reconstructions models, which can add unrealistic amounts of energy into the modelled system.
Care should also be taken that the assumptions made to simplify the treatment of density in the governing equations (see Sect. 2.1 and specifically Sect. 2.1.4) agree with one another. The simplest accepted combination of simplifications is the Boussinesq approximation.
The thermodynamics of Earth materials are very complex, especially in multiphase, multimaterial systems; hence, they are often simplified in the numerical model. For example, in nature the thermal expansivity varies both smoothly and abruptly with depth (e.g. Fig. 7 of Stixrude and LithgowBertelloni, 2007), but in models it is often taken as constant or merely smoothly increasing with depth. At first, the material properties described in Sect. 2.2.5 may appear to be independent. However, the definition of properties like density, thermal expansivity, specific heat, and compressibility need to satisfy thermodynamic relations in order for them to be consistent. These thermodynamic relations can be derived through thermodynamic potentials. For example, the thermodynamic potential of the thermal expansivity is defined as (Schubert et al., 2001)
where α is thermal expansivity. It defines the fractional increase in volume of a material per degree of temperature increase at constant pressure.
The thermodynamic potential of the isothermal compressibility is defined as (Schubert et al., 2001)
where β_{T} is the isothermal compressibility and the potential describes the percentage increase in density per unit change in pressure at constant temperature. For the isobaric heat capacity, the thermodynamic potential is defined as (Schubert et al., 2001)
where C_{p} is the isobaric heat capacity and the potential is defined as the ratio of the increment of heat δq added to the material to the corresponding change in temperature δT. The thermodynamic potentials also imply that
All these relations have to be fulfilled at all temperatures and pressures. Consequently, it is often not immediately apparent if a given material description is thermodynamically consistent or not, and equations of state used in the geodynamic literature do not always take this into account (Schubert et al., 2001, Sect. 6.10). For example, it would be thermodynamically inconsistent to take thermal expansivity, compressibility at constant entropy (along an adiabat), and isobaric specific heat all as constants if the temperature varies in the model because, from Eq. (22), any temperature dependence in $\mathit{\alpha}/\mathit{\rho}$ leads to a pressure dependence of the specific heat.
6.3 Testing the model against observations
After the steps described in the previous section, checking for potential numerical issues and the internal consistency of the model setup, it is time to test whether the model results are consistent with our understanding of geodynamic processes. In a broad sense, does the model evolution stay within the bounds of what we know to be possible from geological and geophysical observations? More specifically, do the velocities obtained make sense? For example, does the sinking velocity of a slab lie within the estimated bounds from reconstructions and mantle tomography (e.g. van Der Meer et al., 2010; Butterworth et al., 2014)? Does the plume rise at acceptable speeds (e.g. Steinberger and Antretter, 2006)? Do the plate motions agree with plate reconstruction models (e.g. van Der Meer et al., 2010; Doubrovine et al., 2012; Matthews et al., 2016; Müller et al., 2019, for global reconstructions)? Does the surface heat flow lie within observed values (e.g. Davies, 2013; Lucazeau, 2019)? Does the density structure agree with 1D average profiles like the preliminary reference Earth model (PREM) (Dziewonski and Anderson, 1981)?
Note that deviations of the model results from generic observations do not necessarily mean that the results are wrong. In fact, a model of a natural system like the geodynamic models described here can never truly be validated (Oreskes et al., 1994). This is because natural systems are never truly closed. For example, neither the rocky planetary surface nor the core–mantle boundary represents true closed boundaries devoid of any temperature, compositional, or mechanical exchange with the outside world. As such, all model results are always nonunique and the model cannot be validated even if compared to a natural observation.
Considering this lack of experimental control from both the real world and analogue models from the lab (see Sect. 4), techniques such as uncertainty quantification and crossvalidation of the models beyond the typical testing and predicting of hypotheses become increasingly important to assess how well models capture the real world.
After ensuring the accuracy, consistency, and applicability of the model results, these can now be used to address the hypothesis the modeller set out to test according to a particular modelling philosophy (Sect. 5.2). The raw model output therefore requires analysis. While analysing the geodynamic model results, the modeller has to keep in mind all simplifications made during the setup of the physical model (e.g. what forces and processes were included), the initial and boundary conditions (e.g. whether subducting plates are free to move laterally or are attached to the boundaries), the resolution (e.g. whether the resolution is high enough to resolve a certain process), and all other numerical and physical model assumptions and uncertainties. Most importantly, the model cannot be mistaken for the real Earth (or any other real planet).
Model analysis includes visual (qualitative) diagnostics and quantitative diagnostics. These two important, partly overlapping, aspects are discussed in detail below.
7.1 Visual model diagnostics
Visualising the model output allows us to test, analyse, diagnose, and communicate the model results. Figures can describe and summarise the enormous amounts of data that numerical modelling can produce and highlight important features that support the initial hypothesis. Depending on the complexity of the data and the objective of the figure, visualisation methods differ widely and range from a graph of root mean square velocity (a quantitative model diagnostic, Sect. 7.2) over time to a complete 4D animation of a certain solution variable like the velocity (see also Sect. 8.2).
To cover the wide range of potential visualisation products, a multitude of visualisation programmes is available. Some of the commonly used software packages are gunplot (http://www.gnuplot.info/, last access: 24 February 2022) for creating 2D and 3D graphs, GMT (https://www.genericmappingtools.org, last access: 24 February 2022) for making maps and plotting data on maps (Wessel and Luis, 2017), MATLAB (https://de.mathworks.com/products/matlab.html, last access: 24 February 2022) for scripted analysis and plotting of model data, Matplotlib (https://matplotlib.org/, last access: 24 February 2022) for static and interactive plotting in Python, ParaView (https://www.paraview.org/, last access: 24 February 2022) for looking at 2D and 3D datasets both interactively and in batch jobs (Ahrens et al., 2005; Ayachit, 2015), and similarly VisIt (https://wci.llnl.gov/simulation/computercodes/visit/, last access: 24 February 2022) (Childs et al., 2012). There are even fully immersive visualisation options like CAVE (Billen et al., 2008) and virtual reality display technologies (Kreylos and Kellogg, 2017) that overcome the necessity to project 3D data to 2D surfaces for visual inspection. However, no matter the software, a modeller has to pay careful attention to circumvent the most common visualisation pitfalls for effective graphics, as outlined in Sect. 8.2.
7.2 Quantitative model diagnostics
Mere visual inspection of the model results is not sufficient to analyse and interpret the outcome of the simulations; a quantitative analysis of the results is also required. Deciding what specific postprocessing is to be done can be a timeconsuming process. There are a range of nondimensional numbers that can be calculated to characterise the flow of fluids in a range of geodynamic environments. If multiple physical processes influence the behaviour of a system, the nondimensional numbers derived from the governing equations (Sect. 2.1) can be used to analyse the relative importance of each of these processes. Examples are the Rayleigh number, Ra, the Knudsen number, Kn, the Mach number, M, the Argand number, Ar, the Ekman number, Ek, the Reynolds number, Re, the Péclet number, Pe, the Prandtl number, Pr, and the Nusselt number, Nu. The Rayleigh number, in particular, is a widely used nondimensional number characterising the vigour of buoyancydriven flow. Many of these nondimensional numbers can be defined differently for different environments, but they can all be insightful diagnostic metrics. With increasing model complexity, newer diagnostic numbers have been defined, such as plateness (Tackley, 2000; Alisic et al., 2012; Stein et al., 2014).
Further analysing and diagnosing a model then varies with the modelling approach that has been taken (see Sect. 5.2). For specific modelling (i.e. model approaches directly comparing to an observation to understand the origin of a specific state of a system), a modeller should diagnose whether the model predictions match the observations to a satisfying degree. To test the match between the model prediction and the natural observation, a modeller can perform a visual comparison, conduct statistical analysis like a misfit measure, and check for a comparable dynamic model behaviour. Secondly, it should be diagnosed whether the hypothesised mechanism is actually responsible for creating the physical complexity of interest. To this end, the model sensitivity to the parameters used (and optimally also unused) needs to be systematically tested. It should be clear whether a variation of a parameter over its uncertainty range affects a model outcome or not, and if it does, by how much. Similarly, it should be clarified what impact currently neglected parameters would have on the model outcome, for example by discussing the results of other modelling studies that did include these parameters. After such diagnostics, the model can provide insight into what causes a specific state of the system.
For generic modelling (i.e. models used to reproduce basic fluid dynamics to understand how a specific system works), a modeller should diagnose whether there are individual models that exhibit similar behaviour within the model parameter space and whether there are controlling parameters that can, when changed, cause a switch from one regime to another. In general, oftenused diagnostic quantities to define regimes are the root mean square (rms) and maximum values of certain model parameters like velocity or temperature. For example, the root mean square velocity over time can be used to check whether a model has reached steady state or shows signs of periodicity (e.g. Tosi et al., 2015). For subduction models, the slab dip, slab tip depth, slab sinking velocity, plate age at the trench, and the interaction of the slab with the mantle transition zone are often monitored (e.g. Garel et al., 2014; Crameri and LithgowBertelloni, 2018). Specific isotherms, fault length and offset, rift symmetry, and the migration of fault activity are often tracked in extensional models (e.g. Huismans and Beaumont, 2003; Naliboff et al., 2020). From general convection models, the degree of entrainment or mixing, the convective regime (e.g. stagnant lid versus mobile lid), and the degree of layering are often extracted (Heyn et al., 2018; Foley, 2018; O'Neill et al., 2016).
7.3 Automated model diagnostics
While some model analyses can be done by hand, the more elaborate postprocessing that is becoming increasingly popular nowadays needs to be automated using opensource, testable, and extendable algorithms and shared as userfriendly software (Greene and Thirumalai, 2019). To achieve such nextgeneration postprocessing, like plate boundary tracking, extraction of lithosphere thickness, or computing the dynamic or isostatic topography (Crameri, 2017b), the output of geodynamic codes should ideally use a standard, widely accepted format and include metadata that can also be accessed by machines. Accessing individual subsets of the data, like individual time steps or parameter fields, should be straightforward. Model output should therefore be independent from computational details, like the number of computational cores the results have been produced on.
A few software packages that allow for automated postprocessing and diagnosis of geodynamic models are available to support geodynamicists with analysing their increasingly complex models and the large datasets originating from them. However, such tools are rare because while most individual researchers spend a large amount of time in coding postprocessing scripts, they often do not share those scripts with the geodynamics community. Moreover, scripts that are shared in the context of repeatability and transparency are not necessarily applicable or relevant to other software output. Making their own postprocessing scripts more generically applicable can also not be required of individual scientists. Contributing to postprocessing tools as part of a community software project is a great step forward, reducing the duplication of work while providing author recognition. Unfortunately, not all available postprocessing tools supplied with community software can be applied to results from other codes. Defining a set of interfacing functions, like the Basic Model Interface (https://bmispec.readthedocs.io/en/latest/, last access: 24 February 2022) established by the Community Surface Dynamics Modeling System (CSDMS), facilitates communication between different modelling and postprocessing tools.
Generic, openaccess geodynamic diagnostic tools are Adopt (Mallard et al., 2017) to detect and outline surface plates, StagPy (https://pypi.python.org/pypi/stagpy, last access: 24 February 2022) to diagnose plate boundaries, and StagLab (https://www.fabiocrameri.ch/staglab/, last access: 24 February 2022) (Crameri, 2017b, 2018c) to perform a large set of geodynamic diagnostics. StagLab in particular offers an extensive set of robust 2D and 3D diagnostics. It works across multiple model domain geometries, resolutions, and model setups and produces publicationready, fully annotated figures and movies using exclusively scientific colour maps (Sect. 8.2). Moreover, StagLab is versioned and extendable, and it can process output of more than one mantle convection code while also offering loweffort compatibility for any other machinereadable output.
Other recent developments include the automated comparison of observations to model predictions to find the smallest misfit between the two. Such statistical and probabilistic inversion methods help determine the model parameters, e.g. mantle viscosity or crustal density, that result in the best fit of the model solution with the observed quantity through forward geodynamic modelling (e.g. Baumann et al., 2014; Baumann and Kaus, 2015; Li et al., 2017; Reuber et al., 2018b; Morishige and Kuwatani, 2020; OrtegaGelabert et al., 2020).
Scientific results are only of value if they are communicated to the wider scientific community. No matter whether they are spoken or written, the first aspects to get right when communicating science concerns letters, words, and phrases. Since geodynamic modellers, like most other life forms, tend to learn most effectively by observing and copying other fellows, it is no surprise that we tend to speak and write in a similar way to our mentors, peers, and friends. While there is generally nothing wrong with that process, it does, however, make for an excellent breeding ground for problems related to semantics that can lead to serious miscommunication (e.g. Crameri, 2018a). Written and spoken communication therefore needs to be held dear and handled carefully by a geodynamic modeller.
The semantics behind a modelling publication or presentation need to be in tune with the approaches taken in the modelling itself. If a modelling study is suitably communicated, there will be less misunderstanding about what the presented model stands for, what it does not stand for, and what the drawn conclusions mean.
Because geodynamic models are per definition simplifications of a natural system (Sect. 1.1), their individual features should not be mistaken for an exact replica of their natural counterparts. When communicating modelling aspects, semantic differentiation between the feature in the model and in nature helps to avoid confusion. For example, one should refer to “the modelled slab” instead of “the slab” or “the subducted Nazca plate”. On a similar note, one should distinguish between “thermochemical piles”, which are collections of material with different thermal and chemical properties than the surrounding mantle, and “LLSVPs”, which are observed regions of low shear wave velocity along the core–mantle boundary.
In addition, care has to be taken with absolute statements, like “X on the Earth is due to Y”, when drawing conclusions from the model results. As discussed in Sect. 5.2, models can only demonstrate a certain likelihood of a hypothesis, and, in particular, specific modelling studies should acknowledge that there is no guarantee that the suspected control mechanism is the actual, or the only, controlling mechanism. Statements like “X on the Earth is likely due to Y”, “Y is a potential explanation for X”, and “if our assumptions A, B, and C are fulfilled, then XYZ will probably happen in the Earth” are more correct and prevent misconceptions.
Communicating a geodynamic modelling study, however, goes beyond semantics. The suitable words and phrases are most effective when combined with an appropriate manuscript structure as well as effective still and even motion graphics. Combined, these forms of communication make a new scientific insight accessible.
8.1 Structure of a geodynamic modelling manuscript
Peerreviewed scientific papers are essential to disseminate relevant information and research findings. In particular, it is important to make results understandable and reproducible in the methods and results sections. Reviewers will criticise incomplete or incorrect method descriptions and may recommend rejection because these sections are critical in the process of making the results reproducible and replicable. In this section, we briefly review the structure of a manuscript and highlight the parts required in a geodynamic numerical modelling study (Pusok, 2019).
While there are many ways of writing a paper, the main purpose of a scientific paper is to convey information. Historically, the structure of scientific papers evolved from mainly singleauthor letters and descriptive experimental reports to a modernday comprehensive organisation of the manuscript known as “theory–experiment–discussion” (Audisio et al., 2009; Liumbruno et al., 2013). The formal IMRAD structure (i.e. introduction, methods, results, and discussion/conclusions) was adopted in the 1980s and, at present, is the format most widely used and encouraged by scientific journals. The IMRAD structure facilitates modular reading and locating of specific information in preestablished sections of an article (Kronick, 1976). In geodynamics, the general structure of a manuscript follows the IMRAD structure (Fig. 11), although journals can place different emphasis on the individual components through reordering and formatting.
A good introduction should answer the following questions: what is the problem to be solved? What previous work has been done? What is its main limitation? What do you hope to achieve? How do you set up your investigation? One major mistake is to attempt to do an extensive literature review in the introduction, which often goes off topic. The introduction serves as the stage to lay out the motivation for the study, and any background reading should focus on the question being addressed.
The methods section is an important part of any scientific manuscript (Kallet, 2004). A good methods section allows other scientists to verify results and conclusions, understand whether the design of the experiment is relevant for the scientific question (validity), and build on the work presented (reproducibility and replicability) by assessing alternative methods that might produce differing results. Thus, the major goals of the methods section are to verify the experiment layout and allow others to reproduce the results. Here, we outline standards for reporting the methods in numerical geodynamic modelling.
First, the methods should be plain and simple, objective, logically described, and thought of as a report of what was done in the study. Unstructured and incomplete methods can make the manuscript cumbersome to read or even lead the reader to question the validity of the research. Generally, journals have guidelines on how the methods should be formatted, but not necessarily what they should contain because they vary from field to field. The “who, what, when, where, how, and why” order proposed by Annesley (2010) breaks the methods section down into the following questions: who performed the experiment (not directly applicable to geodynamics, although one might mention here the specific cluster or supercomputer on which the simulations were run)? What was done to answer the research question? When and where was the experiment undertaken (i.e. what computational resources and which software versions were used?)? How was the experiment done, and how were the results analysed? Why were specific procedures chosen? The answers to these questions should be adapted to every field (i.e. in geodynamics, “results were obtained using code X on cluster Y”). Here, we focus on methods that have primarily theoretical (mathematical and physical) and numerical (computational) components, but geodynamic studies may have other aspects such as a data component (e.g. collection and postprocessing of data) or an analogue component (e.g. laboratory experiments).
Figure 11 shows a breakdown of the most important elements of a manuscript and the methods section in particular. The methods should start with a brief outline (one paragraph) describing the study design and the main steps taken to answer the scientific question posed in the introduction. The outline should be logical and go from theoretical elements, to numerical aspects, to analysis and postprocessing. First to be described is the theoretical framework. This includes the mathematical and physical concepts used in the study including the governing equations, constitutive equations, initial and boundary conditions, and any other relevant theory describing the model setup.
This is followed by a section on the computational approach explaining how the theory and the model are translated into computer language (Sect. 3). This includes details on numerical methods (discretisation and other numerical techniques, code details, solvers and software libraries, etc.) and model setup. The model setup subsection should include details on the current experiment such as model geometry, resolution (numerical and physical), parameter values, and initial and boundary conditions. Any necessary figures of model geometry and tables of parameter values should be provided. More importantly, the choice of parameters should be motivated to explain their relevance to addressing the scientific question.
After the model setup has been explained, the methods should contain a section describing the design or layout of the study in detail. What is being tested or varied? How many simulations were performed in terms of model and parameter space? For example, one can use different model setups (i.e. lithospherescale and mantlescale subduction models) with varying parameters in the same study. Why perform those simulations and vary those parameters? A summary table is handy to indicate all simulations that were run and which parameter was varied in which run. Additionally, it is important to include information on all input parameters and their values and units, as well as possible conversions within the code to enable reproducibility of the study (see Sect. 9) and to foster transparency. This information ideally takes the form of an extensive table including the description, symbol, value, and SI units of the parameters. Errors may still be introduced during manuscript writing, and published values of input parameters may differ from values actually used in the numerical model. Automatic routines to print input parameters in publishable format directly from the code can avoid these mistakes in models and increase transparency and replicability. As an example, laboratoryderived creep laws are often listed haphazardly in tables for publications. However, published laboratory data may need conversion due to unit change (i.e. MPa^{−n} s^{−1} to Pa^{−n} s^{−1} for n>1 in creep laws) or correction due to the type of experiment (uniaxial, simple shear) in order to be directly usable in geodynamic models (see Gerya, 2019). This example also demonstrates the importance of consistently listing the units of all parameters used in a study, preferably in SI units.
Analysis, visualisation, and postprocessing techniques of numerical data should also be described in the methods section. This is a step generally ignored, but it is important to be open about it; e.g. “visualisation was performed in ParaView/MATLAB, and postprocessing scripts were developed in Python/MATLAB/Unicorn language by the author”. If the postprocessing methods are more complex, the author can provide more details (i.e. statistical methods used for data analysis). It is also good practice to provide these postprocessing scripts for peer reviewing and community engagement (Sect. 9).
Information should also be given on code and data availability. This was originally part of the methods section, but recently journals have introduced data management requirements (Sect. 9), and this information may have a designated location in the manuscript template. However, it is good practice to write this information in the methods section. The authors should indicate code availability, code verification, and input files or other data necessary to reproduce the simulation results (e.g. installation guides). Additional questions to be answered in the methods section are the following: where were the simulations performed and on how many cores? What was the average runtime of a simulation? Can the model results be reproduced on a laptop or desktop computer, or is access to a cluster required?
Before moving to other sections, model assumptions need to be stated clearly in either the description of the theory or the numerical approach. Geodynamics is a field in which we take a complex system like the Earth or another planetary body and simplify it to a level from which we can extract some understanding (Sect. 5). In doing so, we rely on a physically consistent set of assumptions. It is important to bear in mind that this set of assumptions may not always be obvious to the reader. As long as assumptions are explicit and consistent (i.e. through clear and honest communication), the reviewers and readers will find fewer flaws in the study. It is good practice to write a complete methods section for every manuscript, such as the one described here. However, some journals will ask for a short version to be included in the main manuscript and have the complete methods section in a separate resource (i.e. in the Appendix, Supplement, online repository).
Complementary to the methods section, the results section should be a report of the results obtained. The main goal of the results section is to present quantitative arguments for the initial hypothesis. However, any interpretation of the results or reference to other studies should be reserved for the discussion. For example, results in a mantle convection model might show that dense material accumulates at the bottom of the domain (i.e. core–mantle boundary). The interpretation of these results is that they provide a mechanism to explain how LLSVPs (large lowshearvelocity provinces) have formed. Illustrations, including figures and tables, are the most efficient way to present results (Sect. 7). However, authors should only include material and information relevant to demonstrate the scientific arguments discussed in the next section. Therefore, to avoid distraction, writers should present additional data as Supplements, e.g. movies of the whole simulation, whereas only a few snapshots are provided in the main body of the paper.
The discussion section relates all the questions in the manuscript together: how do these results relate to the original questions or objectives outlined in the introduction section? Do the results support the hypothesis? Are the results consistent with observations and what other studies have reported? The modeller should discuss any simplifying assumptions, shortcomings of numerical methods and results, and their implications for the study. For example, the discussion in a specific modelling study (Sect. 5.2) should address how applicable the model results are to the specific problem or region, whereas the discussion in a generic modelling study should aim to understand the underlying factors in a given system. If the results are unexpected, the authors should try to explain why. Are there other ways to interpret the results? What further research would be necessary to answer the questions raised by the results? What does it all mean? Many manuscripts are rejected because the discussion section is weak and the authors do not clearly understand the existing literature. Writers should also put their results into a global context to demonstrate what makes those results significant or original.
At this point in preparing the manuscript, the authors have all the necessary elements to write the abstract and conclusions and come up with a descriptive title. Both the abstract and conclusion summarise the entire publication, but in a different way: one as a preview and one as an epilogue, respectively. It is crucial to focus a paper on a key message, intended for both specialist and nonspecialist readership, which is communicated in the abstract and conclusions. Some journals also include a plain language summary and/or graphical abstracts as alternative ways to engage a broader audience.
In the end, every scientific manuscript has additional components such as the references, acknowledgements, Supplement, software and data availability, and author contributions (Fig. 11) that contain further information about how the study was funded, conducted, and shared with the community. Acknowledging the often substantial contributions of reviewers is a common courtesy.
In this section, we have primarily referred to scientific articles, but scientific manuscripts can also be reviews, editorials, and commentaries. The structure and contents of these manuscripts differ for each type. Each publisher and journal have their own style guidelines and preferences, so it is good practice to consult the publisher's guide for authors. Finally, even though scientific manuscripts may have a rigidly defined structure due to journal guidelines, there is still plenty of flexibility. In fact, the best manuscripts are creative, tell a story that communicates the science clearly, and encourage future work.
8.2 Effective visualisation
There are many different ways to visualise geodynamic models, and it is challenging to figure out how to do so most effectively. However, avoiding the most common visualisation pitfalls is the best start for any modeller looking into visually communicating important results across the research community and possibly beyond. The key aspects to remember when creating figures, thereby preventing misleading visual impressions, are the following: (1) scales, like graph axes and colour bars, must always be included to allow quantification of data values. (2) Bar plots must always have a zero baseline (or in the logarithmic case, have a baseline at 1), to not mislead the reader with altered relative bar heights. (3) Pie diagrams should be avoided as angles and areas are not easily quantifiable by the human brain and are therefore not directly comparable to each other. These problems are exaggerated when pie charts are displayed as 3D structures, which causes the values underlying the pieces closest to the viewer to appear artificially larger than the others. (4) Heat maps (i.e. plots with differently coloured tiles) should have numbered tiles that include the data value, as surrounding colours heavily distort the impression of a given colour, which can mislead the viewer's perception of the underlying data values significantly (Crameri et al., 2020). (5) Colours must be applied in such a way that data are reflected correctly and are inclusive to all readers (Crameri et al., 2020). Scientifically derived colour maps exist, like Colorbrewer, MPL, Cividis, CMOcean, CET, and scientific colour maps (Kovesi, 2015; Thyng et al., 2016; Nuñez et al., 2018; Crameri, 2018b), and must be chosen over unscientific default colour maps like rainbow, jet, seis, and others (Fig. 12). (6) Visualisation should be subject to the same scientific scrutiny as other research methods to communicate data and concepts truthfully, accessibly, and clearly.
All aspects of a figure need to be explained and understandable. While filtering, resampling, or otherwise postprocessing model results instead of plotting raw data can improve the message purveyed by the figure, such actions should be mentioned in the figure caption. Some numerical codes work, for example, in dimensionless numbers (Sect. 7.2) and require scaling of the model output before they can be related to observations. However, too much information jammed in a figure can easily render the figure unusable to the reader. Again, the modeller has to simplify enough to reach the sweet spot, without oversimplifying the figure (compare with Sect. 5.1). Everything that can be removed without losing key information should be removed. Unnecessary and/or duplicated axes labels, e.g. those repeated across multiple panels, should be removed. The same applies to other figure aspects like colour bars. To make a figure intuitive to readers, colour bars in multiple figure panels applied to the same parameter should optimally maintain the same range (i.e. map the same colour to the same data value), and if they do, displaying just one colour bar is sufficient.
Displaying 3D models effectively is challenging and somewhat arbitrary, as the third dimension is often difficult to convey in a still image. Given the current dominant occurrence of noninteractive, twodimensional canvases (e.g. the pdf format), 2D slices of parameter fields often represent the model more effectively than 3D volumes. The combination of various datasets, like flow characteristics on top of a temperature field, can be effective but is also challenging. Velocity arrows, for example, should not overlap or distract from the remaining important content of the figure. If the velocity in a 3D visualisation is displayed using arrows, they should be coloured according to their magnitude because their lengths are distorted by the 3D perspective. Stream lines and a coloured contour plot of the velocity field often provide a more suitable solution to display the flow direction and patterns, as well as its velocity magnitudes, respectively.
An uninformed, unscientific use of colours not only excludes a large portion of the readership, for example through hardly distinguishable colour combinations for readers with a colourvision deficiency (like the most common red–green colour blindness), but also significantly distorts the underlying model data visually (e.g. Crameri, 2017a, 2018c, and Fig. 12). In fact, the distortion can be more than 7 % of the displayed data range (e.g. a temperature variation of 20^{∘} could look like 24^{∘} in one part along a colour axis that ranges between 0 and 100^{∘}, while it looks like 17^{∘} in another part), which in most cases easily amounts to the biggest error in a modelling study. Therefore, modellers should avoid using default colour maps blindly, but instead look for scientific colour maps (Crameri et al., 2020). If software does not offer them, or at least allow them to be imported, users should contact the software developers. Hence, scientific colour maps should be the default in common geodynamic codes and visualisation programmes.
Scientific colour maps are perceptually uniform to prevent data distortion, and they are perceptually ordered to make data intuitively readable, colourvision deficiency friendly, and optimally readable in black and white to include all readers. Suitable scientific colour maps (e.g. Crameri, 2018b) that offer fair data representation and are fully inclusive have become readily usable (either as builtin options or after importing them) with all major modelling, visualisation, and graphics software, like MATLAB, Python, R, GMT, QGIS, ParaView, VisIt, Mathematica, gnuplot, GIMP, and Inkscape. Indeed, the scientific colour maps suite (e.g. Crameri, 2018b) offers custom colour map classes for any data type. The sequential class (e.g. batlow) is best suited for monotonically increasing data like a temperature field. The diverging class (e.g. vik) is best suited for zerocentred data like a horizontal velocity field. A multisequential class (e.g. oleron) should be used with zerocentred, nondiverging data like a combination of ocean bathymetry and land topography, and the cyclic class (e.g. romaO) is tuned for circular data like azimuthal direction. Moreover, these scientific colour maps are offered as a continuous type (e.g. batlow) to visualise smallscale data variation, a discrete type (e.g. batlow10) to highlight similar data values more clearly, and a categorical type (e.g. batlowS) to clearly differentiate unordered data for line or scatter plots. In general, colour maps are an integral part of the colour axis (or colour bar) and their key purpose is to represent – and not interpret – data. As such, the local colour gradient, like the tick spacing along an x axis, should be the same all along the entire colour bar (or vary constantly in the case of a logarithmic axis). To interpret or highlight certain parts of the rendered data, other graphic tools like superimposed contour lines or visual indicators such as arrows should be used. More indepth information, a clear user guide to using colour and colour maps, and a concise list of the major currently available scientific colour maps are provided in Crameri et al. (2020).
Just like any other study, numerical modelling studies should be reproducible (i.e. the same researcher doing the same computation on the same machine produces the same measurement at stated precision) and most importantly replicable (i.e. different researchers can obtain similar enough results from independent development) (Bollen et al., 2015; Goodman et al., 2016). Note that the actual terms used for these concepts vary across the sciences (Association for Computing Machinery, 2016; Karlsen, 2018; Plesser, 2018), with the terms reproducible and replicable, for example, used interchangeably. Reproducibility and replicability imply that the software used to conduct the study as well as the specific model setups, installation environment specifications, and postprocessing workflow should be available (Perkel, 2020) to interested peers and, preferably, everybody. More and more, scientific journals are requesting or even requiring the publication of data and software along with the manuscript. Although the requirements vary per journal, it is good practice to adhere to these principles for every publication.
Before development starts, software developers and modellers involved in the development of the software they use should consider setting up a software management plan (SMP; see the SMP template by Jackson, 2018, of the Software Sustainability Institute). This includes, but is not limited to, the following questions: what software will be produced? Who will use the software? How will the software be made available to the users? What support will be provided to the users? How will the software contribute to research, and how can this contribution be measured? Where and how will the software be deposited to guarantee its lasting availability? Certain organisations that provide a platform for software packages state their own guidelines and requirements, such as the Computational Infrastructure for Geodynamics (CIG) (https://geodynamics.org/cig/dev/bestpractices/, last access: 24 February 2022).
In the hero codes development strategy, one person or only a few people are responsible for the development and maintenance of a modelling software package (Thieulot, 2017). Community software efforts are often managed through version control software like git and svn and corresponding platforms like GitHub, GitLab, and BitBucket (e.g. ASPECT, 2014; Kronbichler et al., 2012; Heister et al., 2017; LaMEM, 2022; Kaus et al., 2016; pTatin3D, 2022; May et al., 2014; and PyLith, 2022; Aagaard et al., 2013). These platforms provide open as well as private repositories for software development, issue tracking, automated testing, and project management, greatly simplifying the points addressed in the SMP. They also facilitate contributing the modeller's own development efforts to the main repository of the software such that they are available to other researchers. Moreover, extraction of statistics on the number of downloads, users, and contributors is made easy. However, these platforms themselves do not provide persistent identifiers and are not considered archiving facilities according to the FAIR data principles discussed below.
When archiving software developments or additions, one should take care to include instructions for installation and use as well as ample comments explaining the code. Software containers such as Docker containers (https://www.docker.com/, last access: 24 February 2022) can help, as they bundle the programme's complete runtime environment into one package. The minting of a persistent identifier (PID) like a digital object identifier (DOI) for the repository should be a standard procedure and at the same time ensures the modeller can get credit for their coding efforts through citation of the source code. DOI minting can, for example, be done through Zenodo (https://zenodo.org/, last access: 24 February 2022) for GitHub repositories. Writing code can take up a significant amount of time for modellers, although a modeller is not necessarily a developer. This time spent on something other than publishing papers should be acknowledged, as stated in the software citations principles established by the FORCE11 working group (Smith et al., 2016). Archiving data and code properly also facilitates others finding and reusing the work. Guidelines for writing reproducible code and research projects in general can, for example, be found here: Wilson et al. (2014b, 2017), The Turing Way Community et al. (2019), and the Software Sustainability Institute (2022) (https://www.software.ac.uk/resources/guides/guidesresearchers, last access: 24 February 2022).
Apart from software, modelling studies also use and produce data. For one, observational data can be provided as input to the model setup, and usage of these data when created by others should be duly referenced. Then, simulations produce data – the model results. Wilkinson et al. (2016) focused on the reuse of scientific data by providing FAIR data principles to improve the ability of machines to find, access, and use datasets. The FAIR data principles promote the findability, accessibility, interoperability, and reusability of data. Several initiatives are built upon these principles, like GO FAIR, the Coalition for Publishing Data in the Earth and Space Sciences (COPDESS), Enabling FAIR Data, and the European Open Science Cloud. When input files, software, and machine specifications are properly described, identified, and made available, numerical data do not have to be archived, as the study can be reproduced from those elements. However, accessible model results can save the computational resources needed to recreate the model results, serve reviewer assessment and educational purposes, and demonstrate postprocessed results that can be of interest to the general public (e.g. movies on YouTube or graphics on figshare; Pusok, 2020). Note that workflows themselves can be made public as well through platforms like WorkflowHub (https://workflowhub.eu, last access: 24 February 2022).
To help modellers with the implementation of the FAIR data principles, publishers and data repositories formed the coalition COPDESS. The COPDESS website (http://www.copdess.org, last access: 24 February 2022) explains why and how to archive and publish software and accompanying data, and it includes FAIR author guidelines, links to the guidelines of associated journals, and the repository finder from the Enabling FAIR Data project that searches the Registry of Research Data Repositories (https://www.re3data.org/, last access: 24 February 2022) for FAIRaligned repositories. An extensive explanation of the FAIR data principles as well as a starter kit for research data management for researchers can be obtained from the GO FAIR (2022) initiative. Proper research data management starts with addressing the following points (after Science Europe, 2018): (1) description of data, their collection and production, and the reuse of existing datasets; (2) data metadata and management; (3) storage, backup, and security during the project; (4) legal and ethical requirements, as well as codes of conduct; (5) the question of what, how, and where data will be stored, accessed, and identified; and (6) the question of who will deposit and maintain the data.
Data repositories can be subdivided into institutional repositories, domainspecific repositories (e.g. EarthChem, IRIS, PANGAEA, and HydroShare), thematic data repositories (which differ from domainspecific repositories by having to transform the data to the repository's format yourself, e.g. NASA's Planetary Data System), and general repositories like figshare, Dryad, and Zenodo (Stall et al., 2020). The library of a modeller's institute can explain what repositories they support and what workflows already exist for archiving data with persistent identifiers. In general, institutional and domainspecific repositories provide more support and quality control in submitting the data, while general repositories do not set specific requirements for the data. Also, by depositing data in a domainspecific repository, they are more likely to be found by the target audience. Useful repositories also provide you with copyright licensing options, which for research data are commonly CC zero and CC BY (https://creativecommons.org/licenses/, last access: 24 February 2022). These licensing options standardise the granting of copyright permissions for research data and software, stating who can reuse creative work in what way, for example, without making modifications but with attribution to the original creator. Lastly, the dataset or software with its persistent identifier should be properly cited in the corresponding article, which should clearly state how it can be accessed. Purely descriptive articles about a new dataset without any data interpretation can be published in, for example, Earth System Science Data, the Geoscience Data Journal, Earth and Space Science, and the Data Science Journal.
Not only data can (and should) have a persistent identifier, but researchers can also create persistent digital identifiers, like an ORCID iD (https://orcid.org/, last access: 24 February 2022), for themselves. These identifiers can be connected to all types of research products, such as articles, grants, and peer reviews, providing acknowledgement of the work and preventing identity mixups. The article processing portals of many journals already allow or require researchers to link their ORCID iD to their profile, and these iDs are then linked in the published manuscript. Another development in article publication is the rise of reproducible articles, whereby not only the output, but also the whole code used to produce the output, is interactively included in the manuscript using, for example, R Markdown (https://rmarkdown.rstudio.com/, last access: 24 February 2022) or Jupyter Notebooks (https://jupyter.org/, last access: 24 February 2022). For massively parallel geodynamic computations, such a reproducible article is currently not feasible, but we would like to invite both authors and reviewers to critically assess the reproducibility of their geodynamic modelling studies (Pusok, 2020).
One last thing modellers should consider is that numerical modelling does not come for free. As a community, we have to acknowledge the environmental impact, especially of highperformance computing and data storage. In a busy year (e.g. 1 million CPU hours), computations of one researcher can emit up to 6 t of CO_{2} on a modern highperformance machine (e.g. a power draw of 400 W per processor; see Lannelongue et al., 2020, and their computing emissions calculator at http://www.greenalgorithms.org/ (last access: 24 February 2022). For comparison, a transAtlantic roundtrip flight (e.g. Berlin–San Francisco) produces about 2 to 3 t of CO_{2} per person (myclimate CO_{2} calculator, https://co2.myclimate.org/, last access: 24 February 2022, Ivanova et al., 2020). A conscious effort should therefore be made not to waste computing power. For example, short, lowresolution models should be favoured to test new implementations and setups, and weak and strong scaling test results (Sect. 3.5) should be used to determine the optimum number of processes for large production runs. Furthermore, code developers should care about code optimisation from the start and could additionally provide both debug and release software versions, for which less timeconsuming internal checks are performed in release mode for production runs. Computing and data centre cooling systems can be improved, and waste heat should be used, for example, in district heating or direct heating of the surrounding buildings (Wahlroos et al., 2018; Oltmanns et al., 2020), although these solutions are typically beyond the modeller's control.
In addition to environmental costs, there are nonnegligible financial costs to modelling. Access to highperformance machines can be expensive and a heavy entry in a modeller's budget. Moreover, the often big data that result from running numerical models need to be stored, diagnosed, visualised, and shared. Large local or remote storage solutions, software licenses, and powerful personal computers are expensive. These financial modelling costs need to be acknowledged not only by modellers themselves but also by others, such as funding agencies. With conscious management of resources, software, and data, we can ensure a fairer, more efficient, and greener geodynamic modelling community.
Geodynamic modelling studies provide a powerful tool for understanding processes in the Earth's crust, mantle, and core that are not directly observable. However, for geodynamic modelling studies to make significant contributions to advancing our understanding of the Earth, it is of paramount importance that the assumptions entering the modelling study and their effects on the results are accurately described and clearly communicated to the reader in order for them to be wellunderstood. These assumptions are made at numerous stages of the numerical modelling process such as choosing the equations the code is solving, the numerical method used to solve them, and the boundary and initial conditions in the model setup.
Apart from acknowledging the assumptions made and their implications, it is important to view a modelling study in light of its intended philosophy. Generic modelling studies, usually characterised by extensive parameter variations, aim to understand the general physical behaviour of a system. Specific modelling studies, on the other hand, aim to reproduce a specific state of a specific geodynamic system and therefore rely more heavily on data comparisons.
In order to make the geodynamic modelling process transparent and less prone to errors, good software management is necessary with easily repeatable code verification to ensure that the equations are solved correctly. Additionally, it is important that the model is internally consistent with regards to thermodynamics and boundary conditions. Then, for individual models, the results need to be validated against observations.
When communicating the results of a geodynamic modelling study to peers, it is important to provide both quantitative and qualitative analyses of the model. Fair presentation of the results requires clear, unbiased, and inclusive visualisation. The results should first be objectively described and presented, after which they can be interpreted in the discussion.
In addition to outlining these best practices in geodynamic numerical modelling, we have shown how to apply them in a modelling study. Taking these best practices into account will lead to clearly communicated, unambiguous, reproducible geodynamic modelling studies. This will encourage an open, fair, and inclusive research community involving modellers, collaborators, and reviewers from diverse backgrounds. We hope to set a standard for the current state of geodynamic modelling that scientists can build upon as future research develops new methods, theories, and our understanding of the Earth. Geodynamic modelling is bound to increasingly link with a growing number of disciplines, and we trust that the perspective presented here will further facilitate this exchange.
In this Appendix, we provide an example of how to translate a physical model into a numerical model through discretisation such that it can be coded up into an algorithm. More indepth details on numerical modelling can be found in Zhong et al. (2015), Simpson (2017), Gerya (2019), and Turcotte and Schubert (2014). For this example, we consider a simplified version of the energy conservation equation in Eq. (6), i.e. the onedimensional transient (i.e. timedependent) heat conduction equation without additional heat sources:
where ρ is the density, C_{p} the isobaric heat capacity, k the thermal conductivity, and T the temperature (Sect. 2.1.3). If we assume the thermal conductivity, density, and heat capacity to be constant over the model domain, the equation can be simplified to the heat equation in Eq. (16):
where $\mathit{\kappa}=k/\mathit{\rho}{C}_{\mathrm{p}}$ is the thermal diffusivity (Sect. 3.2). We want to solve this partial differential equation in time and 1D space with appropriate boundary conditions using the finitedifference method (Sect. 3.1) on a domain from x=0 to x=L_{x}. Note that this Appendix is a simple introduction to and example of the finitedifference method, and the reader is referred to Gerya (2019) for a more thorough presentation of the method.
A1 Taylor series of functions
Before discretising the heat equation, we need to approximate all its terms, after which we can discretise these approximations. Both firstorder and secondorder derivatives are present in the heat equation in Eq. (A2), which we can approximate by Taylor series in the finitedifference method. Here, we briefly show how to approximate a general function f(x) that is continuous and differentiable over the range of interest. We assume that we know the value f(x_{0}) and all the derivatives ${\partial}^{n}f/\partial {x}^{n}$ at x=x_{0}. Then, in Sects. A2 and A3 we apply this to the specific terms of the heat equation.
A1.1 Firstorder derivative
The forward Taylor series expansion of f(x), away from the point x_{0} by a small amount h, is given by
This can be rewritten as
where the truncation error 𝒪(h) indicates that the full solution would require additional terms of order h, h^{2}, and so on like in Eq. (A3). Hence, we have an approximation for a firstorder derivative, which is formally defined as
The fact that h does not actually go to zero in Eq. (A4) and remains finite gives the finitedifference method its name. Eq. (A4) is often called the forward derivative, as we can also expand the Taylor series backward (i.e. looking “left” of x_{0} at location x_{0}−h), and the backward finitedifference derivative is then
A1.2 Secondorder derivative
To approximate secondorder derivatives, we start with the Taylor expansions of function f(x) at locations x_{0}+h and x_{0}−h:
Adding these two equations together yields
which is an approximation of a secondorder derivative.
A2 Space discretisation
Now that we know how to approximate firstorder and secondorder derivatives, we can apply these approximations to Eq. (A2). First, we start with the spatial discretisation for which we need the approximation of the secondorder derivative. We want to solve the heat equation on a 1D domain that is divided into separate parts (i.e. discretised). For simplicity, we will focus on three consecutive, discretely spaced points (Fig. A1). Using Eq. (A9), we can compute the secondorder derivative of T at point x_{i} assuming we know the values of T at x_{i−1} and x_{i+1}:
where T_{i}=T(x_{i}), i.e. T at x=x_{i}, and ${x}_{i+\mathrm{1}}={x}_{i}+h$ (i.e. $h={x}_{i+\mathrm{1}}{x}_{i}$), where the node spacing, or resolution, h, is assumed to be constant.
A3 Time discretisation
The next step is to discretise the firstorder time derivative in Eq. (A2) using the approximation of the firstorder derivative (Sect. A1.1). To discretise time we divide it into discrete intervals of time, i.e. the time step Δt is the time between two consecutive measurements (Fig. A1). The time step is the equivalent of the grid size h in the spatial discretisation (Sect. A2). In order to distinguish the indices relative to space and time, in what follows we adopt the convention that the subscript refers to space indices, while the superscript refers to time indices. Using Eq. (A4), we can compute the firstorder forward derivative of point x_{i} and at time t^{n}=nΔt as an approximation:
This forward finitedifference derivative is called firstorder accurate, which means that a very small Δt is required for an accurate solution. The backward derivative from Eq. (A6) is then
A3.1 Explicit formulation
Both n and i are integers; n varies from 0 to nstep−1, where nstep is the total number of time steps, and i varies from 0 to np−1, where np is the total number of grid points in the x direction. When the forward derivative of Eq. (A11) is used for the time derivative and coupled with the spatial derivative of Eq. (A10), the following approximation of Eq. (A2) is obtained:
which can be rearranged to
Hence, we have found an expression to compute the temperature ${T}_{i}^{n+\mathrm{1}}$ at point x_{i} for the next time step n+1 from all known values at the current time step n. Such a scheme is called an explicit finitedifference method, which we arrived at through our choice of evaluating the temporal firstorder derivative with forward differences (Sect. A1.1).
A3.2 Implicit formulation
An alternative approach to deal with the time discretisation is an implicit finitedifference scheme, whereby we use the backward difference for the time derivative (Eq. A12). Together with the spatial derivative of Eq. (A10), we then obtain
This is often rewritten as follows in order to deal with the unknowns of time step n+1 instead of the known time step n:
The main advantage of implicit methods over their explicit counterpart is that there are no restrictions on the time step, since the fully implicit scheme is unconditionally stable. Therefore, we will use the backward (implicit) scheme for the rest of this example. This does not mean that it is accurate no matter what, as taking large time steps may result in an inaccurate solution for features with small spatial scales. For any application, it is therefore always a good idea to do a convergence test, i.e. to check the results by decreasing the time step, until the solution does not change anymore. Similarly, a spatial convergence check with the solution of the model evaluated with changing spatial resolution is useful. Doing these convergence tests evaluates whether the method can deal with both small and largescale features robustly and ensures that it can.
Equation (A16) can be rearranged as follows:
In contrast to the explicit formulation, we no longer have an explicit relationship which allows us to compute ${T}_{i}^{n+\mathrm{1}}$ one by one by looping over index i. In other words, Eq. (A17) contains more than one unknown. Therefore, we need to combine these expressions for all unknown points in space and solve the resulting linear system of equations.
A4 Obtaining the linear system of equations
We discretise the domain of length L_{x} with four cells, i.e. $i=\mathrm{0},\mathrm{\dots}\mathrm{4}$ (np=5). Since we have a secondorder derivative in space, we need to prescribe two boundary conditions. We choose $T(x=\mathrm{0})={T}_{\mathrm{0}}=\mathrm{0}$ and $T(x={L}_{x})={T}_{\mathrm{4}}=\mathrm{100}$. For simplicity, we assume that they do not change over time, so we omit the superscript. Finally, we assume that we know the initial temperature ${T}_{i}^{\mathrm{0}}$ for all locations i; i.e. initial conditions have been provided. We want to compute the solution at time t=Δt, or ${T}_{i}^{\mathrm{1}}$. To simplify notations we define the dimensionless parameter $s=\left(\mathit{\kappa}\phantom{\rule{0.25em}{0ex}}\mathrm{\Delta}t\right)/{h}^{\mathrm{2}}$ such that we get the following five equations, i.e. one for each point of the grid.
This system of equations can be rewritten in matrix and vector form to obtain the general expression for the linear system of equations we are solving (Sect. 3.2):
where A is the coefficient matrix, X is the unknown solution vector, and b is the known righthandside vector. As opposed to the explicit approach, the linear system has a size given by the total number of nodes or points np. A is a sparse matrix, and it is symmetric (i.e. A=A^{T}). In fact, even for very large values of np, only the diagonal and two offdiagonal lines contain nonzero values. These characteristics of the matrix can be exploited to efficiently solve the system of equations to eventually obtain a solution (Sect. 3.4).
All figures presented in the paper, including light, dark, and transparent versions in various file formats, are available at https://sink.org/tag/101modelling (last access: 24 February 2022).
The supplement related to this article is available online at: https://doi.org/10.5194/se135832022supplement.
This work is based on both the European Geosciences Union geodynamics blog, (https://blogs.egu.eu/divisions/gd/, last access: 24 February 2022) and the annual Geodynamics 101 short courses at the EGU General Assembly (https://meetingorganizer.copernicus.org/EGU21/session/38905, last access: 24 February 2022). IvZ and AEP conceived the EGU geodynamics blog; IvZ, AEP, JD, and AG conceived the EGU geodynamics 101 short courses on geodynamic numerical modelling. In both instances, IvZ took the lead on realising these initiatives. All authors actively contributed to the EGU geodynamics blog over the years and were involved in designing and teaching the EGU short courses on numerical methods. FC instigated this paper and designed the figures. All authors contributed equally to the content, writing, and revision of this paper.
The contact author has declared that neither they nor their coauthors have any competing interests.
We have attempted to limit the total number of references presented in this work to increase readability. We acknowledge that this does not represent the full extent of work done on any given topic. However, we refer to wellknown review papers and textbooks with extensive explanations as well as exemplary papers from early career scientists from diverse backgrounds to further promote equality, diversity, and inclusion in geodynamics.
Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
We would like to thank executive editor Susanne Buiter and topical editor Taras Gerya for supporting and encouraging the submission of an educational review paper like this. We would also like to thank our reviewers Paul Tackley, Boris Kaus, and Laurent Montési for extensive and detailed constructive reviews that greatly improved this paper. Similarly, we would like to thank everyone who provided additional comments during the open discussion for Solid Earth, particularly John Hernlund and Paul Pukite.
We warmly thank Antoine Rozel, who was an integral part of the original EGU GA geodynamics 101 short courses and helped shape the format. We are deeply grateful to the EGU – in particular their communication officers Laura Roberts Artal, Olivia Trani, and Hazel Gibson – for the possibilities they provided us in the form of the EGU geodynamics blog and the short courses as well as for their continued support. We thank the attendees of the short courses for their constructive feedback. Thanks to all our proofreaders for their valuable feedback: Ruth Amey, Molly Anderson, Kiran Chotalia, Tim Craig, Matthew Gaddes, Rene Gassmöller, Edwin Mahlo, Martina Monaco, Gilles Mercier, Arushi Saxena, and Jamie Ward.
Iris van Zelst was funded by the Royal Society (UK) through Research Fellows Enhancement award RGFEA181084. Iris van Zelst also acknowledges financial support and endorsement from the DLR Management Board Young Research Group Leader Program and the Executive Board Member for Space Research and Technology. Fabio Crameri acknowledges support from the Research Council of Norway through its Centres of Excellence funding scheme (project no. 223272). Anne Glerum was supported by the Helmholtz Young Investigators Group CRYSTALS (grant no. VHNG1132). Juliane Dannberg was partially supported by the National Science Foundation under award no. EAR1925677.
This paper was edited by Taras Gerya and reviewed by Paul Tackley, Boris Kaus, and Laurent Montesi.
Aagaard, B., Knepley, M., and Williams, C.: A domain decomposition approach to implementing fault slip in finiteelement models of quasistatic and dynamic crustal deformation, J. Geophys. Res., 118, 3059–3079, https://doi.org/10.1002/jgrb.50217, 2013. a, b
Agrusta, R., van Hunen, J., and Goes, S.: The effect of metastable pyroxene on the slab dynamics, Geophys. Res. Lett., 41, 8800–8808, 2014. a
Aharonov, E., Whitehead, J., Kelemen, P., and Spiegelman, M.: Channeling instability of upwelling melt in the mantle, J. Geophys. Res.Sol. Ea., 100, 20433–20450, 1995. a
Ahrens, J., Geveci, B., and Law, C.: ParaView: An EndUser Tool for Large Data Visualization, Visualization Handbook, Elsevier, https://datascience.dsscale.org/wpcontent/uploads/2016/06/ParaView.pdf (last access: 24 February 2022), 2005. a
Alboussière, T. and Ricard, Y.: Reflections on dissipation associated with thermal convection, J. Fluid. Mech., 725, https://doi.org/10.1017/jfm.2013.241, 2013. a
Alisic, L., Gurnis, M., Stadler, G., Burstedde, C., and Ghattas, O.: Multiscale dynamics and rheology of mantle flow with plates, J. Geophys. Res., 117, B10402, https://doi.org/10.1029/2012JB009234, 2012. a, b
Allègre, C. J. and Turcotte, D. L.: Implications of a twocomponent marblecake mantle, Nature, 323, 123–127, 1986. a
Allken, V., Huismans, R., and Thieulot, C.: Three dimensional numerical modelling of upper crustal extensional systems, J. Geophys. Res., 116, B10409, https://doi.org/10.1029/2011JB008319, 2011. a
Allken, V., Huismans, R., and Thieulot, C.: Factors controlling the mode of rift interaction in brittleductile coupled systems: a 3D numerical study, Geochem. Geophy. Geosy., 13, Q05010, https://doi.org/10.1029/2012GC004077, 2012. a
Amestoy, P., Buttari, A., L'Excellent, J.Y., and Mary, T.: Performance and Scalability of the Block LowRank Multifrontal Factorization on Multicore Architectures, ACM Transactions on Mathematical Software, 45, 1–26, 2019. a
Androvandi, S., Davaille, A., Limare, A., Foucquier, A., and Marais, C.: At least three scales of convection in a mantle with strongly temperaturedependent viscosity, Phys. Earth Planet. Int., 188, 132–141, https://doi.org/10.1016/j.pepi.2011.07.004, 2011. a
Annesley, T.: Who, what, when, where, how, and why: the ingredients in the recipe for a successful Methods section, Clin. Chem., 56, 897–901, https://doi.org/10.1373/clinchem.2010.146589, 2010. a
Arnould, M., Coltice, N., Flament, N., and Mallard, C.: Plate tectonics and mantle controls on plume dynamics, Earth Planet. Sc. Lett., 547, 116439, https://doi.org/10.1016/j.epsl.2020.116439, 2020. a
Arrial, P.A., Flyer, N., Wright, G. B., and Kellogg, L. H.: On the sensitivity of 3D thermal convection codes to numerical discretization: a model intercomparison, Geosci. Model Dev., 7, 2065–2076, https://doi.org/10.5194/gmd720652014, 2014. a, b
ASPECT: ASPECT – Advanced Solver for Problems in Earth's ConvecTion – GitHub repository, https://github.com/geodynamics/aspect (last access: 24 February 2022), 2014. a
Association for Computing Machinery: Artifact Review and Badging, https://www.acm.org/publications/policies/artifactreviewbadging (last access: 24 February 2022), 2016. a
Atkins, S., Valentine, A. P., Tackley, P. J., and Trampert, J.: Using pattern recognition to infer parameters governing mantle convection, Phys. Earth Planet. Int., 257, 171–186, 2016. a
Audisio, R., Stahel, R., Aapro, M., Costa, A., Pandey, M., and Pavlidis, N.: Successful publishing: how to get your paper accepted, Surg. Oncol., 18, 350–356, https://doi.org/10.1016/j.suronc.2008.09.001, 2009. a
Ayachit, U.: The ParaView Guide: A Parallel Visualization Application, Kitware, ISBN 9781930934306, 2015. a
Balay, S., Gropp, W. D., McInnes, L. C., and Smith, B. F.: Efficient Management of Parallelism in Object Oriented Numerical Software Libraries, in: Modern Software Tools in Scientific Computing, edited by: Arge, E., Bruaset, A. M., and Langtangen, H. P., Birkhäuser Press, 163–202, 1997. a
Balay, S., Abhyankar, S., Adams, M. F., Brown, J., Brune, P., Buschelman, K., Dalcin, L., Dener, A., Eijkhout, V., Gropp, W. D., Kaushik, D., Knepley, M. G., May, D. A., McInnes, L. C., Mills, R. T., Munson, T., Rupp, K., Sanan, P., Smith, B. F., Zampini, S., Zhang, H., and Zhang, H.: PETSc Users Manual, Tech. Rep. ANL95/11 – Revision 3.15, Argonne National Laboratory, 2021. a
Bangerth, W., Dannberg, J., Fraters, M., Gassmoeller, R., Glerum, A., Heister, T., and Naliboff, J.: ASPECT: Advanced Solver for Problems in Earth's ConvecTion, Computational Infrastructure for Geodynamics, Figshare, https://doi.org/10.6084/M9.FIGSHARE.4865333, 2019. a
Barenblatt, G.: Scaling, Selfsimilarity, and Intermediate Asymptotics, Cambridge University Press, https://doi.org/10.1017/CBO9781107050242, 1996.
Bathe, K.J.: Finite Element Procedures, 2 Edn., ISBN 9780979004957, 2014. a
Baumann, T. and Kaus, B. J.: Geodynamic inversion to constrain the nonlinear rheology of the lithosphere, Geophys. J. Int., 202, 1289–1316, https://doi.org/10.1093/gji/ggv201, 2015. a, b
Baumann, T., Kaus, B., and Popov, A.: Constraining effective rheology through parallel joint geodynamic inversion, Tectonophysics, 631, 197–211, 2014. a
Bauville, A. and Baumann, T. S.: geomIO: an opensource MATLAB toolbox to create the initial configuration of 2D/3D thermomechanical simulations from 2D vector drawings, Geochem. Geophy. Geosy., 20, 1665–1675, https://doi.org/10.1029/2018GC008057, 2019. a
Beaumont, C. and Lambert, A.: Crustal structure from surface load tilts, using a finite element model, Geophys. J. Int., 29, 203–226, 1972. a
Bercovici, D. and Ricard, Y.: Mechanisms for the generation of plate tectonics by twophase graindamage and pinning, Phys. Earth Planet. Int., 202, 27–55, 2012. a, b
Bercovici, D. and Ricard, Y.: Plate tectonics, damage and inheritance, Nature, 508, 513–516, 2014. a
Bercovici, D., Schubert, G., and Glatzmaier, G.: Threedimensional convection of an infinite Prandtlnumber compressible fluid in a basally heated spherical shell, J. Fluid Mech., 239, 683–719, 1992. a
Bercovici, D., Ricard, Y., and Schubert, G.: A twophase model for compaction and damage: 1. General theory, J. Geophys. Res.Sol. Ea., 106, 8887–8906, 2001. a
Beroza, G. and Kanamori, H.: 4.01 – Earthquake Seismology: An Introduction and Overview, in: Treatise on Geophysics, edited by: Schubert, G., Elsevier, Oxford, 2 Edn., 1–50, https://doi.org/10.1016/B9780444538024.000695, 2015. a
Beucher, R. and Huismans, R.: Morphotectonic Evolution of Passive Margins Undergoing Active Surface Processes: LargeScale Experiments Using Numerical Models, Geochem. Geophy. Geosy., 21, e2019GC008884, https://doi.org/10.1029/2019GC008884, 2020. a
Bijwaard, H. and Spakman, W.: Nonlinear global Pwave tomography by iterated linearized inversion, Geophys. J. Int., 141, 71–82, 2000. a
Billen, M. I., Kreylos, O., Hamann, B., Jadamec, M. A., Kellogg, L. H., Staadt, O., and Sumner, D. Y.: A geoscience perspective on immersive 3D gridded data visualization, Comput. Geosci., 34, 1056–1072, 2008. a
Bina, C. R., Stein, S., Marton, F. C., and Van Ark, E. M.: Implications of slab mineralogy for subduction dynamics, Phys. Earth Planet. Int., 127, 51–66, 2001. a
Blankenbach, B., Busse, F., Christensen, U., Cserepes, L., Gunkel, D., Hansen, U., Harder, H., Jarvis, G., Koch, M., Marquart, G., Moore, D., Olson, P., Schmeling, H., and Schnaubelt, T.: A benchmark comparison for mantle convection codes, Geophys. J. Int., 98, 23–38, 1989. a
Bocher, M., Coltice, N., Fournier, A., and Tackley, P. J.: A sequential data assimilation approach for the joint reconstruction of mantle convection and surface tectonics, Geophys. J. Int., 204, 200–214, 2016. a
Bocher, M., Fournier, A., and Coltice, N.: Ensemble Kalman filter for the reconstruction of the Earth's mantle circulation, Nonlinear Proc. Geophys., 25, 99–123, 2018. a
Bollen, K., Cacioppo, J. T., Kaplan, R., Krosnick, J., and Olds, J. L.: Social, Behavioral, and Economic Sciences Perspectives on Robust and Reliable Science, National Science Foundation, 2015. a
Bouffard, M., Choblet, G., Labrosse, S., and Wicht, J.: Chemical convection and stratification in the Earth's outer core, Front. Earth Sci., 7, 99, https://doi.org/10.3389/feart.2019.00099, 2019. a
Boussinesq, J.: Théorie analytique de la chaleur mise en harmonie avec la thermodynamique et avec la théorie mécanique de la lumière, Tome II: Refroidissement et échauffement par rayonnement, conductibilité des tiges, lames et masses cristallines, courants de convection, théorie mécanique de la lumière, Vol. 2, GauthierVillars, Paris, 1903. a
Box, G. E.: Science and statistics, Journal of the American Statistical Association, 71, 791–799, 1976. a
Braun, J. and Willett, S.: A very efficient O(n), implicit and parallel method to solve the stream power equation governing fluvial incision and landscape evolution, Geomorphology, 180, 170–179, 2013. a
Braun, J. and Yamato, P.: Structural evolution of a threedimensional, finitewidth crustal wedge, Tectonophysics, 484, 181–192, https://doi.org/10.1016/j.tecto.2009.08.032, 2010. a
Braun, J., Thieulot, C., Fullsack, P., DeKool, M., and Huismans, R.: DOUAR: a new threedimensional creeping flow model for the solution of geological problems, Phys. Earth. Planet. Int., 171, 76–91, 2008. a, b
Brooks, A. and Hughes, T.: Streamline Upwind/PetrovGalerkin formulations for convection dominated flows with particular emphasis on the incompressible NavierStokes equations, Comput. Methods Appl. M., 32, 199–259, 1982. a
Brune, S., Heine, C., Clift, P. D., and PérezGussinyé, M.: Rifted margin architecture and crustal rheology: reviewing IberiaNewfoundland, central South Atlantic, and South China sea, Mar. Petrol. Geol., 79, 257–281, 2017. a
Buck, W., Lavier, L., and Poliakov, A.: How to make a rift wide, Philos. T. Roy. Soc. A, 357, 671–693, 1999. a
Buck, W. R. and Sokoutis, D.: Analogue model of gravitational collapse and surface extension during continental convergence, Nature, 369, 737, https://doi.org/10.1038/369737a0, 1994. a
Buiter, S., Babeyko, A., Ellis, S., Gerya, T., Kaus, B., Kellner, A., Schreurs, G., and Yamada, Y.: The numerical sandbox: comparison of model results for a shortening and an extension experiment, Analogue and Numerical Modelling of CrustalScale Processes, Geol. Soc. Eng. Geol. Sp., 253, 29–64, 2006. a
Buiter, S., Schreurs, G., Albertz, M., Gerya, T., Kaus, B., Landry, W., Le Pourhiet, L., Mishin, Y., Egholm, D., Cooke, M., Maillot, B., Thieulot, C., Crook, T., May, D., Souloumiac, P., and Beaumont, C.: Benchmarking numerical models of brittle thrust wedges, J. Struct. Geol., 92, 140–177, 2016. a, b
Bull, A., Domeier, M., and Torsvik, T.: The effect of plate motion history on the longevity of deep mantle heterogeneities, Earth Planet. Sc. Lett., 401, 172–182, 2014. a, b
Bunge, H.P., Richards, M., and Baumgardner, J.: Mantlecirculation models with sequential data assimilation: Inferring presentday mantle structure from platemotion histories, Philosophical Transactions of the Royal Society A: Mathematical, Phys. Eng. Sci., 360, 2545–2567, https://doi.org/10.1098/rsta.2002.1080, 2002. a
Bunge, H.P., Hagelberg, C., and Travis, B.: Mantle circulation models with variational data assimilation: inferring past mantle flow and structure from plate motion histories and seismic tomography, Geophys. J. Int., 152, 280–301, 2003. a
Burov, E. and Cloetingh, S.: Erosion and rift dynamics: new thermomechanical aspects of postrift evolution of extensional basins, Earth Planet. Sc. Lett., 150, 7–26, 1997. a, b
Burov, E., Jolivet, L., Le Pourhiet, L., and Poliakov, A.: A thermomechanical model of exhumation of high pressure (HP) and ultrahigh pressure (UHP) metamorphic rocks in Alpinetype collision belts, Tectonophysics, 342, 113–136, 2001. a
Burov, E. B.: Rheology and strength of the lithosphere, Mar. Petrol. Geol., 28, 1402–1443, 2011.
Burstedde, C., Ghattas, O., Stadler, G., Tu, T., and Wilcox, L.: Parallel scalable adjointbased adaptive solution of variableviscosity Stokes flow problems, Comput. Methods Appl. M., 198, 1691–1700, https://doi.org/10.1016/j.cma.2008.12.015, 2009. a
Burstedde, C., Stadler, G., Alisic, L., Wilcox, L., Tan, E., Gurnis, M., and Ghattas, O.: Largescale adaptive mantle convection simulation, Geophys. J. Int., 192, 889–906, https://doi.org/10.1093/gji/ggs070, 2013. a
Busse, F., Christensen, U., Clever, R., Cserepes, L., Gable, C., Giannandrea, E., Guillou, L., Houseman, G., Nataf, H.C., Ogawa, M., Parmentier, M., Sotin, C., and Travis, B.: 3D convection at infinite Prandtl number in Cartesian geometry – a benchmark comparison, Geophys. Astrophys. Fluid. Dynam., 75, 39–59, 1994. a
Butterworth, N., Talsma, A., Müller, R., Seton, M., Bunge, H.P., Schuberth, B., Shephard, G., and Heine, C.: Geological, tomographic, kinematic and geodynamic constraints on the dynamics of sinking slabs, J. Geodynam., 73, 1–13, https://doi.org/10.1016/j.jog.2013.10.006, 2014. a
Byerlee, J.: Friction of rocks, in: Rock friction and earthquake prediction, Springer, 615–626, 1978. a
Cerpa, N., Wada, I., and Wilson, C.: Fluid migration in the mantle wedge: Influence of mineral grain size and mantle compaction, J. Geophys. Res., 122, 6247–6268, https://doi.org/10.1002/2017JB014046, 2017. a
Chapman, D.: Thermal gradients in the continental crust, Geol. Soc. Eng. Geol. Sp., 24, 63–70, 1986. a
Chertova, M. V., Geenen, T., van den Berg, A., and Spakman, W.: Using open sidewalls for modelling selfconsistent lithosphere subduction dynamics, Solid Earth, 3, 313–326, https://doi.org/10.5194/se33132012, 2012. a, b, c
Childs, H., Brugger, E., Whitlock, B., Meredith, J., Ahern, S., Pugmire, D., Biagas, K., Miller, M., Harrison, C., Weber, G. H., Krishnan, H., Fogal, T., Sanderson, A., Garth, C., Bethel, E. W., Camp, D., Rübel, O., Durant, M., Favre, J. M., and Navrátil, P.: VisIt: An EndUser Tool For Visualizing and Analyzing Very Large Data, in: High Performance Visualization–Enabling ExtremeScale Scientific Insight, Lawrence Livermore National Laboratory, 357–372, 2012. a
Choi, E. and Petersen, K.: Making Coulomb angleoriented shear bands in numerical tectonic models, Tectonophysics, 657, 94–101, 2015. a
Christensen, U. R.: Geodynamo models: Tools for understanding properties of Earth's magnetic field, Phys. Earth Planet. Int., 187, 157–169, 2011. a
Christensen, U. R. and Wicht, J.: Numerical dynamo simulations, Treatise on Geophysics, 8, 245–277, 2015. a
Christensen, U. R. and Yuen, D. A.: Layered convection induced by phase transitions, J. Geophys. Res.Sol. Ea., 90, 10291–10300, 1985. a, b
Citron, R. I., Lourenço, D. L., Wilson, A. J., Grima, A. G., Wipperfurth, S. A., Rudolph, M. L., Cottaar, S., and Montési, L. G.: Effects of HeatProducing Elements on the Stability of Deep Mantle Thermochemical Piles, Geochem. Geophy. Geosy., 21, 1–17, https://doi.org/10.1029/2019GC008895, 2020. a
Colli, L., Bunge, H.P., and Schuberth, B.: On retrodictions of global mantle flow with assimilated surface velocities, Geophys. Res. Lett., 42, 8341–8348, https://doi.org/10.1002/2015GL066001, 2015. a
Colli, L., Ghelichkhan, S., Bunge, H.P., and Oeser, J.: Retrodictions of Mid Paleogene mantle flow and dynamic topography in the Atlantic region from compressible high resolution adjoint mantle convection models: Sensitivity to deep mantle viscosity and tomographic input model, Gondw. Res., 53, 252–272, https://doi.org/10.1016/j.gr.2017.04.027, 2018. a
Collignon, M., Kaus, B., May, D., and fernandez, N.: Influences of surface processes on fold growth during 3D detachment folding, Geochem. Geophy. Geosy., 15, 3281–3303, https://doi.org/10.1002/2014GC005450, 2014. a
Connolly, J.: Multivariable phase diagrams; an algorithm based on generalized thermodynamics, Am. J. Sci., 290, 666–718, 1990. a
Connolly, J.: The geodynamic equation of state: what and how, Geochem. Geophy. Geosy., 10, https://doi.org/10.1029/2009GC002540, 2009. a
Conrad, C. and Gurnis, M.: Seismic tomography, surface uplift, and the breakup of Gondwanaland: Integrating mantle convection backwards in time, Geochem. Geophy. Geosy., 4, https://doi.org/10.1029/2001GC000299, 2003. a
Cottaar, S., Heister, T., Rose, I., and Unterborn, C.: BurnMan: A lower mantle mineral physics toolkit, Geochem. Geophy. Geosy., 15, 1164–1179, 2014. a
Crameri, F.: The Rainbow Colour Map (repeatedly) considered harmful, edited by: Shephard, G. E., EGU GD Blog, http://blogs.egu.eu/divisions/gd/2017/08/23/therainbowcolourmap/, 2017a. , last access: 24 February 2022 a
Crameri, F.: StagLab: Geodynamic diagnostics and scientific visualisation, Zenodo, https://doi.org/10.5281/zenodo.1199037, 2017b. a, b
Crameri, F.: To serve Geoscientists, edited by: Shephard, G. E., EGU GD Blog, https://blogs.egu.eu/divisions/gd/2018/05/09/toservegeoscientists/, 2018a. , last access: 24 February 2022 a
Crameri, F.: Scientific colour maps, Zenodo, https://doi.org/10.5281/zenodo.1243862, 2018b. a, b, c
Crameri, F.: Geodynamic diagnostics, scientific visualisation and StagLab 3.0, Geosci. Model Dev., 11, 2541–2562, https://doi.org/10.5194/gmd1125412018, 2018c. a, b
Crameri, F. and LithgowBertelloni, C.: Abrupt upperplate tilting during slabtransitionzone collision, Tectonophysics, 746, 199–211, https://doi.org/10.1016/j.tecto.2017.09.013, 2018. a
Crameri, F., Schmeling, H., Golabek, G., Duretz, T., Orendt, R., Buiter, S., May, D., Kaus, B., Gerya, T., and Tackley, P.: A comparison of numerical surface topography calculations in geodynamic modelling: an evaluation of the “sticky air” method, Geophys. J. Int., 189, 38–54, https://doi.org/10.1111/j.1365246X.2012.05388.x, 2012. a, b, c, d
Crameri, F., LithgowBertelloni, C., and Tackley, P. J.: The dynamical control of subduction parameters on surface topography, Geochem. Geophy. Geosy., 18, 1661–1687, https://doi.org/10.1002/2017GC006821, 2017. a
Crameri, F., Shephard, G. E., and Heron, P. J.: The misuse of colour in science communication, Nat. Commun., 11, 5444, https://doi.org/10.1038/s41467020191607, 2020. a, b, c, d, e
Crawford, O., AlAttar, D., Tromp, J., Mitrovica, J. X., Austermann, J., and Lau, H. C.: Quantifying the sensitivity of postglacial sea level change to laterally varying viscosity, Geophys. J. Int., 214, 1324–1363, https://doi.org/10.1093/gji/ggy184, 2018. a
Curbelo, J., Duarte, L., Alboussiere, T., Dubuffet, F., Labrosse, S., and Ricard, Y.: Numerical solutions of compressible convection with an infinite Prandtl number: comparison of the anelastic and anelastic liquid models with the exact equations, J. Fluid Mech., 873, 646–687, 2019. a, b
Dabrowski, M., Krotkiewski, M., and Schmid, D.: MILAMIN: Matlab based finite element solver for large problems, Geochem. Geophy. Geosy., 9, Q04030, https://doi.org/10.1029/2007GC001719, 2008. a
Dal Zilio, L., van Dinther, Y., Gerya, T. V., and Pranger, C. C.: Seismic behaviour of mountain belts controlled by plate convergence rate, Earth Planet. Sc. Lett., 482, 81–92, 2018. a
Dannberg, J., Eilon, Z., Faul, U., Gassmoeller, R., Moulik, P., and Myhill, R.: The importance of grain size to mantle dynamics and seismological observations, Geochem. Geophy. Geosy., 18, 3034–3061, https://doi.org/10.1002/2017GC006944, 2017. a
Davaille, A.: Simultaneous generation of hotspots and superswells by convection in a heterogeneous planetary mantle, Nature, 402, 756, https://doi.org/10.1038/45461, 1999. a
Davaille, A., Limare, A., Touitou, F., Kumagai, I., and Vatteville, J.: Anatomy of a laminar starting thermal plume at high Prandtl number, Experiment. Fluid., 50, 285–300, 2011. a
Davies, J.: Global map of solid Earth surface heat flow, Geochem. Geophy. Geosy., 14, https://doi.org/10.1002/ggge.20271, 2013. a
de Borst, R. and Duretz, T.: On viscoplastic regularisation of strainsoftening rocks and soils, Int. J. Numer. Anal. Met., 44, 890–903, https://doi.org/10.1002/nag.3046, 2020. a
Deguen, R. and Cardin, P.: Thermochemical convection in Earth′s inner core, Geophys. J. Int., 187, 1101–1118, 2011. a
Deguen, R., Alboussière, T., and Cardin, P.: Thermal convection in Earth's inner core with phase change at its boundary, Geophys. J. Int., 194, 1310–1334, 2013. a
Deubelbeiss, Y. and Kaus, B.: Comparison of Eulerian and Lagrangian numerical techniques for the Stokes equations in the presence of strongly varying viscosity, Phys. Earth Planet. Int., 171, 92–111, https://doi.org/10.1016/j.pepi.2008.06.023, 2008. a
Donea, J. and Huerta, A.: Finite Element Methods for Flow Problems, John Wiley & Sons, https://doi.org/10.1002/0470013826, 2003. a, b, c, d, e
Doubrovine, P. V., Steinberger, B., and Torsvik, T. H.: Absolute plate motions in a reference frame defined by moving hot spots in the Pacific, Atlantic, and Indian oceans, J. Geophys. Res.Sol. Ea., 117, 1–30, https://doi.org/10.1029/2011JB009072, 2012. a
Drucker, D. and Prager, W.: Soil mechanics and plastic analysis or limit design, Quart. Appl. Math., 10, 157–165, 1952. a
Duarte, J., Schellart, W., and Cruden, A.: Threedimensions dynamic laboratory modles of subduction with an overriding plate and variable interplate rheology, Geophys. J. Int., 195, 47–66, https://doi.org/10.1093/gji/ggt257, 2013. a
Duretz, T., May, D., Gerya, T., and Tackley, P.: Discretization errors and free surface stabilisation in the finite difference and markerincell method for applied geodynamics: A numerical study, Geochem. Geophy. Geosy., 12, https://doi.org/10.1029/2011GC003567, 2011. a
Duretz, T., May, D. A., and Yamato, P.: A free surface capturing discretization for the staggered grid finite difference scheme, Geophys. J. Int., 204, 1518–1530, 2016. a, b
Duretz, T., Souche, A., de Borst, R., and Le Pourhiet, L.: The Benefits of Using a Consistent Tangent Operator for Viscoelastoplastic Computations in Geodynamics, Geochem. Geophy. Geosy., 19, 4904–4924, https://doi.org/10.1029/2018GC007877, 2018. a
Duretz, T., de Borst, R., and Le Pourhiet, L.: On finite thickness of shear bands in frictional viscoplasticity, and implications for lithosphere dynamics, Geochem. Geophy. Geosy., 20, 5598–5616, https://doi.org/10.1029/2019GC008531, 2019. a
Duretz, T., de Borst, R., Yamato, P., and Le Pourhiet, L.: Towards robust and predictive geodynamic modelling: the way forward in frictional plasticity, Geophys. Res. Lett., 47, e2019GL086027, https://doi.org/10.1029/2019GL086027, 2020. a, b
Dyksterhuis, S., Rey, P., Mueller, R., and Moresi, L.: Effects of initial weakness on rift architecture, Geol. Soc. Eng. Geol. Sp., 282, 443–455, 2007. a
Dziewonski, A. and Anderson, D.: Preliminary reference Earth model, Phys. Earth. Planet. Int., 25, 297–356, 1981. a, b
Dziewonski, A. M.: Mapping the lower mantle: determination of lateral heterogeneity in P velocity up to degree and order 6, J. Geophys. Res.Sol. Ea., 89, 5929–5952, 1984. a
Eijkhout, V.: Introduction to High Performance Scientific Computing, Creative Commons, ISBN 9781257992546, 2013. a
England, P. and McKenzie, D.: A thin viscous sheet model for continental deformation, Geophys. J. Int., 70, 295–321, 1982.
Erdos, Z., huismans, R., and van der Beek, P.: Firstorder control of syntectonic sedimentation on crustalscale structure of mountain belts, J. Geophys. Res., 120, 5362–5377, https://doi.org/10.1002/2014JB011785, 2015. a
Erdős, Z., Huismans, R. S., and van der Beek, P.: Control of increased sedimentation on orogenic foldandthrust belt structure – insights into the evolution of the Western Alps, Solid Earth, 10, 391–404, https://doi.org/10.5194/se103912019, 2019. a
Erturk, E.: Discussions on Driven Cavity Flow, Int. J. Num. Meth. Fluids, 60, 275–294, 2009. a
Erturk, E., Corke, T. C., and Gökçöl, C.: Numerical solutions of 2D steady incompressible driven cavity flow at high Reynolds numbers, Int. J. Numer. Methods Fluids, 48, 747–774, https://doi.org/10.1002/fld.953, 2005. a
Faccenda, M.: Mid mantle seismic anisotropy around subduction zones, Phys. Earth. Planet. Int., 227, 1–19, 2014. a, b
Faccenda, M. and Dal Zilio, L.: The role of solid–solid phase transitions in mantle convection, Lithos, 268, 198–224, 2017. a
Faccenda, M., Gerya, T., Mancktelow, N., and Moresi, L.: Fluid flow during slab unbending and dehydration: Implications for intermediatedepth seismicity, slab weakening and deep water recycling, Geochem. Geophy. Geosy., 13, https://doi.org/10.1029/2011GC003860, 2012. a
Fichtner, A., Trampert, J., Cupillard, P., Saygin, E., Taymaz, T., Capdeville, Y., and Villasenor, A.: Multiscale full waveform inversion, Geophys. J. Int., 194, 534–556, 2013. a
Foley, B. and Becker, T.: Generation of platelike behavior and mantle heterogeneity from a spherical, viscoplastic convection model, Geochem. Geophy. Geosy., 10, https://doi.org/10.1029/2009GC002378, 2009. a
Foley, B. J.: The dependence of planetary tectonics on mantle thermal state: applications to early Earth evolution, Philos. T. Roy. Soc. A, 376, 20170409, https://doi.org/10.1098/rsta.2017.0409, 2018. a
Forte, A. M.: Geodynamics, Dordrecht, 340–341, https://doi.org/10.1007/9789048187027_214, 2011. a
Fossen, H.: Structural Geology, Cambridge University Press, ISBN 9781107057647, 2016. a
Fraters, M., Bangerth, W., Thieulot, C., Glerum, A., and Spakman, W.: Efficient and Practical Newton Solvers for Nonlinear Stokes Systems in Geodynamic Problems, Geophys. J. Int., 218, 873–894, https://doi.org/10.1093/gji/ggz183, 2019a. a
Fraters, M., Thieulot, C., van den Berg, A., and Spakman, W.: The Geodynamic World Builder: a solution for complex initial conditions in numerical modeling, Solid Earth, 10, 1785–1807, https://doi.org/10.5194/se1017852019, 2019b. a
Fullsack, P.: An arbitrary LagrangianEulerian formulation for creeping flows and its application in tectonic models, Geophys. J. Int., 120, 1–23, https://doi.org/10.1111/j.1365246X.1995.tb05908.x, 1995. a, b
Ganchin, Y., Smithson, S., Morozov, I., Smythe, D., Garipov, V., Karaev, N., and Kristofferson, Y.: Seismic studies around the Kola superdeep borehole, Russia, Tectonophysics, 288, 1–16, 1998. a
Garel, F., Goes, S., Davies, D., Davies, J., Kramer, S., and Wilson, C.: Interaction of subducted slabs with the mantle transitionzone: A regime diagram from 2D thermomechanical models with a mobile trench and an overriding plate, Geochem. Geophy. Geosy., 15, 1739–1765, https://doi.org/10.1002/2014GC005257, 2014. a
Gassmöller, R., Dannberg, J., Bredow, E., Steinberger, B., and Torsvik, T. H.: Major influence of plumeridge interaction, lithosphere thickness variations, and global mantle flow on hotspot volcanismThe example of Tristan, Geochem. Geophy. Geosy., 17, 1454–1479, https://doi.org/10.1002/2015GC006177, 2016. a
Gassmöller, R., Lokavarapu, H., Heien, E. M., Puckett, E. G., and Bangerth, W.: Flexible and scalable particleincell methods with adaptive mesh refinement for geodynamic computations, Geochem. Geophy. Geosy., 19, 3596–3604, https://doi.org/10.1029/2018GC007508, 2018. a
Gassmöller, R., Lokavarapu, H., Bangerth, W., and Puckett, G.: Evaluating the accuracy of hybrid finite element/particleincell methods for modelling incompressible Stokes flow, Geophys. J. Int., 219, 1915–1938, https://doi.org/10.1093/gji/ggz405, 2019. a
Gassmöller, R., Dannberg, J., Bangerth, W., Heister, T., and Myhill, R.: On formulations of compressible mantle convection, Geophys. J. Int., 221, 1264–1280, 2020. a, b, c
Gérault, M., Husson, L., Miller, M., and Humphreys, E.: Flatslab subduction, topography, and mantle dynamics in southwestern Mexico, Tectonics, 34, 1892–1909, https://doi.org/10.1002/2015TC003908, 2015. a
Gerya, T.: Numerical Geodynamic Modelling – 2 Edn., Cambridge University Press, ISBN 9781108751513, 2019. a, b, c, d, e, f, g, h, i, j, k, l, m, n
Gerya, T. and Yuen, D.: Robust characteristics method for modelling multiphase viscoelastoplastic thermomechanical problems, Phys. Earth. Planet. Int., 163, 83–105, https://doi.org/10.1016/j.pepi.2007.04.015, 2007. a, b
Gerya, T., Perchuk, L., Maresch, W., and Willner, A.: Inherent gravitational instability of hot continental crust: Implications for doming and diapirism in granulite facies terrains, Geol. Soc. Am., 380, 97–115, 2004. a
Ghelichkhan, S. and Bunge, H.P.: The compressible adjoint equations in geodynamics: derivation and numerical assessment, GEMInt. J. Geomath., 7, 1–30, 2016. a
Gillmann, C. and Tackley, P.: Atmosphere/mantle coupling and feedbacks on Venus, J. Geophys. Res.Planets, 119, 1189–1217, 2014. a
Glatzmaier, G.: Numerical simulations of mantle convection: Timedependent, threedimensional, compressible, spherical shell, Geophys. Astrophys. Fluid Dyn., 43, 223–264, 1988. a
Glerum, A., Thieulot, C., Fraters, M., Blom, C., and Spakman, W.: Nonlinear viscoplasticity in ASPECT: benchmarking and applications to subduction, Solid Earth, 9, 267–294, https://doi.org/10.5194/se92672018, 2018. a, b
Glišović, P., Forte, A., and Moucha, R.: Timedependent convection models of mantle thermal structure constrained by seismic tomography and geodynamics: implications for mantle plume dynamics and CMB heat flux, Geophys. J. Int., 190, 785–815, 2012.
GO FAIR: RDM Starter Kit, https://www.gofair.org/resources/rdmstarterkit/, last access: 24 February 2022. a
Golabek, G. J., Emsenhuber, A., Jutzi, M., Asphaug, E. I., and Gerya, T. V.: Coupling SPH and thermochemical models of planets: Methodology and example of a Marssized body, Icarus, 301, 235–246, 2018. a, b
Goodman, S., Fanelli, D., and Ioannidis, J.: What does research reproducibility mean?, Sci. Trans. Med., 8, 1–6, https://doi.org/10.1126/scitranslmed.aaf5027, 2016. a
Gray, R. and Pysklywec, R.: Geodynamic models of mature continental collision: Evolution of an orogen from lithospheric subduction to continental retreat/delamination, J. Geophys. Res., 117, https://doi.org/10.1029/2011JB008692, 2012. a
Greene, C. and Thirumalai, K.: It's time to shift emphasis away from code sharing, Eos, 100, 16–17, 2019. a
Gresho, P. and Sani, R.: Incompressible flow and the Finite Element Method, vol II, John Wiley and Sons, Ltd, ISBN 9780471492504, 2000. a
Guermond, J.L. and Pasquetti, R.: Entropy viscosity method for highorder approximations of conservation laws, in: Spectral and high order methods for partial differential equations, Springer, 411–418, 2011. a
Gülcher, A. J. P., Gerya, T. V., Montési, L. G. J., and Munch, J.: Corona structures driven by plume–lithosphere interactions and evidence for ongoing plume activity on Venus, Nat. Geosci., 13, 547–554, https://doi.org/10.1038/s4156102006061, 2020. a
Gupta, A., Karypis, G., and Kumar, V.: Highly Scalable Parallel Algorithms for Sparse Matrix Factorization, IEEE T. Parall. Distr., 8, 502–520, 1997. a
Gurnis, M.: Largescale mantle convection and the aggregation and dispersal of supercontinents, Nature, 332, 695–699, 1988. a
Hager, B. H. and O'Connell, R. J.: A simple global model of plate dynamics and mantle convection, J. Geophys. Res.Sol. Ea., 86, 4843–4867, https://doi.org/10.1029/JB086iB06p04843, 1981. a
Hall, C. E. and Parmentier, E.: Influence of grain size evolution on convective instability, Geochem. Geophy. Geosy., 4, https://doi.org/10.1029/2002GC000308, 2003. a
Handin, J.: On the CoulombMohr failure criterion, J. Geophys. Res., 74, 5343, https://doi.org/10.1029/JB074i022p05343, 1969. a
Hansen, L., Zimmerman, M., and Kohlstedt, D. L.: Grain boundary sliding in San Carlos olivine: Flow law parameters and crystallographicpreferred orientation, J. Geophys. Res.Sol. Ea., 116, https://doi.org/10.1029/2011JB008220, 2011. a
Haynie, K. L. and Jadamec, M. A.: Tectonic drivers of the Wrangell block: Insights on forearc sliver processes from 3D geodynamic models of Alaska, Tectonics, 36, 1180–1206, 2017. a
Heister, T., Dannberg, J., Gassmöller, R., and Bangerth, W.: High Accuracy Mantle Convection Simulation through Modern Numerical Methods, II: Realistic Models and Problems, Geophys. J. Int., 210, 833–851, https://doi.org/10.1093/gji/ggx195, 2017. a, b, c
Helena, H. J.: Theory of elasticity and plasticity, PHI Learning Pvt. Ltd., ISBN 9788120352834, 2017. a
Heroux, M. A., Bartlett, R. A., Howle, V. E., Hoekstra, R. J., Hu, J. J., Kolda, T. G., Lehoucq, R. B., Long, K. R., Pawlowski, R. P., Phipps, E. T., Salinger, A. G., Thornquist, H. K., Tuminaro, R. S., Willenbring, J. M., Williams, A., and Stanley, K. S.: An overview of the Trilinos project, ACM Trans. Math. Softw., 31, 397–423, 2005. a
Herrendörfer, R., Gerya, T. V., and van Dinther, Y.: An invariant rate and statedependent friction formulation for viscoelastoplastic earthquake cycle simulations, J. Geophys. Res.Sol. Ea., 123, 5018–5051, https://doi.org/10.1029/2017JB015225, 2018. a
Heyn, B. H., Conrad, C. P., and Trønnes, R. G.: Stabilizing Effect of Compositional Viscosity Contrasts on Thermochemical Piles, Geophys. Res. Lett., 45, 7523–7532, 2018. a
Hier Majumder, C. A., Bélanger, E., DeRosier, S., Yuen, D. A., and Vincent, A. P.: Data assimilation for plume models, Nonlin. Processes Geophys., 12, 257–267, https://doi.org/10.5194/npg122572005, 2005. a
Hillebrand, B., Thieulot, C., Geenen, T., van den Berg, A. P., and Spakman, W.: Using the level set method in geodynamical modeling of multimaterial flows and Earth's free surface, Solid Earth, 5, 1087–1098, https://doi.org/10.5194/se510872014, 2014. a
Hirth, G. and Kohlstedt, D.: Rheology of the upper mantle and the mantle wedge: A view from the experimentalists, in: Inside the Subduction Factory, edited by: Eiler, J., Geophysical Monograph American Geophysical Union, Washington, D.C., 138, 83–105, 2003. a, b
Houseman, G. and England, P.: Finite strain calculations of continental deformation: 1. Method and general results for convergent zones, J. Geophys. Res.Sol. Ea., 91, 3651–3663, 1986.
Huismans, R., Buiter, S., and Beaumont, C.: Effect of plasticviscous layering and strain softening on mode selection during lithospheric extension, J. Geophys. Res., 110, B02406, https://doi.org/10.1029/2004JB003114, 2005. a
Huismans, R. S. and Beaumont, C.: Symmetric and asymmetric lithospheric extension: Relative effects of frictionalplastic and viscous strain softening, J. Geophys. Res., 108, https://doi.org/10.1029/2002JB002026, 2003. a
Hunt, A. and Thomas, D.: The Pragmatic Programmer, Addison Wesley, ISBN 9780201616224, 1999. a
Ida, Y.: The maximum acceleration of seismic ground motion, B. Seismol. Soc. Am., 63, 959–968, 1973. a
IsmailZadeh, A. and Tackley, P.: Computational Methods for Geodynamics, Cambridge University Press, https://doi.org/10.1017/CBO9780511780820, 2010. a, b, c, d
IsmailZadeh, A., Schubert, G., Tsepelev, I., and Korotkii, A.: Inverse problem of thermal convection: numerical approach and application to mantle plume restoration, Phys. Earth Planet. Int., 145, 99–114, 2004. a
IsmailZadeh, A. T., Korotkii, A. I., Naimark, B. M., and Tsepelev, I. A.: ThreeDimensional Numerical Simulation of the Inverse Problem of Thermal Convection, Comput. Math. Math. Phys., 43, 587–599, 2003. a
Ita, J. and King, S.: Sensitivity of convection with an endothermic phase change to the form of governing equations, initial conditions, boundary conditions, and equation of state, J. Geophys. Res., 99, 15919–15938, 1994. a
Ivanova, D., Barrett, J., Wiedenhofer, D., Macura, B., Callaghan, M., and Creutzig, F.: Quantifying the potential for climate change mitigation of consumption options, Environ. Res. Lett., 15, 093001, https://doi.org/10.1088/17489326/ab8589, 2020. a
Jackson, M.: Checklist for a Software Management Plan, https://doi.org/10.5281/zenodo.2159713, 2018. a
Jadamec, M. and Billen, M.: The role of rheology and slab shape on rapid mantle flow: Threedimensional numerical models of the Alaska slab edge, J. Geophys. Res., 117, https://doi.org/10.1029/2011JB008563, 2012. a
Jaeger, J., Cook, N., and Zimmerman, R.: fundamentals of Rock mechanics, 4 Edn., John Wiley and Sons, ISBN 9780632057597, 2007.
Jain, C., Korenaga, J., and Karato, S. I.: On the grain size sensitivity of olivine rheology, J. Geophys. Res.Sol. Ea., 123, 674–688, 2018. a
Jammes, S. and Huismans, R.: Structural styles of mountain building: Controls of lithospheric rheologic stratification and extensional inheritance, J. Geophys. Res., 117, https://doi.org/10.1029/2012JB009376, 2012. a
Jammes, S. and Lavier, L. L.: The effect of bimineralic composition on extensional processes at lithospheric scale, Geochem. Geophy. Geosy., 17, 3375–3392, https://doi.org/10.1002/2016GC006399, 2016. a
Jarvis, G. T. and McKenzie, D. P.: Convection in a compressible fluid with infinite Prandtl number, J. Fluid Mech., 96, 515–583, 1980. a, b, c
Jaupart, C. and Mareschal, J.C.: Heat Generation and Transport in the Earth, Cambridge, https://doi.org/10.1017/CBO9780511781773, 2011.
Jones, C. A.: Planetary magnetic fields and fluid dynamos, Annu. Rev. Fluid Mech., 43, 583–614, 2011. a
Jones, T., Davies, D., Campbell, I., Wilson, C., and Kramer, S.: Do mantle plumes preserve the heterogeneous structure of their deepmantle source?, Earth Planet. Sc. Lett., 434, 10–17, 2016. a
Kachanov, L.: Fundamentals of the Theory of Plasticity, Dover Publications, Inc., ISBN 13 9780486435831, 2004. a
Kallet, R.: How to write the methods section of a research paper, Respir Care., 49, 1229–1232, 2004. a
Karato, S.I.: Deformation of Earth Materials, Cambridge University Press, https://doi.org/10.1017/CBO9780511804892, 2008. a
Karlsen, K.: Reproducible Computational Science, edited by: Shepard, G., EGU GD Blog, https://blogs.egu.eu/divisions/gd/2018/09/19/reproduciblecomputationalscience/ (last access: 24 February 2022), 2018. a
Katz, R. F.: Magma dynamics with the enthalpy method: Benchmark solutions and magmatic focusing at midocean ridges, J. Petrol., 49, 2099–2121, 2008. a, b
Kaus, B.: Factors that control the angle of shear bands in geodynamic numerical models of brittle deformation, Tectonophysics, 484, 36–47, 2010. a
Kaus, B., Mühlhaus, H., and May, D.: A stabilization algorithm for geodynamic numerical simulations with a free surface, Phys. Earth. Planet. Int., 181, 12–20, https://doi.org/10.1016/j.pepi.2010.04.007, 2010. a, b
Kaus, B., Popov, A., Baumann, T., Pusok, A., Bauville, A., Fernandez, N., and Collignon, M.: Forward and Inverse Modelling of Lithospheric Deformation on Geological Timescales, NIC Symposium 2016, 299–307, 2016. a, b, c
Keller, T. and Katz, R. F.: The role of volatiles in reactive melt transport in the asthenosphere, J. Petrol., 57, 1073–1108, 2016. a, b
Keller, T. and Suckale, J.: A continuum model of multiphase reactive transport in igneous systems, Geophys. J. Int., 219, 185–222, 2019. a
Keller, T., May, D., and Kaus, B.: Numerical modelling of magma dynamics coupled to tectonic deformation of lithosphere and crust, Geophys. J. Int., 195, 1406–1442, https://doi.org/10.1093/gji/ggt306, 2013. a, b
King, S., Raefsky, A., and Hager, B.: ConMan: Vectorizing a finite element code for incompressible twodimensional convection in the Earth's mantle, Phys. Earth. Planet. Int., 59, 195–208, https://doi.org/10.1016/00319201(90)90225M, 1990. a
King, S., Lee, C., van Keken, P., Leng, W., Zhong, S., Tan, E., Tosi, N., and Kameyama, M.: A community benchmark for 2D Cartesian compressible convection in the Earth's mantle, Geophys. J. Int., 180, 73–87, 2010. a, b
King, S. D.: Mantle convection, the asthenosphere, and Earth's thermal history, Geol. Soc. Am. Spec. Pap., 514, SPE51407, 2015. a
King, S. D.: Reconciling laboratory and observational models of mantle rheology in geodynamic modelling, J. Geodyn., 100, 33–50, 2016. a
Király, Á., Conrad, C. P., and Hansen, L.: Evolving viscous anisotropy in the upper mantle and its geodynamic implications, Geochem. Geophy. Geosy., 21, e2020GC009159, https://doi.org/10.1029/2020GC009159, 2020a. a, b
Király, Á., Portner, D. E., Haynie, K. L., ChilsonParks, B. H., Ghosh, T., Jadamec, M., Makushkina, A., Manga, M., Moresi, L., and O'Farrell, K. A.: The effect of slab gaps on subduction dynamics and mantle upwelling, Tectonophysics, 785, 228458, https://doi.org/10.1016/j.tecto.2020.228458, 2020b. a
Kocher, T., Schmalholz, S., and Mancktelow, N.: Impact of mechanical anisotropy and powerlaw rheology on single layer folding, Tectonophysics, 421, 71–87, https://doi.org/10.1016/j.tecto.2006.04.014, 2006. a
Kovesi, P.: Good Colour Maps: How to Design Them, CoRR, abs/1509.03700, 2015. a
Kramer, S. C., Wilson, C. R., and Davies, D. R.: An implicit free surface algorithm for geodynamical simulations, Phys. Earth Planet. Int., 194, 25–37, 2012. a
Kramer, S. C., Davies, D. R., and Wilson, C. R.: Analytical solutions for mantle flow in cylindrical and spherical shells, Geosci. Model Dev., 14, 1899–1919, https://doi.org/10.5194/gmd1418992021, 2021. a
Kreylos, O. and Kellogg, L. H.: Immersive Visualization of the Solid Earth, in: AGU Fall Meeting Abstracts, Vol. 2017, T44D03, 2017. a
Kronbichler, M., Heister, T., and Bangerth, W.: High accuracy mantle convection simulation through modern numerical methods, Geophys. J. Int., 191, 12–29, https://doi.org/10.1111/j.1365246X.2012.05609.x, 2012. a, b, c, d
Kronick, D.: A History of Scientific and Technical Periodicals: the Origins and Development of the Scientific and Technical Press 1665–1790, Scarecrow Press, New York, 2 Edn., ISBN 9780810808447, 1976. a
Labrosse, S., Hernlund, J., and Coltice, N.: A crystallizing dense magma ocean at the base of the Earth's mantle, Nature, 450, 866–869, 2007. a
Lamb, H.: Hydrodynamics; republished 1945, ISBN 0486602567, 1879. a
LaMEM: LaMEM – Lithosphere and Mantle Evolution Model  Bitbucket repository, https://bitbucket.org/bkaus/lamem/src/master/, last access: 24 February 2022. a
Langer, U. and Neumüller, M.: Direct and Iterative Solvers, Springer International Publishing, Cham, 205–251, https://doi.org/10.1007/9783319590387_5, 2018. a
Lannelongue, L., Grealey, J., and Inouye, M.: Green Algorithms: Quantifying the carbon emissions of computation, arXiv, https://doi.org/arXiv:2007.07610, 2020. a
Lapusta, N., Rice, J. R., BenZion, Y., and Zheng, G.: Elastodynamic analysis for slow tectonic loading with spontaneous rupture episodes on faults with rate and statedependent friction, J. Geophys. Res.Sol. Ea., 105, 23765–23789, 2000. a
Lavier, L. L., Buck, W. R., and Poliakov, A. N.: Factors controlling normal fault offset in an ideal brittle layer, J. Geophys. Res.Sol. Ea., 105, 23431–23442, 2000. a
Lee, R., Gresho, P., and Sani, R.: Smoothing techniques for certain primitive variable solutions of the NavierStokes equations, Int. J. Num. Meth. Eng., 14, 1785–1804, 1979. a
Lemiale, V., Mühlhaus, H.B., Moresi, L., and Stafford, J.: Shear banding analysis of plastic models formulated for incompressible viscous flows, Phys. Earth. Planet. Int., 171, 177–186, 2008. a
Lenardic, A. and Kaula, W. M.: A numerical treatment of geodynamic viscous flow problems involving the advection of material interfaces, J. Geophys. Res.Sol. Ea., 98, 8243–8260, https://doi.org/10.1029/92JB02858, 1993. a
Leng, W. and Zhong, S.: Viscous heating, adiabatic heating and energetic consistency in compressible mantle convection, Geophys. J. Int., 173, 693–702, 2008. a, b
Lev, E. and Hager, B. H.: Rayleigh–Taylor instabilities with anisotropic lithospheric viscosity, Geophys. J. Int., 173, 806–814, 2008. a, b, c
Li, D., Gurnis, M., and Stadler, G.: Towards adjointbased inversion of timedependent mantle convection with nonlinear viscosity, Geophys. J. Int., 209, 86–105, https://doi.org/10.1093/gji/ggw493, 2017. a
Lin, S.C. and van Keken, P.: Dynamics of thermochemical plumes: 1. Plume formation and entrainment of a dense layer, Geochem. Geophy. Geosy., 7, https://doi.org/10.1029/2005GC001071, 2006a. a
Lin, S.C. and van Keken, P.: Dynamics of thermochemical plumes: 2. Complexity of plume structures and its implications for mapping mantle plumes , Geochem. Geophy. Geosy., 7, https://doi.org/10.1029/2005GC001072, 2006b. a
Liu, L. and Gurnis, M.: Simultaneous inversion of mantle properties and initial conditions using an adjoint of mantle convection, J. Geophys. Res., 113, https://doi.org/10.1029/2008JB005594, 2008. a
Liumbruno, G., Velati, C., Pasqualetti, P., and Franchini, M.: How to write a scientific manuscript for publication, Blood Transf., 11, 217–226, https://doi.org/10.2450/2012.024712, 2013. a
LouisNapoléon, A., Gerbault, M., Bonometti, T., Thieulot, C., Martin, R., and Vanderhaeghe, O.: 3D numerical modeling of crustal polydiapirs with VolumeOfFluid methods, Geophys. J. Int., 222, 474–506, https://doi.org/10.1093/gji/ggaa141, 2020. a, b
Lourenço, D. L., Rozel, A. B., Ballmer, M. D., and Tackley, P. J.: PlutonicSquishy Lid: A New Global Tectonic Regime Generated by Intrusive Magmatism on EarthLike Planets, Geochem. Geophy. Geosy., 21, e2019GC008756, https://doi.org/10.1029/2019GC008756, 2020. a, b
Lourenço, D. L., Rozel, A., and Tackley, P. J.: Meltinginduced crustal production helps plate tectonics on Earthlike planets, Earth Planet. Sc. Lett., 439, 18–28, 2016. a
Lowman, J. P., King, S. D., and Gable, C. W.: The influence of tectonic plates on mantle convection patterns, temperature and heat flow, Geophys. J. Int., 146, 619–636, https://doi.org/10.1046/j.1365246X.2001.00471.x, 2001. a
Lucazeau, F.: Analysis and Mapping of an Updated Terrestrial Heat Flow Data Set, Geochem. Geophy. Geosy., 20, 4001–4024, https://doi.org/10.1029/2019GC008389, 2019. a
Lynch, D. R.: Numerical Partial Differential Equations for Environmental Scientists and Engineers: A Practical First Course, Springer Verlag, https://doi.org/10.1007/b102052, 2005. a
Madden, E. H., Bader, M., Behrens, J., van Dinther, Y., Gabriel, A.A., Rannabauer, L., Ulrich, T., Uphoff, C., Vater, S., and van Zelst, I.: Linked 3D modeling of megathrust earthquaketsunami events: from subduction to tsunami run up, Geophys. J. Int., 224, 487–516, https://doi.org/10.1093/gji/ggaa484, 2020. a
Magni, V., Bouilhol, P., and van Hunen, J.: Deep water recycling through time, Geochem. Geophy. Geosy., 15, 4203–4216, 2014. a
Mallard, C., Jacquet, B., and Coltice, N.: ADOPT: A tool for automatic detection of tectonic plates at the surface of convection models, Geochem. Geophy. Geosy., 18, 3197–3208, 2017. a
Mart, Y., Aharonov, E., Mulugeta, G., Ryan, W., Tentler, T., and Goren, L.: Analogue modelling of the initiation of subduction, Geophys. J. Int., 160, 1081–1091, 2005. a
Martin, R.: Clean Code, handbook of agile software craftsmanship, Pearson Education, ISBN 13 9780132350884, 2008. a, b, c
Martinec, Z.: The Density Contrast At the Mohorovičic̀ Discontinuity, Geophys. J. Int., 117, 539–544, https://doi.org/10.1111/j.1365246X.1994.tb03950.x, 1994. a
Massmeyer, A., Giuseppe, E. D., Davaille, A., Rolf, T., and Tackley, P.: Numerical simulation of thermal plumes in a HerschelBulkley fluid, J. NonNew. Rheol., 195, 32–45, 2013. a
Matthews, K. J., Maloney, K. T., Zahirovic, S., Williams, S. E., Seton, M., and Müller, R. D.: Global plate boundary evolution and kinematics since the late Paleozoic, Global Planet. Change, 146, 226–250, https://doi.org/10.1016/j.gloplacha.2016.10.002, 2016. a
Matuttis, H.G. and Chen, J.: Understanding the discrete element method: simulation of nonspherical particles for granular and multibody systems, John Wiley & Sons, ISBN 9781118567203, 2014.
May, D., Schellart, W., and Moresi, L.: Overview of adaptive finite element analysis in computational geodynamics, J. Geodynam., 70, 1–20, 2013. a
May, D., Brown, J., and Le Pourhiet, L.: A scalable, matrixfree multigrid preconditioner for finite element discretizations of heterogeneous Stokes flow, Comput. Methods Appl. M., 290, 496–523, https://doi.org/10.1016/j.cma.2015.03.014, 2015. a, b, c, d, e
May, D. A., Brown, J., and Le Pourhiet, L.: pTatin3D: Highperformance methods for longterm lithospheric dynamics, in: Proceedings of the international conference for high performance computing, networking, storage and analysis, IEEE Press, 274–284, doi10.1109/SC.2014.28, 2014. a
McKenzie, D.: The Generation and Compaction of Partially Molten Rock, J. Petrol., 25, 713–765, 1984. a, b, c
McKenzie, D. P.: Some remarks on heat flow and gravity anomalies, J. Geophys. Res., 72, 6261–6273, 1967.
McKenzie, D. P.: Speculations on the Consequences and Causes of Plate Motions, Geophys. J. Roy. Astro. Soc., 18, 1–32, https://doi.org/10.1111/j.1365246X.1969.tb00259.x, 1969. a
Montési, L. G. and Behn, M. D.: Mantle flow and melting underneath oblique and ultraslow midocean ridges, Geophys. Res. Lett., 34, https://doi.org/10.1029/2007GL031067, 2007. a, b
Mora, P. and Yuen, D. A.: Simulation of plume dynamics by the Lattice Boltzmann Method, Geophys. J. Int., 210, 1932–1937, https://doi.org/10.1093/gji/ggx279, 2017. a
Moresi, L.N. and Solomatov, V.: Numerical investigation of 2D convection with extremely large viscosity variations, Phys. Fluids, 7, 2154–2162, 1995. a
Morishige, M. and Kuwatani, T.: Bayesian inversion of surface heat flow in subduction zones: a framework to refine geodynamic models based on observational constraints, Geophys. J. Int., 222, 103–109, https://doi.org/10.1093/gji/ggaa149, 2020. a
Morra, G.: Pythonic Geodynamics, Lecture Notes in Earth System Sciences, ISBN 13 9783319857251, 2018. a
Morra, G., Chatelain, P., Tackley, P., and Koumoutsakos, P.: Earth curvature effects on subduction morphology: Modeling subduction in a spherical setting, Acta Geotech., 4, 95–105, 2009. a
Morra, G., Yuen, D. A., Boschi, L., Chatelain, P., Koumoutsakos, P., and Tackley, P.: The fate of the slabs interacting with a density/viscosity hill in the midmantle, Phys. Earth Planet. Int., 180, 271–282, https://doi.org/10.1016/j.pepi.2010.04.001, 2010. a
Morra, G., Yuen, D. A., Tufo, H. M., and Knepley, M. G.: Fresh Outlook in Numerical Methods for Geodynamics, Encycl. Geol., p. 54, 2020. a
Mühlhaus, H.B., Dufour, F., Moresi, L., and Hobbs, B.: A director theory for viscoelastic folding instabilities in multilayered rock, International J. Sol. Struct., 39, 3675–3691, 2002. a, b
Mühlhaus, H.B., Moresi, L., Hobbs, B., and Dufour, F.: Large amplitude folding in finely layered viscoelastic rock structures, Pure Appl. Geophys., 159, 2311–2333, 2002. a
Müller, R. D., Zahirovic, S., Williams, S. E., Cannon, J., Seton, M., Bower, D. J., Tetley, M. G., Heine, C., Le Breton, E., Liu, S., Russell, S. H. J., Yang, T., Leonard, J., and Gurnis, M.: A Global Plate Model Including Lithospheric Deformation Along Major Rifts and Orogens Since the Triassic, Tectonics, 38, 1884–1907, https://doi.org/10.1029/2018TC005462, 2019. a
Mulyukova, E. and Bercovici, D.: A theoretical model for the evolution of microstructure in lithospheric shear zones, Geophys. J. Int., 216, 803–819, https://doi.org/10.1093/gji/ggy467, 2019. a
Nakagawa, T., Tackley, P. J., Deschamps, F., and Connolly, J. A.: Incorporating selfconsistently calculated mineral physics into thermochemical mantle convection simulations in a 3D spherical shell and its influence on seismic anomalies in Earth's mantle, Geochem. Geophy. Geosy., 10, https://doi.org/10.1029/2008GC002280, 2009. a
Nakagawa, T., Nakakuki, T., and Iwamori, H.: Water circulation and global mantle dynamics: Insight from numerical modeling, Geochem. Geophy. Geosy., 16, 1449–1464, 2015. a
Naliboff, J., Conrad, C., and LithgowBertelloni, C.: Modification of the lithospheric stress field by lateral variations in platemantle coupling, Geophys. Res. Lett., 36, https://doi.org/10.1029/2009GL040484, 2009. a
Naliboff, J. B., Glerum, A., Brune, S., PéronPinvidic, G., and Wrona, T.: Development of 3D rift heterogeneity through fault network evolution, Geophys. Res. Lett., 47, e2019GL086611, https://doi.org/10.1029/2019GL086611, 2020. a
Neuharth, D., Brune, S., Glerum, A., Heine, C., and Welford, J. K.: Formation of Continental Microplates Through Rift Linkage: Numerical Modeling and Its Application to the Flemish Cap and Sao Paulo Plateau, Geochem. Geophy. Geosy., 22, e2020GC009615, https://doi.org/10.1029/2020GC009615, 2021. a
Noble, T. E. and Dixon, J. M.: Structural evolution of foldthrust structures in analog models deformed in a large geotechnical centrifuge, J. Struct. Geol., 33, 62–77, 2011. a
Nuñez, J. R., Anderton, C. R., and Renslow, R. S.: Optimizing colormaps with consideration for color vision deficiency to enable accurate interpretation of scientific data, PLOS ONE, 13, 1–14, 2018. a
Oberbeck, A.: Über die Wärmeleitung der Flüssigkeiten bei Berücksichtigung der Strömungen infolge von Temperaturdifferenzen, Ann. Phys.Berlin, 243, 271–292, 1879. a
Ohuchi, T., Kawazoe, T., Higo, Y., Funakoshi, K.I., Suzuki, A., Kikegawa, T., and Irifune, T.: Dislocationaccommodated grain boundary sliding as the major deformation mechanism of olivine in the Earth's upper mantle, Sci. Adv., 1, e1500360, https://doi.org/10.1126/sciadv.1500360, 2015. a
Oliveira, B., Afonso, J., Zlotnik, S., and Diez, P.: Numerical modelling of multiphase multicomponent reactive transport in the Earth's interior, Geophys. J. Int., 212, 345–388, 2018. a
Oltmanns, J., Sauerwein, D., Dammel, F., Stephan, P., and Kuhn, C.: Potential for waste heat utilization of hotwatercooled data centers: A case study, Energ. Sci. Eng., 8, 1793–1810, https://doi.org/10.1002/ese3.633, 2020. a
O'Neill, C., Lenardic, A., Weller, M., Moresi, L., Quenette, S., and Zhang, S.: A window for plate tectonics in terrestrial planet evolution?, Phys. Earth Planet. Int., 255, 80–92, 2016. a
Oreskes, N., ShraderFrechette, K., and Belitz, K.: Verification, validation, and confirmation of numerical models in the earth sciences, Science, 263, 641–646, 1994. a
OrtegaGelabert, O., Zlotnik, S., Afonso, J. C., and Díez, P.: Fast Stokes Flow Simulations for GeophysicalGeodynamic Inverse Problems and Sensitivity Analyses Based On Reduced Order Modeling, J. Geophys. Res.Sol. Ea., 125, e2019JB018314, https://doi.org/10.1029/2019JB018314, 2020. a
Osei Tutu, A., Sobolev, S. V., Steinberger, B., Popov, A. A., and Rogozhina, I.: Evaluating the Influence of Plate Boundary Friction and Mantle Viscosity on Plate Velocities, Geochem. Geophy. Geosy., 19, 642–666, https://doi.org/10.1002/2017GC007112, 2018. a
Oxburgh, E. and Turcotte, D.: Mechanisms of continental drift, Reports on Progress in Physics, 41, 1249, https://doi.org/10.1088/00344885/41/8/003, 1978. a
Patočka, V., Čížková, H., and Tackley, P.: Do elasticity and a free surface affect lithospheric stresses caused by uppermantle convection?, Geophys. J. Int., 216, 1740–1760, 2019. a
Pelletier, J.: Quantitative modelling of Earth surface processes, Cambridge University Press, https://doi.org/10.1017/CBO9780511813849, 2008. a
Peltzer, G. and Tapponnier, P.: Formation and evolution of strikeslip faults, rifts, and basins during the indiaasia collision: an experimental approach, J. Geophys. Res., 93, 15085–15177, 1988. a
Perkel, J. M.: Challenge to scientists: does your tenyearold code still run?, Nature, 584, 656–658, https://doi.org/10.1038/d41586020024627, 2020. a
PerryHouts, J. and Karlstrom, L.: Anisotropic viscosity and timeevolving lithospheric instabilities due to aligned igneous intrusions, Geophys. J. Int., 216, 794–802, https://doi.org/10.1093/gji/ggy466, 2018. a, b
Petersen, R. I., Stegman, D. R., and Tackley, P. J.: The subduction dichotomy of strong plates and weak slabs, Solid Earth, 8, 339–350, https://doi.org/10.5194/se83392017, 2017. a
Petra, C. G., Schenk, O., Lubin, M., and Gärtner, K.: An augmented incomplete factorization approach for computing the Schur complement in stochastic optimization, SIAM J. Sci. Comput., 36, 139–162, 2014. a
Petrunin, A., Kaban, M., Rogozhina, I., and Trubitsyn, V.: Revising the spectral method as applied to modeling mantle dynamics, Geochem. Geophy. Geosy., 14, 3691–3702, 2013. a
Plesser, H. E.: Reproducibility vs. Replicability: A Brief History of a Confused Terminology, Front. Neuroinf., https://doi.org/10.3389/fninf.2017.00076, 2018. a
pTatin3D: pTatin3D Bitbucket repository, https://bitbucket.org/ptatin/ptatin3d/src/master/, last access: 24 February 2022. a
Pusok, A., Kaus, B., and Popov, A.: On the Quality of Velocity Interpolation Schemes for MarkerinCell Method and Staggered Grids, Pure Appl. Geophys., https://doi.org/10.1007/s0002401614318, 2016. a
Pusok, A. E.: Writing the Methods Section, edited by: Lourenço, D. L., EGU GD Blog, https://blogs.egu.eu/divisions/gd/2019/09/20/writingthemethodssection/ (last access: 24 February 2022), 2019. a
Pusok, A. E.: What is FAIR for Geodynamics, edited by: Lourenço, D. L., EGU GD Blog, https://blogs.egu.eu/divisions/gd/2020/07/24/whatisfairforgeodynamics/ (last access: 24 February 2022), 2020. a, b
Pusok, A. E. and Kaus, B. J. P.: Development of topography in 3D continentalcollision models, Geochem. Geophy. Geosy., 16, 1378–1400, https://doi.org/10.1002/2015GC005732, 2015. a
Pusok, A. E., May, D. A., and Katz, R. F.: Magma dynamics using FDPDE: a new, PETScbased, finitedifference staggeredgrid framework for solving partial differential equations, EGU General Assembly 2020, Online, 4–8 May 2020, https://doi.org/10.5194/egusphereegu202018690, 2020. a
PyLith: PyLith GitHub repository, https://github.com/geodynamics/pylith, last access: 24 February 2022. a
Quere, S. and Forte, A. M.: Influence of past and presentday plate motions on spherical models of mantle convection: implications for mantle plumes and hotspots, Geophys. J. Int., 165, 1041–1057, 2006. a
Quinquis, M. E. T. and Buiter, S. J. H.: Testing the effects of basic numerical implementations of water migration on models of subduction dynamics, Solid Earth, 5, 537–555, https://doi.org/10.5194/se55372014, 2014. a
Quinquis, M. E., Buiter, S. J., and Ellis, S.: The role of boundary conditions in numerical models of subduction zone dynamics, Tectonophysics, 497, 57–70, 2011. a, b, c, d
Quinteros, J. and Sobolev, S. V.: Constraining kinetics of metastable olivine in the Marianas slab from seismic observations and dynamic models, Tectonophysics, 526, 48–55, 2012. a
Ramberg, H.: Model experimentation of the effect of gravity on tectonic processes, Geophys. J. Int., 14, 307–329, 1967. a
Ranalli, G.: Rheology of the Earth, Springer, https://doi.org/10.1111/j.1365246X.1967.tb06247.x. 1995.
Räss, L., Duretz, T., and Podladchikov, Y. Y.: Resolving hydromechanical coupling in two and three dimensions: Spontaneous channelling of porous fluids owing to decompaction weakening, Geophys. J. Int., 218, 1591–1616, https://doi.org/10.1093/gji/ggz239, 2019. a, b
Räss, L., Licul, A., Herman, F., Podladchikov, Y. Y., and Suckale, J.: Modelling thermomechanical ice deformation using an implicit pseudotransient method (FastICE v1.0) based on graphical processing units (GPUs), Geosci. Model Dev., 13, 955–976, https://doi.org/10.5194/gmd139552020, 2020. a
Rayleigh, L.: LIX. On convection currents in a horizontal layer of fluid, when the higher temperature is on the under side, The London, Edinburgh, and Dublin Philosophical Magazine and Journal of Science, 32, 529–546, 1916. a
Reuber, G., Holbach, L., Popov, A., Hanke, M., and Kaus, B.: Inferring rheology and geometry of subsurface structures by adjointbased inversion of principal stress directions, Geophys. J. Int., 223, 851–861, https://doi.org/10.1093/gji/ggaa344, 2020a. a
Reuber, G. S., Kaus, B. J., Popov, A. A., and Baumann, T. S.: Unraveling the physics of the Yellowstone magmatic system using geodynamic simulations, Front. Earth Sci., 6, 117, 2018a. a, b
Reuber, G. S., Kaus, B. J. P., Popov, A. A., and Baumann, T. S.: Unraveling the Physics of the Yellowstone Magmatic System Using Geodynamic Simulations, Front. Earth Sci., 6, 117, https://doi.org/10.3389/feart.2018.00117, 2018b. a
Reuber, G. S., Popov, A. A., and Kaus, B. J.: Deriving scaling laws in geodynamics using adjoint gradients, Tectonophysics, 746, 352–363, 2018c. a, b, c
Reuber, G. S., Holbach, L., and Räss, L.: Adjointbased inversion for porosity in shallow reservoirs using pseudotransient solvers for nonlinear hydromechanical processes, J. Comput. Phys., 423, 109797, https://doi.org/10.1016/j.jcp.2020.109797, 2020b. a
Ribe, N.: Theoretical Mantle Dynamics, Cambridge University Press, https://doi.org/10.1017/9781316795897, 2018. a
Ricard, Y.: Physics of mantle convection, Treatise on geophysics, 2 Edn., 7, 23–71, 2015. a, b
Roache, P. J.: Quantification of uncertainty in computational fluid dynamics, Annu. Rev. Fluid Mech., 29, 123–160, 1997. a, b
Roache, P. J.: Code Verification by the Method of Manufactured Solutions, J. Fluids Eng., 124, 4–10, https://doi.org/10.1115/1.1436090, 2002. a
Robey, J. M. and Puckett, E. G.: Implementation of a volumeoffluid method in a finite element code with applications to thermochemical convection in a density stratified fluid in the earth's mantle, Comput. Fluids, 190, 217–253, 2019. a
Roe, G. H., Stolar, D. B., and Willett, S. D.: Response of a steadystate critical wedge orogen to changes in climate and tectonic forcing, Geol. Soc. Am. Spec. Pap., 398, 227, https://doi.org/10.1130/2005.2398(13), 2006. a
Rolf, T. and Tackley, P.: Focussing of stress by continents in 3D spherical mantle convection with self‐consistent plate tectonics, Geophys. Res. Lett., 38, https://doi.org/10.1029/2011GL048677, 2011. a
Rose, I., Buffet, B., and Heister, T.: Stability and accuracy of free surface time integration in viscous flows, Phys. Earth. Planet. Int., 262, 90–100, 2017. a, b, c
Rudge, J. F., Bercovici, D., and Spiegelman, M.: Disequilibrium melting of a two phase multicomponent mantle, Geophys. J. Int., 184, 699–718, 2011. a
Rudi, J., Malossi, A. C. I., Isaac, T., Stadler, G., Gurnis, M., Staar, P. W., Ineichen, Y., Bekas, C., Curioni, A., and Ghattas, O.: An extremescale implicit solver for complex PDEs: highly heterogeneous flow in earth's mantle, in: Proceedings of the international conference for high performance computing, networking, storage and analysis, Assoc. Comput. Mech., 5, 1–12, https://doi.org/10.1145/2807591.2807675, 2015. a
Rummel, L., Baumann, T. S., and Kaus, B. J.: An autonomous petrological database for geodynamic simulations of magmatic systems, Geophys. J. Int., 223, 1820–1836, 2020. a
Rüpke, L., Phipps Morgan, J., Hort, M., and Connolly, J. A.: Serpentine and the subduction zone water cycle, Earth Planet. Sc. Lett., 223, 17–34, https://doi.org/10.1016/j.epsl.2004.04.018, 2004. a
Räss, L., Duretz, T., Podladchikov, Y. Y., and Schmalholz, S. M.: M2Di: Concise and efficient MATLAB 2D Stokes solvers using the Finite Difference Method, Geochem. Geophy. Geosy., 18, 755–768, https://doi.org/10.1002/2016GC006727, 2017. a
Saad, Y.: Iterative methods for sparse linear systems, SIAM, ISBN 13 9780898715347, 2003. a, b
Samuel, H. and Bercovici, D.: Oscillating and stagnating plumes in the Earth's lower mantle, Earth Planet. Sc. Lett., 248, 90–105, 2006. a
Samuel, H. and Evonuk, M.: Modeling advection in geophysical flows with particle level sets, Geochem. Geophy. Geosy., 11, https://doi.org/10.1029/2010GC003081, 2010. a
Schellart, W.: Influence of the subducting plate velocity on the geometry of the slab and migration of the subduction hinge, Earth Planet. Sc. Lett., 231, 197–219, 2005. a
Schellart, W. P. and Strak, V.: A review of analogue modelling of geodynamic processes: Approaches, scaling, materials and quantification, with an application to subduction experiments, J. Geodynam., 100, 7–32, 2016.
Schierjott, J. C., Thielmann, M., Rozel, A. B., Golabek, G. J., and Gerya, T. V.: Can grain size reduction initiate transform faults?, Insights from a 3D numerical study, Tectonics, 39, e2019TC005793, https://doi.org/10.1029/2019TC005793, 2020. a
Schmalholz, S. and Podladchikov, Y.: Buckling versus folding: importance of viscoelasticity, Geophys. Res. Lett., 26, 2641–2644, 1999. a
Schmeling, H., Babeyko, A., Enns, A., Faccenna, C., Funiciello, F., Gerya, T., Golabek, G., Grigull, S., Kaus, B., Morra, G., Schmalholz, S., and van Hunen, J.: A benchmark comparison of spontaneous subduction models – Towards a free surface, Phys. Earth. Planet. Int., 171, 198–223, 2008. a, b
Schubert, G., Turcotte, D., and Olson, P.: Mantle Convection in the Earth and Planets, Cambridge University Press, https://doi.org/10.1017/CBO9780511612879, 2001. a, b, c, d, e, f, g, h, i, j, k, l
Science Europe: Practical Guide to the International Alignment of Research Data Management, https://www.scienceeurope.org/media/jezkhnoo/se_rdm_practical_guide_final.pdf (last access: 24 February 2022), 2018. a
Shewchuk, J. R.: An introduction to the conjugate gradient method without the agonizing pain, https://www.cs.cmu.edu/~quakepapers/painlessconjugategradient.pdf (last access: 24 February 2022), 1994. a
Sim, S. J., Spiegelman, M., Stegman, D. R., and Wilson, C.: The influence of spreading rate and permeability on melt focusing beneath midocean ridges, Phys. Earth Planet. Int., 304, 106486, https://doi.org/10.1016/j.pepi.2020.106486, 2020. a
Simpson, G.: Practical Finite Element Modelin in Earth Science Using Matlab, WileyBlackwell, https://doi.org/10.1002/9781119248644, 2017. a, b
Smith, A. M., Katz, D. S., Niemeyer, K. E., and FORCE11 Software Citation Working Group: Software citation principles, Peer J. Comput. Sci., 2, e86, https://doi.org/10.7717/peerjcs.86, 2016. a
Smith, B. R. and Sandwell, D. T.: A model of the earthquake cycle along the San Andreas Fault System for the past 1000 years, J. Geophys. Res.Sol. Ea., 111, https://doi.org/10.1029/2005JB003703, 2006. a
Sobolev, S. V. and Muldashev, I. A.: Modeling seismic cycles of great megathrust earthquakes across the scales with focus at postseismic phase, Geochem. Geophy. Geosy., 18, 4387–4408, 2017. a, b
Software Sustainability Institute: Guides for researchers, https://www.software.ac.uk/resources/guides/guidesresearchers, last access: 24 February 2022. a
Solomatov, V.: Fluid dynamics of a terrestrial magma ocean, orem, 323–338, 2000. a
Solomatov, V. and Reese, C.: Grain size variations in the Earth's mantle and the evolution of primordial chemical heterogeneities, J. Geophys. Res.Sol. Ea., 113, https://doi.org/10.1029/2007JB005319, 2008. a, b
Spiegelman, M.: Flow in deformable porous media, Part 2 numerical analysis–the relationship between shock waves and solitary waves, J. Fluid Mech., 247, 39–63, 1993. a
Spiegelman, M., May, D., and Wilson, C.: On the solvability of incompressible Stokes with viscoplastic rheologies in geodynamics, Geochem. Geophy. Geosy., 17, 2213–2238, 2016. a, b, c, d
Stadler, G., Gurnis, M., Burstedde, C., Wilcox, L., Alisic, L., and Ghattas, O.: The dynamics of plate tectonics and mantle flow: from local to global scales, Science, 329, 1033–1038, https://doi.org/10.1126/science.1191223, 2010. a
Stall, S., Townsend, R., and Robinson, E.: The Paper and The Data: Authors, Reviewers, and Editors Webinar on Updated Journal Practices for Data (and Software), Zenodo, https://doi.org/10.5281/zenodo.3744660, 2020. a
Steer, P., Cattin, R., Lavé, J., and Godard, V.: Surface Lagrangian Remeshing: A new tool for studying long term evolution of continental lithosphere from 2D numerical modelling, Comput. Geosci., 37, 1067–1074, https://doi.org/10.1016/j.cageo.2010.05.023, 2011. a
Stein, C., Lowman, J., and Hansen, U.: A comparison of mantle convection models featuring plates, Geochem. Geophy. Geosy., 15, 2689–2698, 2014. a
Stein, S. and Wysession, M.: An introduction to seismology, earthquakes, and earth structure, John Wiley & Sons, ISBN 9780865420786, 2009. a, b
Steinbach, V., Hansen, U., and Ebel, A.: Compressible convection in the earth's mantle: a comparison of different approaches, Geophys. Res. Lett., 16, 633–636, https://doi.org/10.1029/GL016i007p00633, 1989. a
Steinberger, B. and Antretter, M.: Conduit diameter and buoyant rising speed of mantle plumes: Implications for the motion of hot spots and shape of plume conduits, Geochem. Geophy. Geosy., 7, https://doi.org/10.1029/2006GC001409, 2006. a
Stephansson, O. and Berner, H.: The finite element method in tectonic processes, Phys. Earth Planet. Int., 4, 301–321, 1971. a
Sternai, P.: Surface processes forcing on extensional rock melting, Sci. Rep., 10, 1–13, 2020. a, b
Stixrude, L. and LithgowBertelloni, C.: Thermodynamics of mantle minerals – I. Physical properties, Geophys. J. Int., 162, 610–632, 2005. a
Stixrude, L. and LithgowBertelloni, C.: Influence of phase transformations on lateral heterogeneity and dynamics in Earth's mantle, Earth Planet. Sc. Lett., 263, 45–55, 2007. a
Tackley, P.: Effects of strongly variable viscosity on threedimensional compressible convection in planetary mantles, J. Geophys. Res., 101, 3311–3332, 1996. a
Tackley, P.: Selfconsistent generation of tectonic plates in timedependent, threedimensional mantle convection simulations 1. Pseudoplastic yielding, Geochem. Geophy. Geosy., 1, https://doi.org/10.1029/2000GC000036, 2000. a
Tackley, P. and King, S.: Testing the tracer ratio method for modeling active compositional fields in mantle convection simulations, Geochem. Geophy. Geosy., 4, https://doi.org/10.1029/2001GC000214, 2003. a, b, c
Tackley, P. J., Xie, S., Nakagawa, T., and Hernlund, J. W.: Numerical and laboratory studies of mantle convection: Philosophy, accomplishments, and thermochemical structure and evolution, Geophys. Monogr. Ser., 160, 2190, https://doi.org/10.1029/160GM07, 2005. a
Tapponnier, P., Peltzer, G., Dain, A. L., Armijo, R., and Cobbold, P.: Propagating extrusion tectonics in Asia: new insights from simple experiments with plasticine, Geology, 10, 611–616, 1982. a
Tetzlaff, M. and Schmeling, H.: Timedependent interaction between subduction dynamics and phase transition kinetics, Geophys. J. Int., 178, 826–844, 2009. a
The Turing Way Community, Arnold, B., Bowler, L., Gibson, S., Herterich, P., Higman, R., Krystalli, A., Morley, A., O'Reilly, M., and Whitaker, K.: The Turing Way: A Handbook for Reproducible Data Science, https://doi.org/10.5281/zenodo.3233986, 2019. a
Thielmann, M., May, D., and Kaus, B.: Discretization errors in the Hybrid Finite Element ParticleInCell Method, Pure Appl. Geophys., 171, 2164–2184, https://doi.org/10.1007/s0002401408089, 2014. a
Thielmann, M., Kaus, B., and Popov, A.: Lithospheric stresses in Rayleigh–Benard convection: effects of a free surface and a viscoelastic Maxwell rheology, Geophys. J. Int., 203, 2200–2219, 2015. a
Thieulot, C.: FANTOM: two and threedimensional numerical modelling of creeping flows for the solution of geological problems, Phys. Earth. Planet. Int., 188, 47–68, https://doi.org/10.1016/j.pepi.2011.06.011, 2011. a, b, c
Thieulot, C.: ELEFANT: a userfriendly multipurpose geodynamics code, Solid Earth Discuss., 6, 1949–2096, https://doi.org/10.5194/sed619492014, 2014. a
Thieulot, C.: Don't be a hero – unless you have to, EGU Geodynamics blog, https://blogs.egu.eu/divisions/gd/2017/07/19/dontbeaherounlessyouhaveto/ (last access: 24 February 2022), 2017. a
Thieulot, C. and Bangerth, W.: On the choice of finite element for applications in geodynamics, Solid Earth, 13, 229–249, https://doi.org/10.5194/se132292022, 2022. a
Thieulot, C., Fullsack, P., and Braun, J.: Adaptive octreebased finite element analysis of two and threedimensional indentation problems, J. Geophys. Res., 113, B12207, https://doi.org/10.1029/2008JB005591, 2008. a
Thieulot, C., Steer, P., and Huismans, R.: Threedimensional numerical simulations of crustal systems undergoing orogeny and subjected to surface processes, Geochem. Geophy. Geosy., 15, 4936–4957, https://doi.org/10.1002/2014GC005490, 2014. a, b
Thorburn, W. M.: Occam's Razor, Mind, 287–288, 1915. a
Thyng, K. M., Greene, C. A., Hetland, R. D., Zimmerle, H. M., and DiMarco, S. F.: True Colors of Oceanography: Guidelines for Effective and Accurate Colormap Selection, Oceanography, 29, 9–13, https://doi.org/10.5670/oceanog.2016.66, 2016. a
Tong, X.: Earthquakes and slip transients through multidimensional and multiphysics thermomechanical modeling, Ph.D. thesis, University of Texas at Austin, https://doi.org/10.26153/tsw/3393, 2019. a
Tosi, N., Stein, C., Noack, L., Huettig, C., Maierova, P., Samuel, H., Davies, D., Wilson, C., Kramer, S., Thieulot, C., Glerum, A., Fraters, M., Spakman, W., Rozel, A., and Tackley, P.: A community benchmark for viscoplastic thermal convection in a 2D square box, Geochem. Geophy. Geosy., 16, 2175–2196, 2015. a, b
Townend, J. and Zoback, M. D.: How faulting keeps the crust strong, Geology, 28, 399–402, 2000.
Travis, B., Anderson, C., Baumgardner, J., Gable, C., Hager, B., O'Connell, R., Olson, P., Raefsky, A., and Schubert, G.: A benchmark comparison of numerical methods for infinite Prandtl number thermal convection in twodimensional Cartesian geometry, Geophys. Astro. Fluid Dynam., 55, 137–160, 1990. a
Turcotte, D. and Schubert, G.: Geodynamics, 3rd edition, Cambridge, 2014. a, b, c, d, e, f, g
Ueda, K., Willett, S., Gerya, T., and Ruh, J.: Geomorphological–thermomechanical modeling: Application to orogenic wedge dynamics, Tectonophysics, 659, 12–30, 2015. a, b
Ulvrová, M., Labrosse, S., Coltice, N., Råback, P., and Tackley, P.: Numerical modelling of convection interacting with a melting and solidification front: Application to the thermal evolution of the basal magma ocean, Phys. Earth Planet. Int., 206, 51–66, 2012. a
van Der Meer, D. G., Spakman, W., van Hinsbergen, D. J., Amaru, M. L., and Torsvik, T. H.: Towards absolute plate motions constrained by lowermantle slab remnants, Nat. Geosci., 3, 36–40, https://doi.org/10.1038/ngeo708, 2010. a, b
van Dinther, Y., Gerya, T., Dalguer, L., Corbi, F., Funiciello, F., and Mai, P.: The seismic cycle at subduction thrusts: 2. Dynamic implications of geodynamic simulations validated with laboratory models, J. Geophys. Res., 118, 1502–1525, 2013a. a, b, c, d
van Dinther, Y., Gerya, T., Dalguer, L., Mai, P., Morra, G., and Giardini, D.: The seismic cycle at subduction thrusts: Insights from seismothermomechanical models, J. Geophys. Res., 118, 1–20, 2013b. a, b
van Keken, P.: Evolution of starting mantle plumes: a comparison between numerical and laboratory models, Earth Planet. Sc. Lett., 148, 1–11, 1997. a
van Keken, P., King, S., Schmeling, H., Christensen, U., Neumeister, D., and Doin, M.P.: A comparison of methods for the modeling of thermochemical convection, J. Geophys. Res., 102, 22477–22495, 1997. a, b
van Keken, P., Currie, C., King, S., Behn, M., Cagnioncle, A., Hee, J., Katz, R., Lin, S.C., Parmentier, E., Spiegelman, M., and Wang, K.: A community benchmark for subduction zone modelling, Phys. Earth. Planet. Int., 171, 187–197, 2008. a
van Zelst, I., Wollherr, S., Gabriel, A.A., Madden, E. H., and van Dinther, Y.: Modeling Megathrust Earthquakes Across Scales: Oneway Coupling From Geodynamics and Seismic Cycles to Dynamic Rupture, J. Geophys. Res.Sol. Ea., 124, 11414–11446, 2019. a, b, c, d
von Tscharner, M. and Schmalholz, S. M.: A 3D Lagrangian finite element algorithm with remeshing for simulating largestrain hydrodynamic instabilities in power law viscoelastic fluids, Geochem. Geophy. Geosy., 16, 215–245, 2015. a
Wahlroos, M., Pärssinen, M., Rinne, S., Syri, S., and Manner, J.: Future views on waste heat utilization – Case of data centers in Northern Europe, Renewable and Sustainable Energy Reviews, 82, 1749–1764, https://doi.org/10.1016/j.rser.2017.10.058, 2018. a
Watts, A., Zhong, S., and Hunter, J.: The behavior of the lithosphere on seismic to geologic timescales, Annu. Rev. Earth Planet. Sci., 41, 443–468, 2013. a
Wessel, P. and Luis, J. F.: The GMT/MATLAB Toolbox, Geochem. Geophy. Geosystems, 18, 811–823, 2017. a
Wicht, J. and Sanchez, S.: Advances in geodynamo modelling, Geophys. Astrophys. Fluid Dynam., 113, 2–50, 2019. a, b
Wilkinson, M. D., Dumontier, M., Aalbersberg, I. J., Appleton, G., Axton, M., Baak, A., Blomberg, N., Boiten, J.W., da Silva Santos, L. B., Bourne, P. E., et al.: The FAIR Guiding Principles for scientific data management and stewardship, Sci. Data, 3, 1–9, 2016. a
Wilson, C., Spiegelman, M., van Keken, P., and Hacker, B.: Fluid flow in subduction zones: The role of solid rheology and compaction pressure, Earth Planet. Sc. Lett., 401, 261–274, https://doi.org/10.1016/j.epsl.2014.05.052, 2014a. a
Wilson, G., Aruliah, D. A., Brown, C. T., Hong, N. P. C., Davis, M., Guy, R. T., Haddock, S. H. D., Huff, K. D., Mitchell, I. M., Plumbley, M. D., Waugh, B., White, E. P., and Wilson, P.: Best Practices for Scientific Computing, PLoS Biol., 12, https://doi.org/10.1371/journal.pbio.1001745, 2014b. a
Wilson, G., Bryan, J., Cranston, K., Kitzes, J., Nederbragt, L., and Teal, T.: Good enough practices in scientific computing, PLoS Comput. Biol., 13, https://doi.org/10.1371/journal.pcbi.1005510, 2017. a
Wojciechowski, M.: A note on the differences between DruckerPrager and MohrCoulomb shear strength criteria, Studia Geotechnica et Mechanica, https://doi.org/10.2478/sgem20180016, 2018. a
Yamato, P., Agard, P., Burov, E., Pourhiet, L. L., Jolivet, L., and Tiberi, C.: Burial and exhumation in a subduction wedge: Mutual constraints from thermomechanical modeling and natural PTt data (Schistes Lustres, western Alps), J. Geophys. Res., 112, https://doi.org/10.1029/2006JB004441, 2007. a
Yamato, P., Burov, E., Agard, P., Le Pourhiet, L., and Jolivet, L.: HPUHP exhumation during slow continental subduction: Selfconsistent thermodynamically and thermomechanically coupled model with application to the Western Alps, Earth Planet. Sc. Lett., 271, 63–74, 2008. a
Yamato, P., Tartèse, R., Duretz, T., and May, D.: Numerical modelling of magma transport in dykes, Tectonophysics, 526, 97–109, 2012. a
Yang, J., Kaus, B. J., Li, Y., Leloup, P. H., Popov, A. A., Lu, G., Wang, K., and Zhao, L.: Lower Crustal Rheology Controls the Development of Large Offset StrikeSlip Faults During the HimalayanTibetan Orogeny, Geophys. Res. Lett., 47, e2020GL089435, https://doi.org/10.1029/2020GL089435, 2020. a
Zhong, S., McNamara, A., Tan, E., Moresi, L., and Gurnis, M.: A benchmark study on mantle convection in a 3D spherical shell using CitcomS, Geochem. Geophy. Geosy., 9, https://doi.org/10.1029/2008GC002048, 2008. a
Zhong, S., Yuen, D., Moresi, L., and Knepley, M.: 7.05 – Numerical Methods for Mantle Convection, in: Treatise on Geophysics (Second Edition), edited by: Schubert, G., Elsevier, Oxford, 2 Edn., 197–222, https://doi.org/10.1016/B9780444538024.001305, 2015. a, b
Zienkiewicz, O., Huang, M., and Pastor, M.: Localization problems in plasticity using Finite Elements with adaptive remeshing, Int. J. Numer. Anal., 19, 127–148, 1995. a
See the glossary in the Supplement for definitions of the bold terms that occur throughout the text.
 Abstract
 Introduction
 The physical model
 The numerical model
 Code verification
 From the real world to a model setup
 Validation of the geodynamic model
 Model analysis
 Communicating modelling results
 Software, data, and resource management
 Conclusions and outlook
 Appendix A: Example: discretising the heat equation
 Data availability
 Author contributions
 Competing interests
 Disclaimer
 Acknowledgements
 Financial support
 Review statement
 References
 Supplement
 Article
(7495 KB)  Fulltext XML
 Abstract
 Introduction
 The physical model
 The numerical model
 Code verification
 From the real world to a model setup
 Validation of the geodynamic model
 Model analysis
 Communicating modelling results
 Software, data, and resource management
 Conclusions and outlook
 Appendix A: Example: discretising the heat equation
 Data availability
 Author contributions
 Competing interests
 Disclaimer
 Acknowledgements
 Financial support
 Review statement
 References
 Supplement