<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.20" xml:lang="en-US">
  <compounddef id="PPM" kind="page">
    <compoundname>PPM</compoundname>
    <title>PPM Advection Scheme</title>
    <briefdescription>
    </briefdescription>
    <detaileddescription>
<sect1 id="PPM_1section_PPM">
<title>Advection Scheme</title>
<para>Following <ref refid="citelist_1CITEREF_colella1984" kindref="member">[8]</ref> and <ref refid="citelist_1CITEREF_carpenter1990" kindref="member">[7]</ref>, we use the Piecewise Parabolic Method (PPM) to represent values within the model cells. Each cell is assumed to have a piecewise parabolic representation, which is uniquely prescribed by conservation and the two edge values. This method has the following features:</para>
<para><itemizedlist>
<listitem><para>The PPM approach is conservative. </para>
</listitem>
<listitem><para>The (unlimited) order of accuracy is determined by the estimates of the edge values. </para>
</listitem>
<listitem><para>Monotonicity is ensured by adjusting the edge values to flatten the profile.</para>
</listitem>
</itemizedlist>
An example is shown in this figure:</para>
<para><image type="html" name="ppm_arc.png">The parabolic representation of a field within a cell.</image>
 <image type="latex" name="ppm_arc.png">The parabolic representation of a field within a cell.</image>
</para>
<para><formula id="179">\[ x&apos;_i \equiv \frac{x - x_{i-1/2}} {\Delta x_i} \]</formula></para>
<para><formula id="180">\[ \Delta x_i \equiv x_{i + 1/2} - x_{i- 1/2} \]</formula></para>
<para><formula id="181">\[ c \equiv u \Delta t / \Delta x_i \]</formula></para>
<para><formula id="182">\[ A_i(x&apos;) = a_L + (a_R - a_L) x&apos;_i + a_6 x&apos;_i(1 - x&apos;_i) \]</formula></para>
<para><formula id="183">\[ a_6 = 6a_i - 3 (a_R + a_L) \]</formula></para>
<para><formula id="184">\begin{eqnarray} a_i &amp;= \int_0^1 A_i(x&apos;_i) dx&apos;_i = \int_0^1 a_L + (a_R - a_L) x&apos;_i + a_6 x&apos;_i (1 - x&apos;_i) dx&apos;_i \\ &amp;= \left[ a_L x&apos;_i + \frac{1}{2} (a_R - a_L) x_i^{\prime 2} + a_6 \left( \frac{1}{2} x_i^{\prime 2} - \frac{1}{3} x_i^{\prime 3} \right) \right]_0^1 \\ &amp;= \frac{1}{2} (a_R + a_L) + \frac{1}{6} a_6 \end{eqnarray}</formula></para>
<para><formula id="185">\begin{eqnarray} F_{i+1/2} &amp;= \frac{1}{\Delta t} \int_{x_{i + 1/2} - u \Delta t}^{x_{i + 1/2}} A_i^n(x) dx = \frac{\Delta x}{\Delta t} \int_{1-c}^1 A_i (x&apos;_i) dx&apos;_i \\ &amp;= \frac{\Delta x}{\Delta t} \left[ a_L x&apos;_i + \frac{1}{2} (a_R - a_L) x_i^{\prime 2} + a_6 \left( \frac{1}{2} x_i^{\prime 2} - \frac{1}{3} x_i^{\prime 3} \right) \right]_{1 - c}^1 \\ &amp;= \frac{\Delta x}{\Delta t} \left[ a_L c + (a_R - a_L + a_6) \left( c - \frac{1}{2} c^2 \right) - a_6 \left( c - c^2 + \frac{1}{3} c^3 \right) \right] \\ &amp;= u \left[ a_R + \frac{1}{2} (a_L - a_R) c + a_6 \left( \frac{1}{2} c - \frac{1}{3} c^2 \right) \right] \end{eqnarray}</formula></para>
<para>The choice of <formula id="186">$a_L$</formula> and <formula id="187">$a_R$</formula> is not unique, but can be done according to <ref refid="citelist_1CITEREF_colella1984" kindref="member">[8]</ref> (CW84) or <ref refid="citelist_1CITEREF_huynh1997" kindref="member">[22]</ref> (H3) as mentioned in <ref refid="Tracer_Advection" kindref="compound">Tracer Advection</ref>. </para>
</sect1>
    </detaileddescription>
  </compounddef>
</doxygen>
