<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing with OASIS Tables v3.0 20080202//EN" "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" dtd-version="3.0"><?xmltex \makeatother\@nolinetrue\makeatletter?>
  <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-10-1051-2017</article-id><title-group><article-title>Application of the adjoint approach to optimise the initial conditions of
a turbidity current with the AdjointTurbidity 1.0 model</article-title>
      </title-group><?xmltex \runningtitle{The adjoint approach for turbidity currents}?><?xmltex \runningauthor{S.~D.~Parkinson et al.}?>
      <contrib-group>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Parkinson</surname><given-names>Samuel D.</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="yes" rid="aff2">
          <name><surname>Funke</surname><given-names>Simon W.</given-names></name>
          <email>simon@simula.no</email>
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff3">
          <name><surname>Hill</surname><given-names>Jon</given-names></name>
          
        <ext-link>https://orcid.org/0000-0003-1340-4373</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1 aff4">
          <name><surname>Piggott</surname><given-names>Matthew D.</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Allison</surname><given-names>Peter A.</given-names></name>
          
        </contrib>
        <aff id="aff1"><label>1</label><institution>Department of Earth Science and Engineering, Imperial College London, London, UK</institution>
        </aff>
        <aff id="aff2"><label>2</label><institution>Scientific Computing, Simula Research Laboratory, Fornebu, Norway</institution>
        </aff>
        <aff id="aff3"><label>3</label><institution>Environment Department, University of York, York, UK</institution>
        </aff>
        <aff id="aff4"><label>4</label><institution>Grantham Institute – Climate Change and the Environment, Imperial College London, London, UK</institution>
        </aff>
      </contrib-group>
      <author-notes><corresp id="corr1">Simon W. Funke (simon@simula.no)</corresp></author-notes><pub-date><day>7</day><month>March</month><year>2017</year></pub-date>
      
      <volume>10</volume>
      <issue>3</issue>
      <fpage>1051</fpage><lpage>1068</lpage>
      <history>
        <date date-type="received"><day>26</day><month>May</month><year>2016</year></date>
           <date date-type="rev-request"><day>13</day><month>July</month><year>2016</year></date>
           <date date-type="rev-recd"><day>6</day><month>January</month><year>2017</year></date>
           <date date-type="accepted"><day>8</day><month>February</month><year>2017</year></date>
      </history>
      <permissions>
<license license-type="open-access">
<license-p>This work is licensed under a Creative Commons Attribution 3.0 Unported License. To view a copy of this license, visit <ext-link ext-link-type="uri" xlink:href="http://creativecommons.org/licenses/by/3.0/">http://creativecommons.org/licenses/by/3.0/</ext-link></license-p>
</license>
</permissions><self-uri xlink:href="https://gmd.copernicus.org/articles/10/1051/2017/gmd-10-1051-2017.html">This article is available from https://gmd.copernicus.org/articles/10/1051/2017/gmd-10-1051-2017.html</self-uri>
<self-uri xlink:href="https://gmd.copernicus.org/articles/10/1051/2017/gmd-10-1051-2017.pdf">The full text article is available as a PDF file from https://gmd.copernicus.org/articles/10/1051/2017/gmd-10-1051-2017.pdf</self-uri>


      <abstract>
    <p>Turbidity currents are one of the main drivers of sediment
transport from the continental shelf to the deep ocean. The resulting
sediment deposits can reach hundreds of kilometres into the ocean. Computer
models that simulate turbidity currents and the resulting sediment deposit
can help us to understand their general behaviour. However, in order to recreate
real-world scenarios, the challenge is to find the turbidity current
parameters that reproduce the observations of sediment deposits.</p>
    <p>This paper demonstrates a solution to the inverse sediment transportation
problem: for a known sedimentary deposit, the developed model reconstructs
details about the turbidity current that produced the deposit. The
reconstruction is constrained here by a shallow water sediment-laden density
current model, which is discretised by the finite-element method and an
adaptive time-stepping scheme. The model is differentiated using the adjoint
approach, and an efficient gradient-based optimisation method is applied to
identify the turbidity parameters which minimise the misfit between the modelled and
the observed field sediment deposits. The capabilities of this approach are
demonstrated using measurements taken in the Miocene Marnoso-arenacea Formation (Italy). We find that whilst the model cannot match the deposit
exactly due to limitations in the physical processes simulated, it provides
valuable insights into the depositional processes and represents a
significant advance in our toolset for interpreting turbidity current
deposits.</p>
  </abstract>
    </article-meta>
  </front>
<body>
      

      <?xmltex \hack{\newpage}?>
<sec id="Ch1.S1" sec-type="intro">
  <title>Introduction</title>
      <p>Turbidity currents are density currents driven by sediment particles that are
suspended by turbulence in the containing fluid <xref ref-type="bibr" rid="bib1.bibx31" id="paren.1"/>. They occur
frequently throughout the Earth's oceans and are one of the main processes by
which sediment is moved from the continental shelf to the deep ocean. The
largest turbidity currents can involve several hundred cubic kilometres of
sediment <xref ref-type="bibr" rid="bib1.bibx43" id="paren.2"/> and can travel for hundreds of kilometres
across the seabed at speeds of tens of metres per second <xref ref-type="bibr" rid="bib1.bibx20" id="paren.3"/>.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F1" specific-use="star"><caption><p>This schematic representation of a dense gravity current (left) and a
corresponding depth-averaged shallow water approximation (right) shows
current height <inline-formula><mml:math id="M1" display="inline"><mml:mi>h</mml:mi></mml:math></inline-formula>, volume fraction <inline-formula><mml:math id="M2" display="inline"><mml:mi>c</mml:mi></mml:math></inline-formula>, depth-averaged volume fraction
<inline-formula><mml:math id="M3" display="inline"><mml:mi mathvariant="italic">ψ</mml:mi></mml:math></inline-formula>, velocity <inline-formula><mml:math id="M4" display="inline"><mml:mi mathvariant="bold-italic">u</mml:mi></mml:math></inline-formula>, the forward component of the depth-averaged
velocity <inline-formula><mml:math id="M5" display="inline"><mml:mi>u</mml:mi></mml:math></inline-formula>, and deposit depth <inline-formula><mml:math id="M6" display="inline"><mml:mi mathvariant="italic">η</mml:mi></mml:math></inline-formula>.</p></caption>
        <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/10/1051/2017/gmd-10-1051-2017-f01.png"/>

      </fig>

      <p>The vast majority of the available data on turbidity currents are contained in
the sedimentary deposits that they leave behind. Significant effort is spent
on attempting to diagnose details about the turbidity current that produced
these deposits. <xref ref-type="bibr" rid="bib1.bibx41 bib1.bibx44" id="text.4"/> describe the current theories on how
deposits found in the field are formed. The experimental evidence cannot yet
validate all of these theories. Computer models, along with laboratory
experiments, have been useful tools in improving our understanding of the
dynamics of turbidity currents
<xref ref-type="bibr" rid="bib1.bibx41 bib1.bibx26 bib1.bibx37" id="paren.5"/>. However, computer models have
not often been directly applied to recreating deposits found in the field,
despite their capacity to do so. They are generally applied to idealised
cases to understand a specific physical mechanism. It is useful to directly
apply models in an attempt to recreate real-world deposits
<xref ref-type="bibr" rid="bib1.bibx11 bib1.bibx23 bib1.bibx8" id="paren.6"/>, but this requires good knowledge of
the initial and boundary conditions and accurate estimates of values for
other controlling model parameters, which are often hard to determine
<xref ref-type="bibr" rid="bib1.bibx41" id="paren.7"/>.</p>
      <p>The task of obtaining a set of model input parameters based upon a desired
model output represents an inverse problem. It can also be interpreted as an
optimisation problem for which model parameters are sought to minimise the misfit
between the deposit profile generated by the model and a target deposit
profile, which is produced from measurements taken in the field.</p>
      <p>In this paper, a shallow water model is used to simulate turbidity currents.
The shallow water equations are a set of partial differential equations
(PDEs). The optimisation of PDE-based models occurs throughout science and
engineering and is already applied, for instance, in ocean science
<xref ref-type="bibr" rid="bib1.bibx33" id="paren.8"/>, renewable energy <xref ref-type="bibr" rid="bib1.bibx13" id="paren.9"/>, and design
problems <xref ref-type="bibr" rid="bib1.bibx16" id="paren.10"/>. In addition, there is a growing
interest in applying inverse modelling techniques to the modelling of
turbidity currents <xref ref-type="bibr" rid="bib1.bibx29 bib1.bibx35 bib1.bibx39" id="paren.11"/>. In
particular, <xref ref-type="bibr" rid="bib1.bibx29" id="text.12"/> applied a gradient-free optimisation
method to reconstruct parameters for a turbidity model.</p>
      <p>PDE models of turbidity currents require the definition of initial and
boundary conditions. In the simplest case, this could involve the definition
of a static lock-release laboratory configuration with uniform sediment depth
and a single, uniform sediment grain size. Such a simple configuration would
at least require the definition of the initial depth of the current,
the concentration of sediment in the fluid, the ratio of initial depth to length, and
the parameters controlling the particle settling velocity and flow front speed.
More realistic initial conditions would be an inflow condition with
time-varying depth, velocity, and concentrations of a wide range of sediment
grain sizes along with information defining the topography of the bed, its
composition, the parameterisations governing bed erosion rates, flow
rheology, and bedload transport. As the model complexity and the choices of boundary and initial
conditions increase, the range of deposit shapes that
can be generated by the model also increases such that the model is capable of better
recreating a range of deposits found in the field. However, with this added
complexity, the parameter space grows and the manual tuning of the parameters becomes
a greater challenge.</p>
      <p>This paper presents a shallow water sediment-laden density current model,
released under the name AdjointTurbidity 1.0, that uses a novel finite-element mixed discontinuous Galerkin function space with adaptive
time stepping (Sect. <xref ref-type="sec" rid="Ch1.S2"/>). The model implementation is verified
through comparison with analytical solutions and convergence analyses
(Sect. <xref ref-type="sec" rid="Ch1.S2.SS5"/>). The model is then differentiated using the adjoint
method, which is an efficient way of computing the sensitivity of a model
output to many input parameters (Sect. <xref ref-type="sec" rid="Ch1.S3"/>). This enables the
use of fast-converging gradient-based optimisation techniques. Finally, a
gradient-based optimisation technique is applied to minimise the data misfit
between the modelled sediment deposit and field measurements taken in the
Miocene Marnoso-arenacea Formation (Sect. <xref ref-type="sec" rid="Ch1.S4"/>). To the
best of the authors' knowledge, this paper represents the first published work
in which adjoint-based optimisation is applied to turbidity currents and
demonstrates the usefulness of these techniques for interpreting sedimentary
successions that have been deposited by turbidity currents.</p>
</sec>
<sec id="Ch1.S2">
  <title>Model</title>
      <p>Shallow water models solve the Navier–Stokes equations in depth-averaged
form (Fig. <xref ref-type="fig" rid="Ch1.F1"/>). They are a valid approximation when the
horizontal length scale, or the length of the current, is much larger than the
vertical length scale, or the height of the current. This is the case for all
sediment-laden density currents a short period after an initial
release. In this case, the vertical pressure gradients are in near hydrostatic
balance. Sediment in the current is assumed to be well mixed by the
turbulence in the flow such that there is a vertically uniform sediment
distribution.</p>
      <p>Shallow water sediment-laden density current models come in a variety of
forms. <xref ref-type="bibr" rid="bib1.bibx36" id="text.13"/> proposed the “four-equation” model. This is a
complex model which accounts for entrainment of sediment from the bed and
entrainment of ambient fluid into the flow. It has an extra equation for the
internal kinetic energy of the flow, which is translated into potential
energy through these mixing processes. A drag force is applied along the
length of the current which takes into account the viscous forces impeding
the flow motion at the base and top of the flow. This model has been applied
to large-scale turbidity currents
<xref ref-type="bibr" rid="bib1.bibx11 bib1.bibx23" id="paren.14"/>. It is dependent upon the selection of
numerous governing parameters and hence is a good case for
inverse modelling. A similar but slightly simplified model was used by
<xref ref-type="bibr" rid="bib1.bibx7 bib1.bibx8" id="text.15"/> for modelling the plume of a dense pyroclastic
basal flow. This model also included a dense underflow that has been applied
in direct comparison with field measurements <xref ref-type="bibr" rid="bib1.bibx8" id="paren.16"/>.</p>
      <p><xref ref-type="bibr" rid="bib1.bibx4" id="text.17"/> proposed one- and two-layer sediment-laden shallow water
density current models. The two-layer model includes equations for the motion
of the ambient fluid through which the density current is propagating. This
is important when the ambient fluid depth is similar to the initial current
depth. The one- and two-layer models presented by <xref ref-type="bibr" rid="bib1.bibx4" id="text.18"/> use a
coordinate system that adapts relative to the length of the flow. The moving
coordinate system allows the speed to be prescribed at the front of the
current. This speed can be well approximated using the Froude number, the
height, and the volume fraction of sediment in the current. This is a good
approach, as the speed of the front of a gravity current is governed by
dynamics that cannot be resolved by a vertically averaged model. The moving
coordinate system also results in a discretisation that scales with the
horizontal length scale of the flow. This is beneficial for capturing the
important flow features. This model has been used extensively in
understanding turbidity current flow characteristics
<xref ref-type="bibr" rid="bib1.bibx18 bib1.bibx21" id="paren.19"/>, including the effects of modelling polydisperse
suspensions <xref ref-type="bibr" rid="bib1.bibx19 bib1.bibx15" id="paren.20"/> and the effects of external flow
<xref ref-type="bibr" rid="bib1.bibx17" id="paren.21"/>. The model used in this paper is based upon the single
layer shallow water model of <xref ref-type="bibr" rid="bib1.bibx4" id="text.22"/>.</p>
<sec id="Ch1.S2.SS1">
  <title>Governing equations</title>
      <p>The equations governing the current column height, <inline-formula><mml:math id="M7" display="inline"><mml:mi>h</mml:mi></mml:math></inline-formula>, and the vertically
integrated momentum, <inline-formula><mml:math id="M8" display="inline"><mml:mrow><mml:mi>q</mml:mi><mml:mo>=</mml:mo><mml:mi>u</mml:mi><mml:mi>h</mml:mi></mml:mrow></mml:math></inline-formula>, with <inline-formula><mml:math id="M9" display="inline"><mml:mi>u</mml:mi></mml:math></inline-formula> being the depth-averaged current
velocity, are described in non-dimensionalised conservative form
as

                <disp-formula specific-use="align" content-type="numbered"><mml:math id="M10" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E1"><mml:mtd/><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>h</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:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>x</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E2"><mml:mtd/><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>q</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:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mo>∂</mml:mo><mml:mrow><mml:mo>∂</mml:mo><mml:mi>x</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced close=")" open="("><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msup><mml:mi>q</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow><mml:mi>h</mml:mi></mml:mfrac></mml:mstyle><mml:mo>+</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi mathvariant="italic">φ</mml:mi><mml:mi>h</mml:mi></mml:mrow><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle></mml:mfenced><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

            with boundary conditions

                <disp-formula specific-use="align" content-type="numbered"><mml:math id="M11" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E3"><mml:mtd/><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mi>q</mml:mi></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mtext>at</mml:mtext><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi>x</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E4"><mml:mtd/><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mi>q</mml:mi></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mo>=</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mi>h</mml:mi><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mtext>at</mml:mtext><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi>x</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mtr><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mtext>given that</mml:mtext></mml:mrow></mml:mtd></mml:mtr><mml:mlabeledtr id="Ch1.E5"><mml:mtd/><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mo>=</mml:mo><mml:mi>F</mml:mi><mml:mi>r</mml:mi><mml:msup><mml:mi mathvariant="italic">φ</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mtext>at</mml:mtext><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi>x</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

            where <inline-formula><mml:math id="M12" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the location of the front of the current, <inline-formula><mml:math id="M13" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the
velocity of the front of the current, <inline-formula><mml:math id="M14" display="inline"><mml:mrow><mml:mi>F</mml:mi><mml:mi>r</mml:mi></mml:mrow></mml:math></inline-formula> is the Froude number, and
<inline-formula><mml:math id="M15" display="inline"><mml:mrow><mml:mi mathvariant="italic">φ</mml:mi><mml:mo>=</mml:mo><mml:mi mathvariant="italic">ψ</mml:mi><mml:mi>h</mml:mi></mml:mrow></mml:math></inline-formula> is the vertically integrated volume fraction of sediment
where <inline-formula><mml:math id="M16" display="inline"><mml:mi mathvariant="italic">ψ</mml:mi></mml:math></inline-formula> is the depth-averaged volume fraction of sediment within the
flow. Through experimentation, the Froude number for a density current with
a head height <inline-formula><mml:math id="M17" display="inline"><mml:mo>&lt;</mml:mo></mml:math></inline-formula> 0.075 of the total water depth has been found to be <inline-formula><mml:math id="M18" display="inline"><mml:mn mathvariant="normal">1.19</mml:mn></mml:math></inline-formula>
<xref ref-type="bibr" rid="bib1.bibx24" id="paren.23"/>. The evolution of <inline-formula><mml:math id="M19" display="inline"><mml:mi mathvariant="italic">φ</mml:mi></mml:math></inline-formula> is described using
            <disp-formula id="Ch1.E6" content-type="numbered"><mml:math id="M20" display="block"><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:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mo>∂</mml:mo><mml:mrow><mml:mo>∂</mml:mo><mml:mi>x</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced open="(" close=")"><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi>q</mml:mi><mml:mi mathvariant="italic">φ</mml:mi></mml:mrow><mml:mi>h</mml:mi></mml:mfrac></mml:mstyle></mml:mfenced><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:mi mathvariant="italic">β</mml:mi><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mi mathvariant="italic">φ</mml:mi><mml:mi>h</mml:mi></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          where <inline-formula><mml:math id="M21" display="inline"><mml:mi mathvariant="italic">β</mml:mi></mml:math></inline-formula> is a constant particle-settling parameter. Hence, the gravitational
forcing term in (Eq. <xref ref-type="disp-formula" rid="Ch1.E2"/>) (the last term on the left-hand side) changes
with time as <inline-formula><mml:math id="M22" display="inline"><mml:mi mathvariant="italic">φ</mml:mi></mml:math></inline-formula> is advected and settles out of the column.</p>
      <p>This single layer model ignores the effect of the motion of the overlying
fluid on the current. This approximation is valid for flows in which the maximum
column height is significantly less than the depth of the ambient fluid
<xref ref-type="bibr" rid="bib1.bibx4 bib1.bibx21" id="paren.24"/>. Viscous forces are also ignored. For high
Reynolds number flows, the viscous forces will be negligible in relation to
the buoyancy forces. <xref ref-type="bibr" rid="bib1.bibx4" id="text.25"/> found that this was valid while
the Reynolds number was greater than <inline-formula><mml:math id="M23" display="inline"><mml:mrow><mml:mi mathvariant="script">O</mml:mi><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>.</p>
      <p>The amount of deposited sediment, <inline-formula><mml:math id="M24" display="inline"><mml:mi mathvariant="italic">η</mml:mi></mml:math></inline-formula>, is also recorded and is calculated
using
            <disp-formula id="Ch1.E7" content-type="numbered"><mml:math id="M25" display="block"><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="italic">β</mml:mi><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mi mathvariant="italic">φ</mml:mi><mml:mi>h</mml:mi></mml:mfrac></mml:mstyle><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p>The model is non-dimensionalised with the length, time, and velocity scales
<inline-formula><mml:math id="M26" display="inline"><mml:mrow><mml:msub><mml:mi>h</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M27" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>h</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>/</mml:mo><mml:msubsup><mml:mi>g</mml:mi><mml:mn mathvariant="normal">0</mml:mn><mml:mo>′</mml:mo></mml:msubsup><mml:msup><mml:mo>)</mml:mo><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>, and <inline-formula><mml:math id="M28" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>h</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msubsup><mml:mi>g</mml:mi><mml:mn mathvariant="normal">0</mml:mn><mml:mo>′</mml:mo></mml:msubsup><mml:msup><mml:mo>)</mml:mo><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> respectively. Here,
<inline-formula><mml:math id="M29" display="inline"><mml:mrow><mml:msub><mml:mi>h</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> is the dimensional depth of the initial sediment release, <inline-formula><mml:math id="M30" display="inline"><mml:mrow><mml:msubsup><mml:mi>g</mml:mi><mml:mn mathvariant="normal">0</mml:mn><mml:mo>′</mml:mo></mml:msubsup><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="italic">ψ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mi>g</mml:mi><mml:mfenced close=")" open="("><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mtext>p</mml:mtext></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mtext>a</mml:mtext></mml:msub></mml:mfenced><mml:mo>/</mml:mo><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mtext>a</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> is the
initial reduced gravity of the current, <inline-formula><mml:math id="M31" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mtext>p</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> is the sediment
particle density, <inline-formula><mml:math id="M32" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mtext>a</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> is the ambient fluid density, which is
assumed to equal the interstitial fluid density, <inline-formula><mml:math id="M33" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ψ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> is the initial
volume fraction of sediment, and <inline-formula><mml:math id="M34" display="inline"><mml:mi>g</mml:mi></mml:math></inline-formula> is the acceleration due to gravity.
Finally, the volume fraction is scaled such that <inline-formula><mml:math id="M35" display="inline"><mml:mrow><mml:msubsup><mml:mo>∫</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup><mml:mi mathvariant="italic">φ</mml:mi><mml:mtext>d</mml:mtext><mml:mi>x</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>.</p>
      <p>Following <xref ref-type="bibr" rid="bib1.bibx4" id="text.26"/>, a coordinate transformation from <inline-formula><mml:math id="M36" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> to
<inline-formula><mml:math id="M37" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mi>y</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="italic">τ</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is applied where <inline-formula><mml:math id="M38" display="inline"><mml:mrow><mml:mi>y</mml:mi><mml:mo>=</mml:mo><mml:mi>x</mml:mi><mml:mo>/</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mi>N</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="M39" display="inline"><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mi mathvariant="italic">τ</mml:mi></mml:mrow></mml:math></inline-formula>. This is a convenient
form for the equations as the front of the current is always at the right-hand
boundary of a fixed computational domain, and hence the boundary condition at
the front of the flow is applied at the right-hand side of the domain. The
transformed derivatives are given by

                <disp-formula specific-use="align" content-type="numbered"><mml:math id="M40" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E8"><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:mo>∂</mml:mo><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mo>∂</mml:mo><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="italic">τ</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi>y</mml:mi><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mo>∂</mml:mo><mml:mrow><mml:mo>∂</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E9"><mml:mtd/><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mo>∂</mml:mo><mml:mrow><mml:mo>∂</mml:mo><mml:mi>x</mml:mi></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>x</mml:mi><mml:mi>N</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mo>∂</mml:mo><mml:mrow><mml:mo>∂</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula></p>
      <p>Applying this coordinate transformation, but keeping <inline-formula><mml:math id="M41" display="inline"><mml:mi>t</mml:mi></mml:math></inline-formula> in place of <inline-formula><mml:math id="M42" display="inline"><mml:mi mathvariant="italic">τ</mml:mi></mml:math></inline-formula>
for notational simplicity following <?xmltex \hack{\mbox\bgroup}?><xref ref-type="bibr" rid="bib1.bibx4" id="text.27"/><?xmltex \hack{\egroup}?>, produces
the system of equations
<?xmltex \hack{\newpage}?>

                <disp-formula specific-use="align" content-type="numbered"><mml:math id="M43" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E10"><mml:mtd/><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>h</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:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced open="(" close=")"><mml:mi>y</mml:mi><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>h</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E11"><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>q</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:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced close=")" open="("><mml:mi>y</mml:mi><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mo>∂</mml:mo><mml:mrow><mml:mo>∂</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced close=")" open="("><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msup><mml:mi>q</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow><mml:mi>h</mml:mi></mml:mfrac></mml:mstyle><mml:mo>+</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi mathvariant="italic">φ</mml:mi><mml:mi>h</mml:mi></mml:mrow><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle></mml:mfenced></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E12"><mml:mtd/><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></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:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced close=")" open="("><mml:mi>y</mml:mi><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><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>y</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mo>∂</mml:mo><mml:mrow><mml:mo>∂</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced open="(" close=")"><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi>q</mml:mi><mml:mi mathvariant="italic">φ</mml:mi></mml:mrow><mml:mi>h</mml:mi></mml:mfrac></mml:mstyle></mml:mfenced></mml:mfenced><mml:mo>-</mml:mo><mml:mi mathvariant="italic">β</mml:mi><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mi mathvariant="italic">φ</mml:mi><mml:mi>h</mml:mi></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E13"><mml:mtd/><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></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:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced close=")" open="("><mml:mi>y</mml:mi><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><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>y</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mo>+</mml:mo><mml:mi mathvariant="italic">β</mml:mi><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mi mathvariant="italic">φ</mml:mi><mml:mi>h</mml:mi></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E14"><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:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>=</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

            with boundary conditions

                <disp-formula specific-use="align" content-type="numbered"><mml:math id="M44" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E15"><mml:mtd/><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mi>q</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mtext>at</mml:mtext><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi>y</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E16"><mml:mtd/><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mi>q</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mi>h</mml:mi></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mtext>at</mml:mtext><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi>y</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E17"><mml:mtd/><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mi mathvariant="italic">η</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mtext>at</mml:mtext><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi>y</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mtr><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mtext>given that</mml:mtext></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mspace width="0.25em" linebreak="nobreak"/><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mi>F</mml:mi><mml:mi>r</mml:mi><mml:msup><mml:mi mathvariant="italic">φ</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mtext>at</mml:mtext><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi>y</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula></p>
      <p>Note that Eq. (<xref ref-type="disp-formula" rid="Ch1.E14"/>) for <inline-formula><mml:math id="M45" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> has been introduced to close
the system.</p>
      <p>It is now shown that the boundary conditions (see
Eqs. <xref ref-type="disp-formula" rid="Ch1.E15"/>–<xref ref-type="disp-formula" rid="Ch1.E17"/>) are sufficient to uniquely
solve this system. Equations (<xref ref-type="disp-formula" rid="Ch1.E10"/>)–(<xref ref-type="disp-formula" rid="Ch1.E13"/>) are a
hyperbolic system of PDEs. For such a system to be well posed, there must be a
boundary condition for each inwardly propagating characteristic. This system
of equations has four characteristic velocities:

                <disp-formula specific-use="align" content-type="numbered"><mml:math id="M46" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E18"><mml:mtd/><mml:mtd><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mo>=</mml:mo><mml:msub><mml:mi>c</mml:mi><mml:mo>±</mml:mo></mml:msub><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>x</mml:mi><mml:mi>N</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced open="(" close=")"><mml:mi>u</mml:mi><mml:mo>-</mml:mo><mml:mi>y</mml:mi><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mo>±</mml:mo><mml:msup><mml:mi mathvariant="italic">φ</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E19"><mml:mtd/><mml:mtd><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mo>=</mml:mo><mml:mi>c</mml:mi><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>x</mml:mi><mml:mi>N</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced open="(" close=")"><mml:mi>u</mml:mi><mml:mo>-</mml:mo><mml:mi>y</mml:mi><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E20"><mml:mtd/><mml:mtd><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>y</mml:mi></mml:mrow><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mo>=</mml:mo><mml:msub><mml:mi>c</mml:mi><mml:mi mathvariant="italic">η</mml:mi></mml:msub><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:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mi>y</mml:mi><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula></p>
      <p>These are obtained using the method of characteristics, where <inline-formula><mml:math id="M47" display="inline"><mml:mrow><mml:msub><mml:mi>c</mml:mi><mml:mo>±</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> is the
characteristic velocity of waves in shallow water, <inline-formula><mml:math id="M48" display="inline"><mml:mi>c</mml:mi></mml:math></inline-formula> is the advection velocity
of sediment, and <inline-formula><mml:math id="M49" display="inline"><mml:mrow><mml:msub><mml:mi>c</mml:mi><mml:mi mathvariant="italic">η</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the advection velocity of deposited sediment which
is advected away from the current head as the domain length increases.</p>
      <p>Due to the boundary conditions on momentum, the following is true: <inline-formula><mml:math id="M50" display="inline"><mml:mrow><mml:mi>u</mml:mi><mml:mo>=</mml:mo><mml:mi>q</mml:mi><mml:mo>/</mml:mo><mml:mi>h</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula>
at <inline-formula><mml:math id="M51" display="inline"><mml:mrow><mml:mi>y</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M52" display="inline"><mml:mrow><mml:mi>u</mml:mi><mml:mo>=</mml:mo><mml:mi>q</mml:mi><mml:mo>/</mml:mo><mml:mi>h</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> at <inline-formula><mml:math id="M53" display="inline"><mml:mrow><mml:mi>y</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>. Hence, <inline-formula><mml:math id="M54" display="inline"><mml:mrow><mml:mi>c</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula> at both <inline-formula><mml:math id="M55" display="inline"><mml:mrow><mml:mi>y</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula> and
<inline-formula><mml:math id="M56" display="inline"><mml:mrow><mml:mi>y</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>. Therefore, there are three inwardly propagating characteristics: <inline-formula><mml:math id="M57" display="inline"><mml:mrow><mml:msub><mml:mi>c</mml:mi><mml:mo>+</mml:mo></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mi mathvariant="italic">φ</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup><mml:mo>/</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> at <inline-formula><mml:math id="M58" display="inline"><mml:mrow><mml:mi>y</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M59" display="inline"><mml:mrow><mml:msub><mml:mi>c</mml:mi><mml:mo>-</mml:mo></mml:msub><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:msup><mml:mi mathvariant="italic">φ</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup><mml:mo>/</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> at <inline-formula><mml:math id="M60" display="inline"><mml:mrow><mml:mi>y</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>, and
<inline-formula><mml:math id="M61" display="inline"><mml:mrow><mml:msub><mml:mi>c</mml:mi><mml:mi mathvariant="italic">η</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:mi>y</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mo>/</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> at <inline-formula><mml:math id="M62" display="inline"><mml:mrow><mml:mi>y</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>. Hence, three boundary conditions
are required for the problem to be well posed such that the three boundary
conditions (Eqs. <xref ref-type="disp-formula" rid="Ch1.E15"/>–<xref ref-type="disp-formula" rid="Ch1.E17"/>) are exactly what is
required.</p>
</sec>
<sec id="Ch1.S2.SS2">
  <title>Discretisation and numerical method</title>
      <p>As the cell size grows throughout the simulation, it is possible to use a much
larger time step at the end of the simulation than at the start of the
simulation. To exploit this property, an adaptive time-stepping scheme is used in
this model. A new time-dependent variable is introduced, <inline-formula><mml:math id="M63" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula>, which will
vary according to a CFL criteria, <inline-formula><mml:math id="M64" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula>, based upon a velocity scale,
<inline-formula><mml:math id="M65" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>,
and the mesh element size such that
            <disp-formula id="Ch1.E21" content-type="numbered"><mml:math id="M66" display="block"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mi>C</mml:mi><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>x</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>=</mml:mo><mml:mi>C</mml:mi><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub><mml:msub><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>y</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          where <inline-formula><mml:math id="M67" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>x</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the mesh element size in <inline-formula><mml:math id="M68" display="inline"><mml:mi>x</mml:mi></mml:math></inline-formula>, and <inline-formula><mml:math id="M69" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>y</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the mesh
element size in the transformed coordinate system <inline-formula><mml:math id="M70" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula>. The time-dependent
model variables are defined as a vector
            <disp-formula id="Ch1.E22" content-type="numbered"><mml:math id="M71" display="block"><mml:mrow><mml:mi>U</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mfenced close="]" open="["><mml:mi>h</mml:mi><mml:mo>,</mml:mo><mml:mi>q</mml:mi><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:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mfenced><mml:mi>T</mml:mi></mml:msup><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p>The system is discretised in time using a second-order explicit Runge–Kutta
time discretisation <xref ref-type="bibr" rid="bib1.bibx5" id="paren.28"/>. An implicit term is added to the
semi-discrete system in order to solve for the diagnostic variables
<inline-formula><mml:math id="M72" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M73" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula>. With <inline-formula><mml:math id="M74" display="inline"><mml:mrow><mml:msup><mml:mi>U</mml:mi><mml:mi>n</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> as the solution at the beginning of
the time step, <inline-formula><mml:math id="M75" display="inline"><mml:mrow><mml:msup><mml:mi>U</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> as the solution at the end of the time step, and
<inline-formula><mml:math id="M76" display="inline"><mml:mrow><mml:msup><mml:mi>U</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M77" display="inline"><mml:mrow><mml:msup><mml:mi>U</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>, and <inline-formula><mml:math id="M78" display="inline"><mml:mrow><mml:msup><mml:mi>U</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> as intermediate values, the system of
equations (discretised in time) can be written as

                <disp-formula specific-use="align" content-type="numbered"><mml:math id="M79" display="block"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:msup><mml:mi>U</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:msup><mml:mi>U</mml:mi><mml:mi>n</mml:mi></mml:msup><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mlabeledtr id="Ch1.E23"><mml:mtd/><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:msup><mml:mi>U</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:mi>A</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi>U</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>)</mml:mo><mml:mo>+</mml:mo><mml:mi>L</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi>U</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>)</mml:mo><mml:mo>+</mml:mo><mml:mi>K</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi>U</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mtr><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:msup><mml:mi>U</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:mi>A</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi>U</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>)</mml:mo><mml:mo>+</mml:mo><mml:mi>L</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi>U</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>)</mml:mo><mml:mo>+</mml:mo><mml:mi>K</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi>U</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:msup><mml:mi>U</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:msup><mml:mi>U</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>+</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:msup><mml:mi>U</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>

            where

                <disp-formula specific-use="align" content-type="numbered"><mml:math id="M80" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E24"><mml:mtd/><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mi>A</mml:mi><mml:mo>(</mml:mo><mml:mi>U</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:msup><mml:mfenced open="[" close="]"><mml:mi>h</mml:mi><mml:mo>,</mml:mo><mml:mi>q</mml:mi><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:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mfenced><mml:mi>T</mml:mi></mml:msup><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E25"><mml:mtd/><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mi>L</mml:mi><mml:mo>(</mml:mo><mml:mi>U</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mtr><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:mi>t</mml:mi><mml:mfenced open="(" close=")"><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced open="(" close=")"><mml:mi>y</mml:mi><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:mi>U</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>x</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:mi>U</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>x</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mo>+</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:mi>U</mml:mi><mml:mo>)</mml:mo></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mlabeledtr id="Ch1.E26"><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>f</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mfenced close="]" open="["><mml:mi>h</mml:mi><mml:mo>,</mml:mo><mml:mi>q</mml:mi><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:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mfenced><mml:mi>T</mml:mi></mml:msup><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E27"><mml:mtd/><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mfenced open="[" close="]"><mml:mi>q</mml:mi><mml:mo>,</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msup><mml:mi>q</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow><mml:mi>h</mml:mi></mml:mfrac></mml:mstyle><mml:mo>+</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi mathvariant="italic">φ</mml:mi><mml:mi>h</mml:mi></mml:mrow><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi>q</mml:mi><mml:mi mathvariant="italic">φ</mml:mi></mml:mrow><mml:mi>h</mml:mi></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mfenced><mml:mi>T</mml:mi></mml:msup><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E28"><mml:mtd/><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mfenced open="[" close="]"><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mo>-</mml:mo><mml:mi mathvariant="italic">β</mml:mi><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mi mathvariant="italic">φ</mml:mi><mml:mi>h</mml:mi></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:mi mathvariant="italic">β</mml:mi><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mi mathvariant="italic">φ</mml:mi><mml:mi>h</mml:mi></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mfenced><mml:mi>T</mml:mi></mml:msup><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

            <inline-formula><mml:math id="M81" display="inline"><mml:mrow><mml:mi>A</mml:mi><mml:mo>(</mml:mo><mml:mi>U</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is non-zero where there is a time derivative term. <inline-formula><mml:math id="M82" display="inline"><mml:mrow><mml:mi>L</mml:mi><mml:mo>(</mml:mo><mml:mi>U</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is the explicit
right-hand side term multiplied by <inline-formula><mml:math id="M83" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula>. Note that <inline-formula><mml:math id="M84" display="inline"><mml:mrow><mml:mi>K</mml:mi><mml:mo>(</mml:mo><mml:mi>U</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> contains the implicit
right-hand side terms. <inline-formula><mml:math id="M85" display="inline"><mml:mrow><mml:mi>K</mml:mi><mml:mo>(</mml:mo><mml:mi>U</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> can only be easily described well in weak form, so
this is defined later.</p>
      <p>The spatially weak form of the semi-discrete system (Eq. <xref ref-type="disp-formula" rid="Ch1.E23"/>) is
obtained as <inline-formula><mml:math id="M86" display="inline"><mml:mi mathvariant="normal">Ψ</mml:mi></mml:math></inline-formula> and integrated over the domain <inline-formula><mml:math id="M87" display="inline"><mml:mi mathvariant="normal">Ω</mml:mi></mml:math></inline-formula>. This gives
<inline-formula><mml:math id="M88" display="inline"><mml:mi mathvariant="normal">Ω</mml:mi></mml:math></inline-formula>. For all <inline-formula><mml:math id="M89" display="inline"><mml:mi mathvariant="normal">Ψ</mml:mi></mml:math></inline-formula> in an appropriately chosen test space,

                <disp-formula specific-use="align" content-type="numbered"><mml:math id="M90" display="block"><mml:mtable displaystyle="true"><mml:mtr><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="normal">Ψ</mml:mi><mml:mo>⋅</mml:mo><mml:msup><mml:mi>U</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mtext>d</mml:mtext><mml:mi mathvariant="normal">Ω</mml:mi></mml:mrow></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:msup><mml:mi>U</mml:mi><mml:mi>n</mml:mi></mml:msup><mml:mtext>d</mml:mtext><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mlabeledtr id="Ch1.E29"><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="normal">Ψ</mml:mi><mml:mo>⋅</mml:mo><mml:msup><mml:mi>U</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mtext>d</mml:mtext><mml:mi mathvariant="normal">Ω</mml:mi></mml:mrow></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:mi>A</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi>U</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>)</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mtext>d</mml:mtext><mml:mi mathvariant="normal">Ω</mml:mi></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mtr><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: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:mi>L</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi>U</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>)</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mtext>d</mml:mtext><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:mo>⋅</mml:mo><mml:mi>K</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi>U</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>)</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mtext>d</mml:mtext><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><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="normal">Ψ</mml:mi><mml:mo>⋅</mml:mo><mml:msup><mml:mi>U</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mtext>d</mml:mtext><mml:mi mathvariant="normal">Ω</mml:mi></mml:mrow></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:mi>A</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi>U</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>)</mml:mo><mml:mtext>d</mml:mtext><mml:mi mathvariant="normal">Ω</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><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: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:mi>L</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi>U</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>)</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mtext>d</mml:mtext><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:mo>⋅</mml:mo><mml:mi>K</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi>U</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>)</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mtext>d</mml:mtext><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><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="normal">Ψ</mml:mi><mml:mo>⋅</mml:mo><mml:msup><mml:mi>U</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mtext>d</mml:mtext><mml:mi mathvariant="normal">Ω</mml:mi></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><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:msup><mml:mi>U</mml:mi><mml:mi>n</mml:mi></mml:msup><mml:mo>+</mml:mo><mml:msup><mml:mi>U</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mfenced><mml:mtext>d</mml:mtext><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula></p>
      <p>Piecewise linear discontinuous Galerkin (DG) elements are used to discretise the
spatially varying state variables. Thus, the spatial and temporal discretisations
both have second-order accuracy. DG element types are known to be particularly
suitable for advection dominated problems <xref ref-type="bibr" rid="bib1.bibx38" id="paren.29"/>. They are good at
preserving discontinuities as they produce stable discretisations without the
need for diffusive stabilisation strategies, such as streamline upwinding
<xref ref-type="bibr" rid="bib1.bibx38" id="paren.30"/>. These are important features in shallow water
particle-laden density current models.</p>
      <p>In order to construct a DG formulation, a regular partition <inline-formula><mml:math id="M91" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mo mathvariant="italic">{</mml:mo><mml:mi>e</mml:mi><mml:mo mathvariant="italic">}</mml:mo></mml:mrow></mml:math></inline-formula> of <inline-formula><mml:math id="M92" display="inline"><mml:mi mathvariant="normal">Ω</mml:mi></mml:math></inline-formula> into non-overlapping subdomains <inline-formula><mml:math id="M93" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="normal">Ω</mml:mi><mml:mi>e</mml:mi></mml:msub><mml:mo>∈</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:mrow></mml:math></inline-formula>
with boundaries <inline-formula><mml:math id="M94" display="inline"><mml:mrow><mml:mo>∂</mml:mo><mml:msub><mml:mi mathvariant="normal">Ω</mml:mi><mml:mi>e</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is considered. The piecewise linear DG
function space is denoted <inline-formula><mml:math id="M95" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">DG</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>. For this function space,
piecewise linear test functions with no global continuity requirement are
considered; i.e. functions that have the potential to be double valued on
<inline-formula><mml:math id="M96" display="inline"><mml:mrow><mml:mo>∂</mml:mo><mml:msub><mml:mi mathvariant="normal">Ω</mml:mi><mml:mi>e</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. <inline-formula><mml:math id="M97" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M98" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, and <inline-formula><mml:math id="M99" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula> are defined on a
function space, <inline-formula><mml:math id="M100" display="inline"><mml:mi mathvariant="bold">R</mml:mi></mml:math></inline-formula>, which is constant throughout the spatial
domain. Therefore, the vector of model unknowns <inline-formula><mml:math id="M101" display="inline"><mml:mi>U</mml:mi></mml:math></inline-formula> is defined on a mixed
function space, <inline-formula><mml:math id="M102" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">V</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:msub><mml:mi mathvariant="bold">DG</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mn mathvariant="normal">4</mml:mn></mml:msup><mml:mo>×</mml:mo><mml:msup><mml:mi mathvariant="bold">R</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>. The
function in the mixed function space is denoted with <inline-formula><mml:math id="M103" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>∈</mml:mo><mml:msub><mml:mi mathvariant="script">V</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and the discretised approximation of the state variable with
<inline-formula><mml:math id="M104" 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 mathvariant="script">V</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>.</p>
      <p>Notice that <inline-formula><mml:math id="M105" display="inline"><mml:mrow><mml:mi>L</mml:mi><mml:mo>(</mml:mo><mml:mi>U</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> contains derivatives of discontinuous functions.
Its undiscretised weak form is

                <disp-formula specific-use="align" content-type="numbered"><mml:math id="M106" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E30"><mml:mtd/><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></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="normal">Ψ</mml:mi><mml:mo>⋅</mml:mo><mml:mi>L</mml:mi><mml:mo>(</mml:mo><mml:mi>U</mml:mi><mml:mo>)</mml:mo><mml:mtext>d</mml:mtext><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>=</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mtr><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi><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 close=")" open="("><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced close=")" open="("><mml:mi>y</mml:mi><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:mi>U</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>x</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:mi>U</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>x</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mo>+</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:mi>U</mml:mi><mml:mo>)</mml:mo></mml:mfenced><mml:mtext>d</mml:mtext><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>

            <?xmltex \hack{\newpage}?></p>
      <p>The discretised DG formulation of Eq. (<xref ref-type="disp-formula" rid="Ch1.E30"/>) is then

                <disp-formula specific-use="align" content-type="numbered"><mml:math id="M107" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E31"><mml:mtd/><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:munder><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>e</mml:mi><mml:mo>∈</mml:mo><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:munder><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mrow><mml:msub><mml:mi mathvariant="normal">Ω</mml:mi><mml:mi>e</mml:mi></mml:msub></mml:mrow></mml:munder><mml:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mi>L</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mtext>d</mml:mtext><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>=</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi><mml:munder><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>e</mml:mi><mml:mo>∈</mml:mo><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:munder><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mrow><mml:msub><mml:mi mathvariant="normal">Ω</mml:mi><mml:mi>e</mml:mi></mml:msub></mml:mrow></mml:munder><mml:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mtr><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:mfenced open="(" close=")"><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced open="(" close=")"><mml:mi>y</mml:mi><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>x</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>x</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mo>+</mml:mo><mml:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mfenced><mml:mtext>d</mml:mtext><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula></p>
      <p>Integrating the gradient terms by parts and slightly rearranging yields

                <disp-formula specific-use="align" content-type="numbered"><mml:math id="M108" display="block"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:munder><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>e</mml:mi><mml:mo>∈</mml:mo><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:munder><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mrow><mml:msub><mml:mi mathvariant="normal">Ω</mml:mi><mml:mi>e</mml:mi></mml:msub></mml:mrow></mml:munder><mml:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mi>L</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mtext>d</mml:mtext><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>=</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mlabeledtr id="Ch1.E32"><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:munder><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>e</mml:mi><mml:mo>∈</mml:mo><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:munder><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mrow><mml:msub><mml:mi mathvariant="normal">Ω</mml:mi><mml:mi>e</mml:mi></mml:msub></mml:mrow></mml:munder><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mo>∂</mml:mo><mml:mrow><mml:mo>∂</mml:mo><mml:mi>x</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced open="(" close=")"><mml:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mi>y</mml:mi><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub></mml:mfenced><mml:mo>⋅</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mtext>d</mml:mtext><mml:mi mathvariant="normal">Ω</mml:mi></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mtr><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></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:mrow><mml:mi>e</mml:mi><mml:mo>∈</mml:mo><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:munder><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mrow><mml:mo>∂</mml:mo><mml:msub><mml:mi mathvariant="normal">Ω</mml:mi><mml:mi>e</mml:mi></mml:msub></mml:mrow></mml:munder><mml:mover accent="true"><mml:mrow><mml:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow><mml:mo stretchy="true" mathvariant="normal">^</mml:mo></mml:mover><mml:mo>⋅</mml:mo><mml:mi>y</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mover accent="true"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow><mml:mo mathvariant="normal" stretchy="true">^</mml:mo></mml:mover><mml:mo>(</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mover accent="true"><mml:mi>n</mml:mi><mml:mo mathvariant="normal" stretchy="true">^</mml:mo></mml:mover><mml:mtext>d</mml:mtext><mml:mi mathvariant="italic">σ</mml:mi><mml:mo>+</mml:mo><mml:munder><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>e</mml:mi><mml:mo>∈</mml:mo><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:munder><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mrow><mml:msub><mml:mi mathvariant="normal">Ω</mml:mi><mml:mi>e</mml:mi></mml:msub></mml:mrow></mml:munder><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>x</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>⋅</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mtext>d</mml:mtext><mml:mi mathvariant="normal">Ω</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><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:mrow><mml:mi>e</mml:mi><mml:mo>∈</mml:mo><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:munder><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mrow><mml:mo>∂</mml:mo><mml:msub><mml:mi mathvariant="normal">Ω</mml:mi><mml:mi>e</mml:mi></mml:msub></mml:mrow></mml:munder><mml:mover accent="true"><mml:mrow><mml:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow><mml:mo stretchy="true" mathvariant="normal">^</mml:mo></mml:mover><mml:mo>⋅</mml:mo><mml:mover accent="true"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow><mml:mo stretchy="true" mathvariant="normal">^</mml:mo></mml:mover><mml:mo>(</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mover accent="true"><mml:mi>n</mml:mi><mml:mo stretchy="true" mathvariant="normal">^</mml:mo></mml:mover><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mtext>d</mml:mtext><mml:mi mathvariant="italic">σ</mml:mi><mml:mo>+</mml:mo><mml:munder><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>e</mml:mi><mml:mo>∈</mml:mo><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:munder><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mrow><mml:msub><mml:mi mathvariant="normal">Ω</mml:mi><mml:mi>e</mml:mi></mml:msub></mml:mrow></mml:munder><mml:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mtext>d</mml:mtext><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>

            where  <inline-formula><mml:math id="M109" display="inline"><mml:mover accent="true"><mml:mo>⋅</mml:mo><mml:mo mathvariant="normal" stretchy="true">^</mml:mo></mml:mover></mml:math></inline-formula>  indicates that the function is double valued and
special attention is required. The various summations can now be rewritten as
integrals over the entire domain <inline-formula><mml:math id="M110" display="inline"><mml:mi mathvariant="normal">Ω</mml:mi></mml:math></inline-formula>, all element interfaces <inline-formula><mml:math id="M111" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="normal">Σ</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>,
and the domain boundaries <inline-formula><mml:math id="M112" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="normal">Γ</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. Note that

                <disp-formula specific-use="align" content-type="numbered"><mml:math id="M113" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E33"><mml:mtd/><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:munder><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>e</mml:mi><mml:mo>∈</mml:mo><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:munder><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mrow><mml:mo>∂</mml:mo><mml:msub><mml:mi mathvariant="normal">Ω</mml:mi><mml:mi>e</mml:mi></mml:msub></mml:mrow></mml:munder><mml:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mover accent="true"><mml:mrow><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow><mml:mo stretchy="true" mathvariant="normal">^</mml:mo></mml:mover><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mtext>d</mml:mtext><mml:mi mathvariant="italic">σ</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:mi>h</mml:mi></mml:msub></mml:mrow></mml:munder><mml:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mover accent="true"><mml:mrow><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow><mml:mo mathvariant="normal" stretchy="true">^</mml:mo></mml:mover><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mtext>d</mml:mtext><mml:mi mathvariant="italic">σ</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:mi>h</mml:mi></mml:msub></mml:mrow></mml:munder><mml:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mtext>d</mml:mtext><mml:mi mathvariant="italic">σ</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mtr><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mtext>and</mml:mtext></mml:mrow></mml:mtd></mml:mtr><mml:mlabeledtr id="Ch1.E34"><mml:mtd/><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:munder><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>e</mml:mi><mml:mo>∈</mml:mo><mml:msub><mml:mi mathvariant="script">T</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:munder><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mrow><mml:msub><mml:mi mathvariant="normal">Ω</mml:mi><mml:mi>e</mml:mi></mml:msub></mml:mrow></mml:munder><mml:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mtext>d</mml:mtext><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="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mtext>d</mml:mtext><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula></p>
      <p>Additionally, note that within domain boundary integrals, the
<inline-formula><mml:math id="M114" display="inline"><mml:mrow><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mover accent="true"><mml:mo>⋅</mml:mo><mml:mo stretchy="true" mathvariant="normal">^</mml:mo></mml:mover><mml:mspace linebreak="nobreak" width="0.25em"/></mml:mrow></mml:math></inline-formula> notation is dropped as the function is single valued at
this location. <inline-formula><mml:math id="M115" display="inline"><mml:mrow><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is also replaced with <inline-formula><mml:math id="M116" display="inline"><mml:mrow><mml:msub><mml:mi>U</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, which is either the
boundary value if a Dirichlet boundary condition is present or the function
value at the boundary if it is not. Note that in the case of the boundary
condition for <inline-formula><mml:math id="M117" display="inline"><mml:mi>q</mml:mi></mml:math></inline-formula> at <inline-formula><mml:math id="M118" display="inline"><mml:mrow><mml:mi>y</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M119" display="inline"><mml:mrow><mml:msub><mml:mi>U</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> is still a function of <inline-formula><mml:math id="M120" display="inline"><mml:mrow><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. Applying
Eqs. (<xref ref-type="disp-formula" rid="Ch1.E33"/>) and (<xref ref-type="disp-formula" rid="Ch1.E34"/>) to (<xref ref-type="disp-formula" rid="Ch1.E32"/>) yields

                <disp-formula specific-use="align" content-type="numbered"><mml:math id="M121" display="block"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:munder><mml:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mi>L</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mtext>d</mml:mtext><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:mo>∂</mml:mo><mml:mrow><mml:mo>∂</mml:mo><mml:mi>x</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced open="(" close=")"><mml:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mi>y</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub></mml:mfenced><mml:mo>⋅</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mtext>d</mml:mtext><mml:mi mathvariant="normal">Ω</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mlabeledtr id="Ch1.E35"><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:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mrow><mml:msub><mml:mi mathvariant="normal">Σ</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:munder><mml:mover accent="true"><mml:mrow><mml:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow><mml:mo mathvariant="normal" stretchy="true">^</mml:mo></mml:mover><mml:mo>⋅</mml:mo><mml:mi>y</mml:mi><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mover accent="true"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow><mml:mo stretchy="true" mathvariant="normal">^</mml:mo></mml:mover><mml:mo>(</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mover accent="true"><mml:mi>n</mml:mi><mml:mo mathvariant="normal" stretchy="true">^</mml:mo></mml:mover><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mtext>d</mml:mtext><mml:mi mathvariant="italic">σ</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:mi>h</mml:mi></mml:msub></mml:mrow></mml:munder><mml:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mi>y</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>)</mml:mo><mml:mi>n</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mtext>d</mml:mtext><mml:mi mathvariant="italic">σ</mml:mi></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mtr><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: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:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>x</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>⋅</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mtext>d</mml:mtext><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:mi>h</mml:mi></mml:msub></mml:mrow></mml:munder><mml:mover accent="true"><mml:mrow><mml:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow><mml:mo stretchy="true" mathvariant="normal">^</mml:mo></mml:mover><mml:mo>⋅</mml:mo><mml:mover accent="true"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow><mml:mo mathvariant="normal" stretchy="true">^</mml:mo></mml:mover><mml:mo>(</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mover accent="true"><mml:mi>n</mml:mi><mml:mo stretchy="true" mathvariant="normal">^</mml:mo></mml:mover><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mtext>d</mml:mtext><mml:mi mathvariant="italic">σ</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mlabeledtr id="Ch1.E36"><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:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mrow><mml:msub><mml:mi mathvariant="normal">Γ</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:munder><mml:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>)</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi>n</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mtext>d</mml:mtext><mml:mi mathvariant="italic">σ</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="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mtext>d</mml:mtext><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula></p>
      <p>A choice of flux term must be made to handle the double-valued terms. This will
involve some coupling between the elements on either side of the interface. An
upwind flux is used for the advection term, <inline-formula><mml:math id="M122" display="inline"><mml:mover accent="true"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow><mml:mo mathvariant="normal" stretchy="true">^</mml:mo></mml:mover></mml:math></inline-formula>, and based upon
experience an average flux works well for <inline-formula><mml:math id="M123" display="inline"><mml:mover accent="true"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow><mml:mo stretchy="true" mathvariant="normal">^</mml:mo></mml:mover></mml:math></inline-formula>. This gives

                <disp-formula specific-use="align" content-type="numbered"><mml:math id="M124" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E37"><mml:mtd/><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></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:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mi>L</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mtext>d</mml:mtext><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:mo>∂</mml:mo><mml:mrow><mml:mo>∂</mml:mo><mml:mi>x</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced close=")" open="("><mml:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mi>y</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub></mml:mfenced><mml:mo>⋅</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mtext>d</mml:mtext><mml:mi mathvariant="normal">Ω</mml:mi></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mtr><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:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mrow><mml:msub><mml:mi mathvariant="normal">Γ</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:munder><mml:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mi>y</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mo>(</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mi>n</mml:mi><mml:msub><mml:mo>)</mml:mo><mml:mtext>down</mml:mtext></mml:msub><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>)</mml:mo><mml:mtext>d</mml:mtext><mml:mi mathvariant="italic">σ</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:mi>h</mml:mi></mml:msub></mml:mrow></mml:munder><mml:mfenced close=")" open="("><mml:msubsup><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi><mml:mo>+</mml:mo></mml:msubsup><mml:mo>-</mml:mo><mml:msubsup><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi><mml:mo>-</mml:mo></mml:msubsup></mml:mfenced><mml:mo>⋅</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mi>y</mml:mi><mml:mfenced close=")" open="("><mml:msubsup><mml:mi>f</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mo>+</mml:mo></mml:msubsup><mml:mo>(</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>(</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi>n</mml:mi><mml:mo>+</mml:mo></mml:msup><mml:msub><mml:mo>)</mml:mo><mml:mtext>up</mml:mtext></mml:msub><mml:mo>+</mml:mo><mml:msubsup><mml:mi>f</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mo>-</mml:mo></mml:msubsup><mml:mo>(</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>(</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:msup><mml:mi>n</mml:mi><mml:mo>-</mml:mo></mml:msup><mml:msub><mml:mo>)</mml:mo><mml:mtext>up</mml:mtext></mml:msub></mml:mfenced><mml:mtext>d</mml:mtext><mml:mi mathvariant="italic">σ</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><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: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:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>x</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>⋅</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mtext>d</mml:mtext><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:mi>h</mml:mi></mml:msub></mml:mrow></mml:munder><mml:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>)</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi>n</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mtext>d</mml:mtext><mml:mi mathvariant="italic">σ</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><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:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mrow><mml:msub><mml:mi mathvariant="normal">Σ</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:munder><mml:mfenced open="(" close=")"><mml:msubsup><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi><mml:mo>+</mml:mo></mml:msubsup><mml:mo>-</mml:mo><mml:msubsup><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi><mml:mo>-</mml:mo></mml:msubsup></mml:mfenced><mml:mo>⋅</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:mfenced close=")" open="("><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:msup><mml:mo>)</mml:mo><mml:mo>+</mml:mo></mml:msup><mml:mo>+</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:msup><mml:mo>)</mml:mo><mml:mo>-</mml:mo></mml:msup></mml:mfenced><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi>n</mml:mi><mml:mo>+</mml:mo></mml:msup><mml:mtext>d</mml:mtext><mml:mi mathvariant="italic">σ</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><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:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:munder><mml:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mtext>d</mml:mtext><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>

            where <inline-formula><mml:math id="M125" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mo>⋅</mml:mo><mml:msup><mml:mo>)</mml:mo><mml:mo>+</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M126" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mo>⋅</mml:mo><mml:msup><mml:mo>)</mml:mo><mml:mo>-</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> indicate the function values on either side of an
interior element boundary. <inline-formula><mml:math id="M127" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mo>⋅</mml:mo><mml:msub><mml:mo>)</mml:mo><mml:mtext>up</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> is equal to <inline-formula><mml:math id="M128" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mo>⋅</mml:mo><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> where <inline-formula><mml:math id="M129" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:msup><mml:mi>n</mml:mi><mml:mo>±</mml:mo></mml:msup><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula> and 0 otherwise. Conversely, <inline-formula><mml:math id="M130" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mo>⋅</mml:mo><mml:msub><mml:mo>)</mml:mo><mml:mtext>down</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> is equal to <inline-formula><mml:math id="M131" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mo>⋅</mml:mo><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> where
<inline-formula><mml:math id="M132" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:msup><mml:mi>n</mml:mi><mml:mo>±</mml:mo></mml:msup><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula> and 0 otherwise. <inline-formula><mml:math id="M133" display="inline"><mml:mrow><mml:mi>K</mml:mi><mml:mo>(</mml:mo><mml:mi>U</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> can be described in weak
discretised form as

                <disp-formula specific-use="align" content-type="numbered"><mml:math id="M134" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E38"><mml:mtd/><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:munder><mml:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mi>K</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mtext>d</mml:mtext><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>=</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mtr><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:munder><mml:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:msub><mml:mi>K</mml:mi><mml:mi mathvariant="normal">Ω</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mtext>d</mml:mtext><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:msub><mml:mi mathvariant="normal">Ω</mml:mi><mml:mtext>R</mml:mtext></mml:msub></mml:mrow></mml:munder><mml:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:msub><mml:mi>K</mml:mi><mml:mi mathvariant="italic">σ</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mtext>d</mml:mtext><mml:mi mathvariant="italic">σ</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mlabeledtr id="Ch1.E39"><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>K</mml:mi><mml:mi mathvariant="normal">Ω</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mfenced open="[" close="]"><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mi>C</mml:mi><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub><mml:msub><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>y</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E40"><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>K</mml:mi><mml:mi mathvariant="italic">σ</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mfenced close="]" open="["><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mi>F</mml:mi><mml:mi>r</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="italic">φ</mml:mi><mml:msup><mml:mo>)</mml:mo><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

            where <inline-formula><mml:math id="M135" display="inline"><mml:mrow><mml:mo>∂</mml:mo><mml:msub><mml:mi mathvariant="normal">Ω</mml:mi><mml:mtext>R</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> is the right-hand boundary at <inline-formula><mml:math id="M136" display="inline"><mml:mrow><mml:mi>y</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> such that a solution for
<inline-formula><mml:math id="M137" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is obtained by solving only at the front of the
current.</p>
      <p>Using Eqs. (<xref ref-type="disp-formula" rid="Ch1.E29"/>), (<xref ref-type="disp-formula" rid="Ch1.E37"/>), and (<xref ref-type="disp-formula" rid="Ch1.E38"/>) and
applying Eq. (<xref ref-type="disp-formula" rid="Ch1.E34"/>), the full weak, discontinuous form of
Eq. (<xref ref-type="disp-formula" rid="Ch1.E23"/>) can be obtained.<?xmltex \hack{\newpage}?><?xmltex \hack{\noindent}?>Find <inline-formula><mml:math id="M138" display="inline"><mml:mrow><mml:msubsup><mml:mi>U</mml:mi><mml:mi>h</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>U</mml:mi><mml:mi>h</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>U</mml:mi><mml:mi>h</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi>U</mml:mi><mml:mi>h</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup><mml:mo>∈</mml:mo><mml:msub><mml:mi mathvariant="script">V</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> such that <inline-formula><mml:math id="M139" display="inline"><mml:mrow><mml:mo>∀</mml:mo><mml:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>∈</mml:mo><mml:msub><mml:mi mathvariant="script">V</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>

                <disp-formula specific-use="align" content-type="numbered"><mml:math id="M140" display="block"><mml:mtable displaystyle="true"><mml:mtr><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:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:msubsup><mml:mi>U</mml:mi><mml:mi>h</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup><mml:mtext>d</mml:mtext><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 mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:msubsup><mml:mi>U</mml:mi><mml:mi>h</mml:mi><mml:mi>n</mml:mi></mml:msubsup><mml:mtext>d</mml:mtext><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:munder><mml:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:msubsup><mml:mi>U</mml:mi><mml:mi>h</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup><mml:mtext>d</mml:mtext><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 mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mi>A</mml:mi><mml:mo>(</mml:mo><mml:msubsup><mml:mi>U</mml:mi><mml:mi>h</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup><mml:mo>)</mml:mo><mml:mtext>d</mml:mtext><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="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mi>L</mml:mi><mml:mo>(</mml:mo><mml:msubsup><mml:mi>U</mml:mi><mml:mi>h</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup><mml:mo>)</mml:mo><mml:mtext>d</mml:mtext><mml:mi mathvariant="normal">Ω</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mlabeledtr id="Ch1.E41"><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:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:munder><mml:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mi>K</mml:mi><mml:mo>(</mml:mo><mml:msubsup><mml:mi>U</mml:mi><mml:mi>h</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup><mml:mo>)</mml:mo><mml:mtext>d</mml:mtext><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mtr><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:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:msubsup><mml:mi>U</mml:mi><mml:mi>h</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup><mml:mtext>d</mml:mtext><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 mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mi>A</mml:mi><mml:mo>(</mml:mo><mml:msubsup><mml:mi>U</mml:mi><mml:mi>h</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup><mml:mo>)</mml:mo><mml:mtext>d</mml:mtext><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="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mi>L</mml:mi><mml:mo>(</mml:mo><mml:msubsup><mml:mi>U</mml:mi><mml:mi>h</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup><mml:mo>)</mml:mo><mml:mtext>d</mml:mtext><mml:mi mathvariant="normal">Ω</mml:mi></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:mo>+</mml:mo><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:munder><mml:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mi>K</mml:mi><mml:mo>(</mml:mo><mml:msubsup><mml:mi>U</mml:mi><mml:mi>h</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup><mml:mo>)</mml:mo><mml:mtext>d</mml:mtext><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><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:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:msubsup><mml:mi>U</mml:mi><mml:mi>h</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msubsup><mml:mtext>d</mml:mtext><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:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:munder><mml:msub><mml:mi mathvariant="normal">Ψ</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mfenced close=")" open="("><mml:msubsup><mml:mi>U</mml:mi><mml:mi>h</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup><mml:mo>+</mml:mo><mml:msubsup><mml:mi>U</mml:mi><mml:mi>h</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup></mml:mfenced><mml:mtext>d</mml:mtext><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula></p>
      <p>This set of equations is solved for each time step of the simulation as a
nonlinear variational problem using Newton's method with an LU decomposition
solver for the linear problems.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F2" specific-use="star"><caption><p>Schematic diagram of the lock-release static initial
condition <bold>(a)</bold> and the following dam-break <bold>(b)</bold> and
slumping <bold>(c)</bold> phases with the shock wave propagation direction
indicated by
(<?xmltex \hack{\protect}?><?xmltex \igopts{width=11.381102pt}?><inline-graphic xlink:href="https://gmd.copernicus.org/articles/10/1051/2017/gmd-10-1051-2017-g01.pdf"/>).</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/10/1051/2017/gmd-10-1051-2017-f02.png"/>

        </fig>

</sec>
<sec id="Ch1.S2.SS3">
  <title>Slope limiting</title>
      <p>Discontinuous Galerkin discretisations for convection dominated problems can
suffer from over- and undershoots at discontinuities that can cause
instability problems <xref ref-type="bibr" rid="bib1.bibx27 bib1.bibx5" id="paren.31"/>. Slope limiting can be
applied to solve this problem, but this typically involves discontinuous
operations, which are problematic in a gradient-based optimisation framework.
Therefore, we do not use slope limiting here and limit ourselves to the
assumption of smooth initial conditions where slope limiting is not
necessary. It would be possible to formulate a continuous slope-limiting
function to overcome this limitation if it was required.</p>
</sec>
<sec id="Ch1.S2.SS4">
  <title>Implementation</title>
      <p>The shallow water sediment-laden density current model described above was
built using the FEniCS framework <xref ref-type="bibr" rid="bib1.bibx30" id="paren.32"/>, an open-source
software project that provides features for the automated, efficient solution
of differential equations. Using a high-level interface, the model partial
differential equations are described in variational form using UFL (Unified
Form Language) <xref ref-type="bibr" rid="bib1.bibx1" id="paren.33"/>. This can be achieved in Python or C++ code
in a way that is remarkably similar to how one would describe the equations
on paper. At runtime, this model description is compiled into efficient C++
kernels that handle the assembly of the required matrices to generate the systems
of equations that are then solved using PETSc <xref ref-type="bibr" rid="bib1.bibx3" id="paren.34"/>.<?xmltex \hack{\newpage}?></p>
</sec>
<sec id="Ch1.S2.SS5">
  <title>Forward model verification</title>
      <p>Many laboratory experiments and computer models are based around the
classical lock-release static initial condition (Fig. <xref ref-type="fig" rid="Ch1.F2"/>a).
Following the release of the lock-gate, the current accelerates forwards. This is
known as the dam-break stage <xref ref-type="bibr" rid="bib1.bibx45" id="paren.35"/> (Fig. <xref ref-type="fig" rid="Ch1.F2"/>b).
As the lock-gate is released, a shock forms which travels in the opposite
direction to the front of the current. This shock carries information that
sets the fluid in motion. Once this shock reaches the rear wall, all of the
fluid behind the lock-gate is in motion. This marks the point of transfer
from the dam-break to the slumping phase <xref ref-type="bibr" rid="bib1.bibx45" id="paren.36"/>
(Fig. <xref ref-type="fig" rid="Ch1.F2"/>c). For a non-depositional current (i.e. <inline-formula><mml:math id="M141" display="inline"><mml:mrow><mml:mi mathvariant="italic">β</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula>)
with initial <inline-formula><mml:math id="M142" display="inline"><mml:mi>h</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M143" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>, the slumping phase begins at <inline-formula><mml:math id="M144" display="inline"><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>. The current
front height and velocity remain approximately constant during this phase of
motion. The rear propagating shock is reflected off the no-flow boundary
and travels faster than the front of the current. A short while later, it
reaches the front of the current, marking the end of the slumping phase. The
current is now able to “forget” the initial condition and begins adjusting
to self-similar propagation <xref ref-type="bibr" rid="bib1.bibx45" id="paren.37"/>. For a non-depositional
current (i.e. <inline-formula><mml:math id="M145" display="inline"><mml:mrow><mml:mi mathvariant="italic">β</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula>), the reflected shock reaches the front of the current
at <inline-formula><mml:math id="M146" display="inline"><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:math></inline-formula> <xref ref-type="bibr" rid="bib1.bibx45" id="paren.38"/>.</p>
      <p><xref ref-type="bibr" rid="bib1.bibx22" id="text.39"/> showed that a similarity solution, which is a solution that looks the same
at all times or at all length scales, could be obtained for a single layer shallow
water density current model during the self-similar phase
of propagation. This is described as
            <disp-formula id="Ch1.E42" content-type="numbered"><mml:math id="M147" display="block"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mi mathvariant="italic">κ</mml:mi><mml:msup><mml:mi>t</mml:mi><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup><mml:mo>,</mml:mo><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi>u</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="italic">κ</mml:mi><mml:msup><mml:mi>t</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup><mml:msub><mml:mi>u</mml:mi><mml:mtext>s</mml:mtext></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi>h</mml:mi><mml:mo>=</mml:mo><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:msup><mml:mi>t</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup><mml:msub><mml:mi>h</mml:mi><mml:mtext>s</mml:mtext></mml:msub><mml:mo>,</mml:mo><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi mathvariant="italic">ψ</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          where

                <disp-formula specific-use="align" content-type="numbered"><mml:math id="M148" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E43"><mml:mtd/><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mi>y</mml:mi><mml:mo>=</mml:mo><mml:mi>x</mml:mi><mml:mo>/</mml:mo><mml:mi mathvariant="italic">κ</mml:mi><mml:msup><mml:mi>t</mml:mi><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup><mml:mo>,</mml:mo><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi mathvariant="italic">κ</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mfenced open="(" close=")"><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mn mathvariant="normal">27</mml:mn><mml:mi>F</mml:mi><mml:msup><mml:mi>r</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow><mml:mrow><mml:mn mathvariant="normal">12</mml:mn><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mi>F</mml:mi><mml:msup><mml:mi>r</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E44"><mml:mtd/><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:mtext>s</mml:mtext></mml:msub><mml:mo>=</mml:mo><mml:mi>y</mml:mi><mml:mo>,</mml:mo><mml:mspace width="0.25em" linebreak="nobreak"/><mml:msub><mml:mi>h</mml:mi><mml:mtext>s</mml:mtext></mml:msub><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">4</mml:mn><mml:mn mathvariant="normal">9</mml:mn></mml:mfrac></mml:mstyle><mml:msup><mml:mi mathvariant="italic">κ</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mfenced close=")" open="("><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msup><mml:mi>y</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow><mml:mn mathvariant="normal">4</mml:mn></mml:mfrac></mml:mstyle><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">4</mml:mn></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:mi>F</mml:mi><mml:msup><mml:mi>r</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula></p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F3"><caption><p>Similarity convergence analysis. All variables are shown to converge
on the correct solution at the correct order. <inline-formula><mml:math id="M149" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϵ</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mo>*</mml:mo><mml:mo>)</mml:mo></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> indicates the
L<inline-formula><mml:math id="M150" display="inline"><mml:msub><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:math></inline-formula> norm of the error in the solution obtained for variable <inline-formula><mml:math id="M151" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mo>*</mml:mo><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>.</p></caption>
          <?xmltex \igopts{width=199.169291pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/10/1051/2017/gmd-10-1051-2017-f03.jpg"/>

        </fig>

      <p>The domain is unit length, as in all cases for this model. This solution is
valid for the model described in this paper so long as the settling velocity
of particles, <inline-formula><mml:math id="M152" display="inline"><mml:mi mathvariant="italic">β</mml:mi></mml:math></inline-formula>, is equal to 0 (i.e. no particle settling). This
analytical solution is useful in verifying the implementation of the
governing equations and boundary conditions for this model. The solution to
the model PDEs should converge on this analytical solution as the mesh
resolution is refined at the correct rate for the temporal and spatial
discretisation. The use of piecewise discontinuous linear elements and a
second-order time-stepping regime means that the convergence order should be
quadratic in both space and time.</p>
      <p>For the convergence test, the analytical solution is projected onto the model
function space forming the initial condition at <inline-formula><mml:math id="M153" display="inline"><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:math></inline-formula>. At <inline-formula><mml:math id="M154" display="inline"><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">10</mml:mn></mml:mrow></mml:math></inline-formula>, the <inline-formula><mml:math id="M155" display="inline"><mml:mrow><mml:msub><mml:mi>L</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>
norm of the difference between the model variables and the analytical
solution is obtained and used to measure convergence. The analysis shows that
all variables converge on the analytical solution at the correct order
(Fig. <xref ref-type="fig" rid="Ch1.F3"/>). Note that the time step is adaptive and
will therefore decrease along with the element size such that this test
checks both spatial and temporal convergence. This verifies that the model
equations are implemented correctly <xref ref-type="bibr" rid="bib1.bibx9" id="paren.40"/>. A qualitative
comparison shows that the solution matches the analytical solution very well
(Fig. <xref ref-type="fig" rid="Ch1.F4"/>).<?xmltex \hack{\newpage}?></p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F4"><caption><p>Similarity results for the finest resolution mesh (solid lines)
compared against the analytical results (dashed lines) at <inline-formula><mml:math id="M156" display="inline"><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">10.0</mml:mn></mml:mrow></mml:math></inline-formula>.</p></caption>
          <?xmltex \igopts{width=227.622047pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/10/1051/2017/gmd-10-1051-2017-f04.png"/>

        </fig>

</sec>
</sec>
<sec id="Ch1.S3">
  <title>The adjoint model</title>
      <p>Here, we describe the adjoint model and its derivation generally rather than
specifically applying it to this model.</p>
      <p>Consider a problem with <inline-formula><mml:math id="M157" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula> input parameters forming a vector, <inline-formula><mml:math id="M158" display="inline"><mml:mi>m</mml:mi></mml:math></inline-formula>. Let <inline-formula><mml:math id="M159" display="inline"><mml:mrow><mml:mi>F</mml:mi><mml:mo>(</mml:mo><mml:mi>U</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula> denote the set of PDEs that describe a model where <inline-formula><mml:math id="M160" display="inline"><mml:mi>U</mml:mi></mml:math></inline-formula> represents the model
variables throughout time. Note that <inline-formula><mml:math id="M161" display="inline"><mml:mi>U</mml:mi></mml:math></inline-formula> can be seen as an implicit function of
<inline-formula><mml:math id="M162" display="inline"><mml:mi>m</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M163" display="inline"><mml:mrow><mml:mi>U</mml:mi><mml:mo>=</mml:mo><mml:mi>U</mml:mi><mml:mo>(</mml:mo><mml:mi>m</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, by finding a solution to <inline-formula><mml:math id="M164" display="inline"><mml:mrow><mml:mi>F</mml:mi><mml:mo>(</mml:mo><mml:mi>U</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula>. Suppose now that
the aim is to minimise an objective functional, <inline-formula><mml:math id="M165" display="inline"><mml:mrow><mml:mi>J</mml:mi><mml:mo>(</mml:mo><mml:mi>U</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, by optimising
<inline-formula><mml:math id="M166" display="inline"><mml:mi>m</mml:mi></mml:math></inline-formula>. Here, <inline-formula><mml:math id="M167" display="inline"><mml:mrow><mml:mi>J</mml:mi><mml:mo>(</mml:mo><mml:mi>U</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> will be defined as a function measuring the difference
between a deposit profile generated by the model and a target deposit
profile. Where optimisation is required to a tolerance of <inline-formula><mml:math id="M168" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">δ</mml:mi><mml:mrow><mml:mi>m</mml:mi><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, with
<inline-formula><mml:math id="M169" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula> being the index of each parameter and where each parameter has bounds
spanning a range <inline-formula><mml:math id="M170" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="normal">Δ</mml:mi><mml:mrow><mml:mi>m</mml:mi><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, optimisation through a brute force approach will
require <inline-formula><mml:math id="M171" display="inline"><mml:mrow><mml:msubsup><mml:mo>∏</mml:mo><mml:mi>i</mml:mi><mml:mi>N</mml:mi></mml:msubsup><mml:msub><mml:mi mathvariant="normal">Δ</mml:mi><mml:mrow><mml:mi>m</mml:mi><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>/</mml:mo><mml:msub><mml:mi mathvariant="italic">δ</mml:mi><mml:mrow><mml:mi>m</mml:mi><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> evaluations of the model to find the
solution. <inline-formula><mml:math id="M172" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula> may be very large for a sediment-laden density current model, which
could potentially have time-varying boundary conditions for sediment
concentration, velocity and height, uncertainty in the elevation profile,
the friction coefficient of the surface over which the current is flowing, and
uncertainty in the parameters that govern the physics of the flow, such as entrainment of
ambient fluid, front speed, and sediment erosion. Many of these parameters vary
over space and time such that the parameter space grows as the resolution in
time or space increases. Such a large potential parameter space motivates the
use of a more advanced and efficient optimisation strategy.</p>
      <p>Numerous algorithms have been developed to improve this brute force approach.
These optimisation algorithms begin with an initial guess of the input
parameters and iterate, then generate improved estimates until they terminate,
hopefully at the optimised solution. The authors refer the reader to
<xref ref-type="bibr" rid="bib1.bibx25" id="text.41"/> for an extensive description of the range of numerical
optimisation methods.</p>
      <p>Most of these optimisation algorithms require the gradient of the objective
functional with respect to the input parameters, <inline-formula><mml:math id="M173" display="inline"><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>J</mml:mi><mml:mo>/</mml:mo><mml:mtext>d</mml:mtext><mml:mi>m</mml:mi></mml:mrow></mml:math></inline-formula>.
Approximation techniques, such as finite differencing, could be used to
evaluate the gradient, but this will require an excessive number of PDE
evaluations and may suffer from noise <xref ref-type="bibr" rid="bib1.bibx25" id="paren.42"/>. Here, the adjoint
model is used to efficiently calculate the gradient. This approach is
favoured as it calculates <inline-formula><mml:math id="M174" display="inline"><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>J</mml:mi><mml:mo>/</mml:mo><mml:mtext>d</mml:mtext><mml:mi>m</mml:mi></mml:mrow></mml:math></inline-formula> for any number of input
parameters with a single evaluation of the adjoint model.</p>
      <p>Obtaining the adjoint model begins by applying the chain rule to
<inline-formula><mml:math id="M175" display="inline"><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>J</mml:mi><mml:mo>/</mml:mo><mml:mtext>d</mml:mtext><mml:mi>m</mml:mi></mml:mrow></mml:math></inline-formula>:
          <disp-formula id="Ch1.E45" content-type="numbered"><mml:math id="M176" display="block"><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>J</mml:mi><mml:mo>(</mml:mo><mml:mi>U</mml:mi><mml:mo>(</mml:mo><mml:mi>m</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:mi>m</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>m</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>=</mml:mo><mml:mfenced close="〉" open="〈"><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>J</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>U</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>U</mml:mi></mml:mrow><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>m</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mo>+</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>J</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
        <inline-formula><mml:math id="M177" display="inline"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>J</mml:mi><mml:mo>/</mml:mo><mml:mo>∂</mml:mo><mml:mi>U</mml:mi></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M178" display="inline"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>J</mml:mi><mml:mo>/</mml:mo><mml:mo>∂</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:math></inline-formula> are both vectors,
and they are typically straightforward to compute as <inline-formula><mml:math id="M179" display="inline"><mml:mi>J</mml:mi></mml:math></inline-formula> is typically a given
analytical function of <inline-formula><mml:math id="M180" display="inline"><mml:mi>U</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M181" display="inline"><mml:mi>m</mml:mi></mml:math></inline-formula>. <inline-formula><mml:math id="M182" display="inline"><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>U</mml:mi><mml:mo>/</mml:mo><mml:mtext>d</mml:mtext><mml:mi>m</mml:mi></mml:mrow></mml:math></inline-formula>, on the other
hand,
is a matrix that is typically dense and expensive to compute. A
relationship for <inline-formula><mml:math id="M183" display="inline"><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>U</mml:mi><mml:mo>/</mml:mo><mml:mtext>d</mml:mtext><mml:mi>m</mml:mi></mml:mrow></mml:math></inline-formula> can be obtained by taking the total
derivative of <inline-formula><mml:math id="M184" display="inline"><mml:mrow><mml:mi>F</mml:mi><mml:mo>(</mml:mo><mml:mi>U</mml:mi><mml:mo>,</mml:mo><mml:mi>m</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula> with respect to <inline-formula><mml:math id="M185" display="inline"><mml:mi>m</mml:mi></mml:math></inline-formula>:

              <disp-formula specific-use="align" content-type="numbered"><mml:math id="M186" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E46"><mml:mtd/><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mn mathvariant="normal">0</mml:mn><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>F</mml:mi><mml:mo>(</mml:mo><mml:mi>U</mml:mi><mml:mo>(</mml:mo><mml:mi>m</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:mi>m</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>m</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>U</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>U</mml:mi></mml:mrow><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>m</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>+</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E47"><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:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>U</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>U</mml:mi></mml:mrow><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>m</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula></p>
      <p>Equation <xref ref-type="disp-formula" rid="Ch1.E47"/> is termed the <italic>tangent linear
equation</italic>. <inline-formula><mml:math id="M187" display="inline"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>F</mml:mi><mml:mo>/</mml:mo><mml:mo>∂</mml:mo><mml:mi>U</mml:mi></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M188" display="inline"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>F</mml:mi><mml:mo>/</mml:mo><mml:mo>∂</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:math></inline-formula> are
both matrices. The solution of this equation is obtained by solving <inline-formula><mml:math id="M189" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula>
systems of equations. When there are many functionals, <inline-formula><mml:math id="M190" display="inline"><mml:mi>J</mml:mi></mml:math></inline-formula>, and a small set
of parameters, <inline-formula><mml:math id="M191" display="inline"><mml:mi>m</mml:mi></mml:math></inline-formula>, then this equation can be useful for obtaining
<inline-formula><mml:math id="M192" display="inline"><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>J</mml:mi><mml:mo>/</mml:mo><mml:mtext>d</mml:mtext><mml:mi>m</mml:mi></mml:mrow></mml:math></inline-formula> via Eq. (<xref ref-type="disp-formula" rid="Ch1.E45"/>). With a large set of
parameters and only one functional, as is the case here, this is not an
efficient approach.</p>
      <p>However, suppose that <inline-formula><mml:math id="M193" display="inline"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>F</mml:mi><mml:mo>/</mml:mo><mml:mo>∂</mml:mo><mml:mi>U</mml:mi></mml:mrow></mml:math></inline-formula> in
Eq. (<xref ref-type="disp-formula" rid="Ch1.E47"/>) is invertible so that one can obtain
          <disp-formula id="Ch1.E48" content-type="numbered"><mml:math id="M194" display="block"><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>U</mml:mi></mml:mrow><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>m</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:msup><mml:mfenced close=")" open="("><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>U</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p>This expression can be substituted for <inline-formula><mml:math id="M195" display="inline"><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>U</mml:mi><mml:mo>/</mml:mo><mml:mtext>d</mml:mtext><mml:mi>m</mml:mi></mml:mrow></mml:math></inline-formula> directly
into Eq. (<xref ref-type="disp-formula" rid="Ch1.E45"/>) to obtain
          <disp-formula id="Ch1.E49" content-type="numbered"><mml:math id="M196" display="block"><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>J</mml:mi><mml:mo>(</mml:mo><mml:mi>m</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>m</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:mfenced open="〈" close="〉"><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>J</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>U</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:msup><mml:mfenced close=")" open="("><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>U</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mo>+</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>J</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p>A simple property of inner products, <inline-formula><mml:math id="M197" display="inline"><mml:mrow><mml:mfenced close="〉" open="〈"><mml:mi>y</mml:mi><mml:mo>,</mml:mo><mml:mi>A</mml:mi><mml:mi>x</mml:mi></mml:mfenced><mml:mo>=</mml:mo><mml:mfenced open="〈" close="〉"><mml:msup><mml:mi>A</mml:mi><mml:mo>*</mml:mo></mml:msup><mml:mi>y</mml:mi><mml:mo>,</mml:mo><mml:mi>x</mml:mi></mml:mfenced></mml:mrow></mml:math></inline-formula>, where <inline-formula><mml:math id="M198" display="inline"><mml:mrow><mml:msup><mml:mi>A</mml:mi><mml:mo>*</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> is the conjugate transpose
or adjoint of <inline-formula><mml:math id="M199" display="inline"><mml:mi>A</mml:mi></mml:math></inline-formula>, can be used to shift <inline-formula><mml:math id="M200" display="inline"><mml:mrow><mml:msup><mml:mfenced open="(" close=")"><mml:mo>∂</mml:mo><mml:mi>F</mml:mi><mml:mo>/</mml:mo><mml:mo>∂</mml:mo><mml:mi>U</mml:mi></mml:mfenced><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> to the left-hand side of the inner product:
          <disp-formula id="Ch1.E50" content-type="numbered"><mml:math id="M201" display="block"><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>J</mml:mi><mml:mo>(</mml:mo><mml:mi>m</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>m</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:mfenced close="〉" open="〈"><mml:msup><mml:mfenced open="(" close=")"><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>U</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mrow><mml:mo>-</mml:mo><mml:mo>*</mml:mo></mml:mrow></mml:msup><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>J</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>U</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mo>+</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>J</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p>Gathering the left-hand side of the inner product into a new variable,
          <disp-formula id="Ch1.E51" content-type="numbered"><mml:math id="M202" display="block"><mml:mrow><mml:mi mathvariant="italic">λ</mml:mi><mml:mo>:=</mml:mo><mml:msup><mml:mfenced open="(" close=")"><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>U</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mrow><mml:mo>-</mml:mo><mml:mo>*</mml:mo></mml:mrow></mml:msup><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>J</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>U</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
        yields the linear system of equations that can be solved for the adjoint
variable, <inline-formula><mml:math id="M203" display="inline"><mml:mi mathvariant="italic">λ</mml:mi></mml:math></inline-formula>:
          <disp-formula id="Ch1.E52" content-type="numbered"><mml:math id="M204" display="block"><mml:mrow><mml:msup><mml:mfenced open="(" close=")"><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>F</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>U</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mo>*</mml:mo></mml:msup><mml:mi mathvariant="italic">λ</mml:mi><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>J</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>U</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p>Equation (<xref ref-type="disp-formula" rid="Ch1.E52"/>) is termed the <italic>adjoint equation</italic>.
The right-hand side is a vector and only one evaluation is required to obtain
<inline-formula><mml:math id="M205" display="inline"><mml:mi mathvariant="italic">λ</mml:mi></mml:math></inline-formula> for a specific functional, <inline-formula><mml:math id="M206" display="inline"><mml:mi>J</mml:mi></mml:math></inline-formula>. Once
Eq. (<xref ref-type="disp-formula" rid="Ch1.E52"/>) is solved, <inline-formula><mml:math id="M207" display="inline"><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>J</mml:mi><mml:mo>/</mml:mo><mml:mtext>d</mml:mtext><mml:mi>m</mml:mi></mml:mrow></mml:math></inline-formula> can easily
be computed with respect to any parameter <inline-formula><mml:math id="M208" display="inline"><mml:mi>m</mml:mi></mml:math></inline-formula> by substituting the value of
<inline-formula><mml:math id="M209" display="inline"><mml:mi mathvariant="italic">λ</mml:mi></mml:math></inline-formula> into Eq. (<xref ref-type="disp-formula" rid="Ch1.E49"/>).</p>
      <p>As mentioned above, <inline-formula><mml:math id="M210" display="inline"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>J</mml:mi><mml:mo>/</mml:mo><mml:mo>∂</mml:mo><mml:mi>U</mml:mi></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M211" display="inline"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>J</mml:mi><mml:mo>/</mml:mo><mml:mo>∂</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:math></inline-formula> are typically straightforward to compute. However, <inline-formula><mml:math id="M212" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mo>∂</mml:mo><mml:mi>F</mml:mi><mml:mo>/</mml:mo><mml:mo>∂</mml:mo><mml:mi>U</mml:mi><mml:msup><mml:mo>)</mml:mo><mml:mo>*</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M213" display="inline"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>F</mml:mi><mml:mo>/</mml:mo><mml:mo>∂</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:math></inline-formula> still need to be
derived and implemented, which is not a simple task for a large set of complex
PDEs. The challenge of obtaining these matrices is the main obstacle to using
the adjoint model. However, the high-level abstraction of the coding provided
by FEniCS to create this model makes calculating <inline-formula><mml:math id="M214" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mo>∂</mml:mo><mml:mi>F</mml:mi><mml:mo>/</mml:mo><mml:mo>∂</mml:mo><mml:mi>u</mml:mi><mml:msup><mml:mo>)</mml:mo><mml:mo>*</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M215" display="inline"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>F</mml:mi><mml:mo>/</mml:mo><mml:mo>∂</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:math></inline-formula> an automatable task using
an additional tool, dolfin-adjoint <xref ref-type="bibr" rid="bib1.bibx10" id="paren.43"/>. This powerful tool
automatically derives the discrete adjoint and tangent linear models from a
forward model written in FEniCS. This makes differentiating the forward
model and solving the adjoint equation to obtain the derivative of the
objective functional a much simpler task. Additionally,
dolfin-adjoint contains tools for carrying out the optimisation of the model
parameters by interfacing with IPOPT <xref ref-type="bibr" rid="bib1.bibx47" id="paren.44"/> optimisation
algorithms <xref ref-type="bibr" rid="bib1.bibx12" id="paren.45"/>.</p>
</sec>
<sec id="Ch1.S4">
  <title>Estimation of the parameters for the turbidity
current that generated Bed 1.1 in the Marnoso-arenacea Formation</title>
      <p>The Marnoso-arenacea Formation spans 17 to 7 Ma (Late Burdigalian to
Tortonian) and is over 3500 m thick <xref ref-type="bibr" rid="bib1.bibx42" id="paren.46"/>. Deposition
occurred from two sources: the northwestern Alpine source and the
southwestern Apennine source <xref ref-type="bibr" rid="bib1.bibx32 bib1.bibx14" id="paren.47"/>. The
depositional environment was an elongated foreland basin adjacent to the
Apennine thrust belt with turbidites deposited in a relatively wide
(<inline-formula><mml:math id="M216" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula> 60 km) basin in a non-channelised manner
<xref ref-type="bibr" rid="bib1.bibx42 bib1.bibx32 bib1.bibx14" id="paren.48"/>. The formation provides the most
extensive and detailed correlation of flow deposits (beds) in any ancient
turbidite system and is therefore a natural laboratory for studying turbidite
depositional processes <xref ref-type="bibr" rid="bib1.bibx2" id="paren.49"/>. It has been extensively mapped with
more than 100 sections accurately recorded over a correlated distance
of more than <inline-formula><mml:math id="M217" display="inline"><mml:mn mathvariant="normal">120</mml:mn></mml:math></inline-formula> km <xref ref-type="bibr" rid="bib1.bibx2" id="paren.50"/>. Bed volumes range from
<inline-formula><mml:math id="M218" display="inline"><mml:mrow><mml:mi mathvariant="script">O</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">3</mml:mn></mml:mrow></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> km<inline-formula><mml:math id="M219" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:math></inline-formula> to several km<inline-formula><mml:math id="M220" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:math></inline-formula> <xref ref-type="bibr" rid="bib1.bibx41" id="paren.51"/>. It
contains extensive data for evaluating the performance of the adjointed
turbidity current model described here.<?xmltex \hack{\newpage}?></p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F5"><caption><p>The sandstone depths measured for Bed 1.1 along the Pietralunga and
Ridracoli structural elements orientated approximately parallel to the
palaeoflow. This has been reconstructed from Fig. 5 in <xref ref-type="bibr" rid="bib1.bibx41" id="text.52"/>.
A fourth-order polynomial approximation of the deposit profile,
<inline-formula><mml:math id="M221" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">η</mml:mi><mml:mtext>T</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>, is also shown. This is used as a target for the optimisation
algorithm. The base of the bed is shown as a horizontal datum in order to
illustrate lateral changes in deposit thickness. Note that a different datum
is used in the source figure, which uses the top of Bed 1.2.2 rather than the
top of Bed 1. The palaeoelevation of the base of the bed would have varied
spatially, reflecting the basin floor relief.</p></caption>
        <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/10/1051/2017/gmd-10-1051-2017-f05.png"/>

      </fig>

      <p>In this section, an optimisation algorithm is used to select model parameters
that produce an output deposit that best matches part of Bed 1.1 in the
Marnoso-arenacea Formation, as recorded by <xref ref-type="bibr" rid="bib1.bibx2" id="text.53"/>. This is defined
as a small volume of flow deposit with a total sediment volume of
<inline-formula><mml:math id="M222" display="inline"><mml:mo>≈</mml:mo></mml:math></inline-formula> 0.215 km<inline-formula><mml:math id="M223" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:math></inline-formula> <xref ref-type="bibr" rid="bib1.bibx41" id="paren.54"/>. <xref ref-type="bibr" rid="bib1.bibx41" id="text.55"/> produced
an approximate one-dimensional deposit parallel to the palaeoflow
(Fig. <xref ref-type="fig" rid="Ch1.F5"/>). The shape of the deposit strongly resembles
that of very low concentration currents in laboratory tests, and it also
resembles the shape of bed profiles generated by the <xref ref-type="bibr" rid="bib1.bibx4" id="text.56"/>
model. This implies that the flow that created this deposit was a very low
concentration current. The model used in this chapter is very simple. It does
not model any stratification or particle–particle interactions in the flow.
As such, its application is limited to very low concentration flows, and hence
Bed 1.1 is a good candidate as a case study for this model.</p>
      <p>The deposit consists of sandstone and mudstone components. The focus here
will be on attempting to recreate only the sandstone portion of the deposit.
It is likely that ponding effects have influenced the shape of the mud
deposit in this bed <xref ref-type="bibr" rid="bib1.bibx42" id="paren.57"/>, which this model cannot replicate.
The outcrop quality also deteriorates beyond the extent of the sandstone
deposit. Therefore, no attempt is made to model this portion of the
bed.<?xmltex \hack{\newpage}?></p>
<sec id="Ch1.S4.SS1">
  <title>Choice of initial conditions and parameters</title>
      <p>The initial conditions are based upon the analytical solution for a
non-depositional flow at a non-dimensional time, <inline-formula><mml:math id="M224" display="inline"><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mtext>s</mml:mtext></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:math></inline-formula>, after a
column collapse as described by Eq. (<xref ref-type="disp-formula" rid="Ch1.E42"/>). Some assumptions
are therefore made as to the initial shape, sediment concentration profile,
and velocity profile of the flow.</p>
      <p>The non-dimensional particle-settling velocity, <inline-formula><mml:math id="M225" display="inline"><mml:mi mathvariant="italic">β</mml:mi></mml:math></inline-formula>, is calculated using the
standard Stokes settling law for a particle in suspension <xref ref-type="bibr" rid="bib1.bibx28" id="paren.58"/>
non-dimensionalised by <inline-formula><mml:math id="M226" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>h</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msubsup><mml:mi>g</mml:mi><mml:mn mathvariant="normal">0</mml:mn><mml:mo>′</mml:mo></mml:msubsup><mml:msup><mml:mo>)</mml:mo><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> to give
            <disp-formula id="Ch1.E53" content-type="numbered"><mml:math id="M227" display="block"><mml:mrow><mml:mi mathvariant="italic">β</mml:mi><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msup><mml:mi>g</mml:mi><mml:mo>′</mml:mo></mml:msup><mml:msup><mml:mi>D</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow><mml:mrow><mml:mn mathvariant="normal">18</mml:mn><mml:mi mathvariant="italic">ν</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mo>(</mml:mo><mml:msub><mml:mi>h</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msubsup><mml:mi>g</mml:mi><mml:mn mathvariant="normal">0</mml:mn><mml:mo>′</mml:mo></mml:msubsup><mml:msup><mml:mo>)</mml:mo><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msup><mml:msup><mml:mi>g</mml:mi><mml:mo>′</mml:mo></mml:msup><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi>D</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow><mml:mrow><mml:mn mathvariant="normal">18</mml:mn><mml:mi mathvariant="italic">ν</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mfenced open="(" close=")"><mml:msub><mml:mi>h</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msub><mml:mi mathvariant="italic">ψ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mfenced><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          where <inline-formula><mml:math id="M228" display="inline"><mml:mi>D</mml:mi></mml:math></inline-formula> is the average sediment diameter. The sediment-reduced gravity, <inline-formula><mml:math id="M229" display="inline"><mml:mrow><mml:msup><mml:mi>g</mml:mi><mml:mo>′</mml:mo></mml:msup><mml:mo>=</mml:mo><mml:msubsup><mml:mi>g</mml:mi><mml:mn mathvariant="normal">0</mml:mn><mml:mo>′</mml:mo></mml:msubsup><mml:mo>/</mml:mo><mml:msub><mml:mi mathvariant="italic">ψ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mtext>p</mml:mtext></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mtext>a</mml:mtext></mml:msub><mml:mo>)</mml:mo><mml:mi>g</mml:mi><mml:mo>/</mml:mo><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mtext>a</mml:mtext></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">16</mml:mn></mml:mrow></mml:math></inline-formula>, is
based upon the reduced gravity of silica in water. Using these initial
conditions, there are three unknowns: <inline-formula><mml:math id="M230" display="inline"><mml:mrow><mml:msub><mml:mi>h</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, the dimensional length scale of
the current; <inline-formula><mml:math id="M231" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ψ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, the initial sediment concentration throughout the
current; and <inline-formula><mml:math id="M232" display="inline"><mml:mi>D</mml:mi></mml:math></inline-formula>, the mean sediment diameter. These become the set of input
parameters that will be optimised with <inline-formula><mml:math id="M233" display="inline"><mml:mrow><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mfenced close=")" open="("><mml:msub><mml:mi>h</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="italic">ψ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:mi>D</mml:mi></mml:mfenced><mml:mi>T</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula>.</p>
      <p>The beginning of the basin is defined as being at the front of the current at
<inline-formula><mml:math id="M234" display="inline"><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mtext>s</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> such that the current is not in the basin prior to the start
of the simulation. The current enters the domain as soon as the simulation
starts. The end of the simulation, <inline-formula><mml:math id="M235" display="inline"><mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mtext>f</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>, is defined as the time at
which the total suspended sediment is less than 1 % of the starting
quantity.</p>
</sec>
<sec id="Ch1.S4.SS2">
  <title>Choice of optimisation functional</title>
      <p>The aim here is to reduce the difference between the deposit profile generated
by this model and the target deposit profile from field measurements. To do
this,
we need to map the non-dimensional, transformed results from the model back to
the observation space. We also only measure the variation over the length of the
measured deposit. Therefore, the functional that we will aim to minimise, <inline-formula><mml:math id="M236" display="inline"><mml:mi>J</mml:mi></mml:math></inline-formula>,
has the form
            <disp-formula id="Ch1.E54" content-type="numbered"><mml:math id="M237" display="block"><mml:mrow><mml:mi>J</mml:mi><mml:mo>(</mml:mo><mml:mi>U</mml:mi><mml:mo>(</mml:mo><mml:mi>m</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:mi>m</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:munderover><mml:mo movablelimits="false">∫</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mo>max⁡</mml:mo></mml:msub></mml:mrow></mml:munderover><mml:msup><mml:mfenced close=")" open="("><mml:mover accent="true"><mml:mi mathvariant="italic">η</mml:mi><mml:mo mathvariant="normal">̃</mml:mo></mml:mover><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">η</mml:mi><mml:mtext>T</mml:mtext></mml:msub></mml:mfenced><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mtext>d</mml:mtext><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          where <inline-formula><mml:math id="M238" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">η</mml:mi><mml:mtext>T</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> is the dimensional target deposit profile,
<inline-formula><mml:math id="M239" 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:msub><mml:mi mathvariant="italic">ψ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msub><mml:mi>h</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="italic">η</mml:mi></mml:mrow></mml:math></inline-formula> is the dimensionalised modelled
deposit, <inline-formula><mml:math id="M240" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mo>max⁡</mml:mo></mml:msub><mml:mo>=</mml:mo></mml:mrow></mml:math></inline-formula> 82 000 is the extent of the measured data, and
<inline-formula><mml:math id="M241" display="inline"><mml:mrow><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mo>=</mml:mo><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">̃</mml:mo></mml:mover><mml:mo>-</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">̃</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mtext>s</mml:mtext></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is a coordinate
transformation such that <inline-formula><mml:math id="M242" display="inline"><mml:mrow><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula> at the front of the current at
<inline-formula><mml:math id="M243" display="inline"><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mtext>s</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M244" display="inline"><mml:mrow><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">̃</mml:mo></mml:mover><mml:mo>=</mml:mo><mml:mi>y</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">̃</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mtext>f</mml:mtext></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is the dimensionalised
reverse of the coordinate transformation outlined in
Sect. <xref ref-type="sec" rid="Ch1.S2.SS1"/>; <inline-formula><mml:math id="M245" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">̃</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>h</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is
the dimensional length of the current.<?xmltex \hack{\newpage}?></p>
      <p>To calculate this functional, <inline-formula><mml:math id="M246" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">η</mml:mi><mml:mtext>T</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> must be a function of
<inline-formula><mml:math id="M247" display="inline"><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover></mml:math></inline-formula>. The deposit is approximated using a fourth-order polynomial
            <disp-formula id="Ch1.E55" content-type="numbered"><mml:math id="M248" display="block"><mml:mrow><mml:msub><mml:mi mathvariant="italic">η</mml:mi><mml:mtext>T</mml:mtext></mml:msub><mml:mo>=</mml:mo><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow><mml:mn mathvariant="normal">4</mml:mn></mml:munderover><mml:msub><mml:mi>c</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mi>i</mml:mi></mml:msup><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          where <inline-formula><mml:math id="M249" display="inline"><mml:mrow><mml:msub><mml:mi>c</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the <inline-formula><mml:math id="M250" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula>th coefficient. The coefficients are obtained using the
least squares method. The fourth-order approximation fits the measured data
points well (Fig. <xref ref-type="fig" rid="Ch1.F5"/>).</p>
      <p>It is important to note that at the end of the simulation, <inline-formula><mml:math id="M251" display="inline"><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mtext>f</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>,
the length of the current does not necessarily match the length of the
deposit, or <inline-formula><mml:math id="M252" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mo>≠</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mo>max⁡</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula>, where <inline-formula><mml:math id="M253" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">̃</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>-</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">̃</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mtext>s</mml:mtext></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is the dimensional length of the
modelled deposit within the basin. This complicates the calculation of the
above integral.</p>
      <p>The calculation of <inline-formula><mml:math id="M254" display="inline"><mml:mi>J</mml:mi></mml:math></inline-formula> is split into two components, an integral over the lesser of
the length of the modelled current (or the length of the measured data,
<inline-formula><mml:math id="M255" display="inline"><mml:mrow><mml:msub><mml:mi>J</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>)
and an integral over any remaining length of measured data, <inline-formula><mml:math id="M256" display="inline"><mml:mrow><mml:msub><mml:mi>J</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, such that
            <disp-formula id="Ch1.E56" content-type="numbered"><mml:math id="M257" display="block"><mml:mrow><mml:mi>J</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi>J</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>J</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
          The first integral takes the form
            <disp-formula id="Ch1.E57" content-type="numbered"><mml:math id="M258" display="block"><mml:mrow><mml:msub><mml:mi>J</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:munderover><mml:mo movablelimits="false">∫</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mrow><mml:mo>min⁡</mml:mo><mml:mo>(</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mo>max⁡</mml:mo></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:munderover><mml:msup><mml:mfenced close=")" open="("><mml:msub><mml:mi mathvariant="italic">η</mml:mi><mml:mtext>T</mml:mtext></mml:msub><mml:mo>(</mml:mo><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><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:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mo>)</mml:mo></mml:mfenced><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mtext>d</mml:mtext><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p>This can be approximately transformed into the model coordinate system as
            <disp-formula id="Ch1.E58" content-type="numbered"><mml:math id="M259" display="block"><mml:mrow><mml:msub><mml:mi>J</mml:mi><mml:mn mathvariant="normal">0</mml:mn></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:mfenced open="(" close=")"><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:msub><mml:mi mathvariant="italic">η</mml:mi><mml:mtext>T</mml:mtext></mml:msub><mml:mo>(</mml:mo><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mo>(</mml:mo><mml:mi>y</mml:mi><mml:mo>)</mml:mo><mml:mo>)</mml:mo><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mover accent="true"><mml:mi mathvariant="italic">η</mml:mi><mml:mo mathvariant="normal">̃</mml:mo></mml:mover><mml:mo>(</mml:mo><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mo>(</mml:mo><mml:mi>y</mml:mi><mml:mo>)</mml:mo><mml:mo>)</mml:mo></mml:mfenced><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mtext>d</mml:mtext><mml:mi>y</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          where <inline-formula><mml:math id="M260" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> is a scaled filter. This filter is 0 in the regions
<inline-formula><mml:math id="M261" display="inline"><mml:mrow><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M262" display="inline"><mml:mrow><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mo>&gt;</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mo>max⁡</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula>. Elsewhere, the filter value is a
constant such that the integral of the filter over the domain is equal to the
length of the dimensional integral, <inline-formula><mml:math id="M263" display="inline"><mml:mrow><mml:mo>min⁡</mml:mo><mml:mo>(</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mo>max⁡</mml:mo></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>. The filter defines the region of the domain over which the integral is
evaluated and scales the resultant value appropriately. The filter is defined
as

                <disp-formula specific-use="align" content-type="numbered"><mml:math id="M264" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E59"><mml:mtd/><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mo>=</mml:mo><mml:mo movablelimits="false">min⁡</mml:mo><mml:mo>(</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mo>max⁡</mml:mo></mml:msub><mml:mo>)</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi>exp⁡</mml:mi><mml:mfenced close=")" open="("><mml:mo>min⁡</mml:mo><mml:mo>(</mml:mo><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mo>-</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mo>max⁡</mml:mo></mml:msub><mml:mo>,</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mfenced></mml:mrow><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E60"><mml:mtd/><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:msub><mml:mi>s</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:msub></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:mi>exp⁡</mml:mi><mml:mfenced close=")" open="("><mml:mo movablelimits="false">min⁡</mml:mo><mml:mo>(</mml:mo><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mo>-</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mo>max⁡</mml:mo></mml:msub><mml:mo>,</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mfenced><mml:mtext>d</mml:mtext><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

            It is important that the functional is differentiable. Therefore, the <inline-formula><mml:math id="M265" display="inline"><mml:mo>min⁡</mml:mo></mml:math></inline-formula> and
<inline-formula><mml:math id="M266" display="inline"><mml:mo>max⁡</mml:mo></mml:math></inline-formula> functions are replaced by smooth approximations <inline-formula><mml:math id="M267" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mo>min⁡</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M268" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mo>max⁡</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula>
defined as

                <disp-formula specific-use="align" content-type="numbered"><mml:math id="M269" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E61"><mml:mtd/><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:msub><mml:mi>f</mml:mi><mml:mo>min⁡</mml:mo></mml:msub><mml:mo>(</mml:mo><mml:mi>a</mml:mi><mml:mo>,</mml:mo><mml:mi>b</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mo>=</mml:mo><mml:mi>ln⁡</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mo>(</mml:mo><mml:mi>exp⁡</mml:mi><mml:mo>(</mml:mo><mml:mn mathvariant="normal">10</mml:mn><mml:mi>a</mml:mi><mml:mo>)</mml:mo><mml:mo>+</mml:mo><mml:mi>exp⁡</mml:mi><mml:mo>(</mml:mo><mml:mn mathvariant="normal">10</mml:mn><mml:mi>b</mml:mi><mml:mo>)</mml:mo><mml:mo>)</mml:mo><mml:mo>/</mml:mo><mml:mn mathvariant="normal">10</mml:mn><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E62"><mml:mtd/><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:msub><mml:mi>f</mml:mi><mml:mo>max⁡</mml:mo></mml:msub><mml:mo>(</mml:mo><mml:mi>a</mml:mi><mml:mo>,</mml:mo><mml:mi>b</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mo>=</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mo>min⁡</mml:mo></mml:msub><mml:mo>(</mml:mo><mml:mo>-</mml:mo><mml:mi>a</mml:mi><mml:mo>,</mml:mo><mml:mo>-</mml:mo><mml:mi>b</mml:mi><mml:mo>)</mml:mo><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

            The second integral, <inline-formula><mml:math id="M270" display="inline"><mml:mrow><mml:msub><mml:mi>J</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, takes the form
            <disp-formula id="Ch1.E63" content-type="numbered"><mml:math id="M271" display="block"><mml:mrow><mml:msub><mml:mi>J</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:munderover><mml:mo movablelimits="false">∫</mml:mo><mml:mrow><mml:mo>min⁡</mml:mo><mml:mo>(</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mo>max⁡</mml:mo></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mo>max⁡</mml:mo></mml:msub></mml:mrow></mml:munderover><mml:msub><mml:mi mathvariant="italic">η</mml:mi><mml:mtext>T</mml:mtext></mml:msub><mml:mo>(</mml:mo><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:msup><mml:mo>)</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mtext>d</mml:mtext><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          such that <inline-formula><mml:math id="M272" display="inline"><mml:mrow><mml:msub><mml:mi>J</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> integrates the target deposit volume beyond the extent of the
modelled deposit. If the modelled deposit length exceeds the length of the
measured data, this integral will be 0. Again, this can be approximately
transformed into the model coordinate system as

                <disp-formula specific-use="align" content-type="numbered"><mml:math id="M273" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E64"><mml:mtd/><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:msub><mml:mi>J</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></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:msup><mml:mfenced close=")" open="("><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:msub><mml:mi mathvariant="italic">η</mml:mi><mml:mtext>T</mml:mtext></mml:msub><mml:mo>(</mml:mo><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">̃</mml:mo></mml:mover><mml:mo>(</mml:mo><mml:mi>y</mml:mi><mml:mo>)</mml:mo><mml:mo>)</mml:mo></mml:mfenced><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mtext>d</mml:mtext><mml:mi>y</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E65"><mml:mtd/><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">̃</mml:mo></mml:mover><mml:mo>(</mml:mo><mml:mi>y</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mo>=</mml:mo><mml:mo movablelimits="false">min⁡</mml:mo><mml:mo>(</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:mi>y</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mo>max⁡</mml:mo></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

            where <inline-formula><mml:math id="M274" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> is a scaled filter similar to <inline-formula><mml:math id="M275" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> defined as

                <disp-formula specific-use="align" content-type="numbered"><mml:math id="M276" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E66"><mml:mtd/><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mo>)</mml:mo><mml:mo>=</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mfenced open="(" close=")"><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mo>max⁡</mml:mo></mml:msub><mml:mo>-</mml:mo><mml:mo movablelimits="false">min⁡</mml:mo><mml:mo>(</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mo>max⁡</mml:mo></mml:msub><mml:mo>)</mml:mo></mml:mfenced></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mtr><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:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi>exp⁡</mml:mi><mml:mfenced open="(" close=")"><mml:mo>min⁡</mml:mo><mml:mo>(</mml:mo><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mo>-</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mo>max⁡</mml:mo></mml:msub><mml:mo>,</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mfenced></mml:mrow><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mlabeledtr id="Ch1.E67"><mml:mtd/><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:msub><mml:mi>s</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:msub><mml:mo>=</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mspace width="0.25em" linebreak="nobreak"/><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:munder><mml:mi>exp⁡</mml:mi><mml:mfenced close=")" open="("><mml:mo movablelimits="false">min⁡</mml:mo><mml:mo>(</mml:mo><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mo>-</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mo>max⁡</mml:mo></mml:msub><mml:mo>,</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mfenced><mml:mtext>d</mml:mtext><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

            Again, <inline-formula><mml:math id="M277" display="inline"><mml:mo>min⁡</mml:mo></mml:math></inline-formula> and <inline-formula><mml:math id="M278" display="inline"><mml:mo>max⁡</mml:mo></mml:math></inline-formula> are replaced by smooth differentiable alternatives.</p>
</sec>
<sec id="Ch1.S4.SS3">
  <title>Verification of the gradient calculation</title>
      <p>The gradient computation was verified using the Taylor remainder convergence
test. Let <inline-formula><mml:math id="M279" display="inline"><mml:mrow><mml:mover accent="true"><mml:mi>J</mml:mi><mml:mo mathvariant="normal" stretchy="true">^</mml:mo></mml:mover><mml:mo>(</mml:mo><mml:mi>m</mml:mi><mml:mo>)</mml:mo><mml:mo>≡</mml:mo><mml:mi>J</mml:mi><mml:mo>(</mml:mo><mml:mi>U</mml:mi><mml:mo>(</mml:mo><mml:mi>m</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:mi>m</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, a pure function
of <inline-formula><mml:math id="M280" display="inline"><mml:mi>m</mml:mi></mml:math></inline-formula>. The zero-order Taylor expansion states that
            <disp-formula id="Ch1.E68" content-type="numbered"><mml:math id="M281" display="block"><mml:mrow><mml:mfenced open="|" close="|"><mml:mover accent="true"><mml:mi>J</mml:mi><mml:mo mathvariant="normal" stretchy="true">^</mml:mo></mml:mover><mml:mo>(</mml:mo><mml:mi>m</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>m</mml:mi><mml:mo>)</mml:mo><mml:mo>-</mml:mo><mml:mover accent="true"><mml:mi>J</mml:mi><mml:mo mathvariant="normal" stretchy="true">^</mml:mo></mml:mover><mml:mo>(</mml:mo><mml:mi>m</mml:mi><mml:mo>)</mml:mo></mml:mfenced><mml:mo>=</mml:mo><mml:mi mathvariant="script">O</mml:mi><mml:mfenced open="(" close=")"><mml:mfenced close="∥" open="∥"><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>m</mml:mi></mml:mfenced></mml:mfenced><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          while the first-order Taylor expansion states that
            <disp-formula id="Ch1.E69" content-type="numbered"><mml:math id="M282" display="block"><mml:mrow><mml:mfenced open="|" close="|"><mml:mover accent="true"><mml:mi>J</mml:mi><mml:mo mathvariant="normal" stretchy="true">^</mml:mo></mml:mover><mml:mo>(</mml:mo><mml:mi>m</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>m</mml:mi><mml:mo>)</mml:mo><mml:mo>-</mml:mo><mml:mover accent="true"><mml:mi>J</mml:mi><mml:mo mathvariant="normal" stretchy="true">^</mml:mo></mml:mover><mml:mo>(</mml:mo><mml:mi>m</mml:mi><mml:mo>)</mml:mo><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mtext>d</mml:mtext><mml:mover accent="true"><mml:mi>J</mml:mi><mml:mo stretchy="true" mathvariant="normal">^</mml:mo></mml:mover><mml:mo>(</mml:mo><mml:mi>m</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>m</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>m</mml:mi></mml:mfenced><mml:mo>=</mml:mo><mml:mi mathvariant="script">O</mml:mi><mml:mfenced close=")" open="("><mml:msup><mml:mfenced open="∥" close="∥"><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>m</mml:mi></mml:mfenced><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mfenced><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p>Even small errors in the derivative destroy the second-order convergence in
Eq. (<xref ref-type="disp-formula" rid="Ch1.E69"/>). Therefore, testing the convergence of these
expansions with the gradient calculated from the adjoint yields a strong
indicator of whether the adjoint gradient computation is correct.</p>

<table-wrap id="Ch1.T1"><caption><p>Taylor remainders <inline-formula><mml:math id="M283" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mo>|</mml:mo><mml:mover accent="true"><mml:mi>J</mml:mi><mml:mo mathvariant="normal" stretchy="true">^</mml:mo></mml:mover><mml:mo>(</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo><mml:mo>+</mml:mo><mml:mi mathvariant="italic">δ</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>|</mml:mo></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:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mo>|</mml:mo><mml:mover accent="true"><mml:mi>J</mml:mi><mml:mo mathvariant="normal" stretchy="true">^</mml:mo></mml:mover><mml:mo>(</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo><mml:mo>+</mml:mo><mml:mi mathvariant="italic">δ</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>-</mml:mo><mml:mover accent="true"><mml:mi>J</mml:mi><mml:mo mathvariant="normal" stretchy="true">^</mml:mo></mml:mover><mml:mo>(</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo><mml:mo>)</mml:mo><mml:mo>-</mml:mo><mml:mtext>d</mml:mtext><mml:mover accent="true"><mml:mi>J</mml:mi><mml:mo stretchy="true" mathvariant="normal">^</mml:mo></mml:mover><mml:mo>(</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo><mml:mo>)</mml:mo><mml:mo>/</mml:mo><mml:mtext>d</mml:mtext><mml:mi>u</mml:mi><mml:mi mathvariant="italic">δ</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub><mml:mo>|</mml:mo></mml:mrow></mml:math></inline-formula> for the with functional
given by <inline-formula><mml:math id="M285" display="inline"><mml:mrow><mml:mi>J</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="italic">η</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mo>∫</mml:mo><mml:mi mathvariant="normal">Ω</mml:mi></mml:msub><mml:mi mathvariant="italic">η</mml:mi><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mtext>f</mml:mtext></mml:msub><mml:msup><mml:mo>)</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mtext>d</mml:mtext><mml:mi mathvariant="normal">Ω</mml:mi></mml:mrow></mml:math></inline-formula>.</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="right"/>
     <oasis:colspec colnum="3" colname="col3" align="right"/>
     <oasis:colspec colnum="4" colname="col4" align="right"/>
     <oasis:colspec colnum="5" colname="col5" align="right"/>
     <oasis:thead>
       <oasis:row rowsep="1">  
         <oasis:entry colname="col1"><inline-formula><mml:math id="M286" display="inline"><mml:mrow><mml:mi mathvariant="italic">δ</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2"><inline-formula><mml:math id="M287" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:mi mathvariant="italic">δ</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col3">order</oasis:entry>  
         <oasis:entry colname="col4"><inline-formula><mml:math id="M288" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:mi mathvariant="italic">δ</mml:mi><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col5">order</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>  
         <oasis:entry colname="col1">1.0</oasis:entry>  
         <oasis:entry colname="col2">1.16 <inline-formula><mml:math id="M289" display="inline"><mml:mrow><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">8</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col3"/>  
         <oasis:entry colname="col4">2.67 <inline-formula><mml:math id="M290" display="inline"><mml:mrow><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">9</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col5"/>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1">0.5</oasis:entry>  
         <oasis:entry colname="col2">5.11 <inline-formula><mml:math id="M291" display="inline"><mml:mrow><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">9</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col3">1.18</oasis:entry>  
         <oasis:entry colname="col4">6.54 <inline-formula><mml:math id="M292" display="inline"><mml:mrow><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">10</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col5">2.03</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1">0.25</oasis:entry>  
         <oasis:entry colname="col2">2.39 <inline-formula><mml:math id="M293" display="inline"><mml:mrow><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">9</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col3">1.01</oasis:entry>  
         <oasis:entry colname="col4">1.56 <inline-formula><mml:math id="M294" display="inline"><mml:mrow><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">10</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col5">2.07</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1">0.0125</oasis:entry>  
         <oasis:entry colname="col2">1.15 <inline-formula><mml:math id="M295" display="inline"><mml:mrow><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">9</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col3">1.05</oasis:entry>  
         <oasis:entry colname="col4">3.54 <inline-formula><mml:math id="M296" display="inline"><mml:mrow><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">11</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col5">2.14</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1">0.00625</oasis:entry>  
         <oasis:entry colname="col2">5.64 <inline-formula><mml:math id="M297" display="inline"><mml:mrow><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">10</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col3">1.03</oasis:entry>  
         <oasis:entry colname="col4">6.97 <inline-formula><mml:math id="M298" display="inline"><mml:mrow><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">12</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col5">2.34</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

      <p>The above convergence was succesfully carried out for the implemented adjoint
model with a number of different controls and functionals. As an example,
Table <xref ref-type="table" rid="Ch1.T1"/> shows the results with <inline-formula><mml:math id="M299" display="inline"><mml:mi>m</mml:mi></mml:math></inline-formula> as the initial
deposit length. The convergence of the remainder term is second order
with respect to varying magnitudes of <inline-formula><mml:math id="M300" display="inline"><mml:mrow><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:math></inline-formula>, providing strong evidence
that the adjoint model and gradient computation are implemented correctly.</p>
</sec>
<sec id="Ch1.S4.SS4">
  <title>Optimisation of a model with one sediment class</title>
      <p>With confidence that the forward and backward models are working, optimisation
of the input parameters, <inline-formula><mml:math id="M301" display="inline"><mml:mrow><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mfenced close="]" open="["><mml:msub><mml:mi>h</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="italic">ψ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:mi>D</mml:mi></mml:mfenced></mml:mrow></mml:math></inline-formula>, to minimise the
objective functional <inline-formula><mml:math id="M302" display="inline"><mml:mi>J</mml:mi></mml:math></inline-formula> can now be performed as
            <disp-formula id="Ch1.E70" content-type="numbered"><mml:math id="M303" display="block"><mml:mrow><mml:munder><mml:mtext>min</mml:mtext><mml:mi>m</mml:mi></mml:munder><mml:mo>=</mml:mo><mml:mi>J</mml:mi><mml:mo>(</mml:mo><mml:mi>U</mml:mi><mml:mo>(</mml:mo><mml:mi>m</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:mi>m</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          with the the following bounding constraints on the input parameters:

                <disp-formula specific-use="align" content-type="numbered"><mml:math id="M304" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E71"><mml:mtd/><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mn mathvariant="normal">10</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mtext>m</mml:mtext></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mo>≤</mml:mo><mml:msub><mml:mi>h</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>≤</mml:mo><mml:mn mathvariant="normal">10</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mtext>km</mml:mtext><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E72"><mml:mtd/><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mn mathvariant="normal">0.001</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="italic">%</mml:mi></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mo>≤</mml:mo><mml:msub><mml:mi mathvariant="italic">ψ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>≤</mml:mo><mml:mn mathvariant="normal">50</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="italic">%</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E73"><mml:mtd/><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mn mathvariant="normal">1</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="italic">μ</mml:mi><mml:mtext>m</mml:mtext></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mo>≤</mml:mo><mml:mi>D</mml:mi><mml:mo>≤</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mtext>mm</mml:mtext><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula></p>
      <p>These bounding constraints are chosen based upon very loose limits of expected
values that each parameter may possibly take. The principal purpose of these
bounds is to avoid invalid negative values being generated for any of the
parameters.</p>
      <p>The nonlinear optimisation library, IPOPT <xref ref-type="bibr" rid="bib1.bibx47" id="paren.59"/>, is used to
solve this problem. This library implements a primal-dual interior point
algorithm which has good global and local convergence properties
<xref ref-type="bibr" rid="bib1.bibx46" id="paren.60"/>. The interface to this library is supplied by
dolfin-adjoint <xref ref-type="bibr" rid="bib1.bibx12" id="paren.61"/>. The initial input parameters are set to
            <disp-formula id="Ch1.E74" content-type="numbered"><mml:math id="M305" display="block"><mml:mrow><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mfenced close=")" open="("><mml:mtable class="matrix" columnalign="center center center" framespacing="0em"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>h</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mn mathvariant="normal">2.3</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mtext>km</mml:mtext></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ψ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mn mathvariant="normal">0.07</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="italic">%</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>D</mml:mi></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mn mathvariant="normal">200.0</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p>The aim is to recreate the sand deposit by modelling only the sand in the
flow using a single average grain size, <inline-formula><mml:math id="M306" display="inline"><mml:mi>D</mml:mi></mml:math></inline-formula>. The value of <inline-formula><mml:math id="M307" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ψ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> is based
upon a combined initial volumetric concentration for the sand and mud mixture
of 0.5 %, with 86 % of the mixture being mud. The starting value for
<inline-formula><mml:math id="M308" display="inline"><mml:mrow><mml:msub><mml:mi>h</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> is based upon the area of the two-dimensional deposit profile and the
value of <inline-formula><mml:math id="M309" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ψ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>. The average sediment grain size is a reasonable estimate
of the average grain size based upon the information provided by
<xref ref-type="bibr" rid="bib1.bibx41" id="text.62"/>. The input parameters provided to the optimisation
algorithm, <inline-formula><mml:math id="M310" display="inline"><mml:mover accent="true"><mml:mi>m</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover></mml:math></inline-formula>, are normalised such that they are all equal to
1. Thus,
            <disp-formula id="Ch1.E75" content-type="numbered"><mml:math id="M311" display="block"><mml:mrow><mml:msub><mml:mi>m</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>m</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mi>i</mml:mi></mml:msub><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msub><mml:mi>m</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          where <inline-formula><mml:math id="M312" display="inline"><mml:mrow><mml:msub><mml:mi>m</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> indicates the initial parameter values in Eq. (<xref ref-type="disp-formula" rid="Ch1.E74"/>), and
<inline-formula><mml:math id="M313" display="inline"><mml:mrow><mml:msub><mml:mi>m</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> indicates the value of <inline-formula><mml:math id="M314" display="inline"><mml:mi>m</mml:mi></mml:math></inline-formula> after optimisation iteration <inline-formula><mml:math id="M315" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula>. This
scaling helps the optimisation algorithm work effectively
<xref ref-type="bibr" rid="bib1.bibx25" id="paren.63"/>.<?xmltex \hack{\newpage}?></p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F6"><caption><p>Values of the parameters over the optimisation iterations against the
value of the objective functional, <inline-formula><mml:math id="M316" display="inline"><mml:mi>J</mml:mi></mml:math></inline-formula>, that we are aiming to
minimise. The values shown are normalised by their starting values. <inline-formula><mml:math id="M317" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mo>*</mml:mo><mml:msub><mml:mo>)</mml:mo><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is
the value of parameter <inline-formula><mml:math id="M318" display="inline"><mml:mo>*</mml:mo></mml:math></inline-formula> at the start of iteration <inline-formula><mml:math id="M319" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula>.</p></caption>
          <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/10/1051/2017/gmd-10-1051-2017-f06.png"/>

        </fig>

      <?xmltex \floatpos{t}?><fig id="Ch1.F7"><caption><p>The dimensional deposit output <inline-formula><mml:math id="M320" 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:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> from the initial parameter
guess (Eq. <xref ref-type="disp-formula" rid="Ch1.E74"/>) and the optimised dimensional deposit output
<inline-formula><mml:math id="M321" display="inline"><mml:mover accent="true"><mml:mi mathvariant="italic">η</mml:mi><mml:mo mathvariant="normal">̃</mml:mo></mml:mover></mml:math></inline-formula> from the optimised parameter (Eq. <xref ref-type="disp-formula" rid="Ch1.E77"/>)
shown against the field measurement from Bed 1.1 <xref ref-type="bibr" rid="bib1.bibx41" id="paren.64"/> and the
fourth-order polynomial target deposit profile, <inline-formula><mml:math id="M322" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">η</mml:mi><mml:mtext>T</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>.</p></caption>
          <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/10/1051/2017/gmd-10-1051-2017-f07.png"/>

        </fig>

      <p>The criteria for finishing the parameter optimisation is based upon the relative
change in <inline-formula><mml:math id="M323" display="inline"><mml:mi>J</mml:mi></mml:math></inline-formula> between iterations such that
            <disp-formula id="Ch1.E76" content-type="numbered"><mml:math id="M324" display="block"><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mfenced open="|" close="|"><mml:msub><mml:mi>J</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>J</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mfenced></mml:mrow><mml:mrow><mml:msub><mml:mi>J</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">1.0</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">5</mml:mn></mml:mrow></mml:msup><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          where <inline-formula><mml:math id="M325" display="inline"><mml:mrow><mml:msub><mml:mi>J</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the value of <inline-formula><mml:math id="M326" display="inline"><mml:mi>J</mml:mi></mml:math></inline-formula> after the <inline-formula><mml:math id="M327" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula>th iteration. The optimisation
is completed in 21 iterations with a final functional value of <inline-formula><mml:math id="M328" display="inline"><mml:mrow><mml:mi>J</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1.75</mml:mn></mml:mrow></mml:math></inline-formula>
(Fig. <xref ref-type="fig" rid="Ch1.F6"/>). The optimised deposit profile, <inline-formula><mml:math id="M329" display="inline"><mml:mi mathvariant="italic">η</mml:mi></mml:math></inline-formula>,
compares relatively well with <inline-formula><mml:math id="M330" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">η</mml:mi><mml:mtext>T</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>
(Fig. <xref ref-type="fig" rid="Ch1.F7"/>). Most notably, there is a significant
variation in the thickness towards the end of the deposit. This will be
addressed later. The final optimised values are

                <disp-formula id="Ch1.E77" content-type="numbered"><mml:math id="M331" display="block"><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mfenced open="(" close=")"><mml:mtable class="matrix" columnalign="center center center" framespacing="0em"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>h</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mn mathvariant="normal">2.56</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mtext>km</mml:mtext></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ψ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mn mathvariant="normal">0.0494</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="italic">%</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>D</mml:mi></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mn mathvariant="normal">103</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p>These optimised values are not completely acceptable. The value for <inline-formula><mml:math id="M332" display="inline"><mml:mrow><mml:msub><mml:mi>h</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>
represents the initial height of the current starting from a static
lock-release initial condition. This translates to an initial current height
of 993.3 m at the start of this simulation and as the current enters the
basin plain. This value appears to be quite large for a relatively small
turbidity current. Additionally, the average sediment diameter of
103 <inline-formula><mml:math id="M333" display="inline"><mml:mrow><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> is lower than expected. <xref ref-type="bibr" rid="bib1.bibx41" id="text.65"/> defines the
sandstone interval as dominated by sediment grains estimated to be
larger than <inline-formula><mml:math id="M334" display="inline"><mml:mo>≈</mml:mo></mml:math></inline-formula> 125 <inline-formula><mml:math id="M335" display="inline"><mml:mrow><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula>.</p>
      <p>With the exception of the sediment diameter, the optimised values
are fairly similar to those chosen as input values. This confirms that the
input parameters chosen were sensible predictions of the starting conditions
for the gravity current. To test this hypothesis, we ran the same situation starting from
a number of alternative initial conditions. We found that there are
indeed a number of local minima. An optimisation with initial conditions</p>
      <p><disp-formula id="Ch1.E78" content-type="numbered"><mml:math id="M336" display="block"><mml:mrow><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mfenced close=")" open="("><mml:mtable class="matrix" columnalign="center center center" framespacing="0em"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>h</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mn mathvariant="normal">3.0</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mtext>km</mml:mtext></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ψ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mn mathvariant="normal">0.02</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="italic">%</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>D</mml:mi></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mn mathvariant="normal">100.0</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced></mml:mrow></mml:math></disp-formula>
          was optimised to
            <disp-formula id="Ch1.E79" content-type="numbered"><mml:math id="M337" display="block"><mml:mrow><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mfenced open="(" close=")"><mml:mtable class="matrix" columnalign="center center center" framespacing="0em"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>h</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mn mathvariant="normal">3.95</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mtext>km</mml:mtext></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ψ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mn mathvariant="normal">0.02</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="italic">%</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>D</mml:mi></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mn mathvariant="normal">154.0</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p>Figure <xref ref-type="fig" rid="Ch1.F8"/> shows a comparison of the two generated
deposit profiles. The two profiles are very comparable, even though the
alternative profile is created by a much larger, but much less dense, initial
current.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F8"><caption><p>The dimensional deposit output <inline-formula><mml:math id="M338" display="inline"><mml:mover accent="true"><mml:mi mathvariant="italic">η</mml:mi><mml:mo mathvariant="normal">̃</mml:mo></mml:mover></mml:math></inline-formula> from the optimised deposit
output from the initial parameter guess (Eq. <xref ref-type="disp-formula" rid="Ch1.E74"/>) and the dimensional
deposit output <inline-formula><mml:math id="M339" 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:mtext>alt</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> from an alternative minima achieved
by using the initial parameter guess (Eq. <xref ref-type="disp-formula" rid="Ch1.E78"/>) shown against the
fourth-order polynomial target deposit profile, <inline-formula><mml:math id="M340" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">η</mml:mi><mml:mtext>T</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>.</p></caption>
          <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/10/1051/2017/gmd-10-1051-2017-f08.png"/>

        </fig>

      <p>The existence of alternative minima must always be considered when running
optimisations of this type. It is important to have a good understanding of
the problem to choose sensible initial starting conditions and also to assess
the resultant optimised values. A regularisation approach would avoid this
problem but assumes prior knowledge about the target profile.</p>
      <p>A clear omission from the model is the presence of mud in the suspension. The
presence of mud will significantly alter the energy budget of the flow. A mud
sediment class can easily be included so that the model produces more
realistic optimised values. This is detailed below.<?xmltex \hack{\newpage}?></p>
</sec>
<sec id="Ch1.S4.SS5">
  <title>Extending the model to include an additional sediment class for the
mud in suspension</title>
      <p>Investigating the effect of including mud in the sediment mixture can be
achieved relatively simply by including an additional transport equation with
a form identical to Eq. (<xref ref-type="disp-formula" rid="Ch1.E12"/>) <xref ref-type="bibr" rid="bib1.bibx6" id="paren.66"/>,
            <disp-formula id="Ch1.E80" content-type="numbered"><mml:math id="M341" display="block"><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:msub><mml:mi mathvariant="italic">φ</mml:mi><mml:mtext>m</mml:mtext></mml:msub></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></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>x</mml:mi><mml:mi>N</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced close=")" open="("><mml:mi>y</mml:mi><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:msub><mml:mi mathvariant="italic">φ</mml:mi><mml:mtext>m</mml:mtext></mml:msub></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mo>∂</mml:mo><mml:mrow><mml:mo>∂</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced open="(" close=")"><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi>q</mml:mi><mml:msub><mml:mi mathvariant="italic">φ</mml:mi><mml:mtext>m</mml:mtext></mml:msub></mml:mrow><mml:mi>h</mml:mi></mml:mfrac></mml:mstyle></mml:mfenced></mml:mfenced><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mtext>m</mml:mtext></mml:msub><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi mathvariant="italic">φ</mml:mi><mml:mtext>m</mml:mtext></mml:msub></mml:mrow><mml:mi>h</mml:mi></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          where <inline-formula><mml:math id="M342" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">φ</mml:mi><mml:mtext>m</mml:mtext></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="italic">ψ</mml:mi><mml:mtext>m</mml:mtext></mml:msub><mml:mi>h</mml:mi></mml:mrow></mml:math></inline-formula> is the vertically integrated
volume fraction of mud in the suspension. <inline-formula><mml:math id="M343" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ψ</mml:mi><mml:mtext>m</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> is the
depth-averaged volume fraction of mud within the flow, and <inline-formula><mml:math id="M344" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mtext>m</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>
is the settling velocity of the mud particles. Using a single tracer
equation,
we approximate the distribution of mud particle sizes using a single mud
diameter, the same way the distribution of sand is modelled in the
flow. We neglect the flocculation of mud particles. Assuming that the density of
both sediment classes is the same, (Eq. <xref ref-type="disp-formula" rid="Ch1.E11"/>) is modified to
include this new sediment class in the gravity term:
            <disp-formula id="Ch1.E81" content-type="numbered"><mml:math id="M345" display="block"><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>q</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:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>N</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced close=")" open="("><mml:mi>y</mml:mi><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">˙</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mo>∂</mml:mo><mml:mrow><mml:mo>∂</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced close=")" open="("><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msup><mml:mi>q</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow><mml:mi>h</mml:mi></mml:mfrac></mml:mstyle><mml:mo>+</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>(</mml:mo><mml:mi mathvariant="italic">φ</mml:mi><mml:mo>+</mml:mo><mml:msub><mml:mi mathvariant="italic">φ</mml:mi><mml:mtext>m</mml:mtext></mml:msub><mml:mo>)</mml:mo><mml:mi>h</mml:mi></mml:mrow><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle></mml:mfenced></mml:mfenced><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p>Finally, <inline-formula><mml:math id="M346" display="inline"><mml:mi mathvariant="italic">φ</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M347" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">φ</mml:mi><mml:mtext>m</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> are scaled such that at the start of
the simulation <inline-formula><mml:math id="M348" display="inline"><mml:mrow><mml:mi mathvariant="italic">φ</mml:mi><mml:mo>+</mml:mo><mml:msub><mml:mi mathvariant="italic">φ</mml:mi><mml:mtext>m</mml:mtext></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>, where previously
<inline-formula><mml:math id="M349" display="inline"><mml:mrow><mml:mi mathvariant="italic">φ</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>. The aim is still to recreate the deposit of sand, and hence the
equation for <inline-formula><mml:math id="M350" display="inline"><mml:mi mathvariant="italic">η</mml:mi></mml:math></inline-formula> stays the same. We term the sand deposit generated by
this modified model <inline-formula><mml:math id="M351" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">η</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>. The discretisation for
Eq. (<xref ref-type="disp-formula" rid="Ch1.E80"/>) is consistent with the rest of the model, as
presented in Sect. <xref ref-type="sec" rid="Ch1.S2.SS2"/>.</p>
      <p>The initial condition needs to be altered to include the new sediment class.
The initial vertically averaged volume fraction of sand is changed to
<inline-formula><mml:math id="M352" display="inline"><mml:mrow><mml:mi mathvariant="italic">ψ</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mtext>s</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>, and a new initial condition for the vertically averaged
volume fraction of mud is introduced as <inline-formula><mml:math id="M353" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ψ</mml:mi><mml:mtext>m</mml:mtext></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mtext>s</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>. The sand
fraction, <inline-formula><mml:math id="M354" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mtext>s</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>, is estimated by <xref ref-type="bibr" rid="bib1.bibx41" id="text.67"/> to be <inline-formula><mml:math id="M355" display="inline"><mml:mn mathvariant="normal">0.14</mml:mn></mml:math></inline-formula> and
is kept fixed.</p>
      <p><inline-formula><mml:math id="M356" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mtext>m</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> must also be calculated. This is done in the same way as for
<inline-formula><mml:math id="M357" display="inline"><mml:mi mathvariant="italic">β</mml:mi></mml:math></inline-formula>, except that a different sediment diameter parameter is used and optimised: <inline-formula><mml:math id="M358" display="inline"><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mtext>m</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>,
the mean diameter of mud particles in the flow. The
equation for <inline-formula><mml:math id="M359" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mtext>m</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> is therefore
            <disp-formula id="Ch1.E82" content-type="numbered"><mml:math id="M360" display="block"><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mtext>m</mml:mtext></mml:msub><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msup><mml:msup><mml:mi>g</mml:mi><mml:mo>′</mml:mo></mml:msup><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup><mml:msubsup><mml:mi>D</mml:mi><mml:mtext>m</mml:mtext><mml:mn mathvariant="normal">2</mml:mn></mml:msubsup></mml:mrow><mml:mrow><mml:mn mathvariant="normal">18</mml:mn><mml:mi mathvariant="italic">ν</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mfenced close=")" open="("><mml:msub><mml:mi>h</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msub><mml:mi mathvariant="italic">ψ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mfenced><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
          Note that <inline-formula><mml:math id="M361" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ψ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> is now the combined initial volume fraction of sand and mud
in the flow.</p>
</sec>
<sec id="Ch1.S4.SS6">
  <title>Optimisation for a model with two sediment
classes</title>
      <p>The set of optimised input parameters is redefined as <inline-formula><mml:math id="M362" display="inline"><mml:mrow><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mfenced open="[" close="]"><mml:msub><mml:mi>h</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="italic">ψ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:mi>D</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mtext>m</mml:mtext></mml:msub></mml:mfenced><mml:mi>T</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula>. An additional bounding constraint is added for
<inline-formula><mml:math id="M363" display="inline"><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mtext>m</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> such that the new bounding constraints for <inline-formula><mml:math id="M364" display="inline"><mml:mi>m</mml:mi></mml:math></inline-formula> are

                <disp-formula specific-use="align" content-type="numbered"><mml:math id="M365" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E83"><mml:mtd/><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mn mathvariant="normal">10</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mtext>m</mml:mtext></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mo>≤</mml:mo><mml:msub><mml:mi>h</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>≤</mml:mo><mml:mn mathvariant="normal">10.0</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mtext>km</mml:mtext><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E84"><mml:mtd/><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mn mathvariant="normal">0.001</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="italic">%</mml:mi></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mo>≤</mml:mo><mml:msub><mml:mi mathvariant="italic">ψ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>≤</mml:mo><mml:mn mathvariant="normal">50</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="italic">%</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E85"><mml:mtd/><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mn mathvariant="normal">1.0</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mo>≤</mml:mo><mml:mi>D</mml:mi><mml:mo>≤</mml:mo><mml:mn mathvariant="normal">1.0</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mtext>mm</mml:mtext><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E86"><mml:mtd/><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mn mathvariant="normal">1.0</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mo>≤</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mtext>m</mml:mtext></mml:msub><mml:mo>≤</mml:mo><mml:mn mathvariant="normal">100.0</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">m</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

            The initial input parameters are set to
            <disp-formula id="Ch1.E87" content-type="numbered"><mml:math id="M366" display="block"><mml:mrow><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mfenced open="(" close=")"><mml:mtable class="matrix" columnalign="center center center" framespacing="0em"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>h</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mn mathvariant="normal">2.1</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mtext>km</mml:mtext></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ψ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mn mathvariant="normal">5</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="italic">%</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>D</mml:mi></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mn mathvariant="normal">200.0</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mtext>m</mml:mtext></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mn mathvariant="normal">20.0</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p>The input parameters are normalised as detailed in Sect. <xref ref-type="sec" rid="Ch1.S4.SS4"/> before
being passed to the optimisation algorithm. The criteria for finishing the
optimisation are consistent with the previous optimisation (see
Eq. <xref ref-type="disp-formula" rid="Ch1.E76"/>).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F9"><caption><p>Values of the parameters from the model with both mud and sand sediment
classes over the optimisation iterations against the value of the objective
functional, <inline-formula><mml:math id="M367" display="inline"><mml:mi>J</mml:mi></mml:math></inline-formula>, that we are aiming to minimise. The values shown are normalised
by their starting values. <inline-formula><mml:math id="M368" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mo>*</mml:mo><mml:msub><mml:mo>)</mml:mo><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the value of parameter <inline-formula><mml:math id="M369" display="inline"><mml:mo>*</mml:mo></mml:math></inline-formula> at the start
of iteration <inline-formula><mml:math id="M370" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula>.</p></caption>
          <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/10/1051/2017/gmd-10-1051-2017-f09.png"/>

        </fig>

      <?xmltex \floatpos{t}?><fig id="Ch1.F10"><caption><p>Optimised dimensional deposit output from the model with both mud
and sand sediment classes, <inline-formula><mml:math id="M371" 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:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, shown against the optimised
results from the single sediment class model, <inline-formula><mml:math id="M372" display="inline"><mml:mover accent="true"><mml:mi mathvariant="italic">η</mml:mi><mml:mo mathvariant="normal">̃</mml:mo></mml:mover></mml:math></inline-formula>, the field
measurement from Bed 1.1 <xref ref-type="bibr" rid="bib1.bibx41" id="paren.68"/>, and the fourth-order polynomial
target deposit profile, <inline-formula><mml:math id="M373" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">η</mml:mi><mml:mtext>T</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>.</p></caption>
          <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/10/1051/2017/gmd-10-1051-2017-f10.png"/>

        </fig>

      <p>The optimisation of the model with two sediment classes is completed in 17
iterations with a final functional value of <inline-formula><mml:math id="M374" display="inline"><mml:mrow><mml:mi>J</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">2.13</mml:mn></mml:mrow></mml:math></inline-formula> (see
Fig. <xref ref-type="fig" rid="Ch1.F9"/>). Therefore,  the fit is quantitatively
slightly worse when mud is included in the model. This is a surprising
result,
as the model now more closely matches reality. Qualitatively, it is very hard
to determine which model fits the data better. The resultant deposit is very
similar in shape to that obtained when only modelling sand in the flow (see
Fig. <xref ref-type="fig" rid="Ch1.F10"/>). The fit appears to be worse at the start of
the deposit. The runout length is slightly longer when mud is included such
that the fit towards the end of the deposit is slightly improved.</p>
      <p>The fit with the measured data is still poor towards the end of the deposit.
<xref ref-type="bibr" rid="bib1.bibx41" id="text.69"/> noted that the distal section of small deposits in the
Marnoso-arenacea Formation show evidence of transport in a tractional
boundary layer. This simulation does not model bedload transport or erosion,
which is the likely reason for the difference in the results. The velocity of the
head of the turbidity current in this simulation varies between 10 and
2.4 m s<inline-formula><mml:math id="M375" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> over the period during which sand is deposited
(Fig. <xref ref-type="fig" rid="Ch1.F12"/>). At these head velocities, erosion is very
likely to occur. Models for erosion and bedload transport exist
<xref ref-type="bibr" rid="bib1.bibx15 bib1.bibx40" id="paren.70"/>. These could be added in future work.</p>
      <p>The final optimised values are

                <disp-formula id="Ch1.E88" content-type="numbered"><mml:math id="M376" display="block"><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mfenced close=")" open="("><mml:mtable class="matrix" columnalign="center center center" framespacing="0em"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>h</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mn mathvariant="normal">1.92</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ψ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mn mathvariant="normal">5.94</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>D</mml:mi></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mn mathvariant="normal">125</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mtext>m</mml:mtext></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mn mathvariant="normal">28.1</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p>A comparison of these results to those obtained without a mud sediment class
shows that the
value of <inline-formula><mml:math id="M377" display="inline"><mml:mrow><mml:msub><mml:mi>h</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> has reduced by 25 % and translates to an initial current
height of 745.0 m as the current enters the basin plain. The average
sediment diameter has also increased by 21 % to 125 <inline-formula><mml:math id="M378" display="inline"><mml:mrow><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula>,
bringing the average diameter in line with the estimates from the field
measurements by <xref ref-type="bibr" rid="bib1.bibx41" id="text.71"/>. Arguably, the sand and mud classes
should be subdivided further. <xref ref-type="bibr" rid="bib1.bibx6" id="text.72"/> described how polydisperse
density currents will have longer runout distances than equivalent currents
with uniform sediment at the mean value of the poydisperse current.</p>
      <p>It is also interesting to assess the sensitivity of the model to variations in
the input parameters by analysing the final gradient of the objective
functional,

                <disp-formula id="Ch1.E89" content-type="numbered"><mml:math id="M379" display="block"><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>J</mml:mi></mml:mrow><mml:mrow><mml:mtext>d</mml:mtext><mml:mover accent="true"><mml:mi>m</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>=</mml:mo><mml:mfenced close=")" open="("><mml:mtable class="matrix" columnalign="center center center" framespacing="0em"><mml:mtr><mml:mtd><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>J</mml:mi><mml:mo>/</mml:mo><mml:mtext>d</mml:mtext><mml:msub><mml:mover accent="true"><mml:mi>h</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mn mathvariant="normal">5.1</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>J</mml:mi><mml:mo>/</mml:mo><mml:mtext>d</mml:mtext><mml:msub><mml:mover accent="true"><mml:mi mathvariant="italic">ψ</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1.8</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>J</mml:mi><mml:mo>/</mml:mo><mml:mtext>d</mml:mtext><mml:mover accent="true"><mml:mi>D</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover></mml:mrow></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2.4</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>J</mml:mi><mml:mo>/</mml:mo><mml:mtext>d</mml:mtext><mml:msub><mml:mover accent="true"><mml:mi>D</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mtext>m</mml:mtext></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mn mathvariant="normal">1.5</mml:mn><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:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>

          where <inline-formula><mml:math id="M380" display="inline"><mml:mover accent="true"><mml:mo>⋅</mml:mo><mml:mo mathvariant="normal">‾</mml:mo></mml:mover></mml:math></inline-formula> indicates a parameter value normalised by its value on the
initial optimisation iteration. The sensitivity of the functional to changes in
the mud diameter is several orders of magnitude smaller than the sensitivity to
changes in the other variables.</p>
      <p>It is indeed found that changing this value has very little effect on the
obtained deposit. The same simulation is run with the mud diameter decreased by
2 orders of magnitude such that the input parameter values are

                <disp-formula id="Ch1.E90" content-type="numbered"><mml:math id="M381" display="block"><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mfenced open="(" close=")"><mml:mtable class="matrix" columnalign="center center center" framespacing="0em"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>h</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mn mathvariant="normal">1.92</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ψ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mn mathvariant="normal">5.94</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>D</mml:mi></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mn mathvariant="normal">125</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mtext>m</mml:mtext></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mn mathvariant="normal">0.281</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p>The resulting functional value is <inline-formula><mml:math id="M382" display="inline"><mml:mrow><mml:mi>J</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">2.13</mml:mn></mml:mrow></mml:math></inline-formula>, which is identical to that obtained
for the optimised simulation. There is no discernible difference in the
resulting deposit, <inline-formula><mml:math id="M383" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">η</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> (Fig. <xref ref-type="fig" rid="Ch1.F11"/>). The head
height and velocity only vary a small amount over the period during which sand is
deposited (Fig. <xref ref-type="fig" rid="Ch1.F12"/>a and b). The
current properties vary significantly after the sand has been deposited and mud
is still in suspension, but this does not have any effect on the sand deposit.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F11"><caption><p>Optimised dimensional deposit output from the model with both mud
and sand sediment classes, <inline-formula><mml:math id="M384" 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:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, shown against the results from the
same model with the same parameters but a mud-settling velocity reduced by
2 orders of magnitude, <inline-formula><mml:math id="M385" 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:mn mathvariant="normal">3</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>.</p></caption>
          <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/10/1051/2017/gmd-10-1051-2017-f11.png"/>

        </fig>

      <p>Although the sandstone deposits generated by the single and two sediment class
models are very similar, the properties of the turbidity currents that produced them
are very different (Fig. <xref ref-type="fig" rid="Ch1.F12"/>). The turbidity current with
mud in suspension travels approximately twice as quickly due to the increased
gravitational forces produced by the sand and mud mixture (Fig. <xref ref-type="fig" rid="Ch1.F12"/>b).
Sand also drops out of the suspension much more
rapidly (Fig. <xref ref-type="fig" rid="Ch1.F12"/>d). All of the sand is deposited within
approximately 6 h. The model without mud deposits sand over a period of
more than 20 h. This is due to the reduced height of the current at the
start of the simulation and the faster decrease in the height of the current as
a result of the higher head velocity (Fig. <xref ref-type="fig" rid="Ch1.F12"/>a and d).
Clearly, the presence of mud in the suspension has a
significant impact on the resultant flow and must be included in the model.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F12" specific-use="star"><caption><p>The time evolution of the dimensionalised variables for three simulations: a
simulation with a single sand sediment class and optimised input parameters
to match the Bed 1.1 sand deposit, a simulation with sand and mud classes
and optimised input parameters to match the Bed 1.1 sand deposit, and a
simulation with sand and mud classes and the same optimised input parameters
but a mud diameter 2 orders of magnitude smaller. The results are shown
against the dimensional time, <inline-formula><mml:math id="M386" display="inline"><mml:mrow><mml:mover accent="true"><mml:mi>t</mml:mi><mml:mo mathvariant="normal">̃</mml:mo></mml:mover><mml:mo>=</mml:mo><mml:mi>t</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mo>(</mml:mo><mml:msub><mml:mi>h</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>/</mml:mo><mml:msub><mml:mi>g</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:msup><mml:mo>)</mml:mo><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>.</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/10/1051/2017/gmd-10-1051-2017-f12.png"/>

        </fig>

      <p>The simulated turbidity currents that produced <inline-formula><mml:math id="M387" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">η</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M388" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">η</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> deposited
sand over a similar time period. After all of the sand had fallen out of
suspension, less than 25 % of the mud settled from the flow for both of
these currents; the current head is <inline-formula><mml:math id="M389" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula> 50 m tall, and the head is moving at
<inline-formula><mml:math id="M390" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula> 1.0 m s<inline-formula><mml:math id="M391" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> (Fig. <xref ref-type="fig" rid="Ch1.F12"/>). Hence, there is still a significant
amount of energy in the flow. The remaining mud suspension will reach the end of
the basin (<inline-formula><mml:math id="M392" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>x</mml:mi><mml:mo mathvariant="normal">̃</mml:mo></mml:mover><mml:mi>N</mml:mi></mml:msub><mml:mo>≈</mml:mo></mml:mrow></mml:math></inline-formula> 130 km) and will still have a significant amount
of energy left when it does so. It is very hard to predict what will happen
after this point. The current may be partly reflected, and ponding of the
suspended mud is likely to occur. This result is in agreement with the
explanations of <xref ref-type="bibr" rid="bib1.bibx42" id="text.73"/>.</p>
      <p>The height of the current in the optimised simulation with both sand and mud
sediment classes is <inline-formula><mml:math id="M393" display="inline"><mml:mo>≈</mml:mo></mml:math></inline-formula> 750 m as it enters the basin, although this
decreases very quickly as the current propagates. It is possible that including
processes such as fluid entrainment, erosion, and bedload transport may reduce
the necessity for such a large initial current height in producing this
deposit. More complex initial and boundary conditions may also have a
significant impact on this value. It is unclear what effect an inflow boundary
condition with time-varying height, sediment concentration, and velocity would
have on the results. This would be an interesting addition to the models
capabilities.</p>
      <p>The model also neglects variations in the bed profile. The gradient of the sea
floor in the basin where the Marnoso-arenacea Formation was created was
substantially less than 1 degree <xref ref-type="bibr" rid="bib1.bibx2" id="paren.74"/>. Variations in gradient of
this magnitude will have a negligible impact on the head velocity
<xref ref-type="bibr" rid="bib1.bibx34" id="paren.75"/>. However, small variations will have an impact on the
velocity of the body of the current. Future work will address this.</p>
</sec>
</sec>
<sec id="Ch1.S5" sec-type="conclusions">
  <title>Conclusions</title>
      <p>This paper has presented a novel implementation of the shallow water
equations for modelling density currents using a mixed finite-element
formulation. The model has been differentiated to allow for parameter
optimisation using gradient-based optimisation techniques and the use of
gradient information in sensitivity analyses.</p>
      <p>The proposed model is based upon simplifying shallow water sediment-laden
density current assumptions and has been used here to recreate a low-volume
deposit from the Marnoso-arenacea Formation in Italy with some success.
However, the lack of many key flow processes within the current model,
including bedload transport and re-entrainment, has arguably led to optimised
parameters values which would be improved upon with a more complete
underlying model.</p>
      <p>This paper has demonstrated the power of gradient-based optimisation methods for
determining the set of input parameters that best fits a particular turbidity
current deposit. Since the input parameters are rarely known with any accuracy for
these flows, optimisation represents a sensible way to better estimate these
values.</p>
      <p>Future development of the model could enable more complex boundary conditions
and add parameterisations for ambient fluid entrainment, bed erosion, and
bedload transport. This will increase the capacity for the model to recreate
a range of deposits found in the field, while the parameter space will grow
significantly. The optimisation techniques presented in this paper will allow
for the efficient selection of optimised values for a large parameter space.</p>
</sec>
<sec id="Ch1.S6">
  <title>Code availability</title>
      <p>The model implementation and the test setups described in this paper are
freely available as a separate git repository on bitbucket:
<uri>https://github.com/funsim/adjoint-turbidity</uri>. This repository contains a
README file which guides the user through the installation and how to
reproduce the results of the paper. The experiment configuration files can
viewed and changed with the graphical configuration tool spud from the
Fluidity project (<uri>http://fluidityproject.github.io/</uri>). The dynamical
core of the model is implemented with the finite-element software FEniCS and
its extension dolfin-adjoint. The documentation for FEniCS is available at
<uri>http://fenicsproject.org/documentation</uri>, and the documentation for
dolfin-adjoint can be found at <uri>http://www.dolfin-adjoint.org</uri>.</p>
      <p>Dolfin-adjoint and all FEniCS core components are licensed under the GNU LGPL
as published by the Free Software Foundation, either version 3 of the
licence or (optionally) any later version.</p>
</sec>

      
      </body>
    <back><ack><title>Acknowledgements</title><p>This work was supported by the Natural Environment Research Council grant
NE/K000047/1 and the Research Council of Norway through a Centre of Excellence
grant (project number 179578) and the FRIPRO Program (project number 251237)
to the Center for Biomedical Computing at Simula Research
Laboratory (project number 179578).<?xmltex \hack{\newline}?><?xmltex \hack{\newline}?> Edited by:
A. Sandu<?xmltex \hack{\newline}?> Reviewed by: two anonymous referees</p></ack><ref-list>
    <title>References</title>

      <ref id="bib1.bibx1"><label>Alnæs et al.(2012)</label><mixed-citation>Alnæs, M. S., Logg, A., Ølgaard, K. B., Rognes, M. E., and Wells,
G. N.: Unified Form Language: A domain-specific language for weak
formulations of partial differential equations, ACM T. Math. Software, 40,
9:1–9:37,
<ext-link xlink:href="http://dx.doi.org/10.1145/2566630" ext-link-type="DOI">10.1145/2566630</ext-link>, 2012.</mixed-citation></ref>
      <ref id="bib1.bibx2"><label>Amy and Talling(2006)</label><mixed-citation>Amy, L. A. and Talling, P. J.: Anatomy of turbidites and linked debrites
based on long distance (120 <inline-formula><mml:math id="M394" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 30 km) bed correlation, Marnoso
Arenacea Formation, Northern Apennines, Italy, Sedimentology, 53, 161–212,
<ext-link xlink:href="http://dx.doi.org/10.1111/j.1365-3091.2005.00756.x" ext-link-type="DOI">10.1111/j.1365-3091.2005.00756.x</ext-link>, 2006.</mixed-citation></ref>
      <ref id="bib1.bibx3"><label>Balay et al.(2014)</label><mixed-citation>Balay, S., Adams, M. F., Brown, J., Brune, P., Buschelman, K., Eijkhout, V.,
Gropp, W. D., Kaushik, D., Knepley, M. G., McInnes, L. C., Rupp, K., Smith,
B. F., and Zhang, H.: PETSc Web page (Portable, Extensible Toolkit for
Scientific Computation), available at: <uri>http://www.mcs.anl.gov/petsc</uri>,
2014.</mixed-citation></ref>
      <ref id="bib1.bibx4"><label>Bonnecaze et al.(1993)</label><mixed-citation>Bonnecaze, R. T., Huppert, H. E., and Lister, J. R.: Particle-driven gravity
currents, J. Fluid Mech., 250, 339–339, <ext-link xlink:href="http://dx.doi.org/10.1017/S002211209300148X" ext-link-type="DOI">10.1017/S002211209300148X</ext-link>,
1993.</mixed-citation></ref>
      <ref id="bib1.bibx5"><label>Cockburn and Shu(2001)</label><mixed-citation>Cockburn, B. and Shu, C.-W.: Runge–Kutta discontinuous Galerkin methods for
convection-dominated problems, J. Sci. Comput., 16, 173–261,
<ext-link xlink:href="http://dx.doi.org/10.1023/A:1012873910884" ext-link-type="DOI">10.1023/A:1012873910884</ext-link>, 2001.</mixed-citation></ref>
      <ref id="bib1.bibx6"><label>Dorrell et al.(2013)</label><mixed-citation>Dorrell, R. M., Hogg, A. J., and Pritchard, D.: Polydisperse suspensions:
Erosion, deposition, and flow capacity, J. Geophys. Res.-Earth, 118,
1939–1955, <ext-link xlink:href="http://dx.doi.org/10.1002/jgrf.20129" ext-link-type="DOI">10.1002/jgrf.20129</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx7"><label>Doyle et al.(2008)</label><mixed-citation>Doyle, E. E., Hogg, A. J., Mader, H. M., and Sparks, R. S. J.: Modeling dense
pyroclastic basal flows from collapsing columns, Geophys. Res. Lett., 35,
L04305, <ext-link xlink:href="http://dx.doi.org/10.1029/2007GL032585" ext-link-type="DOI">10.1029/2007GL032585</ext-link>, 2008.</mixed-citation></ref>
      <ref id="bib1.bibx8"><label>Doyle et al.(2010)</label><mixed-citation>Doyle, E. E., Hogg, A. J., Mader, H. M., and Sparks, R. S. J.: A two-layer
model for the evolution and propagation of dense and dilute regions of
pyroclastic currents, J. Volcanol. Geoth. Res., 190, 365–378,
<ext-link xlink:href="http://dx.doi.org/10.1016/j.jvolgeores.2009.12.004" ext-link-type="DOI">10.1016/j.jvolgeores.2009.12.004</ext-link>, 2010.</mixed-citation></ref>
      <ref id="bib1.bibx9"><label>Farrell et al.(2011)</label><mixed-citation>Farrell, P. E., Piggott, M. D., Gorman, G. J., Ham, D. A., Wilson, C. R., and
Bond, T. M.: Automated continuous verification for numerical simulation,
Geosci. Model Dev., 4, 435–449, <ext-link xlink:href="http://dx.doi.org/10.5194/gmd-4-435-2011" ext-link-type="DOI">10.5194/gmd-4-435-2011</ext-link>, 2011.</mixed-citation></ref>
      <ref id="bib1.bibx10"><label>Farrell et al.(2013)</label><mixed-citation>Farrell, P. E., Ham, D. A., Funke, S. W., and Rognes, M. E.: Automated
derivation of the adjoint of high-level transient finite element programs, J.
Sci. Comput., 35, C369–C393, <ext-link xlink:href="http://dx.doi.org/10.1137/120873558" ext-link-type="DOI">10.1137/120873558</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx11"><label>Fukushima et al.(1985)</label><mixed-citation>Fukushima, Y., Parker, G., and Pantin, H. M.: Prediction of ignitive
turbidity currents in Scripps Submarine Canyon, Mar. Geol., 67, 55–81,
<ext-link xlink:href="http://dx.doi.org/10.1016/0025-3227(85)90148-3" ext-link-type="DOI">10.1016/0025-3227(85)90148-3</ext-link>, 1985.</mixed-citation></ref>
      <ref id="bib1.bibx12"><label>Funke and Farrell(2013)</label><mixed-citation>
Funke, S. W. and Farrell, P. E.: A framework for automated PDE-constrained
optimisation, arXiv:1302.3894, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx13"><label>Funke et al.(2014)</label><mixed-citation>Funke, S. W., Farrell, P. E., and Piggott, M. D.: Tidal turbine array
optimisation using the adjoint approach, Renew. Energ., 63, 658–673,
<ext-link xlink:href="http://dx.doi.org/10.1016/j.renene.2013.09.031" ext-link-type="DOI">10.1016/j.renene.2013.09.031</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bibx14"><label>Gandolfi et al.(1983)</label><mixed-citation>Gandolfi, G., Paganelli, L., and Zuffa, G. G.: Petrology and dispersal
pattern in the Marnoso-arenacea Formation (Miocene, Northern Apennines), Int.
J. Sediment. Res., 53, 493–507,
<ext-link xlink:href="http://dx.doi.org/10.1306/212F8215-2B24-11D7-8648000102C1865D" ext-link-type="DOI">10.1306/212F8215-2B24-11D7-8648000102C1865D</ext-link>, 1983.</mixed-citation></ref>
      <ref id="bib1.bibx15"><label>Garcia(1994)</label><mixed-citation>Garcia, M. H.: Depositional turbidity currents laden with poorly sorted
sediment, J. Hydraul. Eng.-ASCE, 120, 1240–1263,
<ext-link xlink:href="http://dx.doi.org/10.1061/(ASCE)0733-9429(1994)120:11(1240)" ext-link-type="DOI">10.1061/(ASCE)0733-9429(1994)120:11(1240)</ext-link>, 1994.</mixed-citation></ref>
      <ref id="bib1.bibx16"><label>Giles and Pierce(2000)</label><mixed-citation>
Giles, M. B. and Pierce, N. A.: An introduction to the adjoint approach to
design, Flow Turbul. Combust., 65, 393–415, 2000.</mixed-citation></ref>
      <ref id="bib1.bibx17"><label>Hallworth et al.(1998)</label><mixed-citation>Hallworth, M. A., Hogg, A. J., and Huppert, H. E.: Effects of external flow
on compositional and particle gravity currents, J. Fluid Mech., 359,
109–142, <ext-link xlink:href="http://dx.doi.org/10.1017/S0022112097008409" ext-link-type="DOI">10.1017/S0022112097008409</ext-link>, 1998.</mixed-citation></ref>
      <ref id="bib1.bibx18"><label>Harris et al.(2001)</label><mixed-citation>Harris, T. C., Hogg, A. J., and Huppert, H. E.: A mathematical framework for
the analysis of particle–driven gravity currents, P. Roy. Soc. A-Math. Phy.,
457, 1241–1272, <ext-link xlink:href="http://dx.doi.org/10.1098/rspa.2000.0728" ext-link-type="DOI">10.1098/rspa.2000.0728</ext-link>, 2001.</mixed-citation></ref>
      <ref id="bib1.bibx19"><label>Harris et al.(2002)</label><mixed-citation>Harris, T. C., Hogg, A. J., and Huppert, H. E.: Polydisperse particle-driven
gravity currents, J. Fluid Mech., 472, 333–371,
<ext-link xlink:href="http://dx.doi.org/10.1017/S0022112002002379" ext-link-type="DOI">10.1017/S0022112002002379</ext-link>, 2002.</mixed-citation></ref>
      <ref id="bib1.bibx20"><label>Heezen and Ewing(1952)</label><mixed-citation>
Heezen, B. C. and Ewing, W. M.: Turbidity currents and submarine slumps, and
the 1929 Grand Banks earthquake, Am. J. Sci., 250, 849–873, 1952.</mixed-citation></ref>
      <ref id="bib1.bibx21"><label>Hogg(2006)</label><mixed-citation>Hogg, A. J.: Lock-release gravity currents and dam-break flows, J. Fluid
Mech., 569, 61–87, <ext-link xlink:href="http://dx.doi.org/10.1017/S0022112006002588" ext-link-type="DOI">10.1017/S0022112006002588</ext-link>, 2006.</mixed-citation></ref>
      <ref id="bib1.bibx22"><label>Hoult(1972)</label><mixed-citation>Hoult, D. P.: Oil spreading on the sea, Annu. Rev. Fluid Mech., 4, 341–368,
<ext-link xlink:href="http://dx.doi.org/10.1146/annurev.fl.04.010172.002013" ext-link-type="DOI">10.1146/annurev.fl.04.010172.002013</ext-link>, 1972.</mixed-citation></ref>
      <ref id="bib1.bibx23"><label>Huang et al.(2009)</label><mixed-citation>Huang, H., Imran, J., and Pirmez, C.: Nondimensional parameters of
depth-averaged gravity flow models, J. Hydraul. Res., 47, 455–465,
<ext-link xlink:href="http://dx.doi.org/10.1080/00221686.2009.9522021" ext-link-type="DOI">10.1080/00221686.2009.9522021</ext-link>, 2009.</mixed-citation></ref>
      <ref id="bib1.bibx24"><label>Huppert and Simpson(1980)</label><mixed-citation>Huppert, H. E. and Simpson, J. E.: The slumping of gravity currents, J. Fluid
Mech., 99, 785–799, <ext-link xlink:href="http://dx.doi.org/10.1017/S0022112080000894" ext-link-type="DOI">10.1017/S0022112080000894</ext-link>, 1980.</mixed-citation></ref>
      <ref id="bib1.bibx25"><label>Jorge and Stephen(1999)</label><mixed-citation>
Jorge, N. and Stephen, J. W.: Numerical optimization, Springer, 1999.</mixed-citation></ref>
      <ref id="bib1.bibx26"><label>Kneller and Buckee(2000)</label><mixed-citation>Kneller, B. and Buckee, C.: The structure and fluid mechanics of turbidity
currents: a review of some recent studies and their geological implications,
Sedimentology, 47, 62–94, <ext-link xlink:href="http://dx.doi.org/10.1046/j.1365-3091.2000.047s1062.x" ext-link-type="DOI">10.1046/j.1365-3091.2000.047s1062.x</ext-link>, 2000.</mixed-citation></ref>
      <ref id="bib1.bibx27"><label>Kuzmin(2010)</label><mixed-citation>Kuzmin, D.: A vertex-based hierarchical slope limiter for p-adaptive
discontinuous Galerkin methods, J. Comput. Appl. Math., 233, 3077–3085,
<ext-link xlink:href="http://dx.doi.org/10.1016/j.cam.2009.05.028" ext-link-type="DOI">10.1016/j.cam.2009.05.028</ext-link>, 2010.</mixed-citation></ref>
      <ref id="bib1.bibx28"><label>Lamb(1993)</label><mixed-citation>
Lamb, H.: Hydrodynamics, Cambridge University Press, 1993.</mixed-citation></ref>
      <ref id="bib1.bibx29"><label>Lesshafft et al.(2011)</label><mixed-citation>Lesshafft, L., Meiburg, E., Kneller, B., and Marsden, A.: Towards inverse
modeling of turbidity currents: The inverse lock-exchange problem, Comput.
Geosci., 37, 521–529, <ext-link xlink:href="http://dx.doi.org/10.1016/j.cageo.2010.09.015" ext-link-type="DOI">10.1016/j.cageo.2010.09.015</ext-link>, 2011.</mixed-citation></ref>
      <ref id="bib1.bibx30"><label>Logg et al.(2012)</label><mixed-citation>
Logg, A., Mardal, K.-A., and Wells, G.: Automated solution of differential
equations by the finite element method: The FEniCS book, vol. 84, Springer
Science &amp; Business Media, 2012.</mixed-citation></ref>
      <ref id="bib1.bibx31"><label>Lowe(1979)</label><mixed-citation>Lowe, D. R.: Sediment Gravity Flows, Geology of Continental Slope, 27,
75–82, <ext-link xlink:href="http://dx.doi.org/10.2110/pec.79.27.0075" ext-link-type="DOI">10.2110/pec.79.27.0075</ext-link>, 1979.</mixed-citation></ref>
      <ref id="bib1.bibx32"><label>Lucchi and Valmori(1980)</label><mixed-citation>Lucchi, F. R. and Valmori, E.: Basin-wide turbidites in a Miocene,
over-supplied deep-sea plain: a geometrical analysis, Sedimentology, 27,
241–270, <ext-link xlink:href="http://dx.doi.org/10.1111/j.1365-3091.1980.tb01177.x" ext-link-type="DOI">10.1111/j.1365-3091.1980.tb01177.x</ext-link>, 1980.</mixed-citation></ref>
      <ref id="bib1.bibx33"><label>Menemenlis et al.(2008)</label><mixed-citation>
Menemenlis, D., Campin, J.-M., Heimbach, P., Hill, C., Lee, T., Nguyen, A.,
Schodlok, M., and Zhang, H.: ECCO2: High resolution global ocean and sea ice
data synthesis, Mercator Ocean Quarterly Newsletter, 31, 13–21, 2008.</mixed-citation></ref>
      <ref id="bib1.bibx34"><label>Middleton(1966)</label><mixed-citation>Middleton, G. V.: Experiments on density and turbidity currents, I. Motion of
the head, Can. J. Earth Sci., 3, 523–546, <ext-link xlink:href="http://dx.doi.org/10.1139/e66-038" ext-link-type="DOI">10.1139/e66-038</ext-link>, 1966.</mixed-citation></ref>
      <ref id="bib1.bibx35"><label>Naruse(2013)</label><mixed-citation>
Naruse, H.: Tsunami-genic turbidity currents: observation and estimation of
flow condition by numerical simulations, in: Apennine Workshop: future
research directions for submarine flows, AGU Publications, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx36"><label>Parker et al.(1986)</label><mixed-citation>Parker, G., Fukushima, Y., and Pantin, H. M.: Self-accelerating turbidity
currents, J. Fluid Mech., 171, 145–81, <ext-link xlink:href="http://dx.doi.org/10.1017/S0022112086001404" ext-link-type="DOI">10.1017/S0022112086001404</ext-link>,
1986.</mixed-citation></ref>
      <ref id="bib1.bibx37"><label>Parkinson et al.(2014)P</label><mixed-citation>Parkinson, S. D., Hill, J., Piggott, M. D., and Allison, P. A.: Direct
numerical simulations of particle-laden density currents with adaptive,
discontinuous finite elements, Geosci. Model Dev., 7, 1945–1960,
<ext-link xlink:href="http://dx.doi.org/10.5194/gmd-7-1945-2014" ext-link-type="DOI">10.5194/gmd-7-1945-2014</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bibx38"><label>Peraire and Persson(2008)</label><mixed-citation>Peraire, J. and Persson, P. O.: The compact discontinuous Galerkin (CDG)
method for elliptic problems, J. Sci. Comput., 30, 1806–1824,
<ext-link xlink:href="http://dx.doi.org/10.1137/070685518" ext-link-type="DOI">10.1137/070685518</ext-link>, 2008.</mixed-citation></ref>
      <ref id="bib1.bibx39"><label>Rowley(2013)</label><mixed-citation>
Rowley, P.: Inverse modelling of a pyroclastic turbidite, in: Apennine
Workshop: future research directions for submarine flows,
2013.</mixed-citation></ref>
      <ref id="bib1.bibx40"><label>Sequeiros et al.(2009)</label><mixed-citation>Sequeiros, O. E., Cantelli, A., Viparelli, E., White, J. D. L., Garcia,
M. H., and Parker, G.: Modeling turbidity currents with nonuniform sediment
and reverse buoyancy, Water Resour. Res., 45, 1–28,
<ext-link xlink:href="http://dx.doi.org/10.1029/2008WR007422" ext-link-type="DOI">10.1029/2008WR007422</ext-link>, 2009.</mixed-citation></ref>
      <ref id="bib1.bibx41"><label>Talling et al.(2007a)</label><mixed-citation>Talling, P. J., Amy, L. A., and Wynn, R. B.: New insight into the evolution
of large-volume turbidity currents: comparison of turbidite shape and
previous modelling results, Sedimentology, 54, 737–769,
<ext-link xlink:href="http://dx.doi.org/10.1111/j.1365-3091.2007.00858.x" ext-link-type="DOI">10.1111/j.1365-3091.2007.00858.x</ext-link>, 2007a.</mixed-citation></ref>
      <ref id="bib1.bibx42"><label>Talling et al.(2007b)</label><mixed-citation>Talling, P. J., Amy, L. A., Wynn, R. B., Blackbourn, G., and Gibson, O.:
Evolution of turbidity currents deduced from extensive thin turbidites:
Marnoso Arenacea Formation (Miocene), Italian Apennines, J. Sediment. Res.,
77, 172–196, <ext-link xlink:href="http://dx.doi.org/10.2110/jsr.2007.018" ext-link-type="DOI">10.2110/jsr.2007.018</ext-link>, 2007b.</mixed-citation></ref>
      <ref id="bib1.bibx43"><label>Talling et al.(2007c)</label><mixed-citation>Talling, P. J., Wynn, R. B., Masson, D. G., Frenz, M., Cronin, B. T.,
Schiebel, R., Akhmetzhanov, A. M., Dallmeier-Tiessen, S., Benetti, S.,
Weaver, P. P. E., Georgiopoulou, A., Zühlsdorff, C., and Amy, L. A.: Onset
of submarine debris flow deposition far from original giant landslide,
Nature, 450, 541–544, <ext-link xlink:href="http://dx.doi.org/10.1038/nature06313" ext-link-type="DOI">10.1038/nature06313</ext-link>, 2007c.</mixed-citation></ref>
      <ref id="bib1.bibx44"><label>Talling et al.(2012)</label><mixed-citation>Talling, P. J., Masson, D. G., Sumner, E. J., and Malgesini, G.: Subaqueous
sediment density flows: Depositional processes and deposit types,
Sedimentology, 59, 1937–2003, <ext-link xlink:href="http://dx.doi.org/10.1111/j.1365-3091.2012.01353.x" ext-link-type="DOI">10.1111/j.1365-3091.2012.01353.x</ext-link>, 2012.
</mixed-citation></ref><?xmltex \hack{\newpage}?>
      <ref id="bib1.bibx45"><label>Ungarish(2010)</label><mixed-citation>
Ungarish, M.: An introduction to gravity currents and intrusions, CRC Press,
2010.</mixed-citation></ref>
      <ref id="bib1.bibx46"><label>Wächter and Biegler(2005)</label><mixed-citation>Wächter, A. and Biegler, L. T.: Line search filter methods for nonlinear
programming: Motivation and global convergence, J. Optimization, 16, 1–31,
<ext-link xlink:href="http://dx.doi.org/10.1137/S1052623403426556" ext-link-type="DOI">10.1137/S1052623403426556</ext-link>, 2005.</mixed-citation></ref>
      <ref id="bib1.bibx47"><label>Wächter and Biegler(2006)</label><mixed-citation>Wächter, A. and Biegler, L. T.: On the implementation of an interior-point
filter line-search algorithm for large-scale nonlinear programming, Math.
Program., 106, 25–57, <ext-link xlink:href="http://dx.doi.org/10.1007/s10107-004-0559-y" ext-link-type="DOI">10.1007/s10107-004-0559-y</ext-link>, 2006.</mixed-citation></ref>

  </ref-list><app-group content-type="float"><app><title/>

    </app></app-group></back>
    <!--<article-title-html>Application of the adjoint approach to optimise the initial conditions of a turbidity current with the AdjointTurbidity 1.0 model</article-title-html>
<abstract-html><p class="p">Turbidity currents are one of the main drivers of sediment
transport from the continental shelf to the deep ocean. The resulting
sediment deposits can reach hundreds of kilometres into the ocean. Computer
models that simulate turbidity currents and the resulting sediment deposit
can help us to understand their general behaviour. However, in order to recreate
real-world scenarios, the challenge is to find the turbidity current
parameters that reproduce the observations of sediment deposits.</p><p class="p">This paper demonstrates a solution to the inverse sediment transportation
problem: for a known sedimentary deposit, the developed model reconstructs
details about the turbidity current that produced the deposit. The
reconstruction is constrained here by a shallow water sediment-laden density
current model, which is discretised by the finite-element method and an
adaptive time-stepping scheme. The model is differentiated using the adjoint
approach, and an efficient gradient-based optimisation method is applied to
identify the turbidity parameters which minimise the misfit between the modelled and
the observed field sediment deposits. The capabilities of this approach are
demonstrated using measurements taken in the Miocene Marnoso-arenacea Formation (Italy). We find that whilst the model cannot match the deposit
exactly due to limitations in the physical processes simulated, it provides
valuable insights into the depositional processes and represents a
significant advance in our toolset for interpreting turbidity current
deposits.</p></abstract-html>
<ref-html id="bib1.bib1"><label>Alnæs et al.(2012)</label><mixed-citation>
Alnæs, M. S., Logg, A., Ølgaard, K. B., Rognes, M. E., and Wells,
G. N.: Unified Form Language: A domain-specific language for weak
formulations of partial differential equations, ACM T. Math. Software, 40,
9:1–9:37,
<a href="http://dx.doi.org/10.1145/2566630" target="_blank">doi:10.1145/2566630</a>, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib2"><label>Amy and Talling(2006)</label><mixed-citation>
Amy, L. A. and Talling, P. J.: Anatomy of turbidites and linked debrites
based on long distance (120  ×  30 km) bed correlation, Marnoso
Arenacea Formation, Northern Apennines, Italy, Sedimentology, 53, 161–212,
<a href="http://dx.doi.org/10.1111/j.1365-3091.2005.00756.x" target="_blank">doi:10.1111/j.1365-3091.2005.00756.x</a>, 2006.
</mixed-citation></ref-html>
<ref-html id="bib1.bib3"><label>Balay et al.(2014)</label><mixed-citation>
Balay, S., Adams, M. F., Brown, J., Brune, P., Buschelman, K., Eijkhout, V.,
Gropp, W. D., Kaushik, D., Knepley, M. G., McInnes, L. C., Rupp, K., Smith,
B. F., and Zhang, H.: PETSc Web page (Portable, Extensible Toolkit for
Scientific Computation), available at: <a href="http://www.mcs.anl.gov/petsc" target="_blank">http://www.mcs.anl.gov/petsc</a>,
2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib4"><label>Bonnecaze et al.(1993)</label><mixed-citation>
Bonnecaze, R. T., Huppert, H. E., and Lister, J. R.: Particle-driven gravity
currents, J. Fluid Mech., 250, 339–339, <a href="http://dx.doi.org/10.1017/S002211209300148X" target="_blank">doi:10.1017/S002211209300148X</a>,
1993.
</mixed-citation></ref-html>
<ref-html id="bib1.bib5"><label>Cockburn and Shu(2001)</label><mixed-citation>
Cockburn, B. and Shu, C.-W.: Runge–Kutta discontinuous Galerkin methods for
convection-dominated problems, J. Sci. Comput., 16, 173–261,
<a href="http://dx.doi.org/10.1023/A:1012873910884" target="_blank">doi:10.1023/A:1012873910884</a>, 2001.
</mixed-citation></ref-html>
<ref-html id="bib1.bib6"><label>Dorrell et al.(2013)</label><mixed-citation>
Dorrell, R. M., Hogg, A. J., and Pritchard, D.: Polydisperse suspensions:
Erosion, deposition, and flow capacity, J. Geophys. Res.-Earth, 118,
1939–1955, <a href="http://dx.doi.org/10.1002/jgrf.20129" target="_blank">doi:10.1002/jgrf.20129</a>, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib7"><label>Doyle et al.(2008)</label><mixed-citation>
Doyle, E. E., Hogg, A. J., Mader, H. M., and Sparks, R. S. J.: Modeling dense
pyroclastic basal flows from collapsing columns, Geophys. Res. Lett., 35,
L04305, <a href="http://dx.doi.org/10.1029/2007GL032585" target="_blank">doi:10.1029/2007GL032585</a>, 2008.
</mixed-citation></ref-html>
<ref-html id="bib1.bib8"><label>Doyle et al.(2010)</label><mixed-citation>
Doyle, E. E., Hogg, A. J., Mader, H. M., and Sparks, R. S. J.: A two-layer
model for the evolution and propagation of dense and dilute regions of
pyroclastic currents, J. Volcanol. Geoth. Res., 190, 365–378,
<a href="http://dx.doi.org/10.1016/j.jvolgeores.2009.12.004" target="_blank">doi:10.1016/j.jvolgeores.2009.12.004</a>, 2010.
</mixed-citation></ref-html>
<ref-html id="bib1.bib9"><label>Farrell et al.(2011)</label><mixed-citation>
Farrell, P. E., Piggott, M. D., Gorman, G. J., Ham, D. A., Wilson, C. R., and
Bond, T. M.: Automated continuous verification for numerical simulation,
Geosci. Model Dev., 4, 435–449, <a href="http://dx.doi.org/10.5194/gmd-4-435-2011" target="_blank">doi:10.5194/gmd-4-435-2011</a>, 2011.
</mixed-citation></ref-html>
<ref-html id="bib1.bib10"><label>Farrell et al.(2013)</label><mixed-citation>
Farrell, P. E., Ham, D. A., Funke, S. W., and Rognes, M. E.: Automated
derivation of the adjoint of high-level transient finite element programs, J.
Sci. Comput., 35, C369–C393, <a href="http://dx.doi.org/10.1137/120873558" target="_blank">doi:10.1137/120873558</a>, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib11"><label>Fukushima et al.(1985)</label><mixed-citation>
Fukushima, Y., Parker, G., and Pantin, H. M.: Prediction of ignitive
turbidity currents in Scripps Submarine Canyon, Mar. Geol., 67, 55–81,
<a href="http://dx.doi.org/10.1016/0025-3227(85)90148-3" target="_blank">doi:10.1016/0025-3227(85)90148-3</a>, 1985.
</mixed-citation></ref-html>
<ref-html id="bib1.bib12"><label>Funke and Farrell(2013)</label><mixed-citation>
Funke, S. W. and Farrell, P. E.: A framework for automated PDE-constrained
optimisation, arXiv:1302.3894, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib13"><label>Funke et al.(2014)</label><mixed-citation>
Funke, S. W., Farrell, P. E., and Piggott, M. D.: Tidal turbine array
optimisation using the adjoint approach, Renew. Energ., 63, 658–673,
<a href="http://dx.doi.org/10.1016/j.renene.2013.09.031" target="_blank">doi:10.1016/j.renene.2013.09.031</a>, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib14"><label>Gandolfi et al.(1983)</label><mixed-citation>
Gandolfi, G., Paganelli, L., and Zuffa, G. G.: Petrology and dispersal
pattern in the Marnoso-arenacea Formation (Miocene, Northern Apennines), Int.
J. Sediment. Res., 53, 493–507,
<a href="http://dx.doi.org/10.1306/212F8215-2B24-11D7-8648000102C1865D" target="_blank">doi:10.1306/212F8215-2B24-11D7-8648000102C1865D</a>, 1983.
</mixed-citation></ref-html>
<ref-html id="bib1.bib15"><label>Garcia(1994)</label><mixed-citation>
Garcia, M. H.: Depositional turbidity currents laden with poorly sorted
sediment, J. Hydraul. Eng.-ASCE, 120, 1240–1263,
<a href="http://dx.doi.org/10.1061/(ASCE)0733-9429(1994)120:11(1240)" target="_blank">doi:10.1061/(ASCE)0733-9429(1994)120:11(1240)</a>, 1994.
</mixed-citation></ref-html>
<ref-html id="bib1.bib16"><label>Giles and Pierce(2000)</label><mixed-citation>
Giles, M. B. and Pierce, N. A.: An introduction to the adjoint approach to
design, Flow Turbul. Combust., 65, 393–415, 2000.
</mixed-citation></ref-html>
<ref-html id="bib1.bib17"><label>Hallworth et al.(1998)</label><mixed-citation>
Hallworth, M. A., Hogg, A. J., and Huppert, H. E.: Effects of external flow
on compositional and particle gravity currents, J. Fluid Mech., 359,
109–142, <a href="http://dx.doi.org/10.1017/S0022112097008409" target="_blank">doi:10.1017/S0022112097008409</a>, 1998.
</mixed-citation></ref-html>
<ref-html id="bib1.bib18"><label>Harris et al.(2001)</label><mixed-citation>
Harris, T. C., Hogg, A. J., and Huppert, H. E.: A mathematical framework for
the analysis of particle–driven gravity currents, P. Roy. Soc. A-Math. Phy.,
457, 1241–1272, <a href="http://dx.doi.org/10.1098/rspa.2000.0728" target="_blank">doi:10.1098/rspa.2000.0728</a>, 2001.
</mixed-citation></ref-html>
<ref-html id="bib1.bib19"><label>Harris et al.(2002)</label><mixed-citation>
Harris, T. C., Hogg, A. J., and Huppert, H. E.: Polydisperse particle-driven
gravity currents, J. Fluid Mech., 472, 333–371,
<a href="http://dx.doi.org/10.1017/S0022112002002379" target="_blank">doi:10.1017/S0022112002002379</a>, 2002.
</mixed-citation></ref-html>
<ref-html id="bib1.bib20"><label>Heezen and Ewing(1952)</label><mixed-citation>
Heezen, B. C. and Ewing, W. M.: Turbidity currents and submarine slumps, and
the 1929 Grand Banks earthquake, Am. J. Sci., 250, 849–873, 1952.
</mixed-citation></ref-html>
<ref-html id="bib1.bib21"><label>Hogg(2006)</label><mixed-citation>
Hogg, A. J.: Lock-release gravity currents and dam-break flows, J. Fluid
Mech., 569, 61–87, <a href="http://dx.doi.org/10.1017/S0022112006002588" target="_blank">doi:10.1017/S0022112006002588</a>, 2006.
</mixed-citation></ref-html>
<ref-html id="bib1.bib22"><label>Hoult(1972)</label><mixed-citation>
Hoult, D. P.: Oil spreading on the sea, Annu. Rev. Fluid Mech., 4, 341–368,
<a href="http://dx.doi.org/10.1146/annurev.fl.04.010172.002013" target="_blank">doi:10.1146/annurev.fl.04.010172.002013</a>, 1972.
</mixed-citation></ref-html>
<ref-html id="bib1.bib23"><label>Huang et al.(2009)</label><mixed-citation>
Huang, H., Imran, J., and Pirmez, C.: Nondimensional parameters of
depth-averaged gravity flow models, J. Hydraul. Res., 47, 455–465,
<a href="http://dx.doi.org/10.1080/00221686.2009.9522021" target="_blank">doi:10.1080/00221686.2009.9522021</a>, 2009.
</mixed-citation></ref-html>
<ref-html id="bib1.bib24"><label>Huppert and Simpson(1980)</label><mixed-citation>
Huppert, H. E. and Simpson, J. E.: The slumping of gravity currents, J. Fluid
Mech., 99, 785–799, <a href="http://dx.doi.org/10.1017/S0022112080000894" target="_blank">doi:10.1017/S0022112080000894</a>, 1980.
</mixed-citation></ref-html>
<ref-html id="bib1.bib25"><label>Jorge and Stephen(1999)</label><mixed-citation>
Jorge, N. and Stephen, J. W.: Numerical optimization, Springer, 1999.
</mixed-citation></ref-html>
<ref-html id="bib1.bib26"><label>Kneller and Buckee(2000)</label><mixed-citation>
Kneller, B. and Buckee, C.: The structure and fluid mechanics of turbidity
currents: a review of some recent studies and their geological implications,
Sedimentology, 47, 62–94, <a href="http://dx.doi.org/10.1046/j.1365-3091.2000.047s1062.x" target="_blank">doi:10.1046/j.1365-3091.2000.047s1062.x</a>, 2000.
</mixed-citation></ref-html>
<ref-html id="bib1.bib27"><label>Kuzmin(2010)</label><mixed-citation>
Kuzmin, D.: A vertex-based hierarchical slope limiter for p-adaptive
discontinuous Galerkin methods, J. Comput. Appl. Math., 233, 3077–3085,
<a href="http://dx.doi.org/10.1016/j.cam.2009.05.028" target="_blank">doi:10.1016/j.cam.2009.05.028</a>, 2010.
</mixed-citation></ref-html>
<ref-html id="bib1.bib28"><label>Lamb(1993)</label><mixed-citation>
Lamb, H.: Hydrodynamics, Cambridge University Press, 1993.
</mixed-citation></ref-html>
<ref-html id="bib1.bib29"><label>Lesshafft et al.(2011)</label><mixed-citation>
Lesshafft, L., Meiburg, E., Kneller, B., and Marsden, A.: Towards inverse
modeling of turbidity currents: The inverse lock-exchange problem, Comput.
Geosci., 37, 521–529, <a href="http://dx.doi.org/10.1016/j.cageo.2010.09.015" target="_blank">doi:10.1016/j.cageo.2010.09.015</a>, 2011.
</mixed-citation></ref-html>
<ref-html id="bib1.bib30"><label>Logg et al.(2012)</label><mixed-citation>
Logg, A., Mardal, K.-A., and Wells, G.: Automated solution of differential
equations by the finite element method: The FEniCS book, vol. 84, Springer
Science &amp; Business Media, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib31"><label>Lowe(1979)</label><mixed-citation>
Lowe, D. R.: Sediment Gravity Flows, Geology of Continental Slope, 27,
75–82, <a href="http://dx.doi.org/10.2110/pec.79.27.0075" target="_blank">doi:10.2110/pec.79.27.0075</a>, 1979.
</mixed-citation></ref-html>
<ref-html id="bib1.bib32"><label>Lucchi and Valmori(1980)</label><mixed-citation>
Lucchi, F. R. and Valmori, E.: Basin-wide turbidites in a Miocene,
over-supplied deep-sea plain: a geometrical analysis, Sedimentology, 27,
241–270, <a href="http://dx.doi.org/10.1111/j.1365-3091.1980.tb01177.x" target="_blank">doi:10.1111/j.1365-3091.1980.tb01177.x</a>, 1980.
</mixed-citation></ref-html>
<ref-html id="bib1.bib33"><label>Menemenlis et al.(2008)</label><mixed-citation>
Menemenlis, D., Campin, J.-M., Heimbach, P., Hill, C., Lee, T., Nguyen, A.,
Schodlok, M., and Zhang, H.: ECCO2: High resolution global ocean and sea ice
data synthesis, Mercator Ocean Quarterly Newsletter, 31, 13–21, 2008.
</mixed-citation></ref-html>
<ref-html id="bib1.bib34"><label>Middleton(1966)</label><mixed-citation>
Middleton, G. V.: Experiments on density and turbidity currents, I. Motion of
the head, Can. J. Earth Sci., 3, 523–546, <a href="http://dx.doi.org/10.1139/e66-038" target="_blank">doi:10.1139/e66-038</a>, 1966.
</mixed-citation></ref-html>
<ref-html id="bib1.bib35"><label>Naruse(2013)</label><mixed-citation>
Naruse, H.: Tsunami-genic turbidity currents: observation and estimation of
flow condition by numerical simulations, in: Apennine Workshop: future
research directions for submarine flows, AGU Publications, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib36"><label>Parker et al.(1986)</label><mixed-citation>
Parker, G., Fukushima, Y., and Pantin, H. M.: Self-accelerating turbidity
currents, J. Fluid Mech., 171, 145–81, <a href="http://dx.doi.org/10.1017/S0022112086001404" target="_blank">doi:10.1017/S0022112086001404</a>,
1986.
</mixed-citation></ref-html>
<ref-html id="bib1.bib37"><label>Parkinson et al.(2014)P</label><mixed-citation>
Parkinson, S. D., Hill, J., Piggott, M. D., and Allison, P. A.: Direct
numerical simulations of particle-laden density currents with adaptive,
discontinuous finite elements, Geosci. Model Dev., 7, 1945–1960,
<a href="http://dx.doi.org/10.5194/gmd-7-1945-2014" target="_blank">doi:10.5194/gmd-7-1945-2014</a>, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib38"><label>Peraire and Persson(2008)</label><mixed-citation>
Peraire, J. and Persson, P. O.: The compact discontinuous Galerkin (CDG)
method for elliptic problems, J. Sci. Comput., 30, 1806–1824,
<a href="http://dx.doi.org/10.1137/070685518" target="_blank">doi:10.1137/070685518</a>, 2008.
</mixed-citation></ref-html>
<ref-html id="bib1.bib39"><label>Rowley(2013)</label><mixed-citation>
Rowley, P.: Inverse modelling of a pyroclastic turbidite, in: Apennine
Workshop: future research directions for submarine flows,
2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib40"><label>Sequeiros et al.(2009)</label><mixed-citation>
Sequeiros, O. E., Cantelli, A., Viparelli, E., White, J. D. L., Garcia,
M. H., and Parker, G.: Modeling turbidity currents with nonuniform sediment
and reverse buoyancy, Water Resour. Res., 45, 1–28,
<a href="http://dx.doi.org/10.1029/2008WR007422" target="_blank">doi:10.1029/2008WR007422</a>, 2009.
</mixed-citation></ref-html>
<ref-html id="bib1.bib41"><label>Talling et al.(2007a)</label><mixed-citation>
Talling, P. J., Amy, L. A., and Wynn, R. B.: New insight into the evolution
of large-volume turbidity currents: comparison of turbidite shape and
previous modelling results, Sedimentology, 54, 737–769,
<a href="http://dx.doi.org/10.1111/j.1365-3091.2007.00858.x" target="_blank">doi:10.1111/j.1365-3091.2007.00858.x</a>, 2007a.
</mixed-citation></ref-html>
<ref-html id="bib1.bib42"><label>Talling et al.(2007b)</label><mixed-citation>
Talling, P. J., Amy, L. A., Wynn, R. B., Blackbourn, G., and Gibson, O.:
Evolution of turbidity currents deduced from extensive thin turbidites:
Marnoso Arenacea Formation (Miocene), Italian Apennines, J. Sediment. Res.,
77, 172–196, <a href="http://dx.doi.org/10.2110/jsr.2007.018" target="_blank">doi:10.2110/jsr.2007.018</a>, 2007b.
</mixed-citation></ref-html>
<ref-html id="bib1.bib43"><label>Talling et al.(2007c)</label><mixed-citation>
Talling, P. J., Wynn, R. B., Masson, D. G., Frenz, M., Cronin, B. T.,
Schiebel, R., Akhmetzhanov, A. M., Dallmeier-Tiessen, S., Benetti, S.,
Weaver, P. P. E., Georgiopoulou, A., Zühlsdorff, C., and Amy, L. A.: Onset
of submarine debris flow deposition far from original giant landslide,
Nature, 450, 541–544, <a href="http://dx.doi.org/10.1038/nature06313" target="_blank">doi:10.1038/nature06313</a>, 2007c.
</mixed-citation></ref-html>
<ref-html id="bib1.bib44"><label>Talling et al.(2012)</label><mixed-citation>
Talling, P. J., Masson, D. G., Sumner, E. J., and Malgesini, G.: Subaqueous
sediment density flows: Depositional processes and deposit types,
Sedimentology, 59, 1937–2003, <a href="http://dx.doi.org/10.1111/j.1365-3091.2012.01353.x" target="_blank">doi:10.1111/j.1365-3091.2012.01353.x</a>, 2012.

</mixed-citation></ref-html>
<ref-html id="bib1.bib45"><label>Ungarish(2010)</label><mixed-citation>
Ungarish, M.: An introduction to gravity currents and intrusions, CRC Press,
2010.
</mixed-citation></ref-html>
<ref-html id="bib1.bib46"><label>Wächter and Biegler(2005)</label><mixed-citation>
Wächter, A. and Biegler, L. T.: Line search filter methods for nonlinear
programming: Motivation and global convergence, J. Optimization, 16, 1–31,
<a href="http://dx.doi.org/10.1137/S1052623403426556" target="_blank">doi:10.1137/S1052623403426556</a>, 2005.
</mixed-citation></ref-html>
<ref-html id="bib1.bib47"><label>Wächter and Biegler(2006)</label><mixed-citation>
Wächter, A. and Biegler, L. T.: On the implementation of an interior-point
filter line-search algorithm for large-scale nonlinear programming, Math.
Program., 106, 25–57, <a href="http://dx.doi.org/10.1007/s10107-004-0559-y" target="_blank">doi:10.1007/s10107-004-0559-y</a>, 2006.
</mixed-citation></ref-html>--></article>
