<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing with OASIS Tables v3.0 20080202//EN" "https://jats.nlm.nih.gov/nlm-dtd/publishing/3.0/journalpub-oasis3.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:oasis="http://docs.oasis-open.org/ns/oasis-exchange/table" xml:lang="en" dtd-version="3.0" article-type="research-article">
  <front>
    <journal-meta><journal-id journal-id-type="publisher">GMD</journal-id><journal-title-group>
    <journal-title>Geoscientific Model Development</journal-title>
    <abbrev-journal-title abbrev-type="publisher">GMD</abbrev-journal-title><abbrev-journal-title abbrev-type="nlm-ta">Geosci. Model Dev.</abbrev-journal-title>
  </journal-title-group><issn pub-type="epub">1991-9603</issn><publisher>
    <publisher-name>Copernicus Publications</publisher-name>
    <publisher-loc>Göttingen, Germany</publisher-loc>
  </publisher></journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.5194/gmd-19-1455-2026</article-id><title-group><article-title>Highly scalable geodynamic simulations with <sc>HyTeG</sc></article-title><alt-title>Highly Scalable Geodynamic Simulations with <sc>HyTeG</sc></alt-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author" corresp="yes" rid="aff1">
          <name><surname>Ilangovan</surname><given-names>Ponsuganth</given-names></name>
          <email>p.ilango@lmu.de</email>
        <ext-link>https://orcid.org/0009-0008-8682-1307</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Kohl</surname><given-names>Nils</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Mohr</surname><given-names>Marcus</given-names></name>
          
        <ext-link>https://orcid.org/0000-0003-2942-8484</ext-link></contrib>
        <aff id="aff1"><label>1</label><institution>Department of Earth and Environmental Sciences, Ludwig-Maximilians-Universität München (LMU), Munich, Germany</institution>
        </aff>
      </contrib-group>
      <author-notes><corresp id="corr1">Ponsuganth Ilangovan (p.ilango@lmu.de)</corresp></author-notes><pub-date><day>19</day><month>February</month><year>2026</year></pub-date>
      
      <volume>19</volume>
      <issue>4</issue>
      <fpage>1455</fpage><lpage>1472</lpage>
      <history>
        <date date-type="received"><day>30</day><month>May</month><year>2025</year></date>
           <date date-type="rev-request"><day>26</day><month>June</month><year>2025</year></date>
           <date date-type="rev-recd"><day>15</day><month>October</month><year>2025</year></date>
           <date date-type="accepted"><day>19</day><month>December</month><year>2025</year></date>
      </history>
      <permissions>
        <copyright-statement>Copyright: © 2026 Ponsuganth Ilangovan et al.</copyright-statement>
        <copyright-year>2026</copyright-year>
      <license license-type="open-access"><license-p>This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this licence, visit <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link></license-p></license></permissions><self-uri xlink:href="https://gmd.copernicus.org/articles/gmd-19-1455-2026.html">This article is available from https://gmd.copernicus.org/articles/gmd-19-1455-2026.html</self-uri><self-uri xlink:href="https://gmd.copernicus.org/articles/gmd-19-1455-2026.pdf">The full text article is available as a PDF file from https://gmd.copernicus.org/articles/gmd-19-1455-2026.pdf</self-uri>
      <abstract><title>Abstract</title>

      <p id="d2e100">High-resolution geodynamic simulations of mantle convection are essential to quantitatively assess the complex physical mechanisms driving the large-scale tectonic processes that shape Earth's surface. Accurately capturing small-scale features such as unstable thermal boundary layers requires global resolution on the order of 1 km. This renders traditional sparse matrix methods impractical due to their prohibitively high memory demands and low arithmetic intensity. Matrix-free methods offer a scalable alternative, enabling the solution of large-scale linear systems efficiently. In this work, we leverage the matrix-free Finite Element framework <sc>HyTeG</sc> to conduct large-scale geodynamic simulations that incorporate realistic physical models. We validate the framework through a combination of convergence studies of the Finite Element approximations against analytical solutions and through geophysical community benchmarks. The latter include test cases with temperature-dependent and nonlinear rheologies. Our scalability studies demonstrate excellent performance, scaling up to problems with about 100 billion (10<sup>11</sup>) unknowns in the Stokes system.</p>
  </abstract>
    
<funding-group>
<award-group id="gs1">
<funding-source>Bundesministerium für Bildung, Wissenschaft, Forschung und Technologie</funding-source>
<award-id>16ME0649</award-id>
</award-group>
</funding-group>
</article-meta>
  </front>
<body>
      

<sec id="Ch1.S1" sec-type="intro">
  <label>1</label><title>Introduction</title>
      <p id="d2e124">Major geological activity such as earthquakes and volcanoes can ultimately be attributed to convection processes in the Earth's mantle. The latter gets heated from below by the Earth's core generating density differences that trigger movement of the rocky material in the mantle over geological timescales and in turn drive geological events <xref ref-type="bibr" rid="bib1.bibx21" id="paren.1"/>. In addition, heat production resulting from the decay of radioactive materials and from frictional stresses due to the movement of material also contribute to the thermal state of the mantle.</p>
      <p id="d2e130">Creating an accurate model of the Earth's mantle representing this convective process is an essential component for an improved understanding of the geological processes that shape the surface of our planet, such as the formation of mountain chains and oceanic trenches through plate tectonics, or the release of accumulated stresses during inter-plate earthquakes. Retrodiction of past mantle flow, see e.g. <xref ref-type="bibr" rid="bib1.bibx17" id="text.2"/>, allows us to reconstruct dynamic topography, and is essential for determining the sedimentation record and to better constrain the mantle's rheology which is known only qualitatively.</p>
      <p id="d2e137">On the large timescales involved, the mantle can be modelled as a fluid. The high viscosities and small velocities lead to an extremely small Reynolds number, which allows one to neglect the inertial terms in the Navier-Stokes equations and assume an instantaneous force balance. Hence, mantle convection models are usually based on a generalised form of the Stokes equations. Historically, simulations employed the Boussinesq approximation <xref ref-type="bibr" rid="bib1.bibx49 bib1.bibx9" id="paren.3"/> to describe the convective process. However, refined models have been developed that can also take the compressibility of mantle material into account, such as the (truncated) anelastic liquid approximation ((T)ALA), see e.g. <xref ref-type="bibr" rid="bib1.bibx25" id="text.4"/> for an overview. A general framework for simulating mantle convection should provide the means to implement various formulations depending on the predilection of its users.</p>
      <p id="d2e146">Since the 1980s various codes for the simulation of mantle convection in 2D and 3D settings have been designed in the community. See <xref ref-type="bibr" rid="bib1.bibx4" id="text.5"/>, <xref ref-type="bibr" rid="bib1.bibx6" id="text.6"/>, <xref ref-type="bibr" rid="bib1.bibx48" id="text.7"/> and <xref ref-type="bibr" rid="bib1.bibx56" id="text.8"/> for examples. Modern variants include ASPECT <xref ref-type="bibr" rid="bib1.bibx1" id="paren.9"/>, built on top of the FE (Finite Element) framework deal.II, and approaches employing Firedrake as underlying FE framework <xref ref-type="bibr" rid="bib1.bibx20 bib1.bibx29" id="paren.10"/>.</p>
      <p id="d2e169">Simulation of mantle convection is a computationally extremely challenging endeavour. The width of the Earth's mantle is on the order of 3000 km, while features of interest, such as the thermal boundary layers below the surface and above the Core-Mantle Boundary (CMB), short-wavelength asthenosphere dynamics <xref ref-type="bibr" rid="bib1.bibx10" id="paren.11"/>, or rising plumes and sinking slabs are small-scale features of a few km. Resolving them, hence, requires high resolution, leading to large linear systems of equations. These often need to be solved multiple times per time-step, of which one often has to perform on the order of thousands as one wants to simulate millions of years of Earth's history. Mantle convection codes, thus, have been candidates to be run on supercomputers early on, see e.g. <xref ref-type="bibr" rid="bib1.bibx12" id="text.12"/>.</p>
      <p id="d2e178">However, not only the mantle's sheer size is problematic; the strong local viscosity variations that develop in mantle convection models also pose a challenge for the solution process, and finding optimal iterative solvers is an ongoing research topic, see e.g. <xref ref-type="bibr" rid="bib1.bibx16" id="text.13"/>.</p>
      <p id="d2e184">Classical Finite Element analysis relies on assembling the system matrix of the linear system of equations and then working in terms of numerical linear algebra. However, such traditional matrix-based methods are not well-suited for truly large-scale high-performance computing, due to their immense memory requirements and performance-penalizing low arithmetic intensity. Instead, matrix-free methods, which do not assemble the system matrix explicitly, but rather provide a routine to apply the system matrix to a given vector, have been shown to be a viable alternative for large-scale simulations, see e.g. <xref ref-type="bibr" rid="bib1.bibx43 bib1.bibx26" id="text.14"/>. The memory savings are obvious (the system matrices stemming from the generalised Stokes equations using standard Taylor-Hood elements may have approximately 100–200 non-zero entries per row <xref ref-type="bibr" rid="bib1.bibx38" id="paren.15"/>), and the computational performance of matrix-free methods paired with low- to medium-order discretizations is at least on par with, or even better than that of standard sparse matrix methods, see, e.g., <xref ref-type="bibr" rid="bib1.bibx43 bib1.bibx8" id="text.16"/>.</p>
      <p id="d2e196">In this work, we present studies performed with the mantle convection code TerraNeo, see <xref ref-type="bibr" rid="bib1.bibx3 bib1.bibx33" id="text.17"/>, which is designed to run models at extremely high resolution. TerraNeo is based on the matrix-free FE framework <sc>HyTeG</sc> <xref ref-type="bibr" rid="bib1.bibx39 bib1.bibx41" id="paren.18"/> and the associated automatic code-generator <sc>HOG</sc> (<sc>HyTeG</sc> Operator Generator) <xref ref-type="bibr" rid="bib1.bibx8" id="paren.19"/>. Our aim here is threefold. We are going to present results for various benchmark settings that are commonly employed in the community to assess the usability and correctness of mantle convection codes <xref ref-type="bibr" rid="bib1.bibx66 bib1.bibx19 bib1.bibx20 bib1.bibx23" id="paren.20"/>, to show that these problems can successfully be solved with TerraNeo. As part of this we will also evaluate certain model simplifications and adaptations that can potentially improve performance in an HPC (High Performance Computing) context. The third aspect is to demonstrate the scalability of TerraNeo when simulating at a peak global resolution of 3 km, resulting in <inline-formula><mml:math id="M2" display="inline"><mml:mrow><mml:mo>≃</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">11</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> degrees of freedom (DoFs).</p>
      <p id="d2e234">The remainder of this paper starts with a description of the model used to represent convection in the Earth's mantle, its spatial and temporal discretization as well as some simplifications for an High Performance Computing setting. This is followed by a brief overview of <sc>HyTeG</sc> and <sc>HOG</sc> and the numerical solution process we employed, before we come to the central part of the paper that consists of a section on benchmarking and validation.</p>
</sec>
<sec id="Ch1.S2">
  <label>2</label><title>Model</title>
      <p id="d2e251">On geological timescales, the mantle behaves like a highly viscous fluid. Its movement can thus be described by the Navier–Stokes equations. Due to the large values of viscosity (<inline-formula><mml:math id="M3" display="inline"><mml:mrow><mml:mo>&gt;</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">19</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> Pa s), the Ekman number (ratio of viscous to Coriolis forces) becomes very large, while the Reynolds number (ratio of inertial to viscous forces) becomes very small <xref ref-type="bibr" rid="bib1.bibx55" id="paren.21"/>. This allows one to neglect Coriolis and inertial forces, and conservation of mass and balance of forces can be modelled by the Stokes equations alone. The driving force of the system is buoyancy, which results from density differences in the mantle. These are mostly due to temperature gradients. Our model can, thus, be written as

              <disp-formula specific-use="align" content-type="numbered"><mml:math id="M4" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E1"><mml:mtd><mml:mtext>1</mml:mtext></mml:mtd><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mo>-</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>⋅</mml:mo><mml:mi mathvariant="bold-italic">τ</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>p</mml:mi><mml:mo>=</mml:mo><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="bold-italic">g</mml:mi></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E2"><mml:mtd><mml:mtext>2</mml:mtext></mml:mtd><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="italic">ρ</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>+</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>⋅</mml:mo><mml:mo>(</mml:mo><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

        where <inline-formula><mml:math id="M5" display="inline"><mml:mi mathvariant="bold-italic">u</mml:mi></mml:math></inline-formula> represents velocity, <inline-formula><mml:math id="M6" display="inline"><mml:mi mathvariant="italic">ρ</mml:mi></mml:math></inline-formula> density, <inline-formula><mml:math id="M7" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> pressure, <inline-formula><mml:math id="M8" display="inline"><mml:mi mathvariant="bold-italic">g</mml:mi></mml:math></inline-formula> the gravity vector and <inline-formula><mml:math id="M9" display="inline"><mml:mrow><mml:mi mathvariant="bold-italic">τ</mml:mi><mml:mo>=</mml:mo><mml:mi mathvariant="italic">η</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>⊤</mml:mo></mml:msup><mml:mo>)</mml:mo><mml:mo>-</mml:mo><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mn mathvariant="normal">2</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:mfrac></mml:mstyle><mml:mi mathvariant="italic">η</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>⋅</mml:mo><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>)</mml:mo><mml:mi mathvariant="bold">I</mml:mi></mml:mrow></mml:math></inline-formula> the deviatoric stress tensor including dynamic viscosity <inline-formula><mml:math id="M10" display="inline"><mml:mi mathvariant="italic">η</mml:mi></mml:math></inline-formula>. This problem is posed on a thick spherical shell,

          <disp-formula id="Ch1.Ex1"><mml:math id="M11" display="block"><mml:mrow><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="normal">Ω</mml:mi><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">min</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">max</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo>:=</mml:mo><mml:mfenced open="{" close="}"><mml:mrow><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>∈</mml:mo><mml:msup><mml:mi mathvariant="double-struck">R</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mo mathsize="1.5em">|</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">min</mml:mi></mml:msub><mml:mo>&lt;</mml:mo><mml:mo>‖</mml:mo><mml:mi mathvariant="bold-italic">x</mml:mi><mml:msub><mml:mo>‖</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>&lt;</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">max</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>

        used to represent the geometry of Earth's mantle.</p>
      <p id="d2e497">It is common practice in the community to work with a reformulation of the problem which involves a hydrostatic reference state. One then considers deviations from this reference state instead of the total physical quantities. In the following we will denote by <inline-formula><mml:math id="M12" display="inline"><mml:mover accent="true"><mml:mo>□</mml:mo><mml:mo mathvariant="normal">¯</mml:mo></mml:mover></mml:math></inline-formula> a radial reference profile for quantity <inline-formula><mml:math id="M13" display="inline"><mml:mo>□</mml:mo></mml:math></inline-formula> and by <inline-formula><mml:math id="M14" display="inline"><mml:mrow><mml:msup><mml:mo>□</mml:mo><mml:mo>′</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> deviations from the latter. We can then e.g. express pressure as <inline-formula><mml:math id="M15" display="inline"><mml:mrow><mml:mi>p</mml:mi><mml:mo>=</mml:mo><mml:mover accent="true"><mml:mi>p</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo>+</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mo>′</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula>, where the hydrostatic pressure <inline-formula><mml:math id="M16" display="inline"><mml:mover accent="true"><mml:mi>p</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover></mml:math></inline-formula> satisfies <inline-formula><mml:math id="M17" display="inline"><mml:mrow><mml:mi mathvariant="normal">∇</mml:mi><mml:mover accent="true"><mml:mi>p</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo>=</mml:mo><mml:mover accent="true"><mml:mi mathvariant="italic">ρ</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mi mathvariant="bold-italic">g</mml:mi></mml:mrow></mml:math></inline-formula>. As a next step we approximate total density by a first order Taylor expansion

          <disp-formula id="Ch1.E3" content-type="numbered"><label>3</label><mml:math id="M18" display="block"><mml:mrow><mml:mi mathvariant="italic">ρ</mml:mi><mml:mo>(</mml:mo><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>T</mml:mi><mml:mo>)</mml:mo><mml:mo>≃</mml:mo><mml:mover accent="true"><mml:mi mathvariant="italic">ρ</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo>(</mml:mo><mml:mi>r</mml:mi><mml:mo>)</mml:mo><mml:mfenced open="[" close="]"><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>+</mml:mo><mml:msub><mml:mover accent="true"><mml:mi mathvariant="italic">κ</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mi mathvariant="normal">T</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>r</mml:mi><mml:mo>)</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mo>′</mml:mo></mml:msup><mml:mo>-</mml:mo><mml:mover accent="true"><mml:mi mathvariant="italic">α</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo>(</mml:mo><mml:mi>r</mml:mi><mml:mo>)</mml:mo><mml:msup><mml:mi>T</mml:mi><mml:mo>′</mml:mo></mml:msup></mml:mrow></mml:mfenced><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>

        Here <inline-formula><mml:math id="M19" display="inline"><mml:mi>r</mml:mi></mml:math></inline-formula> denotes a point's distance from the center of the problem domain <inline-formula><mml:math id="M20" display="inline"><mml:mi mathvariant="normal">Ω</mml:mi></mml:math></inline-formula>, while <inline-formula><mml:math id="M21" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="italic">κ</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mi mathvariant="normal">T</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M22" display="inline"><mml:mover accent="true"><mml:mi mathvariant="italic">α</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover></mml:math></inline-formula> denote isothermal compressibility and thermal expansivity. Equation (<xref ref-type="disp-formula" rid="Ch1.E3"/>) constitutes one part of the so-called anelastic liquid approximation (ALA) <xref ref-type="bibr" rid="bib1.bibx27" id="paren.22"/>. The other is to neglect the density variations <inline-formula><mml:math id="M23" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mo>′</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> in the continuity equation (Eq. <xref ref-type="disp-formula" rid="Ch1.E2"/>), as these can be assumed to be small compared to <inline-formula><mml:math id="M24" display="inline"><mml:mover accent="true"><mml:mi mathvariant="italic">ρ</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover></mml:math></inline-formula>. As the latter is constant in time, this also removes the time derivative from the equation, and, thus, also the potential for sound waves in the model. By further dropping the pressure dependence in Eq. (<xref ref-type="disp-formula" rid="Ch1.E3"/>), one arrives at the so called truncated anaelastic liquid approximation (TALA)

          <disp-formula id="Ch1.E4" content-type="numbered"><label>4</label><mml:math id="M25" display="block"><mml:mrow><mml:mi mathvariant="italic">ρ</mml:mi><mml:mo>(</mml:mo><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>T</mml:mi><mml:mo>)</mml:mo><mml:mo>≃</mml:mo><mml:mover accent="true"><mml:mi mathvariant="italic">ρ</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo>(</mml:mo><mml:mi>r</mml:mi><mml:mo>)</mml:mo><mml:mfenced close="]" open="["><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>-</mml:mo><mml:mover accent="true"><mml:mi mathvariant="italic">α</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo>(</mml:mo><mml:mi>r</mml:mi><mml:mo>)</mml:mo><mml:msup><mml:mi>T</mml:mi><mml:mo>′</mml:mo></mml:msup></mml:mrow></mml:mfenced><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>

        With this the Stokes part of our model obtains its final form

              <disp-formula specific-use="align" content-type="numbered"><mml:math id="M26" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E5"><mml:mtd><mml:mtext>5</mml:mtext></mml:mtd><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mo>-</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>⋅</mml:mo><mml:mi mathvariant="bold-italic">τ</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:msup><mml:mi>p</mml:mi><mml:mo>′</mml:mo></mml:msup><mml:mo>=</mml:mo><mml:mover accent="true"><mml:mi mathvariant="italic">ρ</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mover accent="true"><mml:mi mathvariant="italic">α</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:msup><mml:mi>T</mml:mi><mml:mo>′</mml:mo></mml:msup><mml:mover accent="true"><mml:mi mathvariant="bold-italic">r</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E6"><mml:mtd><mml:mtext>6</mml:mtext></mml:mtd><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>⋅</mml:mo><mml:mfenced open="(" close=")"><mml:mrow><mml:mover accent="true"><mml:mi mathvariant="italic">ρ</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mi mathvariant="bold-italic">u</mml:mi></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

        where <inline-formula><mml:math id="M27" display="inline"><mml:mover accent="true"><mml:mi mathvariant="bold-italic">r</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover></mml:math></inline-formula> is a radial unit vector.</p>
      <p id="d2e880">In addition to this, conservation of energy in the mantle needs to be considered <xref ref-type="bibr" rid="bib1.bibx46" id="paren.23"/>. This can be written in terms of temperature <inline-formula><mml:math id="M28" display="inline"><mml:mi>T</mml:mi></mml:math></inline-formula> as primary quantity and couples to the Stokes system. Under the assumptions of the TALA, deviations of density from the reference profile <inline-formula><mml:math id="M29" display="inline"><mml:mover accent="true"><mml:mi mathvariant="italic">ρ</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover></mml:math></inline-formula> can be neglected and one obtains

          <disp-formula id="Ch1.E7" content-type="numbered"><label>7</label><mml:math id="M30" display="block"><mml:mrow><mml:mover accent="true"><mml:mi mathvariant="italic">ρ</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:msub><mml:mover accent="true"><mml:mi>c</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mi>p</mml:mi></mml:msub><mml:mfenced close=")" open="("><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>T</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>+</mml:mo><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>⋅</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>T</mml:mi></mml:mrow></mml:mfenced><mml:mo>-</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>⋅</mml:mo><mml:mo>(</mml:mo><mml:mi>k</mml:mi><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>T</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mi mathvariant="bold-italic">τ</mml:mi><mml:mo>:</mml:mo><mml:mover accent="true"><mml:mi mathvariant="bold-italic">ϵ</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mo>+</mml:mo><mml:mi>H</mml:mi><mml:mo>+</mml:mo><mml:mover accent="true"><mml:mi mathvariant="italic">α</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mi>T</mml:mi><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>⋅</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>p</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>

        Here <inline-formula><mml:math id="M31" display="inline"><mml:mover accent="true"><mml:mi mathvariant="bold-italic">ϵ</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover></mml:math></inline-formula> denotes the strain rate tensor, <inline-formula><mml:math id="M32" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>c</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mi>p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> the specific heat capacity, <inline-formula><mml:math id="M33" display="inline"><mml:mi>H</mml:mi></mml:math></inline-formula> the internal heat generation and <inline-formula><mml:math id="M34" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula> the thermal conductivity. The equation is of advection-diffusion type, and the terms on the right-hand side describe, in this order, shear-heating, internal heating (through radioactive decay) and adiabatic heating.</p>
      <p id="d2e1037">Under the assumption that the pressure deviations from the hydrostatic reference are very small (<inline-formula><mml:math id="M35" display="inline"><mml:mrow><mml:mover accent="true"><mml:mi>p</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo>≫</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mo>′</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula>) and using again <inline-formula><mml:math id="M36" display="inline"><mml:mrow><mml:mi mathvariant="normal">∇</mml:mi><mml:mover accent="true"><mml:mi>p</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo>=</mml:mo><mml:mover accent="true"><mml:mi mathvariant="italic">ρ</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mi mathvariant="bold-italic">g</mml:mi></mml:mrow></mml:math></inline-formula>, we end up with the energy equation in its final form

          <disp-formula id="Ch1.E8" content-type="numbered"><label>8</label><mml:math id="M37" display="block"><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>T</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>+</mml:mo><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>⋅</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>T</mml:mi><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:mover accent="true"><mml:mi mathvariant="italic">ρ</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:msub><mml:mover accent="true"><mml:mi>c</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mi>p</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>⋅</mml:mo><mml:mo>(</mml:mo><mml:mi>k</mml:mi><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>T</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:mover accent="true"><mml:mi mathvariant="italic">ρ</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:msub><mml:mover accent="true"><mml:mi>c</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mi>p</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mi mathvariant="bold-italic">τ</mml:mi><mml:mo>:</mml:mo><mml:mover accent="true"><mml:mi mathvariant="bold-italic">ϵ</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mo>+</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mover accent="true"><mml:mi mathvariant="italic">α</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>c</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mi>p</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>⋅</mml:mo><mml:mi mathvariant="bold-italic">g</mml:mi><mml:mo>)</mml:mo><mml:mi>T</mml:mi><mml:mo>+</mml:mo><mml:mi>H</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>

        In most parts of the mantle, advective transport is the dominant process, exceeding the effectiveness of diffusive transport by several orders of magnitude (Peclet number <inline-formula><mml:math id="M38" display="inline"><mml:mrow><mml:mi>P</mml:mi><mml:mi>e</mml:mi><mml:mo>≃</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>).</p>
      <p id="d2e1229">The model is complemented by choosing initial conditions for temperature, from which one can derive an initial velocity field and initial pressure by solving the Stokes equations for the resulting buoyancy term. Additionally, one needs to impose boundary conditions for <inline-formula><mml:math id="M39" display="inline"><mml:mi mathvariant="bold-italic">u</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M40" display="inline"><mml:mi>T</mml:mi></mml:math></inline-formula> on the surface (<inline-formula><mml:math id="M41" display="inline"><mml:mrow><mml:mi>r</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">max</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) and the CMB (<inline-formula><mml:math id="M42" display="inline"><mml:mrow><mml:mi>r</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">min</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>). Temperature boundary conditions are usually of Dirichlet type, while for velocity different choices are possible. Often in a mantle convection model one requires

          <disp-formula id="Ch1.E9" content-type="numbered"><label>9</label><mml:math id="M43" display="block"><mml:mrow><mml:mtable class="array" columnalign="right center left left"><mml:mtr><mml:mtd><mml:mrow><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>⋅</mml:mo><mml:mover accent="true"><mml:mi mathvariant="bold-italic">r</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover></mml:mrow></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd><mml:mtd><mml:mrow><mml:mi mathvariant="normal">on</mml:mi><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi mathvariant="italic">δ</mml:mi><mml:mi mathvariant="normal">Ω</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mi mathvariant="bold-italic">t</mml:mi><mml:mo>⋅</mml:mo><mml:mi mathvariant="bold-italic">τ</mml:mi><mml:mo>⋅</mml:mo><mml:mover accent="true"><mml:mi mathvariant="bold-italic">r</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover></mml:mrow></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd><mml:mtd><mml:mrow><mml:mi mathvariant="normal">for</mml:mi><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi>r</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">min</mml:mi></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>⋅</mml:mo><mml:mi mathvariant="bold-italic">t</mml:mi></mml:mrow></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mi mathvariant="normal">tangential</mml:mi></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mi mathvariant="normal">for</mml:mi><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi>r</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">max</mml:mi></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>

        The first of these constitutes a no-outflow condition. In the second condition <inline-formula><mml:math id="M44" display="inline"><mml:mi mathvariant="bold-italic">t</mml:mi></mml:math></inline-formula> represents any vector in the tangential plane of the boundary point. Thus, it requires that at the CMB the tangential shear-stress vanishes. Combined with no-outflow, this constitutes a free-slip condition. Physically this is motivated by the fact that below the CMB lies the outer core, composed of molten iron on which the mantle rocks can freely move. The third and final condition corresponds to fixing the tangential velocity component on the surface, for which plate-tectonic reconstructions can be used. This is commonly done in simulations for retrodictions to assimilate data, see e.g. <xref ref-type="bibr" rid="bib1.bibx17" id="text.24"/>. Note that this requires care (such as appropriately scaling velocities) in order to not introduce artificial forcing into the model. Thus, people might prefer to use alternative boundary conditions like e.g. the previous one also on the surface.</p>
<sec id="Ch1.S2.SS1">
  <label>2.1</label><title>Space discretization method</title>
      <p id="d2e1399">We employ the Finite Element Method (FEM) for determining an approximate solution of the Stokes problem as well as for discretizing the spatial derivatives in the energy equation, apart from the advection term, see Sect. <xref ref-type="sec" rid="Ch1.S2.SS2"/>. Let <inline-formula><mml:math id="M45" display="inline"><mml:mi mathvariant="script">T</mml:mi></mml:math></inline-formula> be a triangulation of the problem domain <inline-formula><mml:math id="M46" display="inline"><mml:mi mathvariant="normal">Ω</mml:mi></mml:math></inline-formula>, i.e. a splitting into non-overlapping triangles in 2D or tetrahedrons in 3D. Then the discrete version of the weak form of the Stokes problem becomes

                <disp-formula specific-use="align" content-type="numbered"><mml:math id="M47" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E10"><mml:mtd><mml:mtext>10</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:munder><mml:mi mathvariant="bold-italic">τ</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mo>:</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:msub><mml:mi mathvariant="bold">v</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mi mathvariant="normal">d</mml:mi><mml:mi mathvariant="normal">Ω</mml:mi></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mo>-</mml:mo><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:munder><mml:msub><mml:mi>p</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>⋅</mml:mo><mml:msub><mml:mi mathvariant="bold">v</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mi mathvariant="normal">d</mml:mi><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>=</mml:mo><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:munder><mml:mi mathvariant="bold">f</mml:mi><mml:mo>⋅</mml:mo><mml:msub><mml:mi mathvariant="bold">v</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mi mathvariant="normal">d</mml:mi><mml:mi mathvariant="normal">Ω</mml:mi></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E11"><mml:mtd><mml:mtext>11</mml:mtext></mml:mtd><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mo>-</mml:mo><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:munder><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>⋅</mml:mo><mml:mfenced open="(" close=")"><mml:mrow><mml:mover accent="true"><mml:mi mathvariant="italic">ρ</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:msub><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:msub><mml:mi>q</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mi mathvariant="normal">d</mml:mi><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

          Here <inline-formula><mml:math id="M48" display="inline"><mml:mi mathvariant="bold">f</mml:mi></mml:math></inline-formula> is the right-hand side (RHS) from Eq. (<xref ref-type="disp-formula" rid="Ch1.E5"/>) and (<inline-formula><mml:math id="M49" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M50" display="inline"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) are sought for approximate velocity and pressure solutions, while (<inline-formula><mml:math id="M51" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">v</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M52" display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) are test functions. These are chosen from finite-dimensional spaces, commonly e.g. <inline-formula><mml:math id="M53" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M54" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">v</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>∈</mml:mo><mml:msub><mml:mi>V</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⊂</mml:mo><mml:mo>(</mml:mo><mml:msub><mml:mi>H</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>)</mml:mo><mml:msup><mml:mo>)</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M55" display="inline"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M56" display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>∈</mml:mo><mml:msub><mml:mi>Q</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⊂</mml:mo><mml:msubsup><mml:mi>L</mml:mi><mml:mn mathvariant="normal">2</mml:mn><mml:mn mathvariant="normal">0</mml:mn></mml:msubsup><mml:mo>(</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, where the latter denotes the space of all square-integrable functions with zero mean. Note that Eq. (<xref ref-type="disp-formula" rid="Ch1.E10"/>) does not contain any surface integrals for the considered boundary conditions Eq. (<xref ref-type="disp-formula" rid="Ch1.E9"/>). More details on the derivation of the variational formulation including boundary conditions can e.g. be found in <xref ref-type="bibr" rid="bib1.bibx14" id="text.25"/>.</p>
      <p id="d2e1710">In the case of a free-slip boundary condition, cf. Eq. (<xref ref-type="disp-formula" rid="Ch1.E9"/>), we treat it as a natural boundary condition and only remove the radial velocity component from the test and trial functions to satisfy the no-outflow component. In the context of a curved domain this requires special consideration, hence we follow the approach by <xref ref-type="bibr" rid="bib1.bibx22" id="text.26"/>.</p>
      <p id="d2e1718">A large variety of different mixed FE function pairs have been suggested in the literature for the Stokes problem, see e.g. <xref ref-type="bibr" rid="bib1.bibx58" id="text.27"/>. For our experiments in this study, we have opted for the standard <inline-formula><mml:math id="M57" display="inline"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>–<inline-formula><mml:math id="M58" display="inline"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> Taylor–Hood pair. This is not only inf-sup stable, but also one of the two choices advocated for in the comparison done by <xref ref-type="bibr" rid="bib1.bibx59" id="text.28"/>.</p>
</sec>
<sec id="Ch1.S2.SS2">
  <label>2.2</label><title>Time discretization method</title>
      <p id="d2e1757">Finding a stable and accurate time discretization scheme for the energy equation is tricky in our setting as it is strongly advection dominated. A common technique that avoids unphysical oscillations in the numerical solution is the Streamline Upwind Petrov Galerkin (SUPG) approach, which adds a consistent artificial diffusion in the direction of the velocity streamline. This resolves the problem, but requires heuristic tuning of additional parameters for weighting the stabilisation term. Another alternative would be entropy-viscosity stabilisation, see <xref ref-type="bibr" rid="bib1.bibx23" id="text.29"/> for details and a comparison to SUPG.</p>
      <p id="d2e1763">Here, we instead use an Eulerian-Lagrangian approach, in the sense that we treat the advective part of the equation with the Modified Method of Characteristics (MMOC). The latter is based on the fact that in the case of pure advection temperature remains constant along the characteristic curves of the PDE. For full details and benchmarks, see <xref ref-type="bibr" rid="bib1.bibx40" id="text.30"/>. Here we only give a brief overview.</p>
      <p id="d2e1769">In the MMOC we initialise virtual particles at the locations of the DoFs of the FE temperature field at time <inline-formula><mml:math id="M59" display="inline"><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula>. We then use an explicit Runge–Kutta scheme of 4th order to trace each particle back in time to its departure point <inline-formula><mml:math id="M60" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi mathvariant="normal">dept</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> at the previous time-step <inline-formula><mml:math id="M61" display="inline"><mml:mi>t</mml:mi></mml:math></inline-formula>. At these positions we evaluate the old temperature field to obtain an advected intermediate temperature <inline-formula><mml:math id="M62" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>T</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mi>h</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mi mathvariant="normal">dept</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>. The intermediate advected temperature is used in further time discretization of the FE weak form of the energy equation. We discretize the temperature <inline-formula><mml:math id="M63" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> in space with a quadratic <inline-formula><mml:math id="M64" display="inline"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> FE function, hence by choosing an appropriate test function <inline-formula><mml:math id="M65" display="inline"><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, we can write the weak form with an implicit Euler time discretization as,

            <disp-formula id="Ch1.E12" content-type="numbered"><label>12</label><mml:math id="M66" display="block"><mml:mrow><mml:mtable rowspacing="0.2ex" class="split" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:munder></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>-</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>T</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mi>h</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:msub><mml:mi>s</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mi mathvariant="normal">d</mml:mi><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>+</mml:mo><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:munder><mml:mi>k</mml:mi><mml:mi mathvariant="normal">∇</mml:mi><mml:msub><mml:mi>T</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>⋅</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:msub><mml:mi>s</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mi mathvariant="normal">d</mml:mi><mml:mi mathvariant="normal">Ω</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:munder><mml:mi mathvariant="italic">α</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mi mathvariant="bold-italic">g</mml:mi></mml:mrow></mml:mfenced><mml:msub><mml:mi>T</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mi mathvariant="normal">d</mml:mi><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>=</mml:mo><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:munder><mml:msub><mml:mi>f</mml:mi><mml:mi>T</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mi mathvariant="normal">d</mml:mi><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:math></disp-formula>

          Here the term <inline-formula><mml:math id="M67" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi>T</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> conflates the internal heating and shear-heating parts of Eq. (<xref ref-type="disp-formula" rid="Ch1.E8"/>). Note that the latter depends on velocity, which we take to be <inline-formula><mml:math id="M68" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> for practical reasons. This also applies to the adiabatic heating term. The linear system resulting from Eq. (<xref ref-type="disp-formula" rid="Ch1.E12"/>) can easily be solved with the help of a Krylov subspace solver. In our experiments we use either Conjugate Gradient or GMRES for this.</p>
      <p id="d2e2116">Once the temperature at time (<inline-formula><mml:math id="M69" display="inline"><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula>) is obtained, we use it to set up the buoyancy term and solve the Stokes system, thereby obtaining the corresponding velocity <inline-formula><mml:math id="M70" display="inline"><mml:mrow><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>.</p>
      <p id="d2e2154">An aspect that we have not mentioned so far is that solving the individual ODEs for the trajectories of the virtual particles requires to provide the velocity field <inline-formula><mml:math id="M71" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> at the micro time-steps of the Runge–Kutta method in [<inline-formula><mml:math id="M72" display="inline"><mml:mrow><mml:mi>t</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula>]. In practice this is not known. We use a predictor-corrector approach in our implementation. In a first step, we simply use the temperature from the previous time-step (constant extrapolation). Once we have solved for the new temperature and velocity at (<inline-formula><mml:math id="M73" display="inline"><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula>), we redo the step by linearly interpolating between <inline-formula><mml:math id="M74" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M75" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, while also updating the velocity dependent heating terms, and computing new values first for <inline-formula><mml:math id="M76" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and then for <inline-formula><mml:math id="M77" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> at (<inline-formula><mml:math id="M78" display="inline"><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula>). In the case of a more pronounced coupling, e.g. in the case of a velocity dependent viscosity, we can repeat this process multiple times.</p>
      <p id="d2e2277">When using an implicit time-discretization scheme one is not necessarily constraint by the Courant–Friedrichs–Lewy (CFL) condition when choosing time-step sizes. Nevertheless, in our experiments we still use the CFL condition as a guide for selecting the latter as it couples spatial and temporal resolution. Given a threshold <inline-formula><mml:math id="M79" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mi mathvariant="normal">CFL</mml:mi></mml:msub><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula>, the maximal magnitude of velocity field in the domain <inline-formula><mml:math id="M80" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mi mathvariant="normal">max</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, and the maximal FE element length <inline-formula><mml:math id="M81" display="inline"><mml:mi>h</mml:mi></mml:math></inline-formula>, we chose as length for the next time-step

            <disp-formula id="Ch1.E13" content-type="numbered"><label>13</label><mml:math id="M82" display="block"><mml:mrow><mml:mi mathvariant="normal">d</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mi mathvariant="normal">CFL</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mi mathvariant="normal">CFL</mml:mi></mml:msub><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mi>h</mml:mi><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mi mathvariant="normal">max</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
</sec>
<sec id="Ch1.S2.SS3">
  <label>2.3</label><title>Simplifying formulations for HPC</title>
      <p id="d2e2352">The most computationally intensive part of the simulation process is solving the Stokes system. Hence, any simplifying approximation or modification is desirable as long as it is consistent with the physics of the simulation. In this section, we give a brief overview on some of such methods, which we will then test in Sect. <xref ref-type="sec" rid="Ch1.S4.SS2.SSS1"/>.</p>
<sec id="Ch1.S2.SS3.SSS1">
  <label>2.3.1</label><title>Frozen velocity</title>
      <p id="d2e2364">Using a compressible flow formulation, the density field in the continuity equation (Eq. <xref ref-type="disp-formula" rid="Ch1.E2"/>) varies spatially. This then spoils the symmetry of the resulting saddle point linear system arising from the FE discretization, as the bilinear forms for the gradient and divergence part are no longer identical. Following <xref ref-type="bibr" rid="bib1.bibx57" id="text.31"/> and <xref ref-type="bibr" rid="bib1.bibx30" id="text.32"/>, by applying the product rule of the divergence operator, one can, in a first step, re-write Eq. (<xref ref-type="disp-formula" rid="Ch1.E6"/>) as

              <disp-formula id="Ch1.E14" content-type="numbered"><label>14</label><mml:math id="M83" display="block"><mml:mrow><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>⋅</mml:mo><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi mathvariant="normal">∇</mml:mi><mml:mi mathvariant="italic">ρ</mml:mi></mml:mrow><mml:mi mathvariant="italic">ρ</mml:mi></mml:mfrac></mml:mstyle><mml:mo>⋅</mml:mo><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>

            and modify the weak form of the TALA formulation, specifically Eq. (<xref ref-type="disp-formula" rid="Ch1.E11"/>) to become

              <disp-formula id="Ch1.E15" content-type="numbered"><label>15</label><mml:math id="M84" display="block"><mml:mrow><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:munder><mml:mfenced close=")" open="("><mml:mrow><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>⋅</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:msub><mml:mi>q</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mi mathvariant="normal">d</mml:mi><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:munder><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi mathvariant="normal">∇</mml:mi><mml:mover accent="true"><mml:mi mathvariant="italic">ρ</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover></mml:mrow><mml:mover accent="true"><mml:mi mathvariant="italic">ρ</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover></mml:mfrac></mml:mstyle><mml:mo>⋅</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:msub><mml:mi>q</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mi mathvariant="normal">d</mml:mi><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>

            When solving the Stokes system at time <inline-formula><mml:math id="M85" display="inline"><mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula>, one can, as a second step, “freeze” the velocity on the right-hand side to be <inline-formula><mml:math id="M86" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, which retains symmetry between the two bilinear forms.</p>
</sec>
<sec id="Ch1.S2.SS3.SSS2">
  <label>2.3.2</label><title>Frozen divergence</title>
      <p id="d2e2540">The full stress tensor <inline-formula><mml:math id="M87" display="inline"><mml:mi mathvariant="bold-italic">τ</mml:mi></mml:math></inline-formula> contains a divergence part <inline-formula><mml:math id="M88" display="inline"><mml:mrow><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mn mathvariant="normal">2</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:mfrac></mml:mstyle><mml:mi mathvariant="italic">η</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>⋅</mml:mo><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>)</mml:mo><mml:mi mathvariant="bold-italic">I</mml:mi></mml:mrow></mml:math></inline-formula> which is non-zero in the compressible cases and, when the divergence of <inline-formula><mml:math id="M89" display="inline"><mml:mi mathvariant="bold-italic">τ</mml:mi></mml:math></inline-formula> is taken, results in a grad-div term. Additionally, this also increases the complexity for the core kernel functions which perform matrix-vector operations.</p>
      <p id="d2e2583">One can treat this term similar to the frozen velocity case, i.e. by moving it to the RHS of momentum equation (Eq. <xref ref-type="disp-formula" rid="Ch1.E1"/>) and evaluating it with the velocity field from the previous time-step:

              <disp-formula id="Ch1.E16" content-type="numbered"><label>16</label><mml:math id="M90" display="block"><mml:mtable rowspacing="0.2ex" class="split" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mi mathvariant="normal">∇</mml:mi></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mo>⋅</mml:mo><mml:mfenced open="[" close="]"><mml:mrow><mml:mi mathvariant="italic">η</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:mi mathvariant="normal">∇</mml:mi><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo>+</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>⊤</mml:mo></mml:msup><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced><mml:mo>+</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>p</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mo>=</mml:mo><mml:mi mathvariant="bold">f</mml:mi><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">2</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:mfrac></mml:mstyle><mml:mi mathvariant="normal">∇</mml:mi><mml:mfenced open="[" close="]"><mml:mrow><mml:mi mathvariant="italic">η</mml:mi><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>⋅</mml:mo><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>

            Hence, we obtain an extra forcing term on the right-hand side, but retain the stress tensor in the form of the incompressible setting. In this work we only use this approach for the benchmark with the compressible Stokes system on a unit square in Sect. <xref ref-type="sec" rid="Ch1.S4.SS2.SSS1"/>. More experiments and mathematical analysis will be required to fully validate the effectiveness of the approach and its influence on accuracy.</p>
</sec>
</sec>
</sec>
<sec id="Ch1.S3">
  <label>3</label><title>Finite element framework</title>
      <p id="d2e2715">Given the desired global resolution of <inline-formula><mml:math id="M91" display="inline"><mml:mrow><mml:mo>≃</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> km, holding the data required to solve the resulting linear systems in memory becomes challenging. If we consider a FE coefficient vector with about a trillion (10<sup>12</sup>) entries (which approximately corresponds to the number of elements in such a mesh), then the size of the FE coefficient vector is about 8 TB when working in double precision. Comparing this to the total amount of about 1 PB of main memory of the Hawk supercomputer (66th in Top500 as of November 2024) that was used for experiments in this paper, we can see that we can fit only 125 such vectors in memory. Since we typically cannot access the entire machine at once, and since this does not include the memory required for the system matrices yet (which will require storing 10–100 or more non-zeros per row) such simulations can only be performed with significantly more main memory or with numerical methods with reduced memory demands.</p>
      <p id="d2e2737">Since memory access also is relatively slow, and thus often a performance-limiting factor, a better solution is to not form the matrices explicitly and employ matrix-free methods <xref ref-type="bibr" rid="bib1.bibx11 bib1.bibx43 bib1.bibx45 bib1.bibx38" id="paren.33"/>. This, of course, restricts the set of solvers that can be implemented to those that work with matrix-free compute kernels, but enables the solution of linear systems at the extreme scale. In this work, we build on the framework <sc>HyTeG</sc> for parallel, matrix-free FEM simulations and the associated code generation framework <sc>HOG</sc> for architecture-optimized matrix-free compute kernels. Both together have been shown to allow efficient solution of systems at tera scale (<inline-formula><mml:math id="M93" display="inline"><mml:mrow><mml:mo>≃</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">12</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> DoFs) <xref ref-type="bibr" rid="bib1.bibx38 bib1.bibx8" id="paren.34"/>.</p>
<sec id="Ch1.S3.SS1">
  <label>3.1</label><title><sc>HyTeG</sc> and <sc>HOG</sc></title>
      <p id="d2e2777"><sc>Hybrid Tetrahedral Grids</sc> (<sc>HyTeG</sc>) builds upon an unstructured coarse mesh composed of triangles in 2D and tetrahedrons in 3D that captures the problem's basic geometry. The elements of the coarse mesh are split into their geometric primitives (vertices, edges, faces and cells), which we denote as macro-primitives. On these we perform structured refinement to reach a desired mesh resolution, thereby generating micro-elements. Data associated with micro-entities is stored in the corresponding macro-entities, which act as containers and also form the smallest units for parallelisation in <sc>HyTeG</sc>, which is based on the distributed memory paradigm and implemented via the Message Passing Interface (MPI). The refinement process results in a hierarchy of meshes and is, thus, particularly well-suited for the development of efficient geometric multigrid methods. The block-structuredness of the resulting mesh allows using data-structures without indirections, which is beneficial in multiple aspects, e.g. memory access, and avoids the need to store coordinate and topology information on micro-entities, as these can be computed on-the-fly. Additionally, it supports implementation of various optimisations, such as e.g. cache-friendly loop strategies within the matrix-free compute kernels, which are not possible on fully unstructured FE meshes. In order to ease performance portability and testing of new optimisations, the core compute kernels such as operator-application (i.e. the analogue of a matrix-vector multiplication in a matrix-free setting) or computation of inverse-diagonals are not implemented manually, but auto-generated via the <sc>HyTeG Operator Generator</sc> (<sc>HOG</sc>). This also significantly simplifies addition of new PDE problems and their bilinear forms. For more details on <sc>HyTeG</sc> and <sc>HOG</sc> we refer the reader to <xref ref-type="bibr" rid="bib1.bibx39 bib1.bibx41" id="text.35"/> and <xref ref-type="bibr" rid="bib1.bibx8" id="text.36"/>.</p>
</sec>
<sec id="Ch1.S3.SS2">
  <label>3.2</label><title>Mesh refinement</title>
      <p id="d2e2815"><sc>HyTeG</sc> can import arbitrary tetrahedral meshes in GMSH format and also supports inline mesh generators for standard domains. Among these is also one for our primary target domain, the thick spherical shell. Construction of a coarse mesh for the latter is based on the icosahedral meshing approach, see <xref ref-type="bibr" rid="bib1.bibx5" id="text.37"/> and <xref ref-type="bibr" rid="bib1.bibx19" id="text.38"/>. Here an icosahedron is mapped onto the unit sphere, resulting in 20 spherical triangles. To these one applies (<inline-formula><mml:math id="M94" display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">tan</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>) steps of recursive midpoint refinement with geodesic arcs. Once this tangential surface mesh is fine enough, it is radially extended to cover <inline-formula><mml:math id="M95" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="normal">Ω</mml:mi><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">min</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">max</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> with <inline-formula><mml:math id="M96" display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">rad</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> radial layers. This results in spherical prismatoids, each of which can be split into three tetrahadrons. To this tetrahedral base mesh the standard refinement process of <sc>HyTeG</sc> is applied, which recursively splits each triangle into four sub-triangles and each tetrahedron into eight sub-tetrahedra.</p>
      <p id="d2e2878">However, this standard refinement will not improve the domain approximation, due to the curvature of the latter. To resolve this issue, <sc>HyTeG</sc> employs a blending map, which maps the micro-elements of the refined triangulation onto the actual problem domain. We denote the former as computational domain <inline-formula><mml:math id="M97" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="normal">Ω</mml:mi><mml:mi mathvariant="normal">comp</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and the latter as physical domain <inline-formula><mml:math id="M98" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="normal">Ω</mml:mi><mml:mi mathvariant="normal">phys</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, see <xref ref-type="bibr" rid="bib1.bibx2" id="text.39"/> for further details. In this setting, if we specify <inline-formula><mml:math id="M99" display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">rad</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> radial layers to the icosahedral mesh generator, then we get <inline-formula><mml:math id="M100" display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">rad</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> spherical surfaces in the resulting mesh which also corresponds to (<inline-formula><mml:math id="M101" display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">rad</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>) FE elements in the radial direction. From an FE perspective <sc>HyTeG</sc> in such a case employs two mappings. One from the reference element to the micro-element on the computational domain, which is then mapped onto the computational domain. This has to be accounted for in the element integrals and the gradients of the shape functions. Denoting by <inline-formula><mml:math id="M102" display="inline"><mml:mrow><mml:msub><mml:mi>J</mml:mi><mml:mi mathvariant="normal">A</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> the Jacobian of the affine mapping onto the computational domain and by <inline-formula><mml:math id="M103" display="inline"><mml:mrow><mml:msub><mml:mi>J</mml:mi><mml:mi mathvariant="normal">B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> that of the blending map we obtain e.g.

            <disp-formula id="Ch1.E17" content-type="numbered"><label>17</label><mml:math id="M104" display="block"><mml:mrow><mml:mi mathvariant="normal">∇</mml:mi><mml:msub><mml:mi mathvariant="italic">ψ</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msubsup><mml:mi mathvariant="script">J</mml:mi><mml:mi mathvariant="normal">B</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mo>⊤</mml:mo></mml:mrow></mml:msubsup><mml:msubsup><mml:mi mathvariant="script">J</mml:mi><mml:mi mathvariant="normal">A</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mo>⊤</mml:mo></mml:mrow></mml:msubsup><mml:mi mathvariant="normal">∇</mml:mi><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></disp-formula>

          for an ansatz function <inline-formula><mml:math id="M105" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ψ</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and its associated shape function <inline-formula><mml:math id="M106" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> on the reference element. On every micro-element the blending map needs to be at least a diffeomorphism to support the usual integral transformations. This can be achieved by making it a diffeomorphism on every macro-element. However, globally it suffices for the blending map to be only homomorphic, which eases its construction. In the case of the icosahedral mesh for the thick spherical shell such a blending map is known explicitly which also holds for its inverse. This is of technical importance for the MMOC approach <xref ref-type="bibr" rid="bib1.bibx40" id="paren.40"/> and constitutes an advantage over using a quadratic isoparametric mapping.</p>
</sec>
<sec id="Ch1.S3.SS3">
  <label>3.3</label><title>Linear system solvers</title>
      <p id="d2e3049">The linear system of equations that arises from the weak form of the Stokes system is the saddle point problem

            <disp-formula id="Ch1.E18" content-type="numbered"><label>18</label><mml:math id="M107" display="block"><mml:mrow><mml:mfenced open="[" close="]"><mml:mtable class="matrix" columnalign="center center" framespacing="0em"><mml:mtr><mml:mtd><mml:mi>A</mml:mi></mml:mtd><mml:mtd><mml:mrow><mml:msup><mml:mi>B</mml:mi><mml:mo>⊤</mml:mo></mml:msup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>B</mml:mi></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mfenced open="(" close=")"><mml:mtable class="matrix" columnalign="center" framespacing="0em"><mml:mtr><mml:mtd><mml:mi>U</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>P</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>=</mml:mo><mml:mfenced open="(" close=")"><mml:mtable class="matrix" columnalign="center" framespacing="0em"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi>U</mml:mi></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi>P</mml:mi></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>

          In a matrix-free setting, iterative solvers form the only possible choice for computing solutions. <sc>HyTeG</sc> offers different approaches for solvers and preconditioners, and due to the hierarchy of levels generated through the structured refinement it naturally supports geometric multigrid approaches. Multigrid methods, either algebraic or geometric, feature in most approaches to solve the Stokes system. This is related to the <inline-formula><mml:math id="M108" display="inline"><mml:mi>A</mml:mi></mml:math></inline-formula>-block, which results from the discretization of an elliptic operator. <xref ref-type="bibr" rid="bib1.bibx26" id="text.41"/> e.g. compared three different iterative solvers, all involving multigrid in some form, for the isoviscous case and found a monolithic multigrid method with inexact Uzawa smoothing to offer the best performance. The smoother can be written as consecutive velocity and pressure system iterations, see e.g. <xref ref-type="bibr" rid="bib1.bibx24" id="text.42"/> for details. In <xref ref-type="bibr" rid="bib1.bibx38" id="text.43"/> it was shown that using this combination in <sc>HyTeG</sc> makes it possible to achieve extreme scalability and solve for a trillion DoFs in less than a minute.</p>
      <p id="d2e3133">While the monolithic multigrid approach proves to be extremely scalable, we found it to have robustness issues in cases where viscosity is sharply varying. As this is often the case in geodynamic scenarios we opted for this paper to instead employ a Krylov subspace solver with multigrid preconditioning. To be more precise, we use a Flexible GMRES (FGMRES) method in combination with the following inexact adjoint Uzawa preconditioner

                <disp-formula specific-use="align"><mml:math id="M109" display="block"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msup><mml:mover accent="true"><mml:mi>S</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mfenced close="]" open="["><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi>P</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mi>B</mml:mi><mml:msub><mml:mi>u</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:msub><mml:mi>u</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>u</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:msup><mml:mover accent="true"><mml:mi>A</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi>U</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mi>A</mml:mi><mml:msub><mml:mi>u</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msup><mml:mi>B</mml:mi><mml:mo>⊤</mml:mo></mml:msup><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>

          Here <inline-formula><mml:math id="M110" display="inline"><mml:mover accent="true"><mml:mi>S</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover></mml:math></inline-formula> approximates the system's Schur complement. A common choice for <inline-formula><mml:math id="M111" display="inline"><mml:mover accent="true"><mml:mi>S</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover></mml:math></inline-formula> is to use the pressure mass matrix scaled by the inverse of viscosity, as this is spectrally equivalent to the actual Schur complement, as long as viscosity is not too heterogeneous, see <xref ref-type="bibr" rid="bib1.bibx54" id="text.44"/> and the references therein. The approximation <inline-formula><mml:math id="M112" display="inline"><mml:mover accent="true"><mml:mi>S</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover></mml:math></inline-formula> can be constructed as

            <disp-formula id="Ch1.E19" content-type="numbered"><label>19</label><mml:math id="M113" display="block"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>S</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:munder><mml:msup><mml:mi mathvariant="italic">μ</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mi mathvariant="normal">d</mml:mi><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>

          Note that an alternative for truly strong viscosity variations is to use BFBT approaches for approximating the inverse Schur complement, see e.g. <xref ref-type="bibr" rid="bib1.bibx54" id="text.45"/> and <xref ref-type="bibr" rid="bib1.bibx13" id="text.46"/> and the references therein.</p>
      <p id="d2e3353">Application of <inline-formula><mml:math id="M114" display="inline"><mml:mrow><mml:msup><mml:mover accent="true"><mml:mi>A</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> corresponds to solving a linear system with <inline-formula><mml:math id="M115" display="inline"><mml:mi>A</mml:mi></mml:math></inline-formula> by geometric multigrid with Chebyshev smoothing. Strongly variable coefficients, as in our case viscosity, pose a challenge for geometric multigrid, as without proper handling the convergence may degrade significantly. In a matrix-free setting, the construction of suitable coarse grid operators, e.g. by using a Galerkin Coarse-Grid Approximation (GCA), see <xref ref-type="bibr" rid="bib1.bibx61" id="text.47"/>, is generally difficult or at least expensive <xref ref-type="bibr" rid="bib1.bibx37" id="paren.48"/>.</p>
      <p id="d2e3386">For this study we have opted for the following approach. We employ a Direct Coarse-Grid Approximation (DCA), sometimes also referred to as rediscretization, in combination with a homogenization approach for the viscosity. For the latter we first convert viscosity into an element-wise constant, i.e. <inline-formula><mml:math id="M116" display="inline"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, function on the finest level by computing an arithmetic average. This <inline-formula><mml:math id="M117" display="inline"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> viscosity is then restricted to coarser mesh levels by recursively computing an average of the viscosity over its child elements <xref ref-type="bibr" rid="bib1.bibx16" id="paren.49"/>. We use an arithmetic average here in most models. For the case of nonlinear rheology in Sect. <xref ref-type="sec" rid="Ch1.S4.SS2.SSS2"/> we found that the harmonic average provided a better multigrid convergence behaviour. Besides its use in the multigrid part, note that this averaging also has another positive effect. If viscosity exhibits sharp variations in the domain, pressure becomes inherently discontinuous. Using a Taylor-Hood approach the approximate pressure solution is forced to be continuous. This results in spikes in the solution, which get damped when one employs this averaging approach <xref ref-type="bibr" rid="bib1.bibx30" id="paren.50"/>.</p>
</sec>
<sec id="Ch1.S3.SS4">
  <label>3.4</label><title>Rigid body modes</title>
      <p id="d2e3427">In some benchmarks and models free-slip boundary conditions are imposed on both the inner and outer boundary of either the thick spherical shell or the annulus. In both cases this results in a non-trivial kernel for the <inline-formula><mml:math id="M118" display="inline"><mml:mi>A</mml:mi></mml:math></inline-formula> block of the linear system (Eq. <xref ref-type="disp-formula" rid="Ch1.E18"/>) that is composed of rigid body modes. This can lead to convergence problems with the iterative solver or the quality of the approximate solution. To avoid such issues one can employ a nullspace removal algorithm that filters out the rotational mode components from the residuals and solution vectors during every step of the iterative solver. This, however, will increase the number of dot products and require additional MPI communication, which in turn can affect the run-time performance of the solver.</p>
      <p id="d2e3439">Thus, we follow a different approach and penalize rigid body modes in the velocity field by extending the weak form of the momentum equation (Eq. <xref ref-type="disp-formula" rid="Ch1.E10"/>) by the term

            <disp-formula id="Ch1.E20" content-type="numbered"><label>20</label><mml:math id="M119" display="block"><mml:mrow><mml:munder><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>d</mml:mi><mml:mo>=</mml:mo><mml:mo mathvariant="italic">{</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo>,</mml:mo><mml:mi>z</mml:mi><mml:mo mathvariant="italic">}</mml:mo></mml:mrow></mml:munder><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:munder><mml:msub><mml:mi>c</mml:mi><mml:mi mathvariant="normal">rot</mml:mi></mml:msub><mml:mfenced close=")" open="("><mml:mrow><mml:msubsup><mml:mi mathvariant="bold">e</mml:mi><mml:mi mathvariant="normal">rigid</mml:mi><mml:mi>d</mml:mi></mml:msubsup><mml:mo>⋅</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mfenced close=")" open="("><mml:mrow><mml:msubsup><mml:mi mathvariant="bold">e</mml:mi><mml:mi mathvariant="normal">rigid</mml:mi><mml:mi>d</mml:mi></mml:msubsup><mml:mo>⋅</mml:mo><mml:msub><mml:mi mathvariant="bold">v</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mi mathvariant="normal">d</mml:mi><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>

          Here, <inline-formula><mml:math id="M120" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="bold">e</mml:mi><mml:mi mathvariant="normal">rigid</mml:mi><mml:mi>d</mml:mi></mml:msubsup><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> denotes the unit vector describing an elementary rotation around the <inline-formula><mml:math id="M121" display="inline"><mml:mi>d</mml:mi></mml:math></inline-formula> axis, e.g. in the case of the <inline-formula><mml:math id="M122" display="inline"><mml:mi>z</mml:mi></mml:math></inline-formula> axis we have <inline-formula><mml:math id="M123" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="bold">e</mml:mi><mml:mi mathvariant="normal">rigid</mml:mi><mml:mi>z</mml:mi></mml:msubsup><mml:mo>=</mml:mo><mml:mo>[</mml:mo><mml:mo>-</mml:mo><mml:mi>y</mml:mi><mml:mo>/</mml:mo><mml:mi>r</mml:mi><mml:mo>,</mml:mo><mml:mi>x</mml:mi><mml:mo>/</mml:mo><mml:mi>r</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:msup><mml:mo>]</mml:mo><mml:mo>⊤</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> with <inline-formula><mml:math id="M124" display="inline"><mml:mrow><mml:mi>r</mml:mi><mml:mo>=</mml:mo><mml:msqrt><mml:mrow><mml:msup><mml:mi>x</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>+</mml:mo><mml:msup><mml:mi>y</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:msqrt></mml:mrow></mml:math></inline-formula>. The penalty value <inline-formula><mml:math id="M125" display="inline"><mml:mrow><mml:msub><mml:mi>c</mml:mi><mml:mi mathvariant="normal">rot</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is chosen as a fixed global value and tuned manually. The extra term can easily be incorporated into the code and optimized by using the <sc>HOG</sc> code generator. The benefit here is that no extra MPI communication is needed, since the handling of the rigid body modes happens as part of the compute kernel for operator application.</p>
</sec>
<sec id="Ch1.S3.SS5">
  <label>3.5</label><title>Stress and heat flow computation</title>
      <p id="d2e3643">After having performed a mantle convection simulation important quantities which one often wants to derive from the primary FE variables in a post-processing step are dynamic topography, the geoid or heat flow. Doing so requires accurate computation of the gradient of a FE field, e.g. velocity or temperature. For Finite Elements that are only <inline-formula><mml:math id="M126" display="inline"><mml:mrow><mml:msub><mml:mi>H</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>-conforming computing gradients inside each local element will result in a field that is usually discontinuous at the cell interfaces, especially also at the nodes.</p>
      <p id="d2e3657">In this work, we consider two approaches for deriving a continuous gradient field. The first one is to compute gradients in an element-local fashion, as mentioned above, and then map the result into a selected space <inline-formula><mml:math id="M127" display="inline"><mml:mrow><mml:msubsup><mml:mi>W</mml:mi><mml:mi>h</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msubsup></mml:mrow></mml:math></inline-formula> of globally continuous functions using a standard <inline-formula><mml:math id="M128" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">L</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> projection. As an example, let <inline-formula><mml:math id="M129" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>∈</mml:mo><mml:msub><mml:mi>V</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> be a scalar FE function. Then <inline-formula><mml:math id="M130" display="inline"><mml:mrow><mml:mo>[</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>T</mml:mi><mml:msub><mml:mo>]</mml:mo><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, the unknown approximation of its gradient field in <inline-formula><mml:math id="M131" display="inline"><mml:mrow><mml:msubsup><mml:mi>W</mml:mi><mml:mi>h</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msubsup></mml:mrow></mml:math></inline-formula>, needs to satisfy

            <disp-formula id="Ch1.E21" content-type="numbered"><label>21</label><mml:math id="M132" display="block"><mml:mrow><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:munder><mml:mo>[</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>T</mml:mi><mml:msub><mml:mo>]</mml:mo><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:msub><mml:mi mathvariant="bold">v</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mi mathvariant="normal">d</mml:mi><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>=</mml:mo><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:munder><mml:mi mathvariant="normal">∇</mml:mi><mml:msub><mml:mi>T</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:msub><mml:mi mathvariant="bold">v</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mi mathvariant="normal">d</mml:mi><mml:mi mathvariant="normal">Ω</mml:mi></mml:mrow></mml:math></disp-formula>

          for all <inline-formula><mml:math id="M133" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">v</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>∈</mml:mo><mml:msubsup><mml:mi>W</mml:mi><mml:mi>h</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msubsup></mml:mrow></mml:math></inline-formula>. It can, thus, easily be found by solving a linear system with the corresponding mass matrix. We will use <inline-formula><mml:math id="M134" display="inline"><mml:mrow><mml:msup><mml:mi>W</mml:mi><mml:mi>h</mml:mi></mml:msup><mml:mo>=</mml:mo><mml:msub><mml:mi>P</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> for our tests.</p>
      <p id="d2e3830">The other method we consider is the Consistent Boundary Flux (CBF) method <xref ref-type="bibr" rid="bib1.bibx47 bib1.bibx28" id="paren.51"/> which is well known in the geophysics community through the work of <xref ref-type="bibr" rid="bib1.bibx64" id="text.52"/>, and its implementation and testing in CitComS and ASPECT <xref ref-type="bibr" rid="bib1.bibx66 bib1.bibx44 bib1.bibx62" id="paren.53"/>. In the CBF method we consider the weak form of the Stokes momentum equation (Eq. <xref ref-type="disp-formula" rid="Ch1.E10"/>) assuming that the test function <inline-formula><mml:math id="M135" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">v</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is non-zero on the boundary <inline-formula><mml:math id="M136" display="inline"><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:mrow></mml:math></inline-formula> of the domain <inline-formula><mml:math id="M137" display="inline"><mml:mi mathvariant="normal">Ω</mml:mi></mml:math></inline-formula>. Rearranging the integrals results in the following equation

            <disp-formula id="Ch1.E22" content-type="numbered"><label>22</label><mml:math id="M138" display="block"><mml:mtable rowspacing="0.2ex" class="split" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:munder><mml:mi mathvariant="bold">f</mml:mi></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mo>⋅</mml:mo><mml:msub><mml:mi mathvariant="bold">v</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mi mathvariant="normal">d</mml:mi><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>-</mml:mo><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:munder><mml:msub><mml:mi mathvariant="bold-italic">τ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>:</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:msub><mml:mi mathvariant="bold">v</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mi mathvariant="normal">d</mml:mi><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>+</mml:mo><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:munder><mml:msub><mml:mi>p</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mfenced open="(" close=")"><mml:mrow><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>⋅</mml:mo><mml:msub><mml:mi mathvariant="bold">v</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mi mathvariant="normal">d</mml:mi><mml:mi mathvariant="normal">Ω</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:mrow></mml:munder><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">τ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mi mathvariant="bold">n</mml:mi></mml:mrow></mml:mfenced><mml:mo>⋅</mml:mo><mml:msub><mml:mi mathvariant="bold">v</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mi mathvariant="normal">d</mml:mi><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo>+</mml:mo><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:mrow></mml:munder><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mi mathvariant="bold">n</mml:mi></mml:mrow></mml:mfenced><mml:mo>⋅</mml:mo><mml:msub><mml:mi mathvariant="bold">v</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mi mathvariant="normal">d</mml:mi><mml:mi mathvariant="normal">Γ</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:mrow></mml:munder><mml:msub><mml:mi mathvariant="bold-italic">σ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mi mathvariant="bold">n</mml:mi><mml:mo>⋅</mml:mo><mml:msub><mml:mi mathvariant="bold">v</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mi mathvariant="normal">d</mml:mi><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>

          Here (<inline-formula><mml:math id="M139" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">σ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mi mathvariant="bold">n</mml:mi></mml:mrow></mml:math></inline-formula>) denotes the vector component of the full stress tensor with respect to the plane normal to <inline-formula><mml:math id="M140" display="inline"><mml:mi mathvariant="bold">n</mml:mi></mml:math></inline-formula>. Considering the latter as an unknown FE function on <inline-formula><mml:math id="M141" display="inline"><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:mrow></mml:math></inline-formula> we can compute it by solving a system with the boundary mass matrix. Note that in the case of a free-slip boundary only the radial component of this stress vector is non-zero. We will compare computation of radial stress with the <inline-formula><mml:math id="M142" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">L</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> projection and the CBF method in Sect. <xref ref-type="sec" rid="Ch1.S4.SS1.SSS1"/> for the smooth forcing function case. This will demonstrate that, while the <inline-formula><mml:math id="M143" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">L</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> projection allows to derive the gradient field in the whole domain <inline-formula><mml:math id="M144" display="inline"><mml:mi mathvariant="normal">Ω</mml:mi></mml:math></inline-formula>, the CBF method is superior in terms of accuracy in providing the gradient field on the boundary <inline-formula><mml:math id="M145" display="inline"><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:mrow></mml:math></inline-formula>.</p>
      <p id="d2e4130">The same strategy can be applied to the energy equation to compute the heat flux through the boundary <inline-formula><mml:math id="M146" display="inline"><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:mrow></mml:math></inline-formula>. Considering the weak form of the energy equation for a test function <inline-formula><mml:math id="M147" display="inline"><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> not vanishing on the boundary, we obtain

            <disp-formula id="Ch1.E23" content-type="numbered"><label>23</label><mml:math id="M148" display="block"><mml:mtable rowspacing="0.2ex" class="split" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:mrow></mml:munder><mml:mfenced open="(" close=")"><mml:mrow><mml:mi mathvariant="normal">∇</mml:mi><mml:msub><mml:mi>T</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mi mathvariant="bold">n</mml:mi></mml:mrow></mml:mfenced><mml:msub><mml:mi>s</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mi mathvariant="normal">d</mml:mi><mml:mi mathvariant="normal">Γ</mml:mi></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mo>=</mml:mo><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:munder><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>T</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:msub><mml:mi>s</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mi mathvariant="normal">d</mml:mi><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>+</mml:mo><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:munder><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:msub><mml:mi>T</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:msub><mml:mi>s</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mi mathvariant="normal">d</mml:mi><mml:mi mathvariant="normal">Ω</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mo>+</mml:mo><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:munder><mml:mi mathvariant="normal">∇</mml:mi><mml:msub><mml:mi>T</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:msub><mml:mi>s</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mi mathvariant="normal">d</mml:mi><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>

          Fixing again the terms on the right-hand side and taking (<inline-formula><mml:math id="M149" display="inline"><mml:mrow><mml:mi mathvariant="normal">∇</mml:mi><mml:msub><mml:mi>T</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mi mathvariant="bold">n</mml:mi></mml:mrow></mml:math></inline-formula>) to be an unknown FE function <inline-formula><mml:math id="M150" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>T</mml:mi><mml:mo>⋅</mml:mo><mml:mi>n</mml:mi><mml:msub><mml:mo>)</mml:mo><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> living on <inline-formula><mml:math id="M151" display="inline"><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:mrow></mml:math></inline-formula> it can also be obtained by solving a system with a boundary mass matrix. This is the approach we employed for computing the Nusselt numbers reported in Table <xref ref-type="table" rid="T1"/>.</p>

<table-wrap id="T1"><label>Table 1</label><caption><p id="d2e4344">Test cases considered for comparison of Nusselt numbers (<inline-formula><mml:math id="M152" display="inline"><mml:mrow><mml:mi>N</mml:mi><mml:mi>u</mml:mi></mml:mrow></mml:math></inline-formula>) and radially averaged temperatures and velocity RMS values with published data from other codes <xref ref-type="bibr" rid="bib1.bibx23" id="paren.54"/>.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="5">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="center"/>
     <oasis:colspec colnum="3" colname="col3" align="right"/>
     <oasis:colspec colnum="4" colname="col4" align="center"/>
     <oasis:colspec colnum="5" colname="col5" align="center"/>
     <oasis:thead>
       <oasis:row>
         <oasis:entry colname="col1">Case</oasis:entry>
         <oasis:entry colname="col2">Rayleigh</oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M153" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="italic">μ</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M154" display="inline"><mml:mrow><mml:mi>N</mml:mi><mml:msub><mml:mi>u</mml:mi><mml:mi mathvariant="normal">top</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> –</oasis:entry>
         <oasis:entry colname="col5"><inline-formula><mml:math id="M155" display="inline"><mml:mrow><mml:mi>N</mml:mi><mml:msub><mml:mi>u</mml:mi><mml:mi mathvariant="normal">top</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> –</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">number</oasis:entry>
         <oasis:entry colname="col3"/>
         <oasis:entry colname="col4"><sc>HyTeG</sc></oasis:entry>
         <oasis:entry colname="col5">ASPECT/</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">(<inline-formula><mml:math id="M156" display="inline"><mml:mrow><mml:mi>R</mml:mi><mml:mi>a</mml:mi></mml:mrow></mml:math></inline-formula>)</oasis:entry>
         <oasis:entry colname="col3"/>
         <oasis:entry colname="col4"/>
         <oasis:entry colname="col5">CitcomS</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">A3</oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M157" display="inline"><mml:mrow><mml:mn mathvariant="normal">7</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3">20</oasis:entry>
         <oasis:entry colname="col4">3.139</oasis:entry>
         <oasis:entry colname="col5">3.14–3.19</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">C1</oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M158" display="inline"><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">5</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3">1</oasis:entry>
         <oasis:entry colname="col4">7.758</oasis:entry>
         <oasis:entry colname="col5">7.37–7.81</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">C3</oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M159" display="inline"><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">5</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3">30</oasis:entry>
         <oasis:entry colname="col4">6.756</oasis:entry>
         <oasis:entry colname="col5">6.50–6.79</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>


</sec>
</sec>
<sec id="Ch1.S4">
  <label>4</label><title>Benchmarking and validation</title>
      <p id="d2e4579">In this section, we benchmark <sc>HyTeG</sc> against various geophysical problems. Initially, we consider mathematical convergence studies against analytical solutions of the Stokes problem on the thick spherical shell. We then move to time-dependent community benchmarks including setups with compressible flow, temperature-dependent and nonlinear rheologies. This is a continuation of the work done in <xref ref-type="bibr" rid="bib1.bibx33" id="text.55"/> where several simple benchmark experiments had been conducted with <sc>HyTeG</sc>.</p>
<sec id="Ch1.S4.SS1">
  <label>4.1</label><title>Stationary benchmarks</title>
      <p id="d2e4598">A common approach to verify numerical algorithms and their implementation is based on the method of manufactured solutions <xref ref-type="bibr" rid="bib1.bibx53" id="paren.56"/>, which can be employed to check the order of convergence of the FE approximation to a known solution. However, this is typically restricted to comparatively simple setups and not actual application scenarios which usually involve complications such as e.g. discontinuities (or sharp variations) of material parameters. For incompressible Stokes flow on the annulus and spherical shell (semi-)analytical solutions were derived in e.g. <xref ref-type="bibr" rid="bib1.bibx7" id="text.57"/>, <xref ref-type="bibr" rid="bib1.bibx31" id="text.58"/> and <xref ref-type="bibr" rid="bib1.bibx42" id="text.59"/>. In a similar vein, solutions based on the propagator matrix method were used in <xref ref-type="bibr" rid="bib1.bibx65 bib1.bibx66" id="text.60"/>, <xref ref-type="bibr" rid="bib1.bibx15" id="text.61"/> and <xref ref-type="bibr" rid="bib1.bibx57" id="text.62"/> to benchmark mantle convection frameworks. In Sect. <xref ref-type="sec" rid="Ch1.S4.SS1.SSS1"/> we first study <sc>HyTeG</sc> subject to the setup from <xref ref-type="bibr" rid="bib1.bibx42" id="text.63"/>, where the authors derive solutions for cases where the forcing function is in the form of a spherical harmonic and the same imposed with a Dirac delta function. To keep the setup closer to geodynamic models similar to <xref ref-type="bibr" rid="bib1.bibx17" id="text.64"/> and <xref ref-type="bibr" rid="bib1.bibx10" id="text.65"/> (where Dirichlet boundary conditions are considered on the outer surface), the boundary conditions chosen here are of mixed type (noslip on the outer boundary, free-slip on the inner boundary). As a baseline to evaluate the <inline-formula><mml:math id="M160" display="inline"><mml:mi mathvariant="italic">δ</mml:mi></mml:math></inline-formula>-function case we consider the mixed case boundary condition setup with a smooth forcing function. In addition, we also show the order of convergence of the computed radial stress on the free-slip boundary with respect to the analytical solution for the smooth forcing, mixed boundary condition case. Here, we compare the accuracy of the radial stress computed with an <inline-formula><mml:math id="M161" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">L</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> projection of the gradient to the CBF method. We conclude this subsection by showing topography kernels computed at the surface and CMB for free-slip conditions. These kernels describe the response when placing a spherical density anomaly given by a specific spherical harmonic at various depths in the mantle. Next, in Sect. <xref ref-type="sec" rid="Ch1.S4.SS1.SSS2"/>, we demonstrate convergence for the pure free-slip case when using the penalty approach to treat rigid body modes proposed in Sect. <xref ref-type="sec" rid="Ch1.S3.SS4"/>. For this we consider again the smooth forcing function.</p>
<sec id="Ch1.S4.SS1.SSS1">
  <label>4.1.1</label><title>Smooth and <inline-formula><mml:math id="M162" display="inline"><mml:mi mathvariant="italic">δ</mml:mi></mml:math></inline-formula>-function forcing</title>
      <p id="d2e4675">Consider the incompressible, isoviscous Stokes system

                  <disp-formula specific-use="align" content-type="numbered"><mml:math id="M163" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E24"><mml:mtd><mml:mtext>24</mml:mtext></mml:mtd><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mo>-</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>⋅</mml:mo><mml:mfenced open="(" close=")"><mml:mrow><mml:mi mathvariant="normal">∇</mml:mi><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>+</mml:mo><mml:mo>(</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mi mathvariant="bold-italic">u</mml:mi><mml:msup><mml:mo>)</mml:mo><mml:mo>⊤</mml:mo></mml:msup></mml:mrow></mml:mfenced><mml:mo>+</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>p</mml:mi><mml:mo>=</mml:mo><mml:mi>f</mml:mi><mml:mi mathvariant="bold-italic">g</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E25"><mml:mtd><mml:mtext>25</mml:mtext></mml:mtd><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>⋅</mml:mo><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

            posed on a thick spherical shell with <inline-formula><mml:math id="M164" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">min</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1.22</mml:mn></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M165" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">max</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">2.22</mml:mn></mml:mrow></mml:math></inline-formula>. The radii are chosen such that we keep the aspect ratio of the domain close to that of Earth's mantle <inline-formula><mml:math id="M166" display="inline"><mml:mrow><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">min</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">max</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>≃</mml:mo><mml:mn mathvariant="normal">0.55</mml:mn></mml:mrow></mml:math></inline-formula> while having a unit thickness. We impose the no-slip conditions on the outer and free-slip on the inner boundary. The forcing functions <inline-formula><mml:math id="M167" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="italic">δ</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M168" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">smooth</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> are given by

              <disp-formula id="Ch1.E26" content-type="numbered"><label>26</label><mml:math id="M169" display="block"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">smooth</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msup><mml:mi>r</mml:mi><mml:mi>k</mml:mi></mml:msup></mml:mrow><mml:mrow><mml:msubsup><mml:mi>R</mml:mi><mml:mi mathvariant="normal">max</mml:mi><mml:mi>k</mml:mi></mml:msubsup></mml:mrow></mml:mfrac></mml:mstyle><mml:msub><mml:mi mathvariant="script">Y</mml:mi><mml:mrow><mml:mi mathvariant="normal">ℓ</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo>(</mml:mo><mml:mi mathvariant="italic">θ</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mspace width="0.25em" linebreak="nobreak"/><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="italic">δ</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mi mathvariant="italic">δ</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:mi>r</mml:mi><mml:mo>-</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:msub><mml:mi mathvariant="script">Y</mml:mi><mml:mrow><mml:mi mathvariant="normal">ℓ</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:mo>(</mml:mo><mml:mi mathvariant="italic">θ</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>

            where <inline-formula><mml:math id="M170" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">Y</mml:mi><mml:mrow><mml:mi mathvariant="normal">ℓ</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is the spherical harmonic function of order <inline-formula><mml:math id="M171" display="inline"><mml:mi mathvariant="normal">ℓ</mml:mi></mml:math></inline-formula> degree <inline-formula><mml:math id="M172" display="inline"><mml:mi>m</mml:mi></mml:math></inline-formula>, and <inline-formula><mml:math id="M173" display="inline"><mml:mrow><mml:mi mathvariant="italic">δ</mml:mi><mml:mo>(</mml:mo><mml:mo>⋅</mml:mo><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> denotes the Dirac delta function. The analytical solution for the <inline-formula><mml:math id="M174" display="inline"><mml:mi mathvariant="italic">δ</mml:mi></mml:math></inline-formula>-function case will be a radial function piecewise defined on the two branches <inline-formula><mml:math id="M175" display="inline"><mml:mrow><mml:mi>r</mml:mi><mml:mo>&lt;</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M176" display="inline"><mml:mrow><mml:mi>r</mml:mi><mml:mo>&gt;</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, whilst satisfying an appropriate interface condition. Based on <xref ref-type="bibr" rid="bib1.bibx42" id="text.66"/> we derived the analytical solution for the mixed boundary case in <xref ref-type="bibr" rid="bib1.bibx33" id="text.67"/> and found the expected convergence orders for a <inline-formula><mml:math id="M177" display="inline"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>–<inline-formula><mml:math id="M178" display="inline"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> pairing. Here we repeat this test using this time the FGMRES solver preconditioned with geometric multigrid described in Sect. <xref ref-type="sec" rid="Ch1.S3.SS3"/>. The coarse base mesh <inline-formula><mml:math id="M179" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> uses <inline-formula><mml:math id="M180" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">rad</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">tan</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mo>(</mml:mo><mml:mn mathvariant="normal">5</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> resulting in 486 nodes and 1920 tetrahedrons. Its radial layers are placed at the outer and inner surface and the middle one at <inline-formula><mml:math id="M181" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1.72</mml:mn></mml:mrow></mml:math></inline-formula>, where we center the <inline-formula><mml:math id="M182" display="inline"><mml:mi mathvariant="italic">δ</mml:mi></mml:math></inline-formula>-function.</p>

      <fig id="F1" specific-use="star"><label>Figure 1</label><caption><p id="d2e5103">Left panel: order of convergence of the <inline-formula><mml:math id="M183" display="inline"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>–<inline-formula><mml:math id="M184" display="inline"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> FE solution to analytical solution on the Spherical Shell with noslip condition on outer and free-slip on the inner surface (mixed case) under the <inline-formula><mml:math id="M185" display="inline"><mml:mi mathvariant="italic">δ</mml:mi></mml:math></inline-formula>-forcing (denoted by DF) function case and smooth-forcing (denoted by SF) function case for (<inline-formula><mml:math id="M186" display="inline"><mml:mrow><mml:mi mathvariant="normal">ℓ</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M187" display="inline"><mml:mrow><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula>, for SF case <inline-formula><mml:math id="M188" display="inline"><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula>); right panel: order of convergence of the <inline-formula><mml:math id="M189" display="inline"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>–<inline-formula><mml:math id="M190" display="inline"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> FE solution to analytical solution on the Spherical Shell with free-slip imposed on both surfaces under the smooth forcing case and tuned rotational mode penalty for (<inline-formula><mml:math id="M191" display="inline"><mml:mrow><mml:mi mathvariant="normal">ℓ</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M192" display="inline"><mml:mrow><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M193" display="inline"><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula>).</p></caption>
            <graphic xlink:href="https://gmd.copernicus.org/articles/19/1455/2026/gmd-19-1455-2026-f01.png"/>

          </fig>

      <p id="d2e5236">Exploiting the definition of the <inline-formula><mml:math id="M194" display="inline"><mml:mi mathvariant="italic">δ</mml:mi></mml:math></inline-formula>-function the volume integral on the RHS of the discrete weak form reduces to a surface integral over of spherical layer at the corresponding depth <inline-formula><mml:math id="M195" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>

              <disp-formula id="Ch1.E27" content-type="numbered"><label>27</label><mml:math id="M196" display="block"><mml:mrow><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:munder><mml:mi mathvariant="italic">δ</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:mi>r</mml:mi><mml:mo>-</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:msub><mml:mi mathvariant="script">Y</mml:mi><mml:mrow><mml:mi mathvariant="normal">ℓ</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mi mathvariant="bold-italic">g</mml:mi><mml:mi mathvariant="normal">d</mml:mi><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>=</mml:mo><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mrow><mml:msub><mml:mi mathvariant="normal">Γ</mml:mi><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:munder><mml:msub><mml:mi mathvariant="script">Y</mml:mi><mml:mrow><mml:mi mathvariant="normal">ℓ</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mi mathvariant="bold-italic">g</mml:mi><mml:mi mathvariant="normal">d</mml:mi><mml:mi mathvariant="normal">Γ</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>

            We study convergence going from <inline-formula><mml:math id="M197" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> (545 400 DoFs for velocity and pressure) up to <inline-formula><mml:math id="M198" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mn mathvariant="normal">4</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> (33 300 936 DoFs). The coarsest level for the multigrid solver is always set to <inline-formula><mml:math id="M199" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>. The <inline-formula><mml:math id="M200" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">L</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> error (<inline-formula><mml:math id="M201" display="inline"><mml:mi>e</mml:mi></mml:math></inline-formula>) on the domain <inline-formula><mml:math id="M202" display="inline"><mml:mi mathvariant="normal">Ω</mml:mi></mml:math></inline-formula> between the FE solution <inline-formula><mml:math id="M203" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mi>h</mml:mi><mml:mi mathvariant="normal">FE</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> and the analytical solution <inline-formula><mml:math id="M204" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mi>h</mml:mi><mml:mi mathvariant="normal">analytical</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> evaluated on the nodes of the FE mesh is computed as,

              <disp-formula id="Ch1.E28" content-type="numbered"><label>28</label><mml:math id="M205" display="block"><mml:mrow><mml:mi>e</mml:mi><mml:mo>=</mml:mo><mml:msqrt><mml:mrow><mml:mfenced open="(" close=")"><mml:mrow><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:munder><mml:mo>‖</mml:mo><mml:msubsup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mi>h</mml:mi><mml:mi mathvariant="normal">FE</mml:mi></mml:msubsup><mml:mo>-</mml:mo><mml:msubsup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mi>h</mml:mi><mml:mi mathvariant="normal">analytical</mml:mi></mml:msubsup><mml:msubsup><mml:mo>‖</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:msubsup><mml:mi mathvariant="normal">d</mml:mi><mml:mi mathvariant="normal">Ω</mml:mi></mml:mrow></mml:mfenced></mml:mrow></mml:msqrt><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>

            The behaviour of the error, shown in Fig. <xref ref-type="fig" rid="F1"/> (left panel), demonstrates that the FE solution converges to the actual analytical solution with <inline-formula><mml:math id="M206" display="inline"><mml:mrow><mml:mi mathvariant="script">O</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi>h</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> for velocity and <inline-formula><mml:math id="M207" display="inline"><mml:mrow><mml:mi mathvariant="script">O</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi>h</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> for pressure in the case of smooth forcing (denoted by SF). This is the theoretically expected order of convergence for a <inline-formula><mml:math id="M208" display="inline"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>–<inline-formula><mml:math id="M209" display="inline"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> Taylor Hood element. In addition, Fig. <xref ref-type="fig" rid="F1"/> (left panel) compares the errors in the radial stress computed on the inner free-slip boundary for the SF case, when using the <inline-formula><mml:math id="M210" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">L</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>-projection approach and the CBF method. Both achieve approximately a convergence order of <inline-formula><mml:math id="M211" display="inline"><mml:mrow><mml:mi mathvariant="script">O</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi>h</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>. However, the overall error with the CBF method is consistently lower showing its superiority.</p>
      <p id="d2e5563">In the <inline-formula><mml:math id="M212" display="inline"><mml:mi mathvariant="italic">δ</mml:mi></mml:math></inline-formula>-function forcing case (denoted by DF), convergence of both the velocity and pressure solution deteriorates to <inline-formula><mml:math id="M213" display="inline"><mml:mrow><mml:mi mathvariant="script">O</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi>h</mml:mi><mml:mn mathvariant="normal">1.5</mml:mn></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M214" display="inline"><mml:mrow><mml:mi mathvariant="script">O</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi>h</mml:mi><mml:mn mathvariant="normal">0.5</mml:mn></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> respectively, as can be seen from Fig. <xref ref-type="fig" rid="F1"/> (left panel). This is a known phenomenon, when considering the error over the complete domain, and can, supposedly, be attributed to the fact that, while the analytical pressure solution is discontinuous, we force it to be continuous by representing it as a <inline-formula><mml:math id="M215" display="inline"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> function. However, when only considering the error on the free-slip surface one observes an <inline-formula><mml:math id="M216" display="inline"><mml:mrow><mml:mi mathvariant="script">O</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi>h</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> convergence of velocity for <inline-formula><mml:math id="M217" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> in the interior. See <xref ref-type="bibr" rid="bib1.bibx42" id="text.68"/> for a more detailed discussion.</p>
      <p id="d2e5652">As a final result, we present in Fig. <xref ref-type="fig" rid="F2"/> dynamic topography kernels for the surface and CMB. These are the responses resulting from spherical density perturbations placed at varying depths in the mantle. These perturbations are modeled again by <inline-formula><mml:math id="M218" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="italic">δ</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> from Eq. (<xref ref-type="disp-formula" rid="Ch1.E26"/>). Radial stresses are computed from the resulting velocity field using the CBF method and are used to extract the spherical harmonic coefficient corresponding to the spherical harmonic (<inline-formula><mml:math id="M219" display="inline"><mml:mi mathvariant="normal">ℓ</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M220" display="inline"><mml:mi>m</mml:mi></mml:math></inline-formula>). Extracting this value for every depth, gives the surface and CMB kernel functions for that spherical harmonic (<inline-formula><mml:math id="M221" display="inline"><mml:mi mathvariant="normal">ℓ</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M222" display="inline"><mml:mi>m</mml:mi></mml:math></inline-formula>). These are plotted in Fig. <xref ref-type="fig" rid="F2"/>, where the kernel functions derived from the FE solution are overlaid with the ones derived from the analytical radial stresses on the same surface grid. The test uses the parameter set <inline-formula><mml:math id="M223" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mi mathvariant="normal">ℓ</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mo mathvariant="italic">{</mml:mo><mml:mo>(</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:mo>(</mml:mo><mml:mn mathvariant="normal">5</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">4</mml:mn><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:mo>(</mml:mo><mml:mn mathvariant="normal">8</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">4</mml:mn><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:mo>(</mml:mo><mml:mn mathvariant="normal">12</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">8</mml:mn><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:mo>(</mml:mo><mml:mn mathvariant="normal">15</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">8</mml:mn><mml:mo>)</mml:mo><mml:mo mathvariant="italic">}</mml:mo></mml:mrow></mml:math></inline-formula>, although the kernels are only dependent on the degree <inline-formula><mml:math id="M224" display="inline"><mml:mi mathvariant="normal">ℓ</mml:mi></mml:math></inline-formula> <xref ref-type="bibr" rid="bib1.bibx52" id="paren.69"/>. From the plots, we see excellent agreement in the values from spherical harmonic degrees <inline-formula><mml:math id="M225" display="inline"><mml:mrow><mml:mi mathvariant="normal">ℓ</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula> to <inline-formula><mml:math id="M226" display="inline"><mml:mrow><mml:mi mathvariant="normal">ℓ</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">15</mml:mn></mml:mrow></mml:math></inline-formula>.</p>

      <fig id="F2" specific-use="star"><label>Figure 2</label><caption><p id="d2e5820">Kernels for the response of the surface and CMB topography to a <inline-formula><mml:math id="M227" display="inline"><mml:mi mathvariant="italic">δ</mml:mi></mml:math></inline-formula>-function forcing of the specified spherical harmonic degree (<inline-formula><mml:math id="M228" display="inline"><mml:mi mathvariant="normal">ℓ</mml:mi></mml:math></inline-formula>) placed at various depths in the mantle; solid lines denote the analytical solution and the cross marks (x) denote the FE computed solution.</p></caption>
            <graphic xlink:href="https://gmd.copernicus.org/articles/19/1455/2026/gmd-19-1455-2026-f02.png"/>

          </fig>

</sec>
<sec id="Ch1.S4.SS1.SSS2">
  <label>4.1.2</label><title>Rotational mode penalty</title>
      <p id="d2e5851">In this part we focus on the convergence of the penalty approach described in Sect. <xref ref-type="sec" rid="Ch1.S3.SS4"/> for the case of free-slip boundary conditions imposed on both the inner and outer surface. For this we prescribe a smooth forcing function (Eq. <xref ref-type="disp-formula" rid="Ch1.E26"/>) for the Stokes system. We use the same domain configuration as in the previous section and also keep the multigrid preconditioned FGMRES solver. Again we study convergence going from <inline-formula><mml:math id="M229" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> up to <inline-formula><mml:math id="M230" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mn mathvariant="normal">4</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, while using <inline-formula><mml:math id="M231" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> as coarsest level for multigrid. The number of FGMRES iterations is kept the same at every refinement level <inline-formula><mml:math id="M232" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mi>l</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>.</p>
      <p id="d2e5903">In Fig. <xref ref-type="fig" rid="F1"/> (right panel) we give errors with respect to an analytic solution without rigid body modes in the velocity field. The results demonstrate that choosing appropriate values for the penalty parameter maintains the expected <inline-formula><mml:math id="M233" display="inline"><mml:mrow><mml:mi>O</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi>h</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M234" display="inline"><mml:mrow><mml:mi>O</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi>h</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> convergence for velocity and pressure, while taking care of the rigid body modes.</p>
      <p id="d2e5942">A theoretical study of the choice of penalty value is out of the scope of this contribution. Thus, the values for <inline-formula><mml:math id="M235" display="inline"><mml:mrow><mml:msub><mml:mi>c</mml:mi><mml:mi mathvariant="normal">rot</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> were tuned manually and set roughly to behave as <inline-formula><mml:math id="M236" display="inline"><mml:mrow><mml:mi>O</mml:mi><mml:mo>(</mml:mo><mml:mi>h</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>. Also to get this convergence behaviour, a different mesh configuration was chosen for <inline-formula><mml:math id="M237" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>. The precise values for both can be found in the Python notebooks, see <xref ref-type="bibr" rid="bib1.bibx32" id="text.70"/>.</p>
</sec>
</sec>
<sec id="Ch1.S4.SS2">
  <label>4.2</label><title>Geophysical benchmarks</title>
      <p id="d2e5994">In this section, we will consider numerical convection experiments that are commonly used in the geophysics community to benchmark mantle convection frameworks. We start in Sect. <xref ref-type="sec" rid="Ch1.S4.SS2.SSS1"/> with a compressible convection simulation using the TALA approximation on a unit square. We test the approximation techniques proposed in Sect. <xref ref-type="sec" rid="Ch1.S2.SS3.SSS1"/> and <xref ref-type="sec" rid="Ch1.S2.SS3.SSS2"/> and verify the resulting Nusselt number against other codes. Then in Sect. <xref ref-type="sec" rid="Ch1.S4.SS2.SSS2"/>, we perform the benchmark from <xref ref-type="bibr" rid="bib1.bibx60" id="text.71"/> which employs a viscoplastic rheology. Finally, in Sect. <xref ref-type="sec" rid="Ch1.S4.SS2.SSS3"/>, we consider the benchmark from <xref ref-type="bibr" rid="bib1.bibx51" id="text.72"/> and <xref ref-type="bibr" rid="bib1.bibx66" id="text.73"/> on the spherical shell and compare the radially averaged temperatures and Rayleigh number vs. Nusselt number trends reported in other works.</p>
<sec id="Ch1.S4.SS2.SSS1">
  <label>4.2.1</label><title>Compressible case</title>
      <p id="d2e6024">We consider the compressible Stokes equations (Eqs. <xref ref-type="disp-formula" rid="Ch1.E5"/> and <xref ref-type="disp-formula" rid="Ch1.E6"/>) coupled with the energy equation (Eq. <xref ref-type="disp-formula" rid="Ch1.E8"/>) on the unit square. The goal is to perform an experiment using our methodologies with the setup being identical to that in <xref ref-type="bibr" rid="bib1.bibx36" id="text.74"/> and compare the Nusselt numbers that we obtain on the top boundary. In the benchmark free-slip boundary conditions are imposed on all sides. In addition to diffusion and adiabatic heating/cooling in the energy equation (Eq. <xref ref-type="disp-formula" rid="Ch1.E8"/>), we also include the shear heating term. The experiment is started from an initial sinusoidal perturbation,

              <disp-formula id="Ch1.E29" content-type="numbered"><label>29</label><mml:math id="M238" display="block"><mml:mrow><mml:mi>T</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>-</mml:mo><mml:mi>y</mml:mi><mml:mo>)</mml:mo><mml:mo>+</mml:mo><mml:msub><mml:mi>A</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mi>cos⁡</mml:mi><mml:mi mathvariant="italic">π</mml:mi><mml:mi>x</mml:mi><mml:mi>sin⁡</mml:mi><mml:mi mathvariant="italic">π</mml:mi><mml:mi>y</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>

            with <inline-formula><mml:math id="M239" display="inline"><mml:mrow><mml:msub><mml:mi>A</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.1</mml:mn></mml:mrow></mml:math></inline-formula>, which then induces a single convection cell in the square.</p>

      <fig id="F3" specific-use="star"><label>Figure 3</label><caption><p id="d2e6113">Left panel: final temperature contours of the compressible benchmark on an unit square of the TALA case from <xref ref-type="bibr" rid="bib1.bibx36" id="text.75"/> presented in Sect. <xref ref-type="sec" rid="Ch1.S4.SS2.SSS1"/> with <inline-formula><mml:math id="M240" display="inline"><mml:mrow><mml:mi>R</mml:mi><mml:mi>a</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">5</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M241" display="inline"><mml:mrow><mml:mi>D</mml:mi><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.5</mml:mn></mml:mrow></mml:math></inline-formula>; right panel: comparison of Nusselt number values between the Frozen velocity approach (FV, see Sect. <xref ref-type="sec" rid="Ch1.S2.SS3.SSS1"/>) and including Frozen divergence approach (FD, see Sect. <xref ref-type="sec" rid="Ch1.S2.SS3.SSS2"/>) under the setup from Sect. <xref ref-type="sec" rid="Ch1.S4.SS2.SSS1"/> identical to the TALA case from <xref ref-type="bibr" rid="bib1.bibx36" id="text.76"/> at <inline-formula><mml:math id="M242" display="inline"><mml:mrow><mml:mi>R</mml:mi><mml:mi>a</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">5</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M243" display="inline"><mml:mrow><mml:mi>D</mml:mi><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.5</mml:mn></mml:mrow></mml:math></inline-formula>.</p></caption>
            <graphic xlink:href="https://gmd.copernicus.org/articles/19/1455/2026/gmd-19-1455-2026-f03.png"/>

          </fig>

      <p id="d2e6199">An isoviscous, compressible case with <inline-formula><mml:math id="M244" display="inline"><mml:mrow><mml:mover accent="true"><mml:mi mathvariant="italic">ρ</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo>=</mml:mo><mml:mi>exp⁡</mml:mi><mml:mo>[</mml:mo><mml:mi>D</mml:mi><mml:mi>i</mml:mi><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>-</mml:mo><mml:mi>y</mml:mi><mml:mo>)</mml:mo><mml:mo>]</mml:mo></mml:mrow></mml:math></inline-formula> is considered, where <inline-formula><mml:math id="M245" display="inline"><mml:mrow><mml:mi>D</mml:mi><mml:mi>i</mml:mi></mml:mrow></mml:math></inline-formula> is the dissipation number taken as <inline-formula><mml:math id="M246" display="inline"><mml:mrow><mml:mi>D</mml:mi><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.5</mml:mn></mml:mrow></mml:math></inline-formula>. The unit square mesh contains <inline-formula><mml:math id="M247" display="inline"><mml:mn mathvariant="normal">4</mml:mn></mml:math></inline-formula> subdivisions in the <inline-formula><mml:math id="M248" display="inline"><mml:mi>x</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M249" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula> direction generating a total of 32 triangles at the coarsest level <inline-formula><mml:math id="M250" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>. The triangles are refined to reach the operating mesh at level <inline-formula><mml:math id="M251" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula> denoted as <inline-formula><mml:math id="M252" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. To solve the linear system of equations the FGMRES solver with multigrid as preconditioner is used. The finest level for the multigrid is <inline-formula><mml:math id="M253" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and the coarsest level <inline-formula><mml:math id="M254" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>. Time-steps are calculated based on the CFL condition. At each time-step, 10 iterations are performed with the FGMRES solver, with two coupling Picard iterations between the Stokes and energy equation. The system (Eqs. <xref ref-type="disp-formula" rid="Ch1.E5"/>, <xref ref-type="disp-formula" rid="Ch1.E6"/> and <xref ref-type="disp-formula" rid="Ch1.E8"/>) is non-dimensionalised following <xref ref-type="bibr" rid="bib1.bibx36" id="text.77"/>, which introduces the Rayleigh and Dissipation number. The simulation is performed at Rayleigh number <inline-formula><mml:math id="M255" display="inline"><mml:mrow><mml:mi>R</mml:mi><mml:mi>a</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">5</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and run until the temperature reaches a steady state as seen in Fig. <xref ref-type="fig" rid="F3"/>. After this, the Nusselt number is computed on the top boundary and checked for convergence. The Nusselt number describes the ratio between heat transported by convection to heat transported purely by diffusion. Taking the pure diffusion solution as reference, <inline-formula><mml:math id="M256" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">ref</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, the Nusselt number can, thus, be computed for the final temperature solution <inline-formula><mml:math id="M257" display="inline"><mml:mi>T</mml:mi></mml:math></inline-formula> via

              <disp-formula id="Ch1.E30" content-type="numbered"><label>30</label><mml:math id="M258" display="block"><mml:mrow><mml:mi>N</mml:mi><mml:mi>u</mml:mi><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mi mathvariant="normal">Γ</mml:mi></mml:munder><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>T</mml:mi><mml:mo>⋅</mml:mo><mml:mover accent="true"><mml:mi mathvariant="bold">n</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mi mathvariant="normal">d</mml:mi><mml:mi mathvariant="normal">Γ</mml:mi></mml:mrow><mml:mrow><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mi mathvariant="normal">Γ</mml:mi></mml:munder><mml:mi mathvariant="normal">∇</mml:mi><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">ref</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mover accent="true"><mml:mi mathvariant="bold">n</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mi mathvariant="normal">d</mml:mi><mml:mi mathvariant="normal">Γ</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>

            We compare three different approaches for the compressible setting here. Using the full asymmetric Stokes system, employing the frozen velocity approach (from Sect. <xref ref-type="sec" rid="Ch1.S2.SS3.SSS1"/>) and additionally also the frozen divergence approach (from Sect. <xref ref-type="sec" rid="Ch1.S2.SS3.SSS2"/>). The corresponding Nusselt numbers are reported in Fig. <xref ref-type="fig" rid="F3"/> (right panel). From the figure we can see that all three approaches behave very similarly and converge to the same Nusselt number. Note that this final value is on the lower end of the Nusselt numbers reported in <xref ref-type="bibr" rid="bib1.bibx36" id="text.78"/> (<inline-formula><mml:math id="M259" display="inline"><mml:mrow><mml:mi>N</mml:mi><mml:mi>u</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">7.50</mml:mn></mml:mrow></mml:math></inline-formula>). Specifically this is the value for the CZ code, which also uses a semi-Lagrangian approach to treat advection. Hence, as our approach is also similar to this, the Nusselt numbers computed here are expected.</p>
      <p id="d2e6467">Note that the temparature gradient in Eq. (<xref ref-type="disp-formula" rid="Ch1.E30"/>) appears in the integrand. It can, thus, be evaluated and used locally, without resorting to the methods discussed in Sect. <xref ref-type="sec" rid="Ch1.S3.SS5"/>, as we have done here. For comparison, we also computed Nu for the asymmetric approach using the CBF method. As can be seen it approaches the same final value albeit from below.</p>
</sec>
<sec id="Ch1.S4.SS2.SSS2">
  <label>4.2.2</label><title>Nonlinear rheology</title>
      <p id="d2e6482">Although the rheology of the mantle is not completely known, it is clear that it exhibits a nonlinearity <xref ref-type="bibr" rid="bib1.bibx18" id="paren.79"/>. A simple example would be plate boundaries, where large stresses (which depend on the velocity <inline-formula><mml:math id="M260" display="inline"><mml:mi mathvariant="bold-italic">u</mml:mi></mml:math></inline-formula>) make the plates exhibit plastic behaviour. This decreases viscosities giving rise to weak zones at these locations. In this section, we conduct a plume rising experiment with a sinusoidal temperature perturbation (Eq. <xref ref-type="disp-formula" rid="Ch1.E29"/>) on the unit square with a nonlinear rheology. The setup is identical to case 4 from <xref ref-type="bibr" rid="bib1.bibx60" id="text.80"/>, where the viscosity is defined as

                  <disp-formula specific-use="align" content-type="numbered"><mml:math id="M261" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E31"><mml:mtd><mml:mtext>31</mml:mtext></mml:mtd><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mi mathvariant="italic">μ</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mfenced close=")" open="("><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">linear</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>+</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">nonlinear</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:mfenced><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E32"><mml:mtd><mml:mtext>32</mml:mtext></mml:mtd><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">linear</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mi>exp⁡</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mi>T</mml:mi></mml:msub><mml:mi>T</mml:mi><mml:mo>+</mml:mo><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mi>z</mml:mi></mml:msub><mml:mi>z</mml:mi></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E33"><mml:mtd><mml:mtext>33</mml:mtext></mml:mtd><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">nonlinear</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mi mathvariant="italic">μ</mml:mi><mml:mo>*</mml:mo></mml:msup><mml:mo>+</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi mathvariant="italic">σ</mml:mi><mml:mi>y</mml:mi></mml:msub></mml:mrow><mml:msqrt><mml:mrow><mml:mover accent="true"><mml:mi mathvariant="bold-italic">ϵ</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mo>:</mml:mo><mml:mover accent="true"><mml:mi mathvariant="bold-italic">ϵ</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover></mml:mrow></mml:msqrt></mml:mfrac></mml:mstyle><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

            Here <inline-formula><mml:math id="M262" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mi>T</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M263" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mi>z</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> are positive constants, and the constant <inline-formula><mml:math id="M264" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="italic">μ</mml:mi><mml:mo>*</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> models the effective viscosity in the nonlinear regime, which is active when the stresses exceed the yield stress <inline-formula><mml:math id="M265" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">σ</mml:mi><mml:mi>y</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. We treat the viscosities as a <inline-formula><mml:math id="M266" display="inline"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> FE function, i.e. constant per cell, and average them on coarser grids. The FGMRES solver with a multigrid preconditioner applied to the viscous <inline-formula><mml:math id="M267" display="inline"><mml:mi>A</mml:mi></mml:math></inline-formula>-Block is used with 10 FGMRES iterations per Stokes solve. We run the simulation until a single convection cell has stabilised in the domain. The dependence of viscosity on velocity makes the Stokes system nonlinear, which we handle by performing five Picard type iterations at every time-step. This number could be reduced, though, once the system starts to stabilise. The final viscosity contour in <inline-formula><mml:math id="M268" display="inline"><mml:mi>log⁡</mml:mi></mml:math></inline-formula> scale can be seen from Fig. <xref ref-type="fig" rid="F4"/> (left panel). If viscosity was only temperature-dependent (<inline-formula><mml:math id="M269" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">linear</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>), then it would consistently be large along the top and right boundary of the domain, where temperature is coldest. However, as we consider a pseudoplastic rheology, the viscosity is considerably smaller where stress is large. This is the case in the upper left and right boundary, where rising material hits the top or starts sinking down, but also at the lower part of the right boundary. Figure <xref ref-type="fig" rid="F4"/> (right panel) shows the resulting Nusselt number at the top boundary and how it behaves when we refine the mesh. For a high enough resolution the value falls inside the region reported for other codes in <xref ref-type="bibr" rid="bib1.bibx60" id="text.81"/> and <xref ref-type="bibr" rid="bib1.bibx20" id="text.82"/>.</p>

      <fig id="F4" specific-use="star"><label>Figure 4</label><caption><p id="d2e6728">Results for the setup described in Sect. <xref ref-type="sec" rid="Ch1.S4.SS2.SSS2"/> after reaching steady state: left panel: final viscosity contours showing formed weak zones; right panel: convergence of the Nusselt numbers computed on the top boundary with mesh refinement.</p></caption>
            <graphic xlink:href="https://gmd.copernicus.org/articles/19/1455/2026/gmd-19-1455-2026-f04.png"/>

          </fig>

</sec>
<sec id="Ch1.S4.SS2.SSS3">
  <label>4.2.3</label><title>Spherical shell</title>
      <p id="d2e6747">This section involves experiments on a thick spherical shell where an incompressible Stokes system with variable viscosity coupled to an energy equation is considered <xref ref-type="bibr" rid="bib1.bibx51 bib1.bibx66 bib1.bibx20 bib1.bibx23" id="paren.83"/>. The boundary conditions prescribed are of free-slip type on both inner and outer surface. The initial condition for the temperature field is a radially linear function with an added symmetrical perturbation according to a spherical harmonic function <inline-formula><mml:math id="M270" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">Y</mml:mi><mml:mrow><mml:mi>l</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. The benchmark consists in checking, if the spherical harmonic components of the resulting temperature field largely maintain the prescribed order and degree. The initial condition for the temperature field is given by

              <disp-formula id="Ch1.E34" content-type="numbered"><label>34</label><mml:math id="M271" display="block"><mml:mrow><mml:mi>T</mml:mi><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">ref</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:mi mathvariant="italic">ϵ</mml:mi><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">perturb</mml:mi></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>

            with <inline-formula><mml:math id="M272" display="inline"><mml:mrow><mml:mi mathvariant="italic">ϵ</mml:mi><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula>. <inline-formula><mml:math id="M273" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">ref</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is a reference profile which satisfies the steady diffusion equation. We consider two types perturbations <inline-formula><mml:math id="M274" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">perturb</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="script">Y</mml:mi><mml:mrow><mml:mi mathvariant="normal">ℓ</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>: a choice of degree <inline-formula><mml:math id="M275" display="inline"><mml:mrow><mml:mi mathvariant="normal">ℓ</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:math></inline-formula> and order <inline-formula><mml:math id="M276" display="inline"><mml:mrow><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula> results in a tetrahedral symmetry of plumes and downwellings, while a cubic symmetry is obtained for <inline-formula><mml:math id="M277" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">perturb</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="script">Y</mml:mi><mml:mn mathvariant="normal">40</mml:mn></mml:msub><mml:mo>+</mml:mo><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mn mathvariant="normal">5</mml:mn><mml:mn mathvariant="normal">7</mml:mn></mml:mfrac></mml:mstyle><mml:msub><mml:mi mathvariant="script">Y</mml:mi><mml:mn mathvariant="normal">44</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>. The prescribed viscosity variation is dependent on the evolving temperatures and is given by the following expression,

              <disp-formula id="Ch1.E35" content-type="numbered"><label>35</label><mml:math id="M278" display="block"><mml:mrow><mml:mi mathvariant="italic">μ</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="italic">μ</mml:mi></mml:msub><mml:mfenced close=")" open="("><mml:mrow><mml:mstyle scriptlevel="+1"><mml:mfrac><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:mo>-</mml:mo><mml:mi>T</mml:mi></mml:mrow></mml:mfenced></mml:mrow></mml:msup><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>

            where <inline-formula><mml:math id="M279" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="italic">μ</mml:mi></mml:msub><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M280" display="inline"><mml:mi>T</mml:mi></mml:math></inline-formula> is the non-dimensional temperature whose values lie between 0 and 1. By increasing the value of <inline-formula><mml:math id="M281" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="italic">μ</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, the viscosity contrast between the plumes and downwellings can be increased. By taking a pure diffusion solution as the reference, <inline-formula><mml:math id="M282" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">ref</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">min</mml:mi></mml:msub><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">max</mml:mi></mml:msub></mml:mrow><mml:mi>r</mml:mi></mml:mfrac></mml:mstyle><mml:mo>-</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">min</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, the Nusselt number can be computed with Eq. (<xref ref-type="disp-formula" rid="Ch1.E30"/>). Experiments are performed on a thick spherical shell with <inline-formula><mml:math id="M283" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">min</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1.22</mml:mn></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M284" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">max</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">2.22</mml:mn></mml:mrow></mml:math></inline-formula>, which has an aspect ratio of <inline-formula><mml:math id="M285" display="inline"><mml:mrow><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">min</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">max</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>≃</mml:mo><mml:mn mathvariant="normal">0.55</mml:mn></mml:mrow></mml:math></inline-formula>, which is similar to that of Earth's mantle, while keeping non-dimensionalised thickness of 1 <xref ref-type="bibr" rid="bib1.bibx51 bib1.bibx20" id="paren.84"/>.</p>
      <p id="d2e7066">The Stokes system is solved with the geometric multigrid preconditioned FGMRES solver described in Sect. <xref ref-type="sec" rid="Ch1.S3.SS3"/>. Simulations are started with 25 FGMRES steps for the first 25 time-steps. Afterwards the number of FGMRES iterations is reduced to between 5 and 15 depending on the magnitude of viscosity contrasts (15 when <inline-formula><mml:math id="M286" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="italic">μ</mml:mi></mml:msub><mml:mo>&gt;</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>). On each multigrid level three pre- and postsmoothing steps with a 3rd order Chebyshev smoother are applied. MINRES is used as the coarse grid solver. The coarsest level (<inline-formula><mml:math id="M287" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>) of the multigrid solver corresponds to a resolution of <inline-formula><mml:math id="M288" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>n</mml:mi><mml:mi>tan⁡</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">rad</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mo>(</mml:mo><mml:mn mathvariant="normal">9</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">5</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> and the finest level (<inline-formula><mml:math id="M289" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mn mathvariant="normal">4</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>) to (33, 17). For comparison to other published results, we consider the scenarios A3, C1, and C3 from <xref ref-type="bibr" rid="bib1.bibx66" id="text.85"/>, also presented in <xref ref-type="bibr" rid="bib1.bibx23" id="text.86"/>, for which the respective values used can be seen from Table <xref ref-type="table" rid="T1"/>. We then also simulate the A7 case from <xref ref-type="bibr" rid="bib1.bibx66" id="text.87"/> to assess the regime switching point.</p>
      <p id="d2e7157">In addition, we perform multiple simulations and plot the variation of the Nusselt number with respect to the Rayleigh number as was done in <xref ref-type="bibr" rid="bib1.bibx51" id="text.88"/>.</p>

      <fig id="F5" specific-use="star"><label>Figure 5</label><caption><p id="d2e7166">Left panel: temperature isosurfaces at <inline-formula><mml:math id="M290" display="inline"><mml:mrow><mml:mi>T</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.5</mml:mn></mml:mrow></mml:math></inline-formula> for the A3 case coloured with non-dimensional velocity magnitudes; right panel: temperature isosurfaces at <inline-formula><mml:math id="M291" display="inline"><mml:mrow><mml:mi>T</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.5</mml:mn></mml:mrow></mml:math></inline-formula> for the C3 case coloured with non-dimensional velocity magnitudes.</p></caption>
            <graphic xlink:href="https://gmd.copernicus.org/articles/19/1455/2026/gmd-19-1455-2026-f05.png"/>

          </fig>

      <fig id="F6" specific-use="star"><label>Figure 6</label><caption><p id="d2e7201">Radially averaged temperature values <inline-formula><mml:math id="M292" display="inline"><mml:mover accent="true"><mml:mi>T</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover></mml:math></inline-formula> (left panel) and radially averaged velocity RMS values <inline-formula><mml:math id="M293" display="inline"><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mi mathvariant="normal">rms</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (right panel) for the A3 case from <xref ref-type="bibr" rid="bib1.bibx66" id="text.89"/>; we compare the results published in <xref ref-type="bibr" rid="bib1.bibx23" id="text.90"/> (solid line) with results computed in our setup.</p></caption>
            <graphic xlink:href="https://gmd.copernicus.org/articles/19/1455/2026/gmd-19-1455-2026-f06.png"/>

          </fig>

      <fig id="F7" specific-use="star"><label>Figure 7</label><caption><p id="d2e7239">Radially averaged temperature values <inline-formula><mml:math id="M294" display="inline"><mml:mover accent="true"><mml:mi>T</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover></mml:math></inline-formula> (left panel) and radially averaged velocity RMS values <inline-formula><mml:math id="M295" display="inline"><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mi mathvariant="normal">rms</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (right panel) for the C1 and C3 cases from <xref ref-type="bibr" rid="bib1.bibx66" id="text.91"/>; we compare the results published in <xref ref-type="bibr" rid="bib1.bibx23" id="text.92"/> (solid lines) with results computed in our setup.</p></caption>
            <graphic xlink:href="https://gmd.copernicus.org/articles/19/1455/2026/gmd-19-1455-2026-f07.png"/>

          </fig>

      <fig id="F8" specific-use="star"><label>Figure 8</label><caption><p id="d2e7277">Left panel: temperature isosurfaces at <inline-formula><mml:math id="M296" display="inline"><mml:mrow><mml:mi>T</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.8</mml:mn></mml:mrow></mml:math></inline-formula> (red), <inline-formula><mml:math id="M297" display="inline"><mml:mrow><mml:mi>T</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.5</mml:mn></mml:mrow></mml:math></inline-formula> (light red) and <inline-formula><mml:math id="M298" display="inline"><mml:mrow><mml:mi>T</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">6</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> (blue) for the A7 case from <xref ref-type="bibr" rid="bib1.bibx66" id="text.93"/>; right panel: variation of <inline-formula><mml:math id="M299" display="inline"><mml:mrow><mml:mi>N</mml:mi><mml:mi>u</mml:mi></mml:mrow></mml:math></inline-formula> vs. (<inline-formula><mml:math id="M300" display="inline"><mml:mrow><mml:mi>R</mml:mi><mml:mi>a</mml:mi><mml:mo>/</mml:mo><mml:mi>R</mml:mi><mml:msub><mml:mi>a</mml:mi><mml:mi mathvariant="normal">crit</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) for the cubic symmetry case; each data point denotes a simulation run where <inline-formula><mml:math id="M301" display="inline"><mml:mrow><mml:mi>R</mml:mi><mml:msub><mml:mi>a</mml:mi><mml:mi mathvariant="normal">crit</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is computed depending on the <inline-formula><mml:math id="M302" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="italic">μ</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> value for a given spherical harmonic perturbation, with the best fit exponent plotted side by side <inline-formula><mml:math id="M303" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mi>R</mml:mi><mml:mi>a</mml:mi><mml:mo>/</mml:mo><mml:mi>R</mml:mi><mml:msub><mml:mi>a</mml:mi><mml:mi mathvariant="normal">crit</mml:mi></mml:msub><mml:msup><mml:mo>)</mml:mo><mml:mn mathvariant="normal">0.31</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>.</p></caption>
            <graphic xlink:href="https://gmd.copernicus.org/articles/19/1455/2026/gmd-19-1455-2026-f08.png"/>

          </fig>

      <p id="d2e7412">All simulations are run until the system reaches a statistical steady state i.e. the radially averaged temperatures and the Nusselt numbers converge to a certain value. A CFL condition threshold (see Eq. <xref ref-type="disp-formula" rid="Ch1.E13"/>) of <inline-formula><mml:math id="M304" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mi mathvariant="normal">CFL</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1.2</mml:mn></mml:mrow></mml:math></inline-formula> is used, which we gradually increased to <inline-formula><mml:math id="M305" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mi mathvariant="normal">CFL</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1.5</mml:mn></mml:mrow></mml:math></inline-formula> when we approach the steady state. The resulting temperature isosurfaces at <inline-formula><mml:math id="M306" display="inline"><mml:mrow><mml:mi>T</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.5</mml:mn></mml:mrow></mml:math></inline-formula> coloured by the magnitude of velocity are given in Fig. <xref ref-type="fig" rid="F5"/> for the A3 and C3 case. The radially averaged temperatures and velocity RMS values from the final time-step are plotted for our simulations in combination with the data presented in <xref ref-type="bibr" rid="bib1.bibx23" id="text.94"/> for the A3 case in Fig. <xref ref-type="fig" rid="F6"/> and the C1 and C3 case in Fig. <xref ref-type="fig" rid="F7"/>. The corresponding Nusselt numbers are presented in Table <xref ref-type="table" rid="T1"/>. The radius values from <xref ref-type="bibr" rid="bib1.bibx23" id="text.95"/> are scaled <inline-formula><mml:math id="M307" display="inline"><mml:mrow><mml:mfenced open="(" close=")"><mml:mrow><mml:mo>×</mml:mo><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">0.45</mml:mn></mml:mfrac></mml:mstyle></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula> for comparison with the results computed here as the mantle thickness is different in both setups, although they are comparable since the aspect ratio of the domain is the same in both setups. As can be seen from the figures, the results obtained with our framework agree well with those presented in <xref ref-type="bibr" rid="bib1.bibx23" id="text.96"/> for ASPECT and CitComS.</p>
      <p id="d2e7494">Results for scenario A7 are given in the left of Fig. <xref ref-type="fig" rid="F8"/>. Here one keeps the Rayleigh number at <inline-formula><mml:math id="M308" display="inline"><mml:mrow><mml:mi>R</mml:mi><mml:mi>a</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">7</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, but increases <inline-formula><mml:math id="M309" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="italic">μ</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> to 10<sup>5</sup>. This takes us past the transition point from a steady state regime to a stagnant lid regime. The viscosity contrast is now so high that viscosity increases drastically towards the outer surface preventing the development of downwellings there. Also, plumes are restricted to the lower region near the inner surface.</p>
      <p id="d2e7540">Next we consider multiple cases with different Rayleigh numbers and <inline-formula><mml:math id="M311" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="italic">μ</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> values to analyse the variation of the achieved Nusselt number with respect to Rayleigh numbers. For a given <inline-formula><mml:math id="M312" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="italic">μ</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> value and a given degree <inline-formula><mml:math id="M313" display="inline"><mml:mi mathvariant="normal">ℓ</mml:mi></mml:math></inline-formula> of spherical harmonic perturbation <inline-formula><mml:math id="M314" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">perturb</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="script">Y</mml:mi><mml:mrow><mml:mi mathvariant="normal">ℓ</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, there exists a specific value <inline-formula><mml:math id="M315" display="inline"><mml:mrow><mml:mi>R</mml:mi><mml:msub><mml:mi>a</mml:mi><mml:mi mathvariant="normal">crit</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, that indicates the onset of convection, see the stability analysis in <xref ref-type="bibr" rid="bib1.bibx63" id="text.97"/>. Specifically we consider all combinations of Rayleigh numbers <inline-formula><mml:math id="M316" display="inline"><mml:mrow><mml:mi>R</mml:mi><mml:mi>a</mml:mi><mml:mo>∈</mml:mo><mml:mo mathvariant="italic">{</mml:mo><mml:mn mathvariant="normal">7</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">4</mml:mn></mml:msup><mml:mo>,</mml:mo><mml:mn mathvariant="normal">4</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">4</mml:mn></mml:msup><mml:mo>,</mml:mo><mml:mn mathvariant="normal">6</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">4</mml:mn></mml:msup><mml:mo mathvariant="italic">}</mml:mo></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M317" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="italic">μ</mml:mi></mml:msub><mml:mo>∈</mml:mo><mml:mo mathvariant="italic">{</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">10</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">20</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">40</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">100</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">500</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">700</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1000</mml:mn><mml:mo mathvariant="italic">}</mml:mo></mml:mrow></mml:math></inline-formula> for the case of the perturbation with cubic symmetry (giving us degree <inline-formula><mml:math id="M318" display="inline"><mml:mrow><mml:mi mathvariant="normal">ℓ</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">4</mml:mn></mml:mrow></mml:math></inline-formula>). The choice of values is motivated by <xref ref-type="bibr" rid="bib1.bibx51" id="text.98"/>. For each combination we perform one simulation run with a CFL threshold of 1.2 and compute the Nusselt number at the end of the simulation. These are then plotted in Fig. <xref ref-type="fig" rid="F8"/> (right panel) versus <inline-formula><mml:math id="M319" display="inline"><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mi>R</mml:mi><mml:mi>a</mml:mi></mml:mrow><mml:mrow><mml:mi>R</mml:mi><mml:msub><mml:mi>a</mml:mi><mml:mi mathvariant="normal">crit</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle></mml:math></inline-formula>, where the critical Rayleigh number was taken from <xref ref-type="bibr" rid="bib1.bibx63" id="text.99"/>. As can be seen, a power law exponent of 0.31 fits the Nusselt number data well, which is in accordance with earlier studies <xref ref-type="bibr" rid="bib1.bibx35" id="paren.100"/>. Although these experiments are a challenging test to the framework, we see that the benchmarks only compare the steady state result reached at the end of the simulation, while there is nothing that can be said about how the Stokes and Energy solver gets there. As the result is only verified at the end of the time evolution, the temperature and velocity patterns through which the solvers reach the solution can be different.</p>
</sec>
</sec>
</sec>
<sec id="Ch1.S5">
  <label>5</label><title>Scalability of the framework</title>
      <p id="d2e7772">Development of the <sc>HyTeG</sc> framework is performed with a focus on HPC applications at the extreme scale. Thus, scalability studies have already been presented, e.g. in <xref ref-type="bibr" rid="bib1.bibx38" id="text.101"/> and <xref ref-type="bibr" rid="bib1.bibx8" id="text.102"/>. These were, however, either limited to simple (isoviscous) Stokes problems or other operators such as curl-curl.</p>
      <p id="d2e7784">In order to highlight the capabilities of our state-of-the-art framework when running high-resolution global-scale mantle convection models, we consider in this section its scaling behaviour for a realistic model with varying viscosity and mixed boundary conditions posed on a thick spherical shell. Since the major chunk of the computational effort goes into solving the Stokes system, Eqs. (<xref ref-type="disp-formula" rid="Ch1.E5"/>) and (<xref ref-type="disp-formula" rid="Ch1.E6"/>), we focus on the latter for our experiments.</p>

      <fig id="F9" specific-use="star"><label>Figure 9</label><caption><p id="d2e7794">Left panel: weak scaling at <inline-formula><mml:math id="M320" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mn mathvariant="normal">6</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> for an identical setup with and without vectorization using the code generated from the <sc>HOG</sc> generator, right panel: weak scaling behaviour on the Hawk supercomputer at HLRS (66th on Top500 as of November 2024) up to 512 nodes; <inline-formula><mml:math id="M321" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mn mathvariant="normal">4</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M322" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mn mathvariant="normal">5</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M323" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mn mathvariant="normal">6</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> or <inline-formula><mml:math id="M324" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mn mathvariant="normal">7</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> gives the highest refinement level when simulating the variable viscosity Stokes system; the postfix-R2 indicates a weak scaling test with peak number of unknowns being 10<sup>11</sup> (but a restart of FGMRES after already two steps due to memory limitations).</p></caption>
        <graphic xlink:href="https://gmd.copernicus.org/articles/19/1455/2026/gmd-19-1455-2026-f09.png"/>

      </fig>

      <p id="d2e7872">As before we again use block preconditioned FGMRES with geometric multigrid for the <inline-formula><mml:math id="M326" display="inline"><mml:mi>A</mml:mi></mml:math></inline-formula>-block as solver, see Sect. <xref ref-type="sec" rid="Ch1.S3.SS3"/>. Experiments were performed on the Hawk supercomputer at HLRS (66th on the Top500 list as of November 2024). We demonstrate scalability with up to approximately 10<sup>11</sup> DoFs on 15 360 cores. The timings reported are for 5 FGMRES steps with a restart at every 3 steps and 1 pre- and post-smoothing iteration each per level in the multigrid solver. For a single weak scaling test, we fix the number of coarse mesh elements to 1 per MPI process and refine it several times as outlined in Sect. <xref ref-type="sec" rid="Ch1.S2.SS1"/>. Keeping the maximal refinement level fixed, while increasing the number of processes, then maintains the number of DoFs per process. We perform multiple weak scaling tests at different refinement levels <inline-formula><mml:math id="M328" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>.</p>
      <p id="d2e7906">We first present in Fig. <xref ref-type="fig" rid="F9"/> (left panel) a comparison between the runtime of the application compiled once with and once without vectorization. As can be seen from the plot, we achieve nearly a 4x improvement with the <sc>HOG</sc>-generated kernels supporting AVX extensions <xref ref-type="bibr" rid="bib1.bibx8" id="paren.103"/>, and the following results also use this optimisation.</p>
      <p id="d2e7917">In the runtimes reported in Fig. <xref ref-type="fig" rid="F9"/> (right panel), we consider multiple weak scaling cases. Each line indicates a single weak scaling test and the <inline-formula><mml:math id="M329" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> next to the line denotes the highest level (<inline-formula><mml:math id="M330" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula>) of refinement the corresponding test was performed at. From the plots, we see that the framework scales extremely well for up to 61 440 MPI processes. The slightly reduced runtime for the <inline-formula><mml:math id="M331" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mn mathvariant="normal">6</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> case in the right figure stems from a technical change with respect to the implementation of the treatment of free-slip boundary conditions, see Sect. <xref ref-type="sec" rid="Ch1.S2.SS1"/>. This change applies to all our weak scaling runs. These also used a representation of viscosity as <inline-formula><mml:math id="M332" display="inline"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> function. This, however, had no significant influence on the runtime behaviour.</p>
      <p id="d2e7965">To further test the capabilities of TerraNeo we increased the number of DoFs to about 10<sup>11</sup> and simulated a variable viscosity Stokes system on 15 360 cores. Due to memory limitations we needed to adjust the solver setup and restarted FMGRES already after 2 steps. The results are marked by -R2 in Fig. <xref ref-type="fig" rid="F9"/> and demonstrate that the code can also handle a system of this size.</p>
      <p id="d2e7983">With respect to the strong scaling behaviour of the framework, we highlight in Fig. <xref ref-type="fig" rid="F9"/> (right) three runs using the same problem size, i.e. <inline-formula><mml:math id="M334" display="inline"><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">9</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> DoFs, but different number of MPI processes and, thus, also different refinement levels. The system when solved at <inline-formula><mml:math id="M335" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mn mathvariant="normal">7</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> on 2 nodes takes about 500 s, while it can be brought down to <inline-formula><mml:math id="M336" display="inline"><mml:mrow><mml:mo>≃</mml:mo><mml:mn mathvariant="normal">20</mml:mn></mml:mrow></mml:math></inline-formula> se on 128 nodes at refinement level <inline-formula><mml:math id="M337" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mn mathvariant="normal">5</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>. These results clearly show that the framework is scalable and suitable for handling globally resolved mantle convection models.</p>
      <p id="d2e8035">An important point to note is that, these tests only assess the Stokes solver for the scalability of its implementation in <sc>HyTeG</sc> and not on its solvability to achieve a specific residual reduction.</p>
</sec>
<sec id="Ch1.S6" sec-type="conclusions">
  <label>6</label><title>Conclusions</title>
      <p id="d2e8049">In this paper, we presented a comprehensive evaluation of the <sc>HyTeG</sc> Finite Element framework when applied to problems from computational geodynamics. We assessed the key components required for large-scale mantle convection simulations, including the multigrid-based linear solver for the Stokes system and a semi-Lagrangian advection scheme, through a series of targeted tests and geophysical benchmarks.</p>
      <p id="d2e8055">We verified the expected convergence rates of the Finite Element solutions against analytical results for Stokes flow with Dirac-delta-type forcing, demonstrating the robustness of the implemented multigrid solver. We also proposed and validated a novel methodology to eliminate rigid body modes in the thick spherical shell geometry with tangential stress-free, no-normal-flow boundary conditions.</p>
      <p id="d2e8058">We conducted benchmark simulations representative of realistic geodynamic scenarios, including compressible flows and nonlinear, temperature-dependent rheologies. These experiments spanned from unit square domains to thick spherical shells and confirmed the physical fidelity and numerical stability of the proposed methods.</p>
      <p id="d2e8061">Scalability studies on the Hawk supercomputer (ranked 66th on the Top500 list as of November 2024) showed that our implementation is capable of handling up to 10<sup>11</sup> degrees of freedom in the Stokes system. While the FGMRES solver exhibits robustness under large viscosity contrasts, the convergence is hindered by inadequate coarse-grid approximations in the geometric multigrid preconditioner. Addressing this bottleneck is an ongoing area of research, with continued exploration of techniques for improved coarse-level correction.</p>
      <p id="d2e8074">Overall, our results demonstrate that <sc>HyTeG</sc> is a highly scalable and capable framework for finely resolved mantle convection simulations. Future work will focus on further optimizing multigrid performance and exploring advanced solver strategies to fully exploit the potential of matrix-free methods at extreme scales.</p>
</sec>

      
      </body>
    <back><notes notes-type="codedataavailability"><title>Code and data availability</title>

      <p id="d2e8084">The software used in the experiments is available on Zenodo: <ext-link xlink:href="https://doi.org/10.5281/zenodo.17341565" ext-link-type="DOI">10.5281/zenodo.17341565</ext-link> <xref ref-type="bibr" rid="bib1.bibx32" id="paren.104"/>, while the resulting data will be made accessible through the Leibniz Supercomputing Center (LRZ): <ext-link xlink:href="https://doi.org/10.25927/zvnf9-cvc38" ext-link-type="DOI">10.25927/zvnf9-cvc38</ext-link> <xref ref-type="bibr" rid="bib1.bibx34" id="paren.105"/>.</p>
  </notes><notes notes-type="authorcontribution"><title>Author contributions</title>

      <p id="d2e8102">PI: implementation, execution and analysis of the benchmarks, writing and editing of draft; NK: supervision, reviewing and editing of draft, acquisition of compute time; MM: supervision, reviewing and editing of draft, acquisition of compute time and funding.</p>
  </notes><notes notes-type="competinginterests"><title>Competing interests</title>

      <p id="d2e8108">The contact author has declared that none of the authors has any competing interests.</p>
  </notes><notes notes-type="disclaimer"><title>Disclaimer</title>

      <p id="d2e8114">Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims made in the text, published maps, institutional affiliations, or any other geographical representation in this paper. The authors bear the ultimate responsibility for providing appropriate place names. Views expressed in the text are those of the authors and do not necessarily reflect the views of the publisher.</p>
  </notes><ack><title>Acknowledgements</title><p id="d2e8120">Computing resources were provided by the Institute of Geophysics of LMU Munich, <xref ref-type="bibr" rid="bib1.bibx50" id="text.106"/>, funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) – 495931446 and 518204048 and the Höchstleistungrechenzentrum Stuttgart (HLRS). The authors gratefully acknowledge the Gauss Centre for Supercomputing e.V. (<uri>https://www.gauss-centre.eu/</uri>, last access: 27 January 2026) for funding this project by providing computing time on the GCS Supercomputer SuperMUC-NG at Leibniz Supercomputing Centre (<uri>https://www.lrz.de/</uri>, last access: 27 January 2026). Furthermore the authors wish to thank all their previous and current collaborators from the <sc>HyTeG</sc> team.</p></ack><notes notes-type="financialsupport"><title>Financial support</title>

      <p id="d2e8137">This work was supported by the German Federal Ministry of Research, Technology and Space (BMFTR) as part of its initiative “SCALEXA – New Methods and Technologies for Exascale Computing” (project 16ME0649 – CoMPS).</p>
  </notes><notes notes-type="reviewstatement"><title>Review statement</title>

      <p id="d2e8143">This paper was edited by Boris Kaus and reviewed by Shijie Zhong and G. Stadler.</p>
  </notes><ref-list>
    <title>References</title>

      <ref id="bib1.bibx1"><label>Bangerth et al.(2023)Bangerth, Dannberg, Fraters, Gassmoeller, Glerum, Heister, Myhill, and Naliboff</label><mixed-citation>Bangerth, W., Dannberg, J., Fraters, M., Gassmoeller, R., Glerum, A., Heister, T., Myhill, R., and Naliboff, J.: geodynamics/aspect: ASPECT 2.5.0, Zenodo [code], <ext-link xlink:href="https://doi.org/10.5281/ZENODO.8200213" ext-link-type="DOI">10.5281/ZENODO.8200213</ext-link>, 2023.</mixed-citation></ref>
      <ref id="bib1.bibx2"><label>Bauer et al.(2017)Bauer, Mohr, Rüde, Weismüller, Wittmann, and Wohlmuth</label><mixed-citation>Bauer, S., Mohr, M., Rüde, U., Weismüller, J., Wittmann, M., and Wohlmuth, B.: A two-scale approach for efficient on-the-fly operator assembly in massively parallel high performance multigrid codes, Appl. Numer. Math., 122, 14–38, <ext-link xlink:href="https://doi.org/10.1016/j.apnum.2017.07.006" ext-link-type="DOI">10.1016/j.apnum.2017.07.006</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bibx3"><label>Bauer et al.(2020)Bauer, Bunge, Drzisga, Ghelichkhan, Huber, Kohl, Mohr, Rüde, Thönnes, and Wohlmuth</label><mixed-citation>Bauer, S., Bunge, H.-P., Drzisga, D., Ghelichkhan, S., Huber, M., Kohl, N., Mohr, M., Rüde, U., Thönnes, D., and Wohlmuth, B.: TerraNeo–Mantle Convection Beyond a Trillion Degrees of Freedom, Springer International Publishing, 569–610, ISBN 9783030479565, <ext-link xlink:href="https://doi.org/10.1007/978-3-030-47956-5_19" ext-link-type="DOI">10.1007/978-3-030-47956-5_19</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bibx4"><label>Baumgardner(1985)</label><mixed-citation> Baumgardner, J.: Three-dimensional treatment of convective flow in the earth's mantle, J. Stat. Phys., 39, 501–511, 1985.</mixed-citation></ref>
      <ref id="bib1.bibx5"><label>Baumgardner and Frederickson(1985)</label><mixed-citation>Baumgardner, J. R. and Frederickson, P. O.: Icosahedral discretization of the two-sphere, SIAM J. Numer. Anal., 22, 1107–1115, <ext-link xlink:href="https://doi.org/10.1137/0722066" ext-link-type="DOI">10.1137/0722066</ext-link>, 1985.</mixed-citation></ref>
      <ref id="bib1.bibx6"><label>Blankenbach et al.(1989)</label><mixed-citation>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, <ext-link xlink:href="https://doi.org/10.1111/j.1365-246X.1989.tb05511.x" ext-link-type="DOI">10.1111/j.1365-246X.1989.tb05511.x</ext-link>, 1989.</mixed-citation></ref>
      <ref id="bib1.bibx7"><label>Blinova et al.(2016)Blinova, Makeev, and Popov</label><mixed-citation> Blinova, I., Makeev, I., and Popov, I.: Benchmark Solutions for Stokes Flows in Cylindrical and Spherical Geometry, Bull. Transilvania U. Braşov, 9, 11–16, 2016.</mixed-citation></ref>
      <ref id="bib1.bibx8"><label>Böhm et al.(2025)Böhm, Bauer, Kohl, Alappat, Thönnes, Mohr, Köstler, and Rüde</label><mixed-citation>Böhm, F., Bauer, D., Kohl, N., Alappat, C. L., Thönnes, D., Mohr, M., Köstler, H., and Rüde, U.: Code Generation and Performance Engineering for Matrix-Free Finite Element Methods on Hybrid Tetrahedral Grids, SIAM J. Sci. Comput., 47, B131–B159, <ext-link xlink:href="https://doi.org/10.1137/24M1653756" ext-link-type="DOI">10.1137/24M1653756</ext-link>, 2025. </mixed-citation></ref>
      <ref id="bib1.bibx9"><label>Boussinesq(1903)</label><mixed-citation>Boussinesq, J.: Theorie analytique de la chaleur vol. 2, Gauthier-Villars, Paris, <uri>https://archive.org/details/thorieanalytiqu00bousgoog</uri> (last access: 27 January 2026), 1903.</mixed-citation></ref>
      <ref id="bib1.bibx10"><label>Brown et al.(2022)Brown, Colli, and Bunge</label><mixed-citation>Brown, H., Colli, L., and Bunge, H.-P.: Asthenospheric flow through the Izanagi-Pacific slab window and its influence on dynamic topography and intraplate volcanism in East Asia, Front. Earth Sci., 10, <ext-link xlink:href="https://doi.org/10.3389/feart.2022.889907" ext-link-type="DOI">10.3389/feart.2022.889907</ext-link>, 2022.</mixed-citation></ref>
      <ref id="bib1.bibx11"><label>Brown(2010)</label><mixed-citation>Brown, J.: Efficient Nonlinear Solvers for Nodal High-Order Finite Elements in 3D, J. Sci. Comput., 45, 48–63, <ext-link xlink:href="https://doi.org/10.1007/s10915-010-9396-8" ext-link-type="DOI">10.1007/s10915-010-9396-8</ext-link>, 2010.</mixed-citation></ref>
      <ref id="bib1.bibx12"><label>Bunge and Baumgardner(1995)</label><mixed-citation>Bunge, H.-P. and Baumgardner, J. R.: Mantle convection modeling on parallel virtual machines, Comput. Phys., 9, 207–215, <ext-link xlink:href="https://doi.org/10.1063/1.168525" ext-link-type="DOI">10.1063/1.168525</ext-link>, 1995.</mixed-citation></ref>
      <ref id="bib1.bibx13"><label>Burkhart et al.(2026)Burkhart, Kohl, Wohlmuth, and Zawallich</label><mixed-citation>Burkhart, A., Kohl, N., Wohlmuth, B., and Zawallich, J.: A robust matrix-free approach for large-scale non-isothermal high-contrast viscosity Stokes flow on blended domains with applications to geophysics, GEM – Int. J. Geomath., 17, <ext-link xlink:href="https://doi.org/10.1007/s13137-025-00280-5" ext-link-type="DOI">10.1007/s13137-025-00280-5</ext-link>, 2026.</mixed-citation></ref>
      <ref id="bib1.bibx14"><label>Burstedde et al.(2013)Burstedde, Stadler, Alisic, Wilcox, Tan, Gurnis, and Ghattas</label><mixed-citation>Burstedde, C., Stadler, G., Alisic, L., Wilcox, L. C., Tan, E., Gurnis, M., and Ghattas, O.: Large-scale adaptive mantle convection simulation, Geophys. J. Int., 192, 889–906, <ext-link xlink:href="https://doi.org/10.1093/gji/ggs070" ext-link-type="DOI">10.1093/gji/ggs070</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx15"><label>Choblet et al.(2007)Choblet, adek, Couturier, and Dumoulin</label><mixed-citation>Choblet, G., Čadek, O., Couturier, F., and Dumoulin, C.: ŒDIPUS: a new tool to study the dynamics of planetary interiors, Geophys. J. Int., 170, 9–30, <ext-link xlink:href="https://doi.org/10.1111/j.1365-246x.2007.03419.x" ext-link-type="DOI">10.1111/j.1365-246x.2007.03419.x</ext-link>, 2007.</mixed-citation></ref>
      <ref id="bib1.bibx16"><label>Clevenger and Heister(2021)</label><mixed-citation>Clevenger, T. C. and Heister, T.: Comparison between algebraic and matrix‐free geometric multigrid for a Stokes problem on adaptive meshes with variable viscosity, Numer. Lin. Algeb. Appl., 28, <ext-link xlink:href="https://doi.org/10.1002/nla.2375" ext-link-type="DOI">10.1002/nla.2375</ext-link>, 2021.</mixed-citation></ref>
      <ref id="bib1.bibx17"><label>Colli et al.(2018)Colli, Ghelichkhan, Bunge, and Oeser</label><mixed-citation>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, Gondwana Res., 53, 252–272, <ext-link xlink:href="https://doi.org/10.1016/j.gr.2017.04.027" ext-link-type="DOI">10.1016/j.gr.2017.04.027</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bibx18"><label>Cordier and Goryaeva(2018)</label><mixed-citation>Cordier, P. and Goryaeva, A.: Multiscale Modeling of the Mantle Rheology, 156 pp., ISBN 978-2-9564368-1-2, <uri>https://lilloa.hal.science/hal-01881743v2/</uri> (last access: 27 January 2026), 2018.</mixed-citation></ref>
      <ref id="bib1.bibx19"><label>Davies et al.(2013)Davies, Davies, Bollada, Hassan, Morgan, and Nithiarasu</label><mixed-citation>Davies, D. R., Davies, J. H., Bollada, P. C., Hassan, O., Morgan, K., and Nithiarasu, P.: A hierarchical mesh refinement technique for global 3-D spherical mantle convection modelling, Geosci. Model Dev., 6, 1095–1107, <ext-link xlink:href="https://doi.org/10.5194/gmd-6-1095-2013" ext-link-type="DOI">10.5194/gmd-6-1095-2013</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx20"><label>Davies et al.(2022)Davies, Kramer, Ghelichkhan, and Gibson</label><mixed-citation>Davies, D. R., Kramer, S. C., Ghelichkhan, S., and Gibson, A.: Towards automatic finite-element methods for geodynamics via Firedrake, Geosci. Model Dev., 15, 5127–5166, <ext-link xlink:href="https://doi.org/10.5194/gmd-15-5127-2022" ext-link-type="DOI">10.5194/gmd-15-5127-2022</ext-link>, 2022.</mixed-citation></ref>
      <ref id="bib1.bibx21"><label>Davies(1999)</label><mixed-citation>Davies, G. F.: Dynamic Earth: Plates, Plumes and Mantle Convection, Cambridge University Press, ISBN 9780511605802, <ext-link xlink:href="https://doi.org/10.1017/cbo9780511605802" ext-link-type="DOI">10.1017/cbo9780511605802</ext-link>, 1999.</mixed-citation></ref>
      <ref id="bib1.bibx22"><label>Engelman et al.(1982)Engelman, Sani, and Gresho</label><mixed-citation>Engelman, M. S., Sani, R. L., and Gresho, P. M.: The implementation of normal and/or tangential boundary conditions in finite element codes for incompressible fluid flow, Int. J. Numer. Meth. Fluids, 2, 225–238, <ext-link xlink:href="https://doi.org/10.1002/fld.1650020302" ext-link-type="DOI">10.1002/fld.1650020302</ext-link>, 1982.</mixed-citation></ref>
      <ref id="bib1.bibx23"><label>Euen et al.(2023)Euen, Liu, Gassmöller, Heister, and King</label><mixed-citation>Euen, G. T., Liu, S., Gassmöller, R., Heister, T., and King, S. D.: A comparison of 3-D spherical shell thermal convection results at low to moderate Rayleigh number using ASPECT (version 2.2.0) and CitcomS (version 3.3.1), Geosci. Model Dev., 16, 3221–3239, <ext-link xlink:href="https://doi.org/10.5194/gmd-16-3221-2023" ext-link-type="DOI">10.5194/gmd-16-3221-2023</ext-link>, 2023.</mixed-citation></ref>
      <ref id="bib1.bibx24"><label>Gaspar et al.(2014)Gaspar, Notay, Oosterlee, and Rodrigo</label><mixed-citation>Gaspar, F. J., Notay, Y., Oosterlee, C. W., and Rodrigo, C.: A Simple and Efficient Segregated Smoother for the Discrete Stokes Equations, SIAM J. Sci. Comput., 36, A1187–A1206, <ext-link xlink:href="https://doi.org/10.1137/130920630" ext-link-type="DOI">10.1137/130920630</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bibx25"><label>Gassmöller et al.(2020)Gassmller, Dannberg, Bangerth, Heister, and Myhill</label><mixed-citation>Gassmöller, R., Dannberg, J., Bangerth, W., Heister, T., and Myhill, R.: On formulations of compressible mantle convection, Geophys. J. Int., 221, 1264–1280, <ext-link xlink:href="https://doi.org/10.1093/gji/ggaa078" ext-link-type="DOI">10.1093/gji/ggaa078</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bibx26"><label>Gmeiner et al.(2016)Gmeiner, Huber, John, Rüde, and Wohlmuth</label><mixed-citation>Gmeiner, B., Huber, M., John, L., Rüde, U., and Wohlmuth, B.: A quantitative performance study for Stokes solvers at the extreme scale, J. Comput. Sci., 17, 509–521, <ext-link xlink:href="https://doi.org/10.1016/j.jocs.2016.06.006" ext-link-type="DOI">10.1016/j.jocs.2016.06.006</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bibx27"><label>Gough(1969)</label><mixed-citation>Gough, D. O.: The Anelastic Approximation for Thermal Convection, J. Atmos. Sci., 26, 448–456, <ext-link xlink:href="https://doi.org/10.1175/1520-0469(1969)026&lt;0448:TAAFTC&gt;2.0.CO;2" ext-link-type="DOI">10.1175/1520-0469(1969)026&lt;0448:TAAFTC&gt;2.0.CO;2</ext-link>, 1969.</mixed-citation></ref>
      <ref id="bib1.bibx28"><label>Gresho et al.(1987)Gresho, Lee, Sani, Maslanik, and Eaton</label><mixed-citation>Gresho, P. M., Lee, R. L., Sani, R. L., Maslanik, M. K., and Eaton, B. E.: The consistent Galerkin FEM for computing derived boundary quantities in thermal and or fluids problems, Int. J. Numer. Meth. Fluids, 7, 371–394, <ext-link xlink:href="https://doi.org/10.1002/fld.1650070406" ext-link-type="DOI">10.1002/fld.1650070406</ext-link>, 1987.</mixed-citation></ref>
      <ref id="bib1.bibx29"><label>Ham et al.(2023)</label><mixed-citation>Ham, D. A., Kelly, P. H., Mitchell, L., Cotter, C., Kirby, R. C., Sagiyama, K., Bouziani, N., Vorderwuelbecke, S., Gregory, T., Betteridge, J., Shapero, D. R., Nixon-Hill, R., Ward, C., Farrell, P. E., Brubeck, P. D., Marsden, I., Gibson, T. H., Homolya, M., Sun, T., McRae, A. T., Luporini, F., Gregory, A., Lange, M., Funke, S. W., Rathgeber, F., Bercea, G.-T., and Markall, G. R.: Firedrake User Manual, in: 1st Edn., Imperial College London and University of Oxford and Baylor University and University of Washington, <ext-link xlink:href="https://doi.org/10.25561/104839" ext-link-type="DOI">10.25561/104839</ext-link>, 2023.</mixed-citation></ref>
      <ref id="bib1.bibx30"><label>Heister et al.(2017)Heister, Dannberg, Gassmller, and Bangerth</label><mixed-citation>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, <ext-link xlink:href="https://doi.org/10.1093/gji/ggx195" ext-link-type="DOI">10.1093/gji/ggx195</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bibx31"><label>Horbach et al.(2019)Horbach, Mohr, and Bunge</label><mixed-citation>Horbach, A., Mohr, M., and Bunge, H.-P.: A semi-analytic accuracy benchmark for Stokes flow in 3-D spherical mantle convection codes, GEM – Int. J. Geomath., 11, <ext-link xlink:href="https://doi.org/10.1007/s13137-019-0137-3" ext-link-type="DOI">10.1007/s13137-019-0137-3</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bibx32"><label>Ilangovan(2025)</label><mixed-citation>Ilangovan, P.: Software used for experiments in “Highly Scalable Geodynamic Simulations with HyTeG”, Zenodo [code], <ext-link xlink:href="https://doi.org/10.5281/zenodo.17341565" ext-link-type="DOI">10.5281/zenodo.17341565</ext-link>, 2025.</mixed-citation></ref>
      <ref id="bib1.bibx33"><label>Ilangovan et al.(2024)Ilangovan, DAscoli, Kohl, and Mohr</label><mixed-citation>Ilangovan, P., D'Ascoli, E., Kohl, N., and Mohr, M.: Numerical Studies on Coupled Stokes-Transport Systems for Mantle Convection, Springer Nature, Switzerland, 288–302, ISBN 9783031637599, <ext-link xlink:href="https://doi.org/10.1007/978-3-031-63759-9_33" ext-link-type="DOI">10.1007/978-3-031-63759-9_33</ext-link>, 2024.</mixed-citation></ref>
      <ref id="bib1.bibx34"><label>Ilangovan et al.(2025)Ilangovan, Kohl, and Mohr</label><mixed-citation>Ilangovan, P., Kohl, N., and Mohr, M.: Geodynamic Benchmark Simulations with HyTeG: Supplementary Data for Article “Highly Scalable Geodynamic Simulations with HyTeG”, Leibniz Supercomputing Centre (LRZ) [data set], <ext-link xlink:href="https://doi.org/10.25927/zvnf9-cvc38" ext-link-type="DOI">10.25927/zvnf9-cvc38</ext-link>, 2025.</mixed-citation></ref>
      <ref id="bib1.bibx35"><label>Jarvis(1993)</label><mixed-citation>Jarvis, G. T.: Effects of curvature on two‐dimensional models of mantle convection: Cylindrical polar coordinates, J. Geophys. Res.-Solid, 98, 4477–4485, <ext-link xlink:href="https://doi.org/10.1029/92jb02117" ext-link-type="DOI">10.1029/92jb02117</ext-link>, 1993.</mixed-citation></ref>
      <ref id="bib1.bibx36"><label>King et al.(2010)King, Lee, van Keken, Leng, Zhong, Tan, Tosi, and Kameyama</label><mixed-citation>King, S. D., Lee, C., van Keken, P. E., Leng, W., Zhong, S., Tan, E., Tosi, N., and Kameyama, M. C.: A community benchmark for 2-D Cartesian compressible convection in the Earth’s mantle, Geophys. J. Int., 180, 73–87, <ext-link xlink:href="https://doi.org/10.1111/j.1365-246x.2009.04413.x" ext-link-type="DOI">10.1111/j.1365-246x.2009.04413.x</ext-link>, 2010.</mixed-citation></ref>
      <ref id="bib1.bibx37"><label>Knapek(1998)</label><mixed-citation>Knapek, S.: Matrix-Dependent Multigrid Homogenization for Diffusion Problems, SIAM J. Sci. Comput., 20, 515–533, <ext-link xlink:href="https://doi.org/10.1137/s1064827596304848" ext-link-type="DOI">10.1137/s1064827596304848</ext-link>, 1998.</mixed-citation></ref>
      <ref id="bib1.bibx38"><label>Kohl and Rüde(2022)</label><mixed-citation>Kohl, N. and Rüde, U.: Textbook Efficiency: Massively Parallel Matrix-Free Multigrid for the Stokes System, SIAM J. Sci. Comput., 44, C124–C155, <ext-link xlink:href="https://doi.org/10.1137/20M1376005" ext-link-type="DOI">10.1137/20M1376005</ext-link>, 2022.</mixed-citation></ref>
      <ref id="bib1.bibx39"><label>Kohl et al.(2019)Kohl, Thnnes, Drzisga, Bartuschat, and Rde</label><mixed-citation>Kohl, N., Thönnes, D., Drzisga, D., Bartuschat, D., and Rüde, U.: The <italic>HyTeG</italic> finite-element software framework for scalable multigrid solvers, Int. J. Parallel Emerg. Distrib. Syst., 34, 477–496, <ext-link xlink:href="https://doi.org/10.1080/17445760.2018.1506453" ext-link-type="DOI">10.1080/17445760.2018.1506453</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bibx40"><label>Kohl et al.(2022)Kohl, Mohr, Eibl, and Rde</label><mixed-citation>Kohl, N., Mohr, M., Eibl, S., and Rüde, U.: A Massively Parallel Eulerian-Lagrangian Method for Advection-Dominated Transport in Viscous Fluids, SIAM J. Sci. Comput., 44, C260–C285, <ext-link xlink:href="https://doi.org/10.1137/21M1402510" ext-link-type="DOI">10.1137/21M1402510</ext-link>, 2022.</mixed-citation></ref>
      <ref id="bib1.bibx41"><label>Kohl et al.(2024)Kohl, Bauer, Böhm, and Rüde</label><mixed-citation>Kohl, N., Bauer, D., Böhm, F., and Rüde, U.: Fundamental data structures for matrix-free finite elements on hybrid tetrahedral grids, Int. J. Parallel Emerg. Distrib. Syst., 39, 51–74, <ext-link xlink:href="https://doi.org/10.1080/17445760.2023.2266875" ext-link-type="DOI">10.1080/17445760.2023.2266875</ext-link>, 2024.</mixed-citation></ref>
      <ref id="bib1.bibx42"><label>Kramer et al.(2021)Kramer, Davies, and Wilson</label><mixed-citation>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, <ext-link xlink:href="https://doi.org/10.5194/gmd-14-1899-2021" ext-link-type="DOI">10.5194/gmd-14-1899-2021</ext-link>, 2021.</mixed-citation></ref>
      <ref id="bib1.bibx43"><label>Kronbichler and Kormann(2012)</label><mixed-citation>Kronbichler, M. and Kormann, K.: A generic interface for parallel cell-based finite element operator application, Comput. Fluids, 63, 135–147, <ext-link xlink:href="https://doi.org/10.1016/j.compfluid.2012.04.012" ext-link-type="DOI">10.1016/j.compfluid.2012.04.012</ext-link>, 2012.</mixed-citation></ref>
      <ref id="bib1.bibx44"><label>Liu and King(2019)</label><mixed-citation>Liu, S. and King, S. D.: A benchmark study of incompressible Stokes flow in a 3-D spherical shell using ASPECT, Geophys. J. Int., 217, 650–667, <ext-link xlink:href="https://doi.org/10.1093/gji/ggz036" ext-link-type="DOI">10.1093/gji/ggz036</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bibx45"><label>May et al.(2015)May, Brown, and Le Pourhiet</label><mixed-citation>May, D., Brown, J., and Le Pourhiet, L.: A scalable, matrix-free multigrid preconditioner for finite element discretizations of heterogeneous Stokes flow, Comput. Meth. Appl. Mech. Eng., 290, 496–523, <ext-link xlink:href="https://doi.org/10.1016/j.cma.2015.03.014" ext-link-type="DOI">10.1016/j.cma.2015.03.014</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bibx46"><label>McKenzie and Jarvis(1980)</label><mixed-citation>McKenzie, D. and Jarvis, G.: The conversion of heat into mechanical work by mantle convection, J. Geophys. Res.-Solid, 85, 6093–6096, <ext-link xlink:href="https://doi.org/10.1029/JB085iB11p06093" ext-link-type="DOI">10.1029/JB085iB11p06093</ext-link>, 1980.</mixed-citation></ref>
      <ref id="bib1.bibx47"><label>Mizukami(1986)</label><mixed-citation>Mizukami, A.: A mixed finite element method for boundary flux computation, Comput. Meth. Appl. Mech. Eng., 57, 239–243, <ext-link xlink:href="https://doi.org/10.1016/0045-7825(86)90016-2" ext-link-type="DOI">10.1016/0045-7825(86)90016-2</ext-link>, 1986.</mixed-citation></ref>
      <ref id="bib1.bibx48"><label>Moresi and Solomatov(1995)</label><mixed-citation>Moresi, L.-N. and Solomatov, V. S.: Numerical investigation of 2D convection with extremely large viscosity variations, Phys. Fluids, 7, 2154–2162, <ext-link xlink:href="https://doi.org/10.1063/1.868465" ext-link-type="DOI">10.1063/1.868465</ext-link>, 1995.</mixed-citation></ref>
      <ref id="bib1.bibx49"><label>Oberbeck(1879)</label><mixed-citation>Oberbeck, A.: Ueber die Wärmeleitung der Flüssigkeiten bei Berücksichtigung der Strömungen infolge von Temperaturdifferenzen, Ann. Phys., 243, 271–292, <ext-link xlink:href="https://doi.org/10.1002/andp.18792430606" ext-link-type="DOI">10.1002/andp.18792430606</ext-link>, 1879.</mixed-citation></ref>
      <ref id="bib1.bibx50"><label>Oeser et al.(2006)Oeser, Bunge, and Mohr</label><mixed-citation>Oeser, J., Bunge, H.-P., and Mohr, M.: Cluster Design in the Earth Sciences: TETHYS, in: High Performance Computing and Communications – Second International Conference, HPCC 2006, Munich, Germany, vol. 4208 of Lecture Notes in Computer Science, edited by: Gerndt, M. and Kranzlmüller, D.,  31–40, Springer, <ext-link xlink:href="https://doi.org/10.1007/11847366_4" ext-link-type="DOI">10.1007/11847366_4</ext-link>, 2006.</mixed-citation></ref>
      <ref id="bib1.bibx51"><label>Ratcliff et al.(1996)Ratcliff, Schubert, and Zebib</label><mixed-citation>Ratcliff, J. T., Schubert, G., and Zebib, A.: Steady tetrahedral and cubic patterns of spherical shell convection with temperature‐dependent viscosity, J. Geophys. Res.-Solid, 101, 25473–25484, <ext-link xlink:href="https://doi.org/10.1029/96jb02097" ext-link-type="DOI">10.1029/96jb02097</ext-link>, 1996.</mixed-citation></ref>
      <ref id="bib1.bibx52"><label>Ribe(2007)</label><mixed-citation>Ribe, N.: Analytical Approaches to Mantle Dynamics, Elsevier, 167–226, ISBN 9780444527486, <ext-link xlink:href="https://doi.org/10.1016/b978-044452748-6.00117-6" ext-link-type="DOI">10.1016/b978-044452748-6.00117-6</ext-link>, 2007.</mixed-citation></ref>
      <ref id="bib1.bibx53"><label>Roache(2001)</label><mixed-citation>Roache, P. J.: Code Verification by the Method of Manufactured Solutions, J. Fluids Eng., 124, 4–10, <ext-link xlink:href="https://doi.org/10.1115/1.1436090" ext-link-type="DOI">10.1115/1.1436090</ext-link>, 2001.</mixed-citation></ref>
      <ref id="bib1.bibx54"><label>Rudi et al.(2017)Rudi, Stadler, and Ghattas</label><mixed-citation>Rudi, J., Stadler, G., and Ghattas, O.: Weighted BFBT Preconditioner for Stokes Flow Problems with Highly Heterogeneous Viscosity, SIAM J. Sci. Comput., 39, S272–S297, <ext-link xlink:href="https://doi.org/10.1137/16m108450x" ext-link-type="DOI">10.1137/16m108450x</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bibx55"><label>Schubert et al.(2001)Schubert, Turcotte, and Olson</label><mixed-citation>Schubert, G., Turcotte, D. L., and Olson, P.: Mantle Convection in the Earth and Planets, Cambridge University Press, ISBN 9780511612879, <ext-link xlink:href="https://doi.org/10.1017/cbo9780511612879" ext-link-type="DOI">10.1017/cbo9780511612879</ext-link>, 2001.</mixed-citation></ref>
      <ref id="bib1.bibx56"><label>Tan et al.(2006)Tan, Choi, Thoutireddy, Gurnis, and Aivazis</label><mixed-citation>Tan, E., Choi, E., Thoutireddy, P., Gurnis, M., and Aivazis, M.: GeoFramework: Coupling multiple models of mantle convection within a computational framework, Geochem. Geophy. Geosy., 7, <ext-link xlink:href="https://doi.org/10.1029/2005gc001155" ext-link-type="DOI">10.1029/2005gc001155</ext-link>, 2006.</mixed-citation></ref>
      <ref id="bib1.bibx57"><label>Tan et al.(2011)Tan, Leng, Zhong, and Gurnis</label><mixed-citation>Tan, E., Leng, W., Zhong, S., and Gurnis, M.: On the location of plumes and lateral movement of thermochemical structures with high bulk modulus in the 3-D compressible mantle: Plumes and chemical structures, Geochem. Geophy. Geosy., 12, <ext-link xlink:href="https://doi.org/10.1029/2011gc003665" ext-link-type="DOI">10.1029/2011gc003665</ext-link>, 2011.</mixed-citation></ref>
      <ref id="bib1.bibx58"><label>Terrel et al.(2012)Terrel, Scott, Knepley, Kirby, and Wells</label><mixed-citation>Terrel, A. R., Scott, L. R., Knepley, M. G., Kirby, R. C., and Wells, G. N.: Finite elements for incompressible fluids, Springer, Berlin, Heidelberg, 385–397, <ext-link xlink:href="https://doi.org/10.1007/978-3-642-23099-8_20" ext-link-type="DOI">10.1007/978-3-642-23099-8_20</ext-link>, 2012.</mixed-citation></ref>
      <ref id="bib1.bibx59"><label>Thieulot and Bangerth(2022)</label><mixed-citation>Thieulot, C. and Bangerth, W.: On the choice of finite element for applications in geodynamics, Solid Earth, 13, 229–249, <ext-link xlink:href="https://doi.org/10.5194/se-13-229-2022" ext-link-type="DOI">10.5194/se-13-229-2022</ext-link>, 2022.</mixed-citation></ref>
      <ref id="bib1.bibx60"><label>Tosi et al.(2015)Tosi, Stein, Noack, Hüttig, Maierov, Samuel, Davies, Wilson, Kramer, Thieulot, Glerum, Fraters, Spakman, Rozel, and Tackley</label><mixed-citation>Tosi, N., Stein, C., Noack, L., Hüttig, C., Maierová, P., Samuel, H., Davies, D. R., Wilson, C. R., Kramer, S. C., Thieulot, C., Glerum, A., Fraters, M., Spakman, W., Rozel, A., and Tackley, P. J.: A community benchmark for viscoplastic thermal convection in a 2-D square box, Geochem. Geophy. Geosy., 16, 2175–2196, <ext-link xlink:href="https://doi.org/10.1002/2015GC005807" ext-link-type="DOI">10.1002/2015GC005807</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bibx61"><label>Trottenberg et al.(2001)Trottenberg, Oosterlee, and Schüller</label><mixed-citation> Trottenberg, U., Oosterlee, C., and Schüller, A.: Multigrid, Academic Press, ISBN 0-12-701070-X, 2001.</mixed-citation></ref>
      <ref id="bib1.bibx62"><label>Williams et al.(2024)Williams, Stamps, Austermann, King, and Njinju</label><mixed-citation>Williams, K., Stamps, D. S., Austermann, J., King, S., and Njinju, E.: Effects of using the consistent boundary flux method on dynamic topography estimates, Geophys. J. Int., 238, 1137–1149, <ext-link xlink:href="https://doi.org/10.1093/gji/ggae203" ext-link-type="DOI">10.1093/gji/ggae203</ext-link>, 2024.</mixed-citation></ref>
      <ref id="bib1.bibx63"><label>Zebib(1993)</label><mixed-citation>Zebib, A.: Linear and weakly nonlinear variable viscosity convection in spherical shells, Theor. Comput. Fluid Dynam., 4, 241–253, <ext-link xlink:href="https://doi.org/10.1007/bf00417930" ext-link-type="DOI">10.1007/bf00417930</ext-link>, 1993.</mixed-citation></ref>
      <ref id="bib1.bibx64"><label>Zhong et al.(1993)Zhong, Gurnis, and Hulbert</label><mixed-citation>Zhong, S., Gurnis, M., and Hulbert, G.: Accurate determination of surface normal stress in viscous flow from a consistent boundary flux method, Phys. Earth Planet. Inter., 78, 1–8, <ext-link xlink:href="https://doi.org/10.1016/0031-9201(93)90078-n" ext-link-type="DOI">10.1016/0031-9201(93)90078-n</ext-link>, 1993.</mixed-citation></ref>
      <ref id="bib1.bibx65"><label>Zhong et al.(2000)Zhong, Zuber, Moresi, and Gurnis</label><mixed-citation>Zhong, S., Zuber, M. T., Moresi, L., and Gurnis, M.: Role of temperature-dependent viscosity and surface plates in spherical shell models of mantle convection, J. Geophys. Res.-Solid, 105, 11063–11082, <ext-link xlink:href="https://doi.org/10.1029/2000jb900003" ext-link-type="DOI">10.1029/2000jb900003</ext-link>, 2000.</mixed-citation></ref>
      <ref id="bib1.bibx66"><label>Zhong et al.(2008)Zhong, McNamara, Tan, Moresi, and Gurnis</label><mixed-citation>Zhong, S., McNamara, A., Tan, E., Moresi, L., and Gurnis, M.: A benchmark study on mantle convection in a 3-D spherical shell using CitcomS, Geochem. Geophy. Geosy., 9, <ext-link xlink:href="https://doi.org/10.1029/2008gc002048" ext-link-type="DOI">10.1029/2008gc002048</ext-link>, 2008.</mixed-citation></ref>

  </ref-list></back>
    <!--<article-title-html>Highly scalable geodynamic simulations with <span style="" class="text smallcaps">HyTeG</span></article-title-html>
<abstract-html/>
<ref-html id="bib1.bib1"><label>Bangerth et al.(2023)Bangerth, Dannberg, Fraters, Gassmoeller,
Glerum, Heister, Myhill, and Naliboff</label><mixed-citation>
      
Bangerth, W., Dannberg, J., Fraters, M., Gassmoeller, R., Glerum, A., Heister, T., Myhill, R., and Naliboff, J.: geodynamics/aspect: ASPECT 2.5.0, Zenodo [code], <a href="https://doi.org/10.5281/ZENODO.8200213" target="_blank">https://doi.org/10.5281/ZENODO.8200213</a>, 2023.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib2"><label>Bauer et al.(2017)Bauer, Mohr, Rüde, Weismüller, Wittmann,
and Wohlmuth</label><mixed-citation>
      
Bauer, S., Mohr, M., Rüde, U., Weismüller, J., Wittmann, M., and
Wohlmuth, B.: A two-scale approach for efficient on-the-fly operator assembly
in massively parallel high performance multigrid codes, Appl. Numer. Math., 122, 14–38, <a href="https://doi.org/10.1016/j.apnum.2017.07.006" target="_blank">https://doi.org/10.1016/j.apnum.2017.07.006</a>, 2017.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib3"><label>Bauer et al.(2020)Bauer, Bunge, Drzisga, Ghelichkhan, Huber, Kohl,
Mohr, Rüde, Thönnes, and Wohlmuth</label><mixed-citation>
      
Bauer, S., Bunge, H.-P., Drzisga, D., Ghelichkhan, S., Huber, M., Kohl, N.,
Mohr, M., Rüde, U., Thönnes, D., and Wohlmuth, B.: TerraNeo–Mantle
Convection Beyond a Trillion Degrees of Freedom, Springer International Publishing, 569–610, ISBN 9783030479565, <a href="https://doi.org/10.1007/978-3-030-47956-5_19" target="_blank">https://doi.org/10.1007/978-3-030-47956-5_19</a>, 2020.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib4"><label>Baumgardner(1985)</label><mixed-citation>
      
Baumgardner, J.: Three-dimensional treatment of convective flow in the earth's mantle, J. Stat. Phys., 39, 501–511, 1985.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib5"><label>Baumgardner and Frederickson(1985)</label><mixed-citation>
      
Baumgardner, J. R. and Frederickson, P. O.: Icosahedral discretization of the
two-sphere, SIAM J. Numer. Anal., 22, 1107–1115, <a href="https://doi.org/10.1137/0722066" target="_blank">https://doi.org/10.1137/0722066</a>, 1985.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib6"><label>Blankenbach et al.(1989)</label><mixed-citation>
      
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, <a href="https://doi.org/10.1111/j.1365-246X.1989.tb05511.x" target="_blank">https://doi.org/10.1111/j.1365-246X.1989.tb05511.x</a>, 1989.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib7"><label>Blinova et al.(2016)Blinova, Makeev, and Popov</label><mixed-citation>
      
Blinova, I., Makeev, I., and Popov, I.: Benchmark Solutions for Stokes
Flows in Cylindrical and Spherical Geometry, Bull. Transilvania U. Braşov, 9, 11–16, 2016.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib8"><label>Böhm et al.(2025)Böhm, Bauer, Kohl, Alappat, Thönnes,
Mohr, Köstler, and Rüde</label><mixed-citation>
      
Böhm, F., Bauer, D., Kohl, N., Alappat, C. L., Thönnes, D., Mohr, M.,
Köstler, H., and Rüde, U.: Code Generation and Performance Engineering for Matrix-Free Finite Element Methods on Hybrid Tetrahedral Grids, SIAM J. Sci. Comput., 47, B131–B159, <a href="https://doi.org/10.1137/24M1653756" target="_blank">https://doi.org/10.1137/24M1653756</a>, 2025.


    </mixed-citation></ref-html>
<ref-html id="bib1.bib9"><label>Boussinesq(1903)</label><mixed-citation>
      
Boussinesq, J.: Theorie analytique de la chaleur vol. 2, Gauthier-Villars, Paris, <a href="https://archive.org/details/thorieanalytiqu00bousgoog" target="_blank"/> (last access: 27 January 2026), 1903.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib10"><label>Brown et al.(2022)Brown, Colli, and Bunge</label><mixed-citation>
      
Brown, H., Colli, L., and Bunge, H.-P.: Asthenospheric flow through the
Izanagi-Pacific slab window and its influence on dynamic topography and
intraplate volcanism in East Asia, Front. Earth Sci., 10,
<a href="https://doi.org/10.3389/feart.2022.889907" target="_blank">https://doi.org/10.3389/feart.2022.889907</a>, 2022.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib11"><label>Brown(2010)</label><mixed-citation>
      
Brown, J.: Efficient Nonlinear Solvers for Nodal High-Order Finite Elements in 3D, J. Sci. Comput., 45, 48–63, <a href="https://doi.org/10.1007/s10915-010-9396-8" target="_blank">https://doi.org/10.1007/s10915-010-9396-8</a>, 2010.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib12"><label>Bunge and Baumgardner(1995)</label><mixed-citation>
      
Bunge, H.-P. and Baumgardner, J. R.: Mantle convection modeling on parallel
virtual machines, Comput. Phys., 9, 207–215, <a href="https://doi.org/10.1063/1.168525" target="_blank">https://doi.org/10.1063/1.168525</a>, 1995.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib13"><label>Burkhart et al.(2026)Burkhart, Kohl, Wohlmuth, and
Zawallich</label><mixed-citation>
      
Burkhart, A., Kohl, N., Wohlmuth, B., and Zawallich, J.: A robust matrix-free
approach for large-scale non-isothermal high-contrast viscosity Stokes flow
on blended domains with applications to geophysics, GEM – Int. J. Geomath., 17, <a href="https://doi.org/10.1007/s13137-025-00280-5" target="_blank">https://doi.org/10.1007/s13137-025-00280-5</a>, 2026.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib14"><label>Burstedde et al.(2013)Burstedde, Stadler, Alisic, Wilcox, Tan,
Gurnis, and Ghattas</label><mixed-citation>
      
Burstedde, C., Stadler, G., Alisic, L., Wilcox, L. C., Tan, E., Gurnis, M., and Ghattas, O.: Large-scale adaptive mantle convection simulation, Geophys.
J. Int., 192, 889–906, <a href="https://doi.org/10.1093/gji/ggs070" target="_blank">https://doi.org/10.1093/gji/ggs070</a>, 2013.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib15"><label>Choblet et al.(2007)Choblet, adek, Couturier, and
Dumoulin</label><mixed-citation>
      
Choblet, G., Čadek, O., Couturier, F., and Dumoulin, C.: ŒDIPUS: a new tool to study the dynamics of planetary interiors, Geophys. J. Int., 170, 9–30, <a href="https://doi.org/10.1111/j.1365-246x.2007.03419.x" target="_blank">https://doi.org/10.1111/j.1365-246x.2007.03419.x</a>, 2007.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib16"><label>Clevenger and Heister(2021)</label><mixed-citation>
      
Clevenger, T. C. and Heister, T.: Comparison between algebraic and matrix‐free geometric multigrid for a Stokes problem on adaptive meshes with variable viscosity, Numer. Lin. Algeb. Appl., 28, <a href="https://doi.org/10.1002/nla.2375" target="_blank">https://doi.org/10.1002/nla.2375</a>, 2021.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib17"><label>Colli et al.(2018)Colli, Ghelichkhan, Bunge, and Oeser</label><mixed-citation>
      
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, Gondwana Res., 53, 252–272, <a href="https://doi.org/10.1016/j.gr.2017.04.027" target="_blank">https://doi.org/10.1016/j.gr.2017.04.027</a>, 2018.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib18"><label>Cordier and Goryaeva(2018)</label><mixed-citation>
      
Cordier, P. and Goryaeva, A.: Multiscale Modeling of the Mantle Rheology, 156&thinsp;pp., ISBN 978-2-9564368-1-2, <a href="https://lilloa.hal.science/hal-01881743v2/" target="_blank"/> (last access: 27 January 2026), 2018.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib19"><label>Davies et al.(2013)Davies, Davies, Bollada, Hassan, Morgan, and
Nithiarasu</label><mixed-citation>
      
Davies, D. R., Davies, J. H., Bollada, P. C., Hassan, O., Morgan, K., and
Nithiarasu, P.: A hierarchical mesh refinement technique for global 3-D spherical mantle convection modelling, Geosci. Model Dev., 6, 1095–1107, <a href="https://doi.org/10.5194/gmd-6-1095-2013" target="_blank">https://doi.org/10.5194/gmd-6-1095-2013</a>, 2013.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib20"><label>Davies et al.(2022)Davies, Kramer, Ghelichkhan, and
Gibson</label><mixed-citation>
      
Davies, D. R., Kramer, S. C., Ghelichkhan, S., and Gibson, A.: Towards automatic finite-element methods for geodynamics via Firedrake, Geosci. Model Dev., 15, 5127–5166, <a href="https://doi.org/10.5194/gmd-15-5127-2022" target="_blank">https://doi.org/10.5194/gmd-15-5127-2022</a>, 2022.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib21"><label>Davies(1999)</label><mixed-citation>
      
Davies, G. F.: Dynamic Earth: Plates, Plumes and Mantle Convection, Cambridge
University Press, ISBN 9780511605802, <a href="https://doi.org/10.1017/cbo9780511605802" target="_blank">https://doi.org/10.1017/cbo9780511605802</a>, 1999.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib22"><label>Engelman et al.(1982)Engelman, Sani, and Gresho</label><mixed-citation>
      
Engelman, M. S., Sani, R. L., and Gresho, P. M.: The implementation of normal
and/or tangential boundary conditions in finite element codes for
incompressible fluid flow, Int. J. Numer. Meth. Fluids, 2, 225–238, <a href="https://doi.org/10.1002/fld.1650020302" target="_blank">https://doi.org/10.1002/fld.1650020302</a>, 1982.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib23"><label>Euen et al.(2023)Euen, Liu, Gassmöller, Heister, and
King</label><mixed-citation>
      
Euen, G. T., Liu, S., Gassmöller, R., Heister, T., and King, S. D.: A
comparison of 3-D spherical shell thermal convection results at low to moderate Rayleigh number using ASPECT (version 2.2.0) and CitcomS (version 3.3.1), Geosci. Model Dev., 16, 3221–3239,
<a href="https://doi.org/10.5194/gmd-16-3221-2023" target="_blank">https://doi.org/10.5194/gmd-16-3221-2023</a>, 2023.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib24"><label>Gaspar et al.(2014)Gaspar, Notay, Oosterlee, and
Rodrigo</label><mixed-citation>
      
Gaspar, F. J., Notay, Y., Oosterlee, C. W., and Rodrigo, C.: A Simple and
Efficient Segregated Smoother for the Discrete Stokes Equations,
SIAM J. Sci. Comput., 36, A1187–A1206, <a href="https://doi.org/10.1137/130920630" target="_blank">https://doi.org/10.1137/130920630</a>, 2014.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib25"><label>Gassmöller et al.(2020)Gassmller, Dannberg, Bangerth, Heister, and Myhill</label><mixed-citation>
      
Gassmöller, R., Dannberg, J., Bangerth, W., Heister, T., and Myhill, R.: On formulations of compressible mantle convection, Geophys. J. Int., 221, 1264–1280, <a href="https://doi.org/10.1093/gji/ggaa078" target="_blank">https://doi.org/10.1093/gji/ggaa078</a>, 2020.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib26"><label>Gmeiner et al.(2016)Gmeiner, Huber, John, Rüde, and
Wohlmuth</label><mixed-citation>
      
Gmeiner, B., Huber, M., John, L., Rüde, U., and Wohlmuth, B.: A
quantitative performance study for Stokes solvers at the extreme scale, J. Comput. Sci., 17, 509–521, <a href="https://doi.org/10.1016/j.jocs.2016.06.006" target="_blank">https://doi.org/10.1016/j.jocs.2016.06.006</a>, 2016.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib27"><label>Gough(1969)</label><mixed-citation>
      
Gough, D. O.: The Anelastic Approximation for Thermal Convection, J. Atmos. Sci., 26, 448–456, <a href="https://doi.org/10.1175/1520-0469(1969)026&lt;0448:TAAFTC&gt;2.0.CO;2" target="_blank">https://doi.org/10.1175/1520-0469(1969)026&lt;0448:TAAFTC&gt;2.0.CO;2</a>, 1969.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib28"><label>Gresho et al.(1987)Gresho, Lee, Sani, Maslanik, and
Eaton</label><mixed-citation>
      
Gresho, P. M., Lee, R. L., Sani, R. L., Maslanik, M. K., and Eaton, B. E.: The consistent Galerkin FEM for computing derived boundary quantities in thermal and or fluids problems, Int. J. Numer. Meth. Fluids, 7, 371–394, <a href="https://doi.org/10.1002/fld.1650070406" target="_blank">https://doi.org/10.1002/fld.1650070406</a>, 1987.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib29"><label>Ham et al.(2023)</label><mixed-citation>
      
Ham, D. A., Kelly, P. H., Mitchell, L., Cotter, C., Kirby, R. C., Sagiyama, K., Bouziani, N., Vorderwuelbecke, S., Gregory, T., Betteridge, J., Shapero, D. R., Nixon-Hill, R., Ward, C., Farrell, P. E., Brubeck, P. D., Marsden, I., Gibson, T. H., Homolya, M., Sun, T., McRae, A. T., Luporini, F., Gregory, A., Lange, M., Funke, S. W., Rathgeber, F., Bercea, G.-T., and Markall, G. R.: Firedrake User Manual, in: 1st Edn., Imperial College London and University of Oxford and Baylor University and University of Washington, <a href="https://doi.org/10.25561/104839" target="_blank">https://doi.org/10.25561/104839</a>, 2023.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib30"><label>Heister et al.(2017)Heister, Dannberg, Gassmller, and
Bangerth</label><mixed-citation>
      
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, <a href="https://doi.org/10.1093/gji/ggx195" target="_blank">https://doi.org/10.1093/gji/ggx195</a>, 2017.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib31"><label>Horbach et al.(2019)Horbach, Mohr, and Bunge</label><mixed-citation>
      
Horbach, A., Mohr, M., and Bunge, H.-P.: A semi-analytic accuracy benchmark for Stokes flow in 3-D spherical mantle convection codes, GEM – Int. J. Geomath., 11, <a href="https://doi.org/10.1007/s13137-019-0137-3" target="_blank">https://doi.org/10.1007/s13137-019-0137-3</a>, 2019.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib32"><label>Ilangovan(2025)</label><mixed-citation>
      
Ilangovan, P.: Software used for experiments in “Highly Scalable Geodynamic
Simulations with HyTeG”, Zenodo [code], <a href="https://doi.org/10.5281/zenodo.17341565" target="_blank">https://doi.org/10.5281/zenodo.17341565</a>, 2025.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib33"><label>Ilangovan et al.(2024)Ilangovan, DAscoli, Kohl, and
Mohr</label><mixed-citation>
      
Ilangovan, P., D'Ascoli, E., Kohl, N., and Mohr, M.: Numerical Studies on
Coupled Stokes-Transport Systems for Mantle Convection, Springer Nature, Switzerland, 288–302, ISBN 9783031637599, <a href="https://doi.org/10.1007/978-3-031-63759-9_33" target="_blank">https://doi.org/10.1007/978-3-031-63759-9_33</a>, 2024.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib34"><label>Ilangovan et al.(2025)Ilangovan, Kohl, and Mohr</label><mixed-citation>
      
Ilangovan, P., Kohl, N., and Mohr, M.: Geodynamic Benchmark Simulations with
HyTeG: Supplementary Data for Article “Highly Scalable Geodynamic Simulations with HyTeG”, Leibniz Supercomputing Centre (LRZ) [data set], <a href="https://doi.org/10.25927/zvnf9-cvc38" target="_blank">https://doi.org/10.25927/zvnf9-cvc38</a>, 2025.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib35"><label>Jarvis(1993)</label><mixed-citation>
      
Jarvis, G. T.: Effects of curvature on two‐dimensional models of mantle
convection: Cylindrical polar coordinates, J. Geophys. Res.-Solid, 98, 4477–4485, <a href="https://doi.org/10.1029/92jb02117" target="_blank">https://doi.org/10.1029/92jb02117</a>, 1993.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib36"><label>King et al.(2010)King, Lee, van Keken, Leng, Zhong, Tan, Tosi, and
Kameyama</label><mixed-citation>
      
King, S. D., Lee, C., van Keken, P. E., Leng, W., Zhong, S., Tan, E., Tosi, N., and Kameyama, M. C.: A community benchmark for 2-D Cartesian compressible
convection in the Earth’s mantle, Geophys. J. Int., 180, 73–87, <a href="https://doi.org/10.1111/j.1365-246x.2009.04413.x" target="_blank">https://doi.org/10.1111/j.1365-246x.2009.04413.x</a>, 2010.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib37"><label>Knapek(1998)</label><mixed-citation>
      
Knapek, S.: Matrix-Dependent Multigrid Homogenization for Diffusion Problems,
SIAM J. Sci. Comput., 20, 515–533, <a href="https://doi.org/10.1137/s1064827596304848" target="_blank">https://doi.org/10.1137/s1064827596304848</a>, 1998.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib38"><label>Kohl and Rüde(2022)</label><mixed-citation>
      
Kohl, N. and Rüde, U.: Textbook Efficiency: Massively Parallel Matrix-Free Multigrid for the Stokes System, SIAM J. Sci. Comput., 44, C124–C155, <a href="https://doi.org/10.1137/20M1376005" target="_blank">https://doi.org/10.1137/20M1376005</a>, 2022.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib39"><label>Kohl et al.(2019)Kohl, Thnnes, Drzisga, Bartuschat, and
Rde</label><mixed-citation>
      
Kohl, N., Thönnes, D., Drzisga, D., Bartuschat, D., and Rüde, U.: The
<i>HyTeG</i> finite-element software framework for scalable multigrid
solvers, Int. J. Parallel Emerg. Distrib. Syst., 34, 477–496, <a href="https://doi.org/10.1080/17445760.2018.1506453" target="_blank">https://doi.org/10.1080/17445760.2018.1506453</a>, 2019.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib40"><label>Kohl et al.(2022)Kohl, Mohr, Eibl, and Rde</label><mixed-citation>
      
Kohl, N., Mohr, M., Eibl, S., and Rüde, U.: A Massively Parallel
Eulerian-Lagrangian Method for Advection-Dominated Transport in
Viscous Fluids, SIAM J. Sci. Comput., 44, C260–C285, <a href="https://doi.org/10.1137/21M1402510" target="_blank">https://doi.org/10.1137/21M1402510</a>, 2022.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib41"><label>Kohl et al.(2024)Kohl, Bauer, Böhm, and
Rüde</label><mixed-citation>
      
Kohl, N., Bauer, D., Böhm, F., and Rüde, U.: Fundamental data
structures for matrix-free finite elements on hybrid tetrahedral grids, Int. J. Parallel Emerg. Distrib. Syst., 39, 51–74, <a href="https://doi.org/10.1080/17445760.2023.2266875" target="_blank">https://doi.org/10.1080/17445760.2023.2266875</a>, 2024.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib42"><label>Kramer et al.(2021)Kramer, Davies, and Wilson</label><mixed-citation>
      
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, <a href="https://doi.org/10.5194/gmd-14-1899-2021" target="_blank">https://doi.org/10.5194/gmd-14-1899-2021</a>, 2021.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib43"><label>Kronbichler and Kormann(2012)</label><mixed-citation>
      
Kronbichler, M. and Kormann, K.: A generic interface for parallel cell-based
finite element operator application, Comput. Fluids, 63, 135–147,
<a href="https://doi.org/10.1016/j.compfluid.2012.04.012" target="_blank">https://doi.org/10.1016/j.compfluid.2012.04.012</a>, 2012.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib44"><label>Liu and King(2019)</label><mixed-citation>
      
Liu, S. and King, S. D.: A benchmark study of incompressible Stokes flow in a
3-D spherical shell using ASPECT, Geophys. J. Int., 217, 650–667, <a href="https://doi.org/10.1093/gji/ggz036" target="_blank">https://doi.org/10.1093/gji/ggz036</a>, 2019.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib45"><label>May et al.(2015)May, Brown, and Le Pourhiet</label><mixed-citation>
      
May, D., Brown, J., and Le Pourhiet, L.: A scalable, matrix-free multigrid
preconditioner for finite element discretizations of heterogeneous Stokes flow, Comput. Meth. Appl. Mech. Eng., 290, 496–523, <a href="https://doi.org/10.1016/j.cma.2015.03.014" target="_blank">https://doi.org/10.1016/j.cma.2015.03.014</a>, 2015.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib46"><label>McKenzie and Jarvis(1980)</label><mixed-citation>
      
McKenzie, D. and Jarvis, G.: The conversion of heat into mechanical work by
mantle convection, J. Geophys. Res.-Solid, 85, 6093–6096, <a href="https://doi.org/10.1029/JB085iB11p06093" target="_blank">https://doi.org/10.1029/JB085iB11p06093</a>, 1980.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib47"><label>Mizukami(1986)</label><mixed-citation>
      
Mizukami, A.: A mixed finite element method for boundary flux computation,
Comput. Meth. Appl. Mech. Eng., 57, 239–243, <a href="https://doi.org/10.1016/0045-7825(86)90016-2" target="_blank">https://doi.org/10.1016/0045-7825(86)90016-2</a>, 1986.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib48"><label>Moresi and Solomatov(1995)</label><mixed-citation>
      
Moresi, L.-N. and Solomatov, V. S.: Numerical investigation of 2D convection
with extremely large viscosity variations, Phys. Fluids, 7, 2154–2162,
<a href="https://doi.org/10.1063/1.868465" target="_blank">https://doi.org/10.1063/1.868465</a>, 1995.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib49"><label>Oberbeck(1879)</label><mixed-citation>
      
Oberbeck, A.: Ueber die Wärmeleitung der Flüssigkeiten bei
Berücksichtigung der Strömungen infolge von Temperaturdifferenzen,
Ann. Phys., 243, 271–292, <a href="https://doi.org/10.1002/andp.18792430606" target="_blank">https://doi.org/10.1002/andp.18792430606</a>, 1879.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib50"><label>Oeser et al.(2006)Oeser, Bunge, and Mohr</label><mixed-citation>
      
Oeser, J., Bunge, H.-P., and Mohr, M.: Cluster Design in the Earth Sciences:
TETHYS, in: High Performance Computing and Communications – Second International Conference, HPCC 2006, Munich, Germany, vol. 4208 of Lecture Notes in Computer Science, edited by: Gerndt, M. and Kranzlmüller, D.,  31–40, Springer, <a href="https://doi.org/10.1007/11847366_4" target="_blank">https://doi.org/10.1007/11847366_4</a>, 2006.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib51"><label>Ratcliff et al.(1996)Ratcliff, Schubert, and Zebib</label><mixed-citation>
      
Ratcliff, J. T., Schubert, G., and Zebib, A.: Steady tetrahedral and cubic
patterns of spherical shell convection with temperature‐dependent viscosity, J. Geophys. Res.-Solid, 101, 25473–25484, <a href="https://doi.org/10.1029/96jb02097" target="_blank">https://doi.org/10.1029/96jb02097</a>, 1996.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib52"><label>Ribe(2007)</label><mixed-citation>
      
Ribe, N.: Analytical Approaches to Mantle Dynamics, Elsevier, 167–226,
ISBN 9780444527486, <a href="https://doi.org/10.1016/b978-044452748-6.00117-6" target="_blank">https://doi.org/10.1016/b978-044452748-6.00117-6</a>, 2007.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib53"><label>Roache(2001)</label><mixed-citation>
      
Roache, P. J.: Code Verification by the Method of Manufactured Solutions, J. Fluids Eng., 124, 4–10, <a href="https://doi.org/10.1115/1.1436090" target="_blank">https://doi.org/10.1115/1.1436090</a>, 2001.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib54"><label>Rudi et al.(2017)Rudi, Stadler, and Ghattas</label><mixed-citation>
      
Rudi, J., Stadler, G., and Ghattas, O.: Weighted BFBT Preconditioner for Stokes Flow Problems with Highly Heterogeneous Viscosity, SIAM J. Sci. Comput., 39, S272–S297, <a href="https://doi.org/10.1137/16m108450x" target="_blank">https://doi.org/10.1137/16m108450x</a>, 2017.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib55"><label>Schubert et al.(2001)Schubert, Turcotte, and Olson</label><mixed-citation>
      
Schubert, G., Turcotte, D. L., and Olson, P.: Mantle Convection in the Earth
and Planets, Cambridge University Press, ISBN 9780511612879,
<a href="https://doi.org/10.1017/cbo9780511612879" target="_blank">https://doi.org/10.1017/cbo9780511612879</a>, 2001.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib56"><label>Tan et al.(2006)Tan, Choi, Thoutireddy, Gurnis, and
Aivazis</label><mixed-citation>
      
Tan, E., Choi, E., Thoutireddy, P., Gurnis, M., and Aivazis, M.: GeoFramework: Coupling multiple models of mantle convection within a computational framework, Geochem. Geophy. Geosy., 7, <a href="https://doi.org/10.1029/2005gc001155" target="_blank">https://doi.org/10.1029/2005gc001155</a>, 2006.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib57"><label>Tan et al.(2011)Tan, Leng, Zhong, and Gurnis</label><mixed-citation>
      
Tan, E., Leng, W., Zhong, S., and Gurnis, M.: On the location of plumes and
lateral movement of thermochemical structures with high bulk modulus in the
3-D compressible mantle: Plumes and chemical structures, Geochem. Geophy. Geosy., 12, <a href="https://doi.org/10.1029/2011gc003665" target="_blank">https://doi.org/10.1029/2011gc003665</a>, 2011.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib58"><label>Terrel et al.(2012)Terrel, Scott, Knepley, Kirby, and
Wells</label><mixed-citation>
      
Terrel, A. R., Scott, L. R., Knepley, M. G., Kirby, R. C., and Wells, G. N.:
Finite elements for incompressible fluids, Springer, Berlin, Heidelberg, 385–397, <a href="https://doi.org/10.1007/978-3-642-23099-8_20" target="_blank">https://doi.org/10.1007/978-3-642-23099-8_20</a>, 2012.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib59"><label>Thieulot and Bangerth(2022)</label><mixed-citation>
      
Thieulot, C. and Bangerth, W.: On the choice of finite element for applications in geodynamics, Solid Earth, 13, 229–249, <a href="https://doi.org/10.5194/se-13-229-2022" target="_blank">https://doi.org/10.5194/se-13-229-2022</a>, 2022.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib60"><label>Tosi et al.(2015)Tosi, Stein, Noack, Hüttig, Maierov, Samuel,
Davies, Wilson, Kramer, Thieulot, Glerum, Fraters, Spakman, Rozel, and
Tackley</label><mixed-citation>
      
Tosi, N., Stein, C., Noack, L., Hüttig, C., Maierová, P., Samuel, H., Davies, D. R., Wilson, C. R., Kramer, S. C., Thieulot, C., Glerum, A., Fraters, M., Spakman, W., Rozel, A., and Tackley, P. J.: A community benchmark for viscoplastic thermal convection in a 2-D square box, Geochem.
Geophy. Geosy., 16, 2175–2196, <a href="https://doi.org/10.1002/2015GC005807" target="_blank">https://doi.org/10.1002/2015GC005807</a>, 2015.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib61"><label>Trottenberg et al.(2001)Trottenberg, Oosterlee, and
Schüller</label><mixed-citation>
      
Trottenberg, U., Oosterlee, C., and Schüller, A.: Multigrid, Academic Press, ISBN 0-12-701070-X, 2001.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib62"><label>Williams et al.(2024)Williams, Stamps, Austermann, King, and
Njinju</label><mixed-citation>
      
Williams, K., Stamps, D. S., Austermann, J., King, S., and Njinju, E.: Effects of using the consistent boundary flux method on dynamic topography estimates, Geophys. J. Int., 238, 1137–1149, <a href="https://doi.org/10.1093/gji/ggae203" target="_blank">https://doi.org/10.1093/gji/ggae203</a>, 2024.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib63"><label>Zebib(1993)</label><mixed-citation>
      
Zebib, A.: Linear and weakly nonlinear variable viscosity convection in
spherical shells, Theor. Comput. Fluid Dynam., 4, 241–253, <a href="https://doi.org/10.1007/bf00417930" target="_blank">https://doi.org/10.1007/bf00417930</a>, 1993.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib64"><label>Zhong et al.(1993)Zhong, Gurnis, and Hulbert</label><mixed-citation>
      
Zhong, S., Gurnis, M., and Hulbert, G.: Accurate determination of surface
normal stress in viscous flow from a consistent boundary flux method, Phys.
Earth Planet. Inter., 78, 1–8, <a href="https://doi.org/10.1016/0031-9201(93)90078-n" target="_blank">https://doi.org/10.1016/0031-9201(93)90078-n</a>, 1993.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib65"><label>Zhong et al.(2000)Zhong, Zuber, Moresi, and Gurnis</label><mixed-citation>
      
Zhong, S., Zuber, M. T., Moresi, L., and Gurnis, M.: Role of temperature-dependent viscosity and surface plates in spherical shell
models of mantle convection, J. Geophys. Res.-Solid, 105, 11063–11082, <a href="https://doi.org/10.1029/2000jb900003" target="_blank">https://doi.org/10.1029/2000jb900003</a>, 2000.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib66"><label>Zhong et al.(2008)Zhong, McNamara, Tan, Moresi, and
Gurnis</label><mixed-citation>
      
Zhong, S., McNamara, A., Tan, E., Moresi, L., and Gurnis, M.: A benchmark study on mantle convection in a 3-D spherical shell using CitcomS, Geochem. Geophy. Geosy., 9, <a href="https://doi.org/10.1029/2008gc002048" target="_blank">https://doi.org/10.1029/2008gc002048</a>, 2008.

    </mixed-citation></ref-html>--></article>
