<?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" xml:lang="en" 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-13-1737-2020</article-id><title-group><article-title>Towards the closure of momentum budget analyses<?xmltex \hack{\break}?> in the WRF (v3.8.1) model</article-title><alt-title>Momentum budget analyses in the WRF (v3.8.1) model</alt-title>
      </title-group><?xmltex \runningtitle{Momentum budget analyses in the WRF (v3.8.1) model}?><?xmltex \runningauthor{T.-C. Chen et al.}?>
      <contrib-group>
        <contrib contrib-type="author" corresp="yes">
          <name><surname>Chen</surname><given-names>Ting-Chen</given-names></name>
          <email>ting-chen.chen@mail.mcgill.ca</email>
        </contrib>
        <contrib contrib-type="author" corresp="no">
          <name><surname>Yau</surname><given-names>Man-Kong</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no">
          <name><surname>Kirshbaum</surname><given-names>Daniel J.</given-names></name>
          
        </contrib>
        <aff id="aff1"><institution>Department of Atmospheric and Oceanic Sciences, McGill University, Montreal, H3A0B9, Canada</institution>
        </aff>
      </contrib-group>
      <author-notes><corresp id="corr1">Ting-Chen Chen (ting-chen.chen@mail.mcgill.ca)</corresp></author-notes><pub-date><day>2</day><month>April</month><year>2020</year></pub-date>
      
      <volume>13</volume>
      <issue>3</issue>
      <fpage>1737</fpage><lpage>1761</lpage>
      <history>
        <date date-type="received"><day>22</day><month>August</month><year>2019</year></date>
           <date date-type="rev-request"><day>23</day><month>October</month><year>2019</year></date>
           <date date-type="rev-recd"><day>25</day><month>February</month><year>2020</year></date>
           <date date-type="accepted"><day>28</day><month>February</month><year>2020</year></date>
      </history>
      <permissions>
        <copyright-statement>Copyright: © 2020 Ting-Chen Chen et al.</copyright-statement>
        <copyright-year>2020</copyright-year>
      <license license-type="open-access"><license-p>This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this licence, visit <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link></license-p></license></permissions><self-uri xlink:href="https://gmd.copernicus.org/articles/13/1737/2020/gmd-13-1737-2020.html">This article is available from https://gmd.copernicus.org/articles/13/1737/2020/gmd-13-1737-2020.html</self-uri><self-uri xlink:href="https://gmd.copernicus.org/articles/13/1737/2020/gmd-13-1737-2020.pdf">The full text article is available as a PDF file from https://gmd.copernicus.org/articles/13/1737/2020/gmd-13-1737-2020.pdf</self-uri>
      <abstract><title>Abstract</title>
    <p id="d1e97">Budget analysis of a tendency equation is widely utilized in numerical studies to quantify different physical processes in a simulated system. While such analysis is often post-processed when the output is made available, it is well acknowledged that the closure of a budget is difficult to achieve without temporal and/or spatial averaging. Nevertheless, the development of errors in such calculations has not been systematically investigated. In this study, an inline budget retrieval method is first developed in the WRF v3.8.1 model and tested on a 2D idealized slantwise convection case with a focus on the momentum equations. This method extracts all the budget terms following the model solver, which gives a high accuracy, with a residual term always less than 0.1 % of the tendency term. Then, taking the inline values as truth, several offline budget analyses with different commonly used simplifications are performed to investigate how they may affect the accuracy of the estimation of individual terms and the resultant residual. These assumptions include using a lower-order advection operator than the one used in the model, neglecting grid staggering, or following a mathematically equivalent but transformed format of the governing equations. Errors in these post-processed analyses are found mostly over the area where the dynamics are the most active, thus impairing the subsequent physical interpretation. A maximum 99th percentile residual can reach <inline-formula><mml:math id="M1" display="inline"><mml:mrow><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">50</mml:mn></mml:mrow></mml:math></inline-formula> % of the concurrent tendency term, indicating the danger of neglecting the residual term as done in many budget studies. This work provides general guidance not only for budget diagnoses with the WRF model but also for minimizing the errors in post-processed budget calculations.</p>
  </abstract>
    </article-meta>
  </front>
<body>
      

      <?xmltex \hack{\newpage}?>
<sec id="Ch1.S1" sec-type="intro">
  <label>1</label><title>Introduction</title>
      <p id="d1e121">The atmosphere is a complex system with different scales of motion. Its dynamics are governed by a set of fluid equations based on the fundamental laws of physics. Although the equation set cannot be solved analytically, numerical models can be used to simulate the observed weather and climate systems to improve our understanding of the atmosphere. Due to the complexity and nonlinearity of the numerical models, budget analysis is often employed to interpret the results by quantifying the contribution of each term (i.e., physical process) in a tendency equation that governs the evolution of a certain quantity in the simulated system. The accuracy of a given budget analysis can be estimated from the residual term, defined as the difference between the tendency term on the left-hand side (lhs) of the equation and the summation of all the forcing terms on its right-hand side (rhs). Budget analysis has been performed on diverse properties (e.g., momentum, temperature, water vapor, vorticity) of many systems on various scales, including the Madden–Julian oscillation (MJO; e.g., Kiranmayi and Maloney, 2011; Andersen and Kuang, 2012), tropical cyclones (e.g., Zhang et al., 2000; Rios-Berrios et al., 2016; Huang et al., 2018), squall lines (e.g., Sanders and Emanuel, 1977; Gallus and Johnson, 1992; Trier et al., 1998), supercell thunderstorms (e.g., Lilly and Jewett, 1990), and so on.</p>
      <p id="d1e124">Despite the popularity of the budget analysis, it is generally acknowledged that, in model post-processing analysis, obtaining a closed budget with a negligible residual is difficult (e.g., Kanamitsu and Saha, 1996) and has been accomplished mostly in time- or domain-averaged budget calculations (e.g., Lilly and Jewett, 1990; Balasubramanian and Yau, 1994; Arnault et al., 2016; Kirshbaum et al., 2018; Duran and Molinari, 2019). Even in the case of averaged budgets, the<?pagebreak page1738?> residual term that contains non-explicitly diagnosed physics can be larger than the tendency term (e.g., Liu et al., 2016), and many studies simply do not display the residual, making the proper interpretation of the budget analysis difficult.</p>
      <p id="d1e127">The “residual analysis method” is sometimes utilized to obtain an indirect estimation of the physical processes that are hard to diagnose or are unresolved in a set of analysis or observational data. In such cases, a non-negligible residual is sometimes used to gain insight into such processes. However, as just discussed, the residual term also contains the inaccuracies associated with the calculations within the budget analysis (e.g., Kornegay and Vincent, 1976; Abarca and Montgomery, 2013). It is thus unclear whether the unresolved physics in such data sets do indeed comprise the main component of the residual without considering the contributions of other sources of errors in the budget calculation (Kuo and Anthes, 1984). Whereas it is almost impossible to separate the subgrid-scale, unresolved processes from other errors in reanalysis or observational data (e.g., Hodur and Fein, 1977; Lee, 1984), the focus of this study is on numerical model data where the local tendency and all the associated resolved and parameterized physics can be obtained from the model. Thus, the residual term in this study specifically refers to errors in the budget calculation.</p>
      <p id="d1e130">To reduce the residual, an inline budget analysis that extracts all the terms of a prognostic equation directly from the model during its integration is generally the most accurate. However, the procedure has been reported only in a few studies (e.g., Zhang et al., 2000; Lehner, 2012; Moisseeva, 2014; Moisseeva and Steyn, 2014; Potter et al., 2018; see Appendix A for a summary and comparison among these works). Most other studies still conduct the offline or post-processing budget analysis when the output is made available after the model integration. Some specific suggestions have been given in the past regarding how to reduce the error of post-processed budget analysis. For example, Lilly and Jewett (1990) emphasized the importance of evaluating terms using the same differencing scheme, grid stretching, and grid staggering as that used in the simulation model. However, it is uncertain whether these rules have been widely followed, and how much of a reduction in residual can be obtained with this approach.</p>
      <p id="d1e134">In some post-processed budget analyses, transformed equations with different assumptions from those in the model are used and naturally lead to errors in the budget results. On the other hand, even when the same form of the equations is followed, errors can still arise from multiple sources during the post-processing. Some errors are inherent in the time discretization scheme of the model, some are traced to the numerical methods in solving the temporal or spatial derivatives with finite differencing (e.g., Kuo and Anthes, 1984), and others might emerge during the interpolation or extrapolation from model grids to analysis grids (e.g., Lilly and Jewett, 1990). While the tendency term is often the result of a few cancelations among competing forcing terms, the seemingly non-dominant terms may be as important as the large forcing terms in determining the sign and the value of the tendency. Thus, an incorrect estimation of even a small term may result in a residual with magnitude comparable to the tendency term, hindering the subsequent physical interpretation.</p>
      <p id="d1e137">A few models, such as the Cloud Model 1 (CM1; Bryan and Fritsch, 2002) and the High Resolution Limited Area Model (HIRLAM; Undén et al., 2002), include inline budget diagnoses that users can choose to include in the model output. However, many other commonly used models (e.g., Fifth-Generation NCAR/Penn State Mesoscale Model (MM5; Grell et al., 1994), Weather Research and Forecasting Model (WRF; Skamarock et al., 2008), the Advanced Regional Prediction System (ARPS; Xue et al., 2000, 2001), and the Regional Atmospheric Modeling System (RAMS; Pielke et al., 1992)) do not have this capability. In this study, we develop an inline momentum budget retrieval tool in the Advanced Research WRF model, one of the most widely used numerical weather prediction models. During the period 2011–2015, there were on average 510 peer-reviewed journal publications involving WRF per year (Powers et al., 2017). Given the widespread use of WRF for both real-case and idealized modeling, such a budget tool may prove useful in numerous applications. In our budget diagnosis, each contributing term is extracted during the model integration and stored as a standard output. In so doing, we essentially solve the prognostic variables as done in the model so that the two sides of the tendency equation are always in balance regardless of the output time interval. By taking the results from the inline budget analysis as truth, we then perform several different post-processing budget analyses with commonly made simplifications or a different format of equation. Comparisons between the post-processed budgets and the inline/true values are made to investigate the potentially large errors in each forcing term and the resultant residuals.</p>
</sec>
<sec id="Ch1.S2">
  <label>2</label><title>Model and numerical setup</title>
<sec id="Ch1.S2.SS1">
  <label>2.1</label><title>Model and momentum equations</title>
      <?pagebreak page1739?><p id="d1e155">The WRF configuration used in this study is a two-dimensional [(<inline-formula><mml:math id="M2" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M3" display="inline"><mml:mi>z</mml:mi></mml:math></inline-formula>); no variation in the <inline-formula><mml:math id="M4" display="inline"><mml:mi>x</mml:mi></mml:math></inline-formula> direction], fully compressible, non-hydrostatic, and idealized version of the Advanced Research WRF model, version 3.8.1 (Skamarock et al., 2008). Here we briefly revisit the parts that are relevant to the momentum budget analysis. The governing equations in the WRF model are cast on a terrain-following dry-hydrostatic pressure coordinate. This vertical coordinate, <inline-formula><mml:math id="M5" display="inline"><mml:mi mathvariant="italic">η</mml:mi></mml:math></inline-formula>, is defined as
            <disp-formula id="Ch1.Ex1"><mml:math id="M6" display="block"><mml:mrow><mml:mi mathvariant="italic">η</mml:mi><mml:mo>=</mml:mo><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mi mathvariant="normal">dh</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi mathvariant="normal">dh</mml:mi><mml:mi mathvariant="italic">_</mml:mi><mml:mi mathvariant="normal">top</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo>/</mml:mo><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          where <inline-formula><mml:math id="M7" display="inline"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mi mathvariant="normal">dh</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the hydrostatic pressure of the dry air and <inline-formula><mml:math id="M8" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> represents the mass of the dry air per unit area in the column; <inline-formula><mml:math id="M9" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi mathvariant="normal">dh</mml:mi><mml:mi mathvariant="italic">_</mml:mi><mml:mi mathvariant="normal">sfc</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi mathvariant="normal">dh</mml:mi><mml:mi mathvariant="italic">_</mml:mi><mml:mi mathvariant="normal">top</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, where <inline-formula><mml:math id="M10" display="inline"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi mathvariant="normal">dh</mml:mi><mml:mi mathvariant="italic">_</mml:mi><mml:mi mathvariant="normal">sfc</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M11" display="inline"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi mathvariant="normal">dh</mml:mi><mml:mi mathvariant="italic">_</mml:mi><mml:mi mathvariant="normal">top</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> indicate the values of <inline-formula><mml:math id="M12" display="inline"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mi mathvariant="normal">dh</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> at the surface and the top of the dry atmosphere, respectively.</p>
      <p id="d1e325">To ensure conservation properties, the model equations are formulated in flux form, with the prognostic variables coupled with <inline-formula><mml:math id="M13" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. The flux-form momentum components are defined as
            <disp-formula id="Ch1.Ex2"><mml:math id="M14" display="block"><mml:mrow><mml:mi>U</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:mi>u</mml:mi><mml:mo>,</mml:mo><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mspace linebreak="nobreak" width="0.33em"/><mml:mi>V</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:mi>v</mml:mi><mml:mo>,</mml:mo><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi>W</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:mi>w</mml:mi><mml:mo>,</mml:mo><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi mathvariant="normal">Ω</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi mathvariant="normal">d</mml:mi><mml:mi mathvariant="italic">η</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          where <inline-formula><mml:math id="M15" display="inline"><mml:mi>u</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M16" display="inline"><mml:mi>v</mml:mi></mml:math></inline-formula>, and <inline-formula><mml:math id="M17" display="inline"><mml:mi>w</mml:mi></mml:math></inline-formula> are the two horizontal and vertical velocities, respectively. Note that the dry-mass-coupled velocities (<inline-formula><mml:math id="M18" display="inline"><mml:mi>U</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M19" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M20" display="inline"><mml:mi>W</mml:mi></mml:math></inline-formula>) on coordinates (<inline-formula><mml:math id="M21" display="inline"><mml:mi>x</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M22" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M23" display="inline"><mml:mi>z</mml:mi></mml:math></inline-formula>) have units of pascal meter per second, and the dry-mass-coupled vertical velocity on <inline-formula><mml:math id="M24" display="inline"><mml:mi mathvariant="italic">η</mml:mi></mml:math></inline-formula> coordinate, <inline-formula><mml:math id="M25" display="inline"><mml:mi mathvariant="normal">Ω</mml:mi></mml:math></inline-formula>, has a unit of pascal per second. For the idealized 2D case on an <inline-formula><mml:math id="M26" display="inline"><mml:mi>f</mml:mi></mml:math></inline-formula> plane as in this study, the momentum equations in the WRF model are written as
            <disp-formula id="Ch1.E1" content-type="numbered"><label>1</label><mml:math id="M27" display="block"><mml:mtable class="split" rowspacing="0.2ex" columnspacing="1em" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:munder><mml:munder><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mrow><mml:mi>V</mml:mi><mml:mspace width="0.33em" linebreak="nobreak"/><mml:mi mathvariant="normal">tendency</mml:mi></mml:mrow></mml:munder><mml:mo>=</mml:mo><mml:munder><mml:munder><mml:mrow><mml:mo>-</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>⋅</mml:mo><mml:mfenced open="(" close=")"><mml:mrow><mml:mi mathvariant="bold-italic">V</mml:mi><mml:mi>v</mml:mi></mml:mrow></mml:mfenced></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mtable columnspacing="1em" rowspacing="0.2ex" class="underset" columnalign="center"><mml:mtr><mml:mtd><mml:mi mathvariant="normal">advection</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="normal">ADV</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:munder><mml:munder><mml:munder><mml:mrow><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>p</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:mi mathvariant="italic">α</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="italic">η</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><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:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mtable class="underset" rowspacing="0.2ex" columnspacing="1em" columnalign="center"><mml:mtr><mml:mtd><mml:mrow><mml:mi mathvariant="normal">horizontal</mml:mi><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi mathvariant="normal">pressure</mml:mi><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi mathvariant="normal">gradient</mml:mi><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi mathvariant="normal">force</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="normal">PGF</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:munder></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:munder><mml:munder><mml:mrow><mml:mo>-</mml:mo><mml:mi>f</mml:mi><mml:mi>U</mml:mi></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mtable rowspacing="0.2ex" columnspacing="1em" class="underset" columnalign="center"><mml:mtr><mml:mtd><mml:mi mathvariant="normal">Coriolis</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="normal">COR</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:munder><mml:munder><mml:munder><mml:mrow><mml:mo>-</mml:mo><mml:mfenced open="(" close=")"><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi>v</mml:mi><mml:mi>W</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">e</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mtable class="underset" rowspacing="0.2ex" columnspacing="1em" columnalign="center"><mml:mtr><mml:mtd><mml:mi mathvariant="normal">curvature</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="normal">CUV</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:munder><mml:mo>+</mml:mo><mml:munder><mml:munder><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mi>V</mml:mi></mml:msub></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mtable class="underset" columnspacing="1em" rowspacing="0.2ex" columnalign="center"><mml:mtr><mml:mtd><mml:mi mathvariant="normal">remaining</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mfenced close=")" open="("><mml:mi mathvariant="normal">parameterized</mml:mi></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="normal">physics</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:munder><mml:mo>+</mml:mo><mml:mi mathvariant="normal">res</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>

            <disp-formula id="Ch1.E2" content-type="numbered"><label>2</label><mml:math id="M28" display="block"><mml:mtable rowspacing="0.2ex" columnspacing="1em" class="split" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:munder><mml:munder><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>W</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mrow><mml:mi>W</mml:mi><mml:mspace width="0.33em" linebreak="nobreak"/><mml:mi mathvariant="normal">tendency</mml:mi></mml:mrow></mml:munder><mml:mo>=</mml:mo><mml:munder><mml:munder><mml:mrow><mml:mo>-</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>⋅</mml:mo><mml:mfenced open="(" close=")"><mml:mrow><mml:mi mathvariant="bold-italic">V</mml:mi><mml:mi>w</mml:mi></mml:mrow></mml:mfenced></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mtable columnspacing="1em" rowspacing="0.2ex" class="underset" columnalign="center"><mml:mtr><mml:mtd><mml:mi mathvariant="normal">advection</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="normal">ADV</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:munder><mml:mo>+</mml:mo><mml:munder><mml:munder><mml:mrow><mml:mi>g</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mi mathvariant="italic">α</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="italic">η</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mtable class="underset" rowspacing="0.2ex" columnspacing="1em" columnalign="center"><mml:mtr><mml:mtd><mml:mrow><mml:mi mathvariant="normal">net</mml:mi><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi mathvariant="normal">vertical</mml:mi><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi mathvariant="normal">pressure</mml:mi><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi mathvariant="normal">gradient</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mi mathvariant="normal">and</mml:mi><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi mathvariant="normal">buoyancy</mml:mi><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi mathvariant="normal">force</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="normal">PGFBUOY</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:munder></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:munder><mml:munder><mml:mrow><mml:mo>+</mml:mo><mml:mfenced open="(" close=")"><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi>u</mml:mi><mml:mi>U</mml:mi><mml:mo>+</mml:mo><mml:mi>v</mml:mi><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">e</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mtable columnspacing="1em" rowspacing="0.2ex" class="underset" columnalign="center"><mml:mtr><mml:mtd><mml:mi mathvariant="normal">curvature</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="normal">CUV</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:munder><mml:mo>+</mml:mo><mml:munder><mml:munder><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mi>W</mml:mi></mml:msub></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mtable class="underset" rowspacing="0.2ex" columnspacing="1em" columnalign="center"><mml:mtr><mml:mtd><mml:mi mathvariant="normal">remaining</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mfenced open="(" close=")"><mml:mi mathvariant="normal">parameterized</mml:mi></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="normal">physics</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:munder><mml:mo>+</mml:mo><mml:mi mathvariant="normal">res</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
          where
            <disp-formula id="Ch1.E3" content-type="numbered"><label>3</label><mml:math id="M29" display="block"><mml:mrow><mml:mo>-</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>⋅</mml:mo><mml:mfenced open="(" close=")"><mml:mrow><mml:mi mathvariant="bold-italic">V</mml:mi><mml:mi>a</mml:mi></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mfenced close=")" open="("><mml:mrow><mml:mi>U</mml:mi><mml:mi>a</mml:mi></mml:mrow></mml:mfenced></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:mfenced close=")" open="("><mml:mrow><mml:mi>V</mml:mi><mml:mi>a</mml:mi></mml:mrow></mml:mfenced></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:mfenced close=")" open="("><mml:mrow><mml:mi mathvariant="normal">Ω</mml:mi><mml:mi>a</mml:mi></mml:mrow></mml:mfenced></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="italic">η</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:math></disp-formula>
          is the flux-form advection, <inline-formula><mml:math id="M30" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> is the full pressure with inclusion of vapor, <inline-formula><mml:math id="M31" display="inline"><mml:mi mathvariant="italic">ϕ</mml:mi></mml:math></inline-formula> is the geopotential, <inline-formula><mml:math id="M32" display="inline"><mml:mi>f</mml:mi></mml:math></inline-formula> is the Coriolis parameter, <inline-formula><mml:math id="M33" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">e</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the mean earth radius, and <inline-formula><mml:math id="M34" display="inline"><mml:mi mathvariant="italic">α</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M35" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> are the full and dry-air specific volume, respectively. In our selected microphysics scheme (Thompson et al., 2008), six hydrometeors are included, and thus <inline-formula><mml:math id="M36" display="inline"><mml:mrow><mml:mi mathvariant="italic">α</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:msup><mml:mfenced open="(" close=")"><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>+</mml:mo><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">r</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">g</mml:mi></mml:msub></mml:mrow></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>, where <inline-formula><mml:math id="M37" display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M38" display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M39" display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">r</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M40" display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M41" display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M42" display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">g</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> are the mixing ratios for water vapor, cloud, rain, ice, snow, and graupel, respectively. The rhs forcing terms for the <inline-formula><mml:math id="M43" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> tendency include the flux-form advection (ADV), horizontal pressure gradient force (PGF), Coriolis force (COR), vertical (earth-surface) curvature (CUV), and the remaining physics (<inline-formula><mml:math id="M44" display="inline"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mi>V</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>). For the <inline-formula><mml:math id="M45" display="inline"><mml:mi>W</mml:mi></mml:math></inline-formula> tendency, the rhs forcings contain the flux-form advection (ADV), net force between the vertical pressure gradient and buoyancy (PGFBUOY), curvature effect (CUV), and the remaining physics (<inline-formula><mml:math id="M46" display="inline"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mi>W</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>). The remaining physics may include diffusion, damping processes, and other parameterized physics, depending on the model setup. Note that for closing the budget analysis, all the known physics processes that come into play should be explicitly written in the equation and be diagnosed or directly retrieved from the model. The residual (res) is added on the last rhs term in Eqs. (1) and (2) to represent the imbalance between the two sides of the equation during budget analysis, but it is not part of the original equations solved in the model.</p>
      <p id="d1e1236">To develop an inline budget retrieval tool, it is important to understand how these prognostic variables are advanced in the WRF model. Governing equations are first recast to perturbation forms with respect to a dry hydrostatically balanced reference state that is a function of height only (defined at initialization) to reduce truncation errors and machine rounding errors. Specifically, variables of <inline-formula><mml:math id="M47" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M48" display="inline"><mml:mi mathvariant="italic">ϕ</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M49" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, and <inline-formula><mml:math id="M50" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> are separated into reference and perturbation components, e.g., <inline-formula><mml:math id="M51" display="inline"><mml:mrow><mml:mi>p</mml:mi><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="italic">η</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mover accent="true"><mml:mi>p</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>)</mml:mo><mml:mo>+</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mo>′</mml:mo></mml:msup><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="italic">η</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>. The introduction of these perturbation variables only changes the expressions for the rhs terms PGF and PGFBUOY in Eqs. (1) and (2), which will not be shown here for simplicity. Readers can refer to Skamarock et al. (2008, chap. 2.5) for more details.</p>
      <p id="d1e1341">Based on Skamarock et al. (2008), Fig. 1 summarizes the WRF integration strategy. The integration is wrapped by a third-order Runge–Kutta (RK3) scheme, in which the prognostic variables (generalized as <inline-formula><mml:math id="M52" display="inline"><mml:mi mathvariant="normal">Φ</mml:mi></mml:math></inline-formula> here) are advanced from <inline-formula><mml:math id="M53" display="inline"><mml:mi>t</mml:mi></mml:math></inline-formula> to <inline-formula><mml:math id="M54" display="inline"><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula> given their corresponding partial differential equations, <inline-formula><mml:math id="M55" display="inline"><mml:mrow><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="normal">Φ</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>F</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="normal">Φ</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, following a three-step strategy:
            <disp-formula id="Ch1.E4" content-type="numbered"><label>4</label><mml:math id="M56" display="block"><mml:mtable class="split" columnspacing="1em" rowspacing="0.2ex" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:msup><mml:mi mathvariant="normal">Φ</mml:mi><mml:mo>*</mml:mo></mml:msup><mml:mo>=</mml:mo><mml:msup><mml:mi mathvariant="normal">Φ</mml:mi><mml:mi>t</mml:mi></mml:msup><mml:mo>+</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow><mml:mn mathvariant="normal">3</mml:mn></mml:mfrac></mml:mstyle><mml:mi>F</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi mathvariant="normal">Φ</mml:mi><mml:mi>t</mml:mi></mml:msup><mml:mo>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:msup><mml:mi mathvariant="normal">Φ</mml:mi><mml:mrow><mml:mo>*</mml:mo><mml:mo>*</mml:mo></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:msup><mml:mi mathvariant="normal">Φ</mml:mi><mml:mi>t</mml:mi></mml:msup><mml:mo>+</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:mi>F</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi mathvariant="normal">Φ</mml:mi><mml:mo>*</mml:mo></mml:msup><mml:mo>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:msup><mml:mi mathvariant="normal">Φ</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:msup><mml:mi mathvariant="normal">Φ</mml:mi><mml:mi>t</mml:mi></mml:msup><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi><mml:mi>F</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msup><mml:mi mathvariant="normal">Φ</mml:mi><mml:mrow><mml:mo>*</mml:mo><mml:mo>*</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
          where <inline-formula><mml:math id="M57" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula> is the model integration time step and <inline-formula><mml:math id="M58" display="inline"><mml:mi>F</mml:mi></mml:math></inline-formula>, the large-step forcing, represents the summation of all the rhs terms of Eqs. (1) and (2) excluding the residual. Although the parameterized forcings stay fixed from step one to three as most of the parameterization schemes are called only once at the first RK3 step, the rest of the non-parameterized forcings and thus the total <inline-formula><mml:math id="M59" display="inline"><mml:mi>F</mml:mi></mml:math></inline-formula> are changed with the updated <inline-formula><mml:math id="M60" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="normal">Φ</mml:mi><mml:mo>*</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M61" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="normal">Φ</mml:mi><mml:mrow><mml:mo>*</mml:mo><mml:mo>*</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> at the second and third RK3 step. Within each RK3 step, a subset of integration with a relatively smaller time step is embedded to accommodate high-frequency modes for numerical<?pagebreak page1740?> stability (Wicker and Skamarock, 2002; Klemp et al., 2007; Skamarock et al., 2008). A maximum number of small steps in one model integration step can be specified by the user. To improve accuracy in the temporal solver, the variables being advanced in this small-step integration are the temporal perturbation fields, defined by the deviation from their more recent RK3 predictors: <inline-formula><mml:math id="M62" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="normal">Φ</mml:mi><mml:mrow><mml:mo>′</mml:mo><mml:mo>′</mml:mo></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:mi mathvariant="normal">Φ</mml:mi><mml:mo>-</mml:mo><mml:msup><mml:mi mathvariant="normal">Φ</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mo>*</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>, where <inline-formula><mml:math id="M63" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="normal">Φ</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mo>*</mml:mo></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:msup><mml:mi mathvariant="normal">Φ</mml:mi><mml:mi>t</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M64" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="normal">Φ</mml:mi><mml:mo>*</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M65" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="normal">Φ</mml:mi><mml:mrow><mml:mo>*</mml:mo><mml:mo>*</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> for the first, second, and third RK3 step, respectively. Thus, the perturbation momentum equations to be solved are driven by the large-step forcings and the small-step (sometimes referred as “acoustic-step” although it deals with both acoustic and gravity wave modes (e.g., Klemp et al., 2007; Skamarock et al., 2008)) corrections:
            <disp-formula id="Ch1.E5" content-type="numbered"><label>5</label><mml:math id="M66" display="block"><mml:mtable class="split" rowspacing="0.2ex" columnspacing="1em" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:munder><mml:munder><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:msup><mml:mi>V</mml:mi><mml:mrow><mml:mo>′</mml:mo><mml:mo>′</mml:mo></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mrow><mml:msup><mml:mi>V</mml:mi><mml:mrow><mml:mo>′</mml:mo><mml:mo>′</mml:mo></mml:mrow></mml:msup><mml:mspace width="0.33em" linebreak="nobreak"/><mml:mi mathvariant="normal">tendency</mml:mi></mml:mrow></mml:munder><mml:mo>=</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:msup><mml:munder><mml:munder><mml:mrow><mml:mfenced open="[" close="]"><mml:mrow><mml:mtable class="array" columnalign="center"><mml:mtr><mml:mtd><mml:mrow><mml:munder><mml:munder><mml:mrow><mml:mo>-</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>⋅</mml:mo><mml:mfenced open="(" close=")"><mml:mrow><mml:mi mathvariant="bold-italic">V</mml:mi><mml:mi>v</mml:mi></mml:mrow></mml:mfenced></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mi mathvariant="normal">ADV</mml:mi></mml:munder><mml:munder><mml:munder><mml:mrow><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:mstyle displaystyle="false"><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mstyle><mml:mo>-</mml:mo><mml:mstyle displaystyle="false"><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mi mathvariant="italic">α</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle></mml:mstyle><mml:mstyle displaystyle="false"><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="italic">η</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mstyle><mml:mstyle displaystyle="false"><mml:mstyle displaystyle="false"><mml:mfrac style="text"><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:mstyle></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mi mathvariant="normal">PGF</mml:mi></mml:munder></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:munder><mml:munder><mml:mrow><mml:mo>-</mml:mo><mml:mi>f</mml:mi><mml:mi>U</mml:mi></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mi mathvariant="normal">COR</mml:mi></mml:munder><mml:munder><mml:munder><mml:mrow><mml:mo>-</mml:mo><mml:mfenced open="(" close=")"><mml:mstyle displaystyle="false"><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mi>v</mml:mi><mml:mi>W</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">e</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle></mml:mstyle></mml:mfenced></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mi mathvariant="normal">CUV</mml:mi></mml:munder><mml:mo>+</mml:mo><mml:munder><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mi>V</mml:mi></mml:msub></mml:mrow><mml:mrow/></mml:munder></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mspace linebreak="nobreak" width="2em"/></mml:mrow></mml:mfenced></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mrow><mml:mi mathvariant="normal">large</mml:mi><mml:mtext>-</mml:mtext><mml:mi mathvariant="normal">step</mml:mi><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi mathvariant="normal">forcings</mml:mi><mml:mspace linebreak="nobreak" width="0.33em"/><mml:mfenced close=")" open="("><mml:mi>F</mml:mi></mml:mfenced></mml:mrow></mml:munder><mml:mrow><mml:mi>t</mml:mi><mml:mo>*</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:munder><mml:munder><mml:mtable class="array" columnalign="center"><mml:mtr><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mstyle displaystyle="false"><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:msup><mml:mi mathvariant="italic">α</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mo>*</mml:mo></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:msup><mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:mrow><mml:mi>t</mml:mi><mml:mo>*</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:mfrac></mml:mstyle></mml:mstyle><mml:mo mathsize="2.5em">[</mml:mo><mml:msup><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:mrow><mml:mi>t</mml:mi><mml:mo>*</mml:mo></mml:mrow></mml:msup><mml:mfenced close=")" open="("><mml:mrow><mml:msup><mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:mrow><mml:mi>t</mml:mi><mml:mo>*</mml:mo></mml:mrow></mml:msup><mml:mstyle displaystyle="false"><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mo>∂</mml:mo><mml:msup><mml:msup><mml:mi>p</mml:mi><mml:mrow><mml:mo>′</mml:mo><mml:mo>′</mml:mo></mml:mrow></mml:msup><mml:mi mathvariant="italic">τ</mml:mi></mml:msup></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mstyle><mml:mo>+</mml:mo><mml:msup><mml:msup><mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:mrow><mml:mo>′</mml:mo><mml:mo>′</mml:mo></mml:mrow></mml:msup><mml:mi mathvariant="italic">τ</mml:mi></mml:msup><mml:mstyle displaystyle="false"><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mo>∂</mml:mo><mml:mover accent="true"><mml:mi>p</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mstyle><mml:mo>+</mml:mo><mml:mstyle displaystyle="false"><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mo>∂</mml:mo><mml:msup><mml:msup><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mrow><mml:mo>′</mml:mo><mml:mo>′</mml:mo></mml:mrow></mml:msup><mml:mi mathvariant="italic">τ</mml:mi></mml:msup></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mstyle></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>+</mml:mo><mml:mstyle displaystyle="false"><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mo>∂</mml:mo><mml:msup><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mo>*</mml:mo></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mstyle><mml:msup><mml:mfenced open="(" close=")"><mml:mrow><mml:mstyle displaystyle="false"><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mo>∂</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mrow><mml:mo>′</mml:mo><mml:mo>′</mml:mo></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="italic">η</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mstyle><mml:mo>-</mml:mo><mml:msubsup><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi><mml:mrow><mml:mo>′</mml:mo><mml:mo>′</mml:mo></mml:mrow></mml:msubsup></mml:mrow></mml:mfenced><mml:mi mathvariant="italic">τ</mml:mi></mml:msup><mml:mo mathsize="2.5em">]</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mrow><mml:mi mathvariant="normal">small</mml:mi><mml:mtext>-</mml:mtext><mml:mi mathvariant="normal">step</mml:mi><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi mathvariant="normal">modes</mml:mi><mml:mspace width="0.33em" linebreak="nobreak"/><mml:mfenced close=")" open="("><mml:mi mathvariant="normal">ACOUS</mml:mi></mml:mfenced></mml:mrow></mml:munder><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>

            <disp-formula id="Ch1.E6" content-type="numbered"><label>6</label><mml:math id="M67" display="block"><mml:mtable class="split" columnspacing="1em" rowspacing="0.2ex" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:munder><mml:munder><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:msup><mml:mi>W</mml:mi><mml:mrow><mml:mo>′</mml:mo><mml:mo>′</mml:mo></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mrow><mml:msup><mml:mi>W</mml:mi><mml:mrow><mml:mo>′</mml:mo><mml:mo>′</mml:mo></mml:mrow></mml:msup><mml:mspace linebreak="nobreak" width="0.33em"/><mml:mi mathvariant="normal">tendency</mml:mi></mml:mrow></mml:munder><mml:mo>=</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:msup><mml:munder><mml:munder><mml:mrow><mml:mfenced close="]" open="["><mml:mtable class="array" columnalign="center"><mml:mtr><mml:mtd><mml:mrow><mml:munder><mml:munder><mml:mrow><mml:mo>-</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>⋅</mml:mo><mml:mfenced open="(" close=")"><mml:mrow><mml:mi mathvariant="bold-italic">V</mml:mi><mml:mi>w</mml:mi></mml:mrow></mml:mfenced></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mi mathvariant="normal">ADV</mml:mi></mml:munder><mml:mo>+</mml:mo><mml:munder><mml:munder><mml:mrow><mml:mi>g</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:mstyle displaystyle="false"><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mi mathvariant="italic">α</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle></mml:mstyle><mml:mstyle displaystyle="false"><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="italic">η</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mstyle><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mi mathvariant="normal">PGFBUOY</mml:mi></mml:munder></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:munder><mml:munder><mml:mrow><mml:mo>+</mml:mo><mml:mfenced close=")" open="("><mml:mstyle displaystyle="false"><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mi>u</mml:mi><mml:mi>U</mml:mi><mml:mo>+</mml:mo><mml:mi>v</mml:mi><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">e</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle></mml:mstyle></mml:mfenced></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mi mathvariant="normal">CUV</mml:mi></mml:munder><mml:mo>+</mml:mo><mml:munder><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mi>W</mml:mi></mml:msub></mml:mrow><mml:mrow/></mml:munder></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mrow><mml:mi mathvariant="normal">large</mml:mi><mml:mtext>-</mml:mtext><mml:mi mathvariant="normal">step</mml:mi><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi mathvariant="normal">forcings</mml:mi><mml:mspace linebreak="nobreak" width="0.33em"/><mml:mfenced open="(" close=")"><mml:mi>F</mml:mi></mml:mfenced></mml:mrow></mml:munder><mml:mrow><mml:mi>t</mml:mi><mml:mo>*</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:munder><mml:munder><mml:mrow><mml:mo>+</mml:mo><mml:mi>g</mml:mi><mml:msup><mml:mover accent="true"><mml:mrow><mml:mfenced close="}" open="{"><mml:mrow><mml:mfenced open="(" close=")"><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msup><mml:mi mathvariant="italic">α</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mo>*</mml:mo></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:msup><mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:mrow><mml:mi>t</mml:mi><mml:mo>*</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mfenced close="]" open="["><mml:mrow><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:mfenced close=")" open="("><mml:mrow><mml:mi>C</mml:mi><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:msup><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mrow><mml:mo>′</mml:mo><mml:mo>′</mml:mo></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="italic">η</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:mfenced><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:mfenced open="(" close=")"><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msubsup><mml:mi>c</mml:mi><mml:mi mathvariant="normal">s</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msubsup></mml:mrow><mml:mrow><mml:msup><mml:mi mathvariant="italic">α</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mo>*</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:mfrac></mml:mstyle><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msup><mml:mi mathvariant="normal">Θ</mml:mi><mml:mrow><mml:mo>′</mml:mo><mml:mo>′</mml:mo></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:msup><mml:mi mathvariant="normal">Θ</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mo>*</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced><mml:mo>-</mml:mo><mml:msubsup><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi><mml:mrow><mml:mo>′</mml:mo><mml:mo>′</mml:mo></mml:mrow></mml:msubsup></mml:mrow></mml:mfenced></mml:mrow><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mi mathvariant="italic">τ</mml:mi></mml:msup></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mrow><mml:mi mathvariant="normal">small</mml:mi><mml:mtext>-</mml:mtext><mml:mi mathvariant="normal">step</mml:mi><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi mathvariant="normal">modes</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="normal">ACOUS</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:munder><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
          where <inline-formula><mml:math id="M68" display="inline"><mml:mi mathvariant="italic">τ</mml:mi></mml:math></inline-formula> indicates the time in the small-step integration, and <inline-formula><mml:math id="M69" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula> as well as <inline-formula><mml:math id="M70" display="inline"><mml:mrow><mml:msubsup><mml:mi>c</mml:mi><mml:mi mathvariant="normal">s</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msubsup></mml:mrow></mml:math></inline-formula> are sound-wave-related terms (Skamarock et al., 2008, chap. 3.1.2). Here we leave out the details regarding the small-step terms that are irrelevant to the inline budget retrieval. Note that the overbar in Eq. (6) indicates a forward-in-time averaging operator for the small-step modes to damp instabilities associated with vertically propagating sound waves (see Eq. 3.19 in Skamarock et al., 2008). Equations (5) and (6) are the ones used to integrate the prognostic momentum fields in the WRF model. For each RK3 step, after the total large-step forcing <inline-formula><mml:math id="M71" display="inline"><mml:mi>F</mml:mi></mml:math></inline-formula> is determined, <inline-formula><mml:math id="M72" display="inline"><mml:mrow><mml:msup><mml:mi>V</mml:mi><mml:mrow><mml:mo>′</mml:mo><mml:mo>′</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M73" display="inline"><mml:mrow><mml:msup><mml:mi>W</mml:mi><mml:mrow><mml:mo>′</mml:mo><mml:mo>′</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> are defined and advanced within the small-step scheme by a loop that adds <inline-formula><mml:math id="M74" display="inline"><mml:mi>F</mml:mi></mml:math></inline-formula> multiplied by a time interval, <inline-formula><mml:math id="M75" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi mathvariant="italic">τ</mml:mi></mml:mrow></mml:math></inline-formula> (varies with different RK3 steps; see Fig. 1), and the small-step forcing (<inline-formula><mml:math id="M76" display="inline"><mml:mi mathvariant="normal">ACOUS</mml:mi></mml:math></inline-formula>). After the small-step integration loop ends, <inline-formula><mml:math id="M77" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M78" display="inline"><mml:mi>W</mml:mi></mml:math></inline-formula> are then recovered from their temporal perturbation fields and moved forward to the next RK3 step. While it is not relevant to the momentum equations discussed here, for some variables directly contributed by the microphysics scheme, the associated contribution should be considered after the RK3 integration loop ends as the microphysics are integrated externally using an additive time splitting (Fig. 1) (Skamarock et al., 2008, chap. 3.1.4).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F1" specific-use="star"><?xmltex \currentcnt{1}?><label>Figure 1</label><caption><p id="d1e2548">The time integration strategy for advancing a state variable (generalized as <inline-formula><mml:math id="M79" display="inline"><mml:mi mathvariant="normal">Φ</mml:mi></mml:math></inline-formula>) in the WRF model based on Skamarock et al. (2008). In this given example, four acoustic steps are specified for one integration time.</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/13/1737/2020/gmd-13-1737-2020-f01.png"/>

        </fig>

</sec>
<sec id="Ch1.S2.SS2">
  <label>2.2</label><title>Experimental setup</title>
      <p id="d1e2572">The main discussion of this study will focus on a 2D (<inline-formula><mml:math id="M80" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M81" display="inline"><mml:mi>z</mml:mi></mml:math></inline-formula>) idealized simulation of slantwise convection. This process releases conditional symmetric instability (CSI), which can be idealized by assuming no flow variations along the direction of thermal winds (denoted as the <inline-formula><mml:math id="M82" display="inline"><mml:mi>x</mml:mi></mml:math></inline-formula> direction in our setup; Markowski and Richardson, 2010, chap. 3.4). The initial field consists of a thermally balanced uniform westerly wind shear in <inline-formula><mml:math id="M83" display="inline"><mml:mi>x</mml:mi></mml:math></inline-formula>. This baroclinic environment contains no conditional (gravitational) instability, no inertial stability, and no dry symmetric instability but does contain some CSI. A two-dimensional bubble containing perturbations of potential temperature and zonal wind is added to initiate convection and a slanted secondary circulation (<inline-formula><mml:math id="M84" display="inline"><mml:mi>v</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M85" display="inline"><mml:mi>w</mml:mi></mml:math></inline-formula>). See Appendix B for more details about the experimental setup. The domain size is 1600 and 16 km in the <inline-formula><mml:math id="M86" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M87" display="inline"><mml:mi>z</mml:mi></mml:math></inline-formula> direction, respectively, with a horizontal grid length of 10 km and 128 vertical layers. The model integration time step is 1 min. For simplicity, the only parameterization used is the Thompson microphysics scheme (Thompson et al., 2008). In addition, the upper-level implicit Rayleigh vertical velocity damping (damp_opt <inline-formula><mml:math id="M88" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 3) is also activated (Skarmarock et al., 2008, chap. 4.4.2). The former does not directly contribute to the momentum fields (although it can affect the momentum field indirectly through density and pressure variations), and the latter, contained in <inline-formula><mml:math id="M89" display="inline"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mi>W</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> in Eqs. (2) and (6), affects only the <inline-formula><mml:math id="M90" display="inline"><mml:mi>W</mml:mi></mml:math></inline-formula> momentum budget. No subgrid turbulence scheme is used (diff_opt <inline-formula><mml:math id="M91" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 0). The WRF model offers different orders of advection operators, and the default third- and fifth-order operators are selected for the vertical and horizontal in this case, respectively. Most of the subsequent analyses and discussion are based on this slantwise convection case with a 10 km grid length unless specified otherwise. Two other simulations, one<?pagebreak page1741?> of which uses the same setup but with an increased horizontal resolution of 2 km, will be discussed in Sect. 4.</p>
      <p id="d1e2665">Figure 2 shows the 48 h evolution of the 99th percentiles of <inline-formula><mml:math id="M92" display="inline"><mml:mi>v</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M93" display="inline"><mml:mi>w</mml:mi></mml:math></inline-formula> (hereafter the lowercase indicates that the calculation uses the uncoupled momentum field) and their tendencies. For the 10 km case, the horizontal velocity reaches its peak in about 20 h, a few hours after the vertical velocity reaches its maximum, and then undergoes a weakening. Both <inline-formula><mml:math id="M94" display="inline"><mml:mi>v</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M95" display="inline"><mml:mi>w</mml:mi></mml:math></inline-formula> tendencies are maximized at around 15 h. To understand the evolution of the associated flow dynamics, a momentum budget analysis serves as a natural choice. However, as a preliminary step prior to carrying out such analysis, we focus only on the technical discussion of the budget analysis methodology. The physical interpretation of the motion is beyond the current scope and will be presented in a subsequent paper.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F2"><?xmltex \currentcnt{2}?><label>Figure 2</label><caption><p id="d1e2698">Evolutions of the 99 percentiles of <bold>(a)</bold> horizontal velocity, <inline-formula><mml:math id="M96" display="inline"><mml:mi>v</mml:mi></mml:math></inline-formula> (black; axis on the left), and vertical velocity, <inline-formula><mml:math id="M97" display="inline"><mml:mi>w</mml:mi></mml:math></inline-formula> (gray; axis on the right) in the simulation of slantwise convection. Panel <bold>(b)</bold> is the same as <bold>(a)</bold> but for their tendencies (black and gray lines for <inline-formula><mml:math id="M98" display="inline"><mml:mi>v</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M99" display="inline"><mml:mi>w</mml:mi></mml:math></inline-formula> tendencies, respectively). Solid lines are for the 10 km simulation, while the dotted ones are for the 2 km case.</p></caption>
          <?xmltex \igopts{width=241.848425pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/13/1737/2020/gmd-13-1737-2020-f02.png"/>

        </fig>

</sec>
</sec>
<sec id="Ch1.S3">
  <label>3</label><title>Methodology and results</title>
<sec id="Ch1.S3.SS1">
  <label>3.1</label><title>Inline momentum budget analysis</title>
      <p id="d1e2761">For the inline budget analysis, all the terms are retrieved directly from the model for all the integration time steps, and therefore they represent the “instantaneous” terms that act over the specified short integration time window. For the large-step forcing, the WRF model accumulates all forcing terms at the beginning of each RK3 step. To separate them, we simply take the difference before and after WRF calls the subroutine for each large-step forcing, store their values<?pagebreak page1742?> separately, and output only the values at the third RK3 step (the total forcing is <inline-formula><mml:math id="M100" display="inline"><mml:mrow><mml:mi>F</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msup><mml:mi mathvariant="normal">Φ</mml:mi><mml:mrow><mml:mo>*</mml:mo><mml:mo>*</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:mfenced><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula> as shown in Fig. 1). As for the contribution of the small-step modes, they are obtained by accumulating over all the small steps in the third RK3 step (<inline-formula><mml:math id="M101" display="inline"><mml:mrow><mml:mi mathvariant="normal">ACOUS</mml:mi><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi mathvariant="normal">sum</mml:mi></mml:mrow></mml:math></inline-formula> shown in Fig. 1). It is worth noting that Eq. (6) is a vertically implicit equation that couples with the geopotential tendency equation (Skarmarock et al., 2008; Klemp et al., 2007). A tri-diagonal equation for the vector <inline-formula><mml:math id="M102" display="inline"><mml:mi mathvariant="bold-italic">W</mml:mi></mml:math></inline-formula>  (involving three grid points in the vertical direction) is thus solved (Satoh, 2002). This means that <inline-formula><mml:math id="M103" display="inline"><mml:mi>W</mml:mi></mml:math></inline-formula> (the scalar at a given grid point)  is not advanced by linear additions in the small-step or acoustic scheme. To ensure the closure of the inline retrieval budget, we simply take the total changes that are contributed by the implicit solver in the acoustic scheme as small-step modes of <inline-formula><mml:math id="M104" display="inline"><mml:mi>W</mml:mi></mml:math></inline-formula> in the third RK3 step. Note that this way does not violate the original <inline-formula><mml:math id="M105" display="inline"><mml:mi>W</mml:mi></mml:math></inline-formula> equation in Eq. (6). The contribution from these accumulated small-step modes in the <inline-formula><mml:math id="M106" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M107" display="inline"><mml:mi>W</mml:mi></mml:math></inline-formula> tendency budgets are combined with their large-step PGF and PGFBUOY, respectively, as they share the same mathematical expressions. Finally, we add the inline calculation for the tendency term outside of the RK3 integration loop, after the microphysics scheme:
            <disp-formula id="Ch1.E7" content-type="numbered"><label>7</label><mml:math id="M108" display="block"><mml:mrow><mml:msup><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="normal">Φ</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msup><mml:mo>≡</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msup><mml:mi mathvariant="normal">Φ</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msup><mml:mo>-</mml:mo><mml:msup><mml:mi mathvariant="normal">Φ</mml:mi><mml:mi>t</mml:mi></mml:msup></mml:mrow><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          where <inline-formula><mml:math id="M109" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula> is the model integration time step and <inline-formula><mml:math id="M110" display="inline"><mml:mi mathvariant="normal">Φ</mml:mi></mml:math></inline-formula> represents <inline-formula><mml:math id="M111" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> or <inline-formula><mml:math id="M112" display="inline"><mml:mi>W</mml:mi></mml:math></inline-formula> (coupled momentum; hereafter the momentum tendency with capital <inline-formula><mml:math id="M113" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> or <inline-formula><mml:math id="M114" display="inline"><mml:mi>W</mml:mi></mml:math></inline-formula> refers to the lhs term derived for the budget analysis). The values of <inline-formula><mml:math id="M115" display="inline"><mml:mi mathvariant="normal">Φ</mml:mi></mml:math></inline-formula> at times <inline-formula><mml:math id="M116" display="inline"><mml:mi>t</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M117" display="inline"><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula>, the latter denoted by superscripts, are termed the current and predicted states, respectively. Note that while variables of momentum tendencies (specifically named “ru_tend, rv_tend and rw_tend”) can be directly outputted from the WRF model by modifying the registry file, these variables do not necessarily represent the actual momentum changes that consider all the physical (e.g., microphysics, small-step modes) and non-physical processes (e.g., damping) but only the summation of all the large-step forcings.</p>
      <p id="d1e2974">Figures 3 and 4 present the results of the inline budget analysis for horizontal momentum and vertical momentum, respectively, at three selected times (6, 12, and 16 h). To demonstrate the momentum changes in a common physical unit (velocities; meter per second), every term of the flux-form budget equation shown in this paper is divided by the dry-air mass, <inline-formula><mml:math id="M118" display="inline"><mml:mrow><mml:msup><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> (so that, for example, the <inline-formula><mml:math id="M119" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> tendency has a unit of meter per second squared). The magnitude of the <inline-formula><mml:math id="M120" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> tendency intensifies during this period with local maxima on the order of <inline-formula><mml:math id="M121" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">4</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> to <inline-formula><mml:math id="M122" display="inline"><mml:mrow><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:math></inline-formula> <inline-formula><mml:math id="M123" display="inline"><mml:mrow><mml:mi mathvariant="normal">m</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> (Fig. 3). Two forcing terms, PGF and COR, are a few times larger than the ADV term but generally offset each other, making the ADV term of comparable importance in determining the tendency. The CUV term for <inline-formula><mml:math id="M124" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> tendency is generally small and thus not shown in Fig. 3. The residual, obtained from Eq. (1) with <inline-formula><mml:math id="M125" display="inline"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mi>V</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> equal to 0, is always smaller than <inline-formula><mml:math id="M126" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">7</mml:mn></mml:mrow></mml:msup><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="normal">m</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> during the entire 48 h simulation (not shown). To understand how the peak error evolves with time and to avoid reaching misleading conclusions based on one or more outlying values, the evolution of the 99th percentile magnitude of the residual term is shown. Figure 5 shows that it reaches a value of about <inline-formula><mml:math id="M127" display="inline"><mml:mrow><mml:mn mathvariant="normal">7</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">9</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M128" display="inline"><mml:mrow><mml:mi mathvariant="normal">m</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> at around 15 h. Recall that the 99th percentile magnitude of the simulated <inline-formula><mml:math id="M129" display="inline"><mml:mi>v</mml:mi></mml:math></inline-formula> tendency has a peak of <inline-formula><mml:math id="M130" display="inline"><mml:mrow><mml:mn mathvariant="normal">7</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">4</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M131" display="inline"><mml:mrow><mml:mi mathvariant="normal">m</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> (Fig. 2b). Thus, the relative magnitude of the 99th percentile residual is about 0.001 % of the 99th percentile tendency term during the peak intensifying stage. Compared to the <inline-formula><mml:math id="M132" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> tendency, the <inline-formula><mml:math id="M133" display="inline"><mml:mi>W</mml:mi></mml:math></inline-formula> tendency exhibits narrower features in the horizontal direction (Fig. 4) with an overall smaller magnitude in every term. The two largest forcings, PGFBUOY and CUV, usually have opposite signs, so their combined effect is on the same order as the ADV and the <inline-formula><mml:math id="M134" display="inline"><mml:mi>W</mml:mi></mml:math></inline-formula> tendency term. While the contribution from the upper-layer vertical velocity damping is not shown in Fig. 4, it is included as part of the rhs (<inline-formula><mml:math id="M135" display="inline"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mi>W</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> of Eq. (2) when calculating the residual for the inline budget analysis. The residual in the inline <inline-formula><mml:math id="M136" display="inline"><mml:mi>W</mml:mi></mml:math></inline-formula> budget is generally 4 orders of magnitude smaller than its tendency term. The 99th percentile residual for <inline-formula><mml:math id="M137" display="inline"><mml:mi>W</mml:mi></mml:math></inline-formula> budget is about <inline-formula><mml:math id="M138" display="inline"><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">10</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M139" display="inline"><mml:mrow><mml:mi mathvariant="normal">m</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>, around 0.0003 % of the 99th percentile <inline-formula><mml:math id="M140" display="inline"><mml:mi>w</mml:mi></mml:math></inline-formula> tendency during the peak intensifying stage of the convection (not shown).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F3" specific-use="star"><?xmltex \currentcnt{3}?><label>Figure 3</label><caption><p id="d1e3273">Inline budget analysis of horizontal momentum, <inline-formula><mml:math id="M141" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula>, with each term extracted directly from the model. In each row, the shading in each subplot from the left to right shows the term of <inline-formula><mml:math id="M142" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> tendency, flux-form advection (ADV), horizontal pressure gradient force (PGF), Coriolis force (COR) (white contours indicate the values exceeding the color bar), <inline-formula><mml:math id="M143" display="inline"><mml:mrow><mml:mi mathvariant="normal">PGF</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">COR</mml:mi></mml:mrow></mml:math></inline-formula>, and residual (Eq. 1; <inline-formula><mml:math id="M144" display="inline"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mi>V</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is 0 and the generally small curvature term (CUV) is not shown). All terms are divided by <inline-formula><mml:math id="M145" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and thus have units of meters per second squared. The black contours indicate the horizontal velocity <inline-formula><mml:math id="M146" display="inline"><mml:mi>v</mml:mi></mml:math></inline-formula> of 2 and 6 m s<inline-formula><mml:math id="M147" 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>  (positive and negative values shown in solid and dashed lines, respectively). Each row from top to bottom illustrates the budget analysis at 6, 12, and 16 h, respectively.</p></caption>
          <?xmltex \igopts{width=469.470472pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/13/1737/2020/gmd-13-1737-2020-f03.png"/>

        </fig>

      <?xmltex \floatpos{t}?><fig id="Ch1.F4" specific-use="star"><?xmltex \currentcnt{4}?><label>Figure 4</label><caption><p id="d1e3353">Inline budget analysis of vertical momentum, <inline-formula><mml:math id="M148" display="inline"><mml:mi>W</mml:mi></mml:math></inline-formula>, with each term extracted directly from the model. In each row, the shading in each subplot from the left to right shows the term of <inline-formula><mml:math id="M149" display="inline"><mml:mi>W</mml:mi></mml:math></inline-formula> tendency, advection (ADV), net vertical pressure gradient and buoyancy force (PGFBUOY), curvature (CUV) (white contours indicate the values exceeding the color bar), <inline-formula><mml:math id="M150" display="inline"><mml:mrow><mml:mi mathvariant="normal">PGFBUOY</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">CUV</mml:mi></mml:mrow></mml:math></inline-formula>, and residual (Eq. 2; <inline-formula><mml:math id="M151" display="inline"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mi>W</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is considered but not shown here). All terms are divided by <inline-formula><mml:math id="M152" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and thus have units of meters per second squared. The black contours indicate the vertical velocity <inline-formula><mml:math id="M153" display="inline"><mml:mi>w</mml:mi></mml:math></inline-formula> of 5 and 15 cm s<inline-formula><mml:math id="M154" 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> (positive and negative values shown in solid and dashed lines, respectively). The red (blue) contours shown in the rightmost column, laid on top of the residual (shading), indicate the small-step components of PGFBUOY with a positive (negative) value of <inline-formula><mml:math id="M155" display="inline"><mml:mrow><mml:mn mathvariant="normal">3</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">4</mml:mn></mml:mrow></mml:msup><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="normal">m</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>. Each row from top to bottom illustrates the budget analysis at 6, 12, and 16 h, respectively.</p></caption>
          <?xmltex \igopts{width=469.470472pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/13/1737/2020/gmd-13-1737-2020-f04.png"/>

        </fig>

</sec>
<?pagebreak page1744?><sec id="Ch1.S3.SS2">
  <label>3.2</label><title>Post-processed momentum budget analyses</title>
<sec id="Ch1.S3.SS2.SSS1">
  <label>3.2.1</label><title>Key features and methodologies</title>
      <p id="d1e3475">In contrast to extracting terms directly from the model during its integration, most of the studies in which the momentum budget analysis is conducted use the model output files after the completion of the integration. Note that since the sub-output time-step information is not available between successive outputs, only the large-step forcing terms can be estimated in these post-processed budget analyses. Generally, the neglect of the acoustic or small-step modes is expected to have little impact on the results as the high-frequency modes are often considered meteorologically insignificant. However, it is mentioned in Klemp et al. (2007) and Skamarock et al. (2008) that the WRF small-step integration scheme includes not only the acoustic-wave but also some gravity-wave modes, which may not be insignificant. These gravity-wave modes form during the small-step integration due to the designated terms that are required for acoustic-wave propagation and “Consequently, in this vertical coordinate (i.e., terrain-following hydrostatic pressure coordinate), the terms governing the acoustic and gravity wave modes are intermingled to the extent that it does not appear feasible to evaluate any of the gravity wave terms on the large time steps, even if one desired to do so” (Klemp et al., 2007).</p>
      <p id="d1e3478">Most of the studies did not reveal the complete details about how their analysis was done, so we cannot presume their methodologies and the possible errors. However, a few simplifications commonly made in the post-processed budget analyses may introduce errors that result in deviations from the simulated results and thus a significant residual. Below we revisit the relevant features of the WRF model that should be considered and discuss how they might affect the post-processed budget if they are ignored. Then, the results are shown for different post-processed budget analyses with different simplifications (Table 1). The aim herein is to identify these potential errors hidden in the budget calculation and show how severely they affect the resulting interpretation.</p>

<?xmltex \floatpos{t}?><table-wrap id="Ch1.T1" specific-use="star"><?xmltex \currentcnt{1}?><label>Table 1</label><caption><p id="d1e3484">A summary of all different approaches for the post-processed horizontal momentum budget analysis that are applied to the model output after the integration finishes.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="6">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="left"/>
     <oasis:colspec colnum="3" colname="col3" align="right"/>
     <oasis:colspec colnum="4" colname="col4" align="center"/>
     <oasis:colspec colnum="5" colname="col5" align="left"/>
     <oasis:colspec colnum="6" colname="col6" align="center"/>
     <oasis:thead>
       <oasis:row>
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2"/>
         <oasis:entry colname="col3"/>
         <oasis:entry colname="col4"/>
         <oasis:entry colname="col5"/>
         <oasis:entry colname="col6">Calculated</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2"/>
         <oasis:entry colname="col3"/>
         <oasis:entry colname="col4">Order of</oasis:entry>
         <oasis:entry colname="col5"/>
         <oasis:entry colname="col6">on C</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">Form of</oasis:entry>
         <oasis:entry colname="col3">Output time</oasis:entry>
         <oasis:entry colname="col4">(vertical; horizontal)</oasis:entry>
         <oasis:entry colname="col5">Forcing terms diagnosed using</oasis:entry>
         <oasis:entry colname="col6">staggering</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">the equation</oasis:entry>
         <oasis:entry colname="col3">interval</oasis:entry>
         <oasis:entry colname="col4">advection operators</oasis:entry>
         <oasis:entry colname="col5">the explicit or implicit method</oasis:entry>
         <oasis:entry colname="col6">grids</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row rowsep="1">
         <oasis:entry namest="col1" nameend="col6">Slantwise convection simulation with a grid length of 10 km and integration time step of 1 min </oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">POST10min-E</oasis:entry>
         <oasis:entry colname="col2">Flux form</oasis:entry>
         <oasis:entry colname="col3">10 min</oasis:entry>
         <oasis:entry colname="col4">3; 5</oasis:entry>
         <oasis:entry colname="col5">Explicit</oasis:entry>
         <oasis:entry colname="col6">Yes</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">POST1min-E</oasis:entry>
         <oasis:entry colname="col2">Flux form</oasis:entry>
         <oasis:entry colname="col3">1 min</oasis:entry>
         <oasis:entry colname="col4">3; 5</oasis:entry>
         <oasis:entry colname="col5">Explicit</oasis:entry>
         <oasis:entry colname="col6">Yes</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">POST10min-I</oasis:entry>
         <oasis:entry colname="col2">Flux form</oasis:entry>
         <oasis:entry colname="col3">10 min</oasis:entry>
         <oasis:entry colname="col4">3; 5</oasis:entry>
         <oasis:entry colname="col5">Implicit</oasis:entry>
         <oasis:entry colname="col6">Yes</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">POST10min-(E+I)/2</oasis:entry>
         <oasis:entry colname="col2">Flux form</oasis:entry>
         <oasis:entry colname="col3">10 min</oasis:entry>
         <oasis:entry colname="col4">3; 5</oasis:entry>
         <oasis:entry colname="col5">Average of explicit and implicit</oasis:entry>
         <oasis:entry colname="col6">Yes</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">POST2oadv-(E+I)/2</oasis:entry>
         <oasis:entry colname="col2">Flux form</oasis:entry>
         <oasis:entry colname="col3">10 min</oasis:entry>
         <oasis:entry colname="col4">2; 2</oasis:entry>
         <oasis:entry colname="col5">Average of explicit and implicit</oasis:entry>
         <oasis:entry colname="col6">Yes</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">POSTnonstag-(E+I)/2</oasis:entry>
         <oasis:entry colname="col2">Flux form</oasis:entry>
         <oasis:entry colname="col3">10 min</oasis:entry>
         <oasis:entry colname="col4">3; 5</oasis:entry>
         <oasis:entry colname="col5">Average of explicit and implicit</oasis:entry>
         <oasis:entry colname="col6">No</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">POSTadvF-(E+I)/2</oasis:entry>
         <oasis:entry colname="col2">Advective form</oasis:entry>
         <oasis:entry colname="col3">10 min</oasis:entry>
         <oasis:entry colname="col4">3; 5</oasis:entry>
         <oasis:entry colname="col5">Average of explicit and implicit</oasis:entry>
         <oasis:entry colname="col6">Yes</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry namest="col1" nameend="col6">Slantwise convection simulation with a grid length of 2 km and integration time step of 10 s </oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">POST10min-I-2km</oasis:entry>
         <oasis:entry colname="col2">Flux form</oasis:entry>
         <oasis:entry colname="col3">10 min</oasis:entry>
         <oasis:entry colname="col4">3; 5</oasis:entry>
         <oasis:entry colname="col5">Implicit</oasis:entry>
         <oasis:entry colname="col6">Yes</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">POST10min-(E+I)/2-2km</oasis:entry>
         <oasis:entry colname="col2">Flux form</oasis:entry>
         <oasis:entry colname="col3">10 min</oasis:entry>
         <oasis:entry colname="col4">3; 5</oasis:entry>
         <oasis:entry colname="col5">Average of explicit and implicit</oasis:entry>
         <oasis:entry colname="col6">Yes</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">POST1min-(E+I)/2-2km</oasis:entry>
         <oasis:entry colname="col2">Flux form</oasis:entry>
         <oasis:entry colname="col3">1 min</oasis:entry>
         <oasis:entry colname="col4">3; 5</oasis:entry>
         <oasis:entry colname="col5">Average of explicit and implicit</oasis:entry>
         <oasis:entry colname="col6">Yes</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry namest="col1" nameend="col6">Squall line simulation with a grid length of 250 m and integration time step of 3 s </oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">POST3sec-E</oasis:entry>
         <oasis:entry colname="col2">Flux form</oasis:entry>
         <oasis:entry colname="col3">3 s</oasis:entry>
         <oasis:entry colname="col4">3; 5</oasis:entry>
         <oasis:entry colname="col5">Explicit</oasis:entry>
         <oasis:entry colname="col6">Yes</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

</sec>
</sec>
<sec id="Ch1.S3.SSx1" specific-use="unnumbered">
  <title>(a) Diagnosed tendency</title>
      <p id="d1e3857">In a post-processed budget analysis, the tendency term of a given variable is approximated by the difference between the value of this variable at two successive output times divided by the output time interval. Thus, the accuracy may be sensitive to the output time interval. The value at the predicted state has a form of
            <disp-formula id="Ch1.E8" content-type="numbered"><label>8</label><mml:math id="M156" display="block"><mml:mrow><mml:msub><mml:mfenced open="" close="|"><mml:mrow><mml:msup><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="normal">Φ</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:mfenced><mml:mi mathvariant="normal">diagnosed</mml:mi></mml:msub><mml:mo>≈</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msup><mml:mi mathvariant="normal">Φ</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msup><mml:mo>-</mml:mo><mml:msup><mml:mi mathvariant="normal">Φ</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi><mml:mo>-</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mi mathvariant="normal">output</mml:mi></mml:msub></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mi mathvariant="normal">output</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
          If the output interval is longer than the model integration time step, the diagnosed tendency would deviate from the model prediction of the instantaneous tendency. To increase the accuracy, the output time interval <inline-formula><mml:math id="M157" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mi mathvariant="normal">output</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> needs to be similar to the integration time step <inline-formula><mml:math id="M158" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula>.</p>
</sec>
<sec id="Ch1.S3.SSx2" specific-use="unnumbered">
  <title>(b) Spatial discretization on the C staggered grid</title>
      <p id="d1e3972">For computational efficiency and accuracy, WRF utilizes a C-grid staggering system (Arakawa and Lamb, 1977). This staggering system is pertinent to the numerical solution for spatial derivatives. For most of the spatial derivatives other than advection (e.g., the pressure gradient force), the second-order finite difference operator is used in the WRF model. For example, the <inline-formula><mml:math id="M159" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula> derivative of variable <inline-formula><mml:math id="M160" display="inline"><mml:mi mathvariant="normal">Φ</mml:mi></mml:math></inline-formula> is calculated using the discrete operator:
            <disp-formula id="Ch1.E9" content-type="numbered"><label>9</label><mml:math id="M161" display="block"><mml:mrow><mml:msub><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="normal">Φ</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>y</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi mathvariant="normal">Φ</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>+</mml:mo><mml:mstyle scriptlevel="+1"><mml:mfrac><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="normal">Φ</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mstyle scriptlevel="+1"><mml:mfrac><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
          The index (<inline-formula><mml:math id="M162" display="inline"><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:math></inline-formula>) corresponds to a location with <inline-formula><mml:math id="M163" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="italic">η</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mo>(</mml:mo><mml:mi>i</mml:mi><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>y</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi mathvariant="italic">η</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, where <inline-formula><mml:math id="M164" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M165" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>y</mml:mi></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M166" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi mathvariant="italic">η</mml:mi></mml:mrow></mml:math></inline-formula> are the grid lengths in the two horizontal and vertical directions (can be vertically stretched), respectively. The same expression applies for the <inline-formula><mml:math id="M167" display="inline"><mml:mi>x</mml:mi></mml:math></inline-formula> or the <inline-formula><mml:math id="M168" display="inline"><mml:mi mathvariant="italic">η</mml:mi></mml:math></inline-formula> derivatives. Grid staggering implies that different variables may be located on different grids, i.e., shifted by a half-grid point from the others as illustrated in Fig. 6. Depending on what variable the spatial derivatives are intended for, Eq. (9) should be carried out on the corresponding grid, which is not necessarily the same as the <inline-formula><mml:math id="M169" display="inline"><mml:mi mathvariant="normal">Φ</mml:mi></mml:math></inline-formula> grid. For example, for the <inline-formula><mml:math id="M170" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> tendency, all the associated forcing terms involving the spatial derivatives should be performed on the <inline-formula><mml:math id="M171" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> grid. More specifically, to calculate the PGF term for the <inline-formula><mml:math id="M172" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> tendency equation, the term <inline-formula><mml:math id="M173" display="inline"><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:math></inline-formula> and the term <inline-formula><mml:math id="M174" display="inline"><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="italic">η</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:math></inline-formula> in Eq. (1) should be calculated on the <inline-formula><mml:math id="M175" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> grid but not the pressure grid (<inline-formula><mml:math id="M176" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> grid). Applying Eq. (9) for <inline-formula><mml:math id="M177" display="inline"><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:math></inline-formula>, the <inline-formula><mml:math id="M178" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> grid with location indices of <inline-formula><mml:math id="M179" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:math></inline-formula>) and <inline-formula><mml:math id="M180" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>+</mml:mo><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:math></inline-formula>) falls exactly on the <inline-formula><mml:math id="M181" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> grid and hence no interpolation is required (red arrows in Fig. 6a). However, for <inline-formula><mml:math id="M182" display="inline"><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="italic">η</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:math></inline-formula>, the pressures on the <inline-formula><mml:math id="M183" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> grid with indices of <inline-formula><mml:math id="M184" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi><mml:mo>-</mml:mo><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle></mml:mrow></mml:math></inline-formula>) and <inline-formula><mml:math id="M185" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi><mml:mo>+</mml:mo><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle></mml:mrow></mml:math></inline-formula>) must be obtained (red arrows in Fig. 6b) through linear interpolation using their surrounding closest four pressure values, e.g.,
            <disp-formula id="Ch1.E10" content-type="numbered"><label>10</label><mml:math id="M186" display="block"><mml:mtable class="split" rowspacing="0.2ex" columnspacing="1em" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>V</mml:mi><mml:mtext>-</mml:mtext><mml:mi mathvariant="normal">grid</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi><mml:mo>+</mml:mo><mml:mstyle scriptlevel="+1"><mml:mfrac><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle></mml:mrow></mml:mfenced></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mtext>-</mml:mtext><mml:mi mathvariant="normal">grid</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:mfenced></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mtext>-</mml:mtext><mml:mi mathvariant="normal">grid</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:mfenced></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi mathvariant="italic">η</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle></mml:mrow><mml:mrow><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:mfenced open="(" close=")"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi mathvariant="italic">η</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi mathvariant="italic">η</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mo>+</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mtext>-</mml:mtext><mml:mi mathvariant="normal">grid</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi>k</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:mfenced></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mtext>-</mml:mtext><mml:mi mathvariant="normal">grid</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:mfenced></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi mathvariant="italic">η</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle></mml:mrow><mml:mrow><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:mo>(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi mathvariant="italic">η</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi mathvariant="italic">η</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
          which is weighted by the irregular (stretched) vertical grid-lengths (Fig. 6b).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F5" specific-use="star"><?xmltex \currentcnt{5}?><label>Figure 5</label><caption><p id="d1e4705">Evolution of the 99th percentile of the residual magnitude (meters per second squared) of the horizontal momentum <inline-formula><mml:math id="M187" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> budget analysis. For the residual calculation, <bold>(a)</bold> uses the true <inline-formula><mml:math id="M188" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> tendency (derived during the integration of the model) and <bold>(b)</bold> uses the post-diagnosed <inline-formula><mml:math id="M189" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula>  tendency (Eq. 8) as the lhs term. Different colors indicate different post-processed methods for estimating the rhs forcing terms. The residuals obtained from the inline budget retrieval are in black. Solid and dashed lines are for the 10 km run and 2 km run, respectively.</p></caption>
          <?xmltex \igopts{width=426.791339pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/13/1737/2020/gmd-13-1737-2020-f05.png"/>

        </fig>

      <?xmltex \floatpos{t}?><fig id="Ch1.F6" specific-use="star"><?xmltex \currentcnt{6}?><label>Figure 6</label><caption><p id="d1e4743"><bold>(a)</bold> Horizontal and <bold>(b)</bold> vertical C staggering grids for different variables in the WRF model. Note that variables <inline-formula><mml:math id="M190" display="inline"><mml:mi mathvariant="italic">ϕ</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M191" display="inline"><mml:mi>W</mml:mi></mml:math></inline-formula> are allocated on the same grid as <inline-formula><mml:math id="M192" display="inline"><mml:mi mathvariant="normal">Ω</mml:mi></mml:math></inline-formula>; <inline-formula><mml:math id="M193" display="inline"><mml:mi mathvariant="italic">μ</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M194" display="inline"><mml:mi mathvariant="italic">α</mml:mi></mml:math></inline-formula>, and <inline-formula><mml:math id="M195" display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> are on grid same as <inline-formula><mml:math id="M196" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula>. The red arrows indicate the grids that would be used to calculate the second-order spatial derivative term for the <inline-formula><mml:math id="M197" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula>  momentum at the <inline-formula><mml:math id="M198" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> grid (<inline-formula><mml:math id="M199" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M200" display="inline"><mml:mi>j</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M201" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula>).</p></caption>
          <?xmltex \igopts{width=398.338583pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/13/1737/2020/gmd-13-1737-2020-f06.png"/>

        </fig>

      <?pagebreak page1745?><p id="d1e4848">If the C-grid staggering is not considered during the post-processing analysis, i.e., all the variables have been interpolated on the universal grids before carrying out the budget calculation, in addition to the potential errors brought on by the interpolation method, the term <inline-formula><mml:math id="M202" display="inline"><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:math></inline-formula>, for example, would essentially involve pressure differences over a larger grid interval of <inline-formula><mml:math id="M203" display="inline"><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mo>×</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>y</mml:mi></mml:mrow></mml:math></inline-formula> instead of <inline-formula><mml:math id="M204" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>y</mml:mi></mml:mrow></mml:math></inline-formula>, with larger associated truncation errors.</p>
</sec>
<sec id="Ch1.S3.SSx3" specific-use="unnumbered">
  <title>(c) Advection operators</title>
      <?pagebreak page1746?><p id="d1e4899">For advection, higher-order operators for finite differencing are provided as the default WRF setup. Taking the <inline-formula><mml:math id="M205" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula> component of the flux-form advection for <inline-formula><mml:math id="M206" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> momentum in Eq. (3) as an example, with a fifth-order operator as selected in the present simulation, it is written as
            <disp-formula id="Ch1.E11" content-type="numbered"><label>11</label><mml:math id="M207" display="block"><mml:mtable class="split" columnspacing="1em" rowspacing="0.2ex" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:msub><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mfenced open="(" close=")"><mml:mrow><mml:mi>V</mml:mi><mml:mi>v</mml:mi></mml:mrow></mml:mfenced></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><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:mi mathvariant="normal">Δ</mml:mi><mml:mi>y</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced open="(" close=""><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>+</mml:mo><mml:mstyle scriptlevel="+1"><mml:mfrac><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:msubsup><mml:mi>v</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>+</mml:mo><mml:mstyle scriptlevel="+1"><mml:mfrac><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mn mathvariant="normal">5</mml:mn><mml:mi mathvariant="normal">th</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mfenced close=")" open=""><mml:mrow><mml:mo>-</mml:mo><mml:msub><mml:mi>V</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mstyle scriptlevel="+1"><mml:mfrac><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:msubsup><mml:mi>v</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mstyle scriptlevel="+1"><mml:mfrac><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mn mathvariant="normal">5</mml:mn><mml:mi mathvariant="normal">th</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
          where <inline-formula><mml:math id="M208" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M209" display="inline"><mml:mi>v</mml:mi></mml:math></inline-formula> are the mass-coupled and mass-uncoupled velocities, respectively:
            <disp-formula id="Ch1.Ex3"><mml:math id="M210" display="block"><mml:mtable class="split" columnspacing="1em" rowspacing="0.2ex" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:msubsup><mml:mi>v</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mstyle scriptlevel="+1"><mml:mfrac><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mn mathvariant="normal">5</mml:mn><mml:mi mathvariant="normal">th</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mo>=</mml:mo><mml:msubsup><mml:mi>v</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mstyle scriptlevel="+1"><mml:mfrac><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mn mathvariant="normal">6</mml:mn><mml:mi mathvariant="normal">th</mml:mi></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:mi mathvariant="normal">sign</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mstyle scriptlevel="+1"><mml:mfrac><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">60</mml:mn></mml:mfrac></mml:mstyle></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mfenced close="" open="["><mml:mrow><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>v</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>v</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo>-</mml:mo><mml:mn mathvariant="normal">5</mml:mn><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi>v</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>v</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mfenced open="" close="]"><mml:mrow><mml:mo>+</mml:mo><mml:mn mathvariant="normal">10</mml:mn><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>v</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>v</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
          and
            <disp-formula id="Ch1.Ex4"><mml:math id="M211" display="block"><mml:mtable class="split" columnspacing="1em" rowspacing="0.2ex" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:msubsup><mml:mi>v</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mstyle scriptlevel="+1"><mml:mfrac><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mn mathvariant="normal">6</mml:mn><mml:mi mathvariant="normal">th</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">60</mml:mn></mml:mfrac></mml:mstyle><mml:mo>[</mml:mo><mml:mn mathvariant="normal">37</mml:mn><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi>v</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>v</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">8</mml:mn><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>v</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>v</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>v</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>v</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo>]</mml:mo><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
          The odd-order advection operators include a spatially centered even-order operator and an upwind diffusion term. A detailed discussion on the advection scheme in the WRF model with different-order operators can be found in Wicker and Skamarock (2002) and Skamarock et al. (2008). Simplifying the advection estimation using an operator with an order that differs from the numerical setup would contribute to errors in the ADV estimation.</p>
</sec>
<sec id="Ch1.S3.SSx4" specific-use="unnumbered">
  <title>(d) Forward or backward Euler method</title>
      <p id="d1e5524">Conceptually, the WRF model can be considered more of a forward scheme, i.e., using the known variables from the current state to calculate the forcing and then advancing the variables forward until reaching the prediction time. However, there are a few implicit components during the integration. For example, as discussed in Sect. 2.1, the large-step forcings are updated using a predictor–corrector method in the second and third RK3 steps. In addition, the <inline-formula><mml:math id="M212" display="inline"><mml:mi>W</mml:mi></mml:math></inline-formula> equation is coupled with the geopotential tendency equation and includes a forward-in-time weighting that utilizes predicted states of the geopotential and temperature in solving the <inline-formula><mml:math id="M213" display="inline"><mml:mi>W</mml:mi></mml:math></inline-formula> (Eq. 3.11, 3.12, and 3.19 in Skamarock et al., 2008).</p>
      <p id="d1e5541">In numerical analysis for solving ordinary differential equations, the (explicit) forward Euler method approximates the change of a system from <inline-formula><mml:math id="M214" display="inline"><mml:mi>t</mml:mi></mml:math></inline-formula> to <inline-formula><mml:math id="M215" display="inline"><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula> using the current states (<inline-formula><mml:math id="M216" display="inline"><mml:mi>t</mml:mi></mml:math></inline-formula>), while the (implicit) backward Euler method finds the solution using the predicted states (<inline-formula><mml:math id="M217" display="inline"><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula>):

                <disp-formula specific-use="gather" content-type="numbered"><mml:math id="M218" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E12"><mml:mtd><mml:mtext>12</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:msup><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="normal">Φ</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msup><mml:mo>≈</mml:mo><mml:mi>F</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msup><mml:mi mathvariant="normal">Φ</mml:mi><mml:mi>t</mml:mi></mml:msup></mml:mrow></mml:mfenced><mml:mspace width="0.33em" linebreak="nobreak"/><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi mathvariant="normal">forward</mml:mi><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi mathvariant="normal">Euler</mml:mi><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi mathvariant="normal">method</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E13"><mml:mtd><mml:mtext>13</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:msup><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="normal">Φ</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msup><mml:mo>≈</mml:mo><mml:mi>F</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:msup><mml:mi mathvariant="normal">Φ</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:mfenced><mml:mspace width="0.33em" linebreak="nobreak"/><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi mathvariant="normal">backward</mml:mi><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi mathvariant="normal">Euler</mml:mi><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi mathvariant="normal">method</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

            Consistent with this concept, the rhs forcing terms of a budget equation can be estimated using two different instantaneous states in analogous ways. However, we emphasize that the post-processed budget analysis does not solve the tendency equation per se but only diagnoses the relationship between the two sides of the equation. Note that for post-processing analyses, the availability of the data depends on the output time interval (<inline-formula><mml:math id="M219" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mi mathvariant="normal">output</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, which is often much larger than the integration time step <inline-formula><mml:math id="M220" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>. Thus, for the tendency at a given time <inline-formula><mml:math id="M221" display="inline"><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula>, when applying the forward Euler method to estimate the associated rhs forcings, the “current states” one can use are the most recent prior output at <inline-formula><mml:math id="M222" display="inline"><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi><mml:mo>-</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mi mathvariant="normal">output</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (see Fig. 7):
            <disp-formula id="Ch1.E14" content-type="numbered"><label>14</label><mml:math id="M223" display="block"><mml:mtable rowspacing="0.2ex" columnspacing="1em" class="split" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:msup><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="normal">Φ</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msup><mml:mo>≈</mml:mo><mml:mi>F</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msup><mml:mi mathvariant="normal">Φ</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi><mml:mo>-</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mi mathvariant="normal">output</mml:mi></mml:msub></mml:mrow></mml:msup></mml:mrow></mml:mfenced><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi mathvariant="normal">forward</mml:mi><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi mathvariant="normal">Euler</mml:mi><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi mathvariant="normal">method</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mi mathvariant="normal">for</mml:mi><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi mathvariant="normal">post</mml:mi><mml:mtext>-</mml:mtext><mml:mi mathvariant="normal">processing</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula></p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F7"><?xmltex \currentcnt{7}?><label>Figure 7</label><caption><p id="d1e5854">Schematic plot showing the explicit (forward) and implicit (backward) solvers for the rhs forcing terms, as well as the diagnosed and the true (calculated inline during the integration of the model) lhs tendency term defined in this study.</p></caption>
          <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/13/1737/2020/gmd-13-1737-2020-f07.png"/>

        </fig>

      <?pagebreak page1747?><p id="d1e5863">If <inline-formula><mml:math id="M224" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mi mathvariant="normal">output</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the same as <inline-formula><mml:math id="M225" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula>, Eq. (14) reverts to Eq. (12). If <inline-formula><mml:math id="M226" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mi mathvariant="normal">output</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is much larger than <inline-formula><mml:math id="M227" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula>, the backward Euler method using predicted states at <inline-formula><mml:math id="M228" display="inline"><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula> may better estimate the true model forcing terms as they are calculated using variables at a closer time to the real integration window in the model (Fig. 7).</p>
      <p id="d1e5927">The above two diagnostic methods estimate the forcing terms using instantaneous states. However, as mentioned in Sect. 3.2.1(a), the diagnosed lhs tendency depends on two successive model output times. Thus, an average between forcings diagnosed explicitly and implicitly are often considered. For a post-processed analysis, this translates into estimating the forcings using both predicted states and the most recent prior available current states:
            <disp-formula id="Ch1.E15" content-type="numbered"><label>15</label><mml:math id="M229" display="block"><mml:mrow><?xmltex \hack{\hbox\bgroup\fontsize{9.5}{9.5}\selectfont$\displaystyle}?><mml:msub><mml:mfenced close="|" open=""><mml:mrow><mml:msup><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="normal">Φ</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:mfenced><mml:mi mathvariant="normal">diagnosed</mml:mi></mml:msub><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 open="[" close="]"><mml:mrow><mml:mi>F</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:msup><mml:mi mathvariant="normal">Φ</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi><mml:mo>-</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mi mathvariant="normal">output</mml:mi></mml:msub></mml:mrow></mml:msup></mml:mrow></mml:mfenced><mml:mo>+</mml:mo><mml:mi>F</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msup><mml:mi mathvariant="normal">Φ</mml:mi><mml:mrow><mml:mi>t</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced><mml:mo>.</mml:mo><?xmltex \hack{$\egroup}?></mml:mrow></mml:math></disp-formula></p>
</sec>
<sec id="Ch1.S3.SSx5" specific-use="unnumbered">
  <title>(e) Flux or advective form of equation</title>
      <?pagebreak page1748?><p id="d1e6025">While the momentum equations solved in the WRF model are in flux form, their corresponding advective forms can be derived and are often used for post-processed budget analyses for convenience. To derive the advective form, the flux-form <inline-formula><mml:math id="M230" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> momentum equation (Eq. 1 excluding residual) is first multiplied by a factor of <inline-formula><mml:math id="M231" display="inline"><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle></mml:math></inline-formula> and <inline-formula><mml:math id="M232" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> is rewritten as <inline-formula><mml:math id="M233" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:mi>v</mml:mi></mml:mrow></mml:math></inline-formula>:
            <disp-formula id="Ch1.E16" content-type="numbered"><label>16</label><mml:math id="M234" display="block"><mml:mtable columnspacing="1em" rowspacing="0.2ex" class="split" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:munder><mml:munder><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:mi>v</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mrow><mml:mi>V</mml:mi><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi mathvariant="normal">tendency</mml:mi></mml:mrow></mml:munder></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mo>=</mml:mo><mml:munder><mml:munder><mml:mrow><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>⋅</mml:mo><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:mi mathvariant="bold-italic">v</mml:mi><mml:mi>v</mml:mi></mml:mrow></mml:mfenced></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mtable class="underset" rowspacing="0.2ex" columnspacing="1em" columnalign="center"><mml:mtr><mml:mtd><mml:mi mathvariant="normal">advection</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="normal">ADV</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:munder></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:munder><mml:mrow><mml:mo>+</mml:mo><mml:munder><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced open="[" close="]"><mml:mrow><mml:mo>-</mml:mo><mml:mi mathvariant="italic">α</mml:mi><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>p</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:mi mathvariant="italic">α</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="italic">η</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><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:mrow></mml:mfenced></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder></mml:mrow><mml:mtable class="underset" columnspacing="1em" rowspacing="0.2ex" columnalign="center"><mml:mtr><mml:mtd><mml:mrow><mml:mi mathvariant="normal">horizontal</mml:mi><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi mathvariant="normal">pressure</mml:mi><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi mathvariant="normal">gradient</mml:mi><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi mathvariant="normal">force</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="normal">PGF</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:munder></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:munder><mml:munder><mml:mrow><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mi>f</mml:mi><mml:mi>U</mml:mi></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mtable class="underset" columnspacing="1em" rowspacing="0.2ex" columnalign="center"><mml:mtr><mml:mtd><mml:mi mathvariant="normal">Coriolis</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="normal">COR</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:munder><mml:munder><mml:munder><mml:mrow><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced close=")" open="("><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi>v</mml:mi><mml:mi>W</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">e</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mtable rowspacing="0.2ex" columnspacing="1em" class="underset" columnalign="center"><mml:mtr><mml:mtd><mml:mi mathvariant="normal">curvature</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="normal">CUV</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:munder><mml:mo>+</mml:mo><mml:munder><mml:munder><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:msub><mml:mi>P</mml:mi><mml:mi>V</mml:mi></mml:msub></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mtable columnspacing="1em" rowspacing="0.2ex" class="underset" columnalign="center"><mml:mtr><mml:mtd><mml:mi mathvariant="normal">remaining</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>(</mml:mo><mml:mi mathvariant="normal">parameterized</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="normal">physics</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:munder><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
          Then, by adding the mass continuity equation in WRF (multiplied by a factor of <inline-formula><mml:math id="M235" display="inline"><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mi>v</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle></mml:math></inline-formula>):
            <disp-formula id="Ch1.Ex5"><mml:math id="M236" display="block"><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mi>v</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced open="[" close="]"><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:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="normal">t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>+</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>⋅</mml:mo><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:mi mathvariant="bold-italic">v</mml:mi></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></disp-formula>
          to the rhs of Eq. (16), we obtain
            <disp-formula id="Ch1.E17" content-type="numbered"><label>17</label><mml:math id="M237" display="block"><mml:mtable class="split" rowspacing="0.2ex" columnspacing="1em" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:munder><mml:munder><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:mi>v</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mrow><mml:mi>V</mml:mi><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi mathvariant="normal">tendency</mml:mi></mml:mrow></mml:munder></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mi>v</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</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:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mi>v</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>⋅</mml:mo><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:mi mathvariant="bold-italic">v</mml:mi></mml:mrow></mml:mfenced><mml:munder><mml:munder><mml:mrow><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>⋅</mml:mo><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:mi mathvariant="bold-italic">v</mml:mi><mml:mi>v</mml:mi></mml:mrow></mml:mfenced></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mtable class="underset" rowspacing="0.2ex" columnspacing="1em" columnalign="center"><mml:mtr><mml:mtd><mml:mi mathvariant="normal">advection</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="normal">ADV</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:munder></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:munder><mml:munder><mml:mrow><mml:mo>+</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced close="]" open="["><mml:mrow><mml:mo>-</mml:mo><mml:mi mathvariant="italic">α</mml:mi><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>p</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:mi mathvariant="italic">α</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="italic">η</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><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:mrow></mml:mfenced></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mtable rowspacing="0.2ex" columnspacing="1em" class="underset" columnalign="center"><mml:mtr><mml:mtd><mml:mrow><mml:mi mathvariant="normal">horizontal</mml:mi><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi mathvariant="normal">pressure</mml:mi><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi mathvariant="normal">gradient</mml:mi><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi mathvariant="normal">force</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="normal">PGF</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:munder><mml:munder><mml:munder><mml:mrow><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mi>f</mml:mi><mml:mi>U</mml:mi></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mtable rowspacing="0.2ex" columnspacing="1em" class="underset" columnalign="center"><mml:mtr><mml:mtd><mml:mi mathvariant="normal">Coriolis</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="normal">COR</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:munder></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:munder><mml:munder><mml:mrow><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced close=")" open="("><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi>v</mml:mi><mml:mi>W</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">e</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mtable class="underset" columnspacing="1em" rowspacing="0.2ex" columnalign="center"><mml:mtr><mml:mtd><mml:mi mathvariant="normal">curvature</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="normal">CUV</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:munder><mml:mo>+</mml:mo><mml:munder><mml:munder><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:msub><mml:mi>P</mml:mi><mml:mi>V</mml:mi></mml:msub></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mtable class="underset" rowspacing="0.2ex" columnspacing="1em" columnalign="center"><mml:mtr><mml:mtd><mml:mi mathvariant="normal">remaining</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mfenced close=")" open="("><mml:mi mathvariant="normal">parameterized</mml:mi></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="normal">physics</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:munder><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
          Moving the first term on the rhs of Eq. (17) to the lhs, the second rhs term can be combined with the flux-form advection using the vector identity <inline-formula><mml:math id="M238" display="inline"><mml:mrow><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>⋅</mml:mo><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:mi mathvariant="bold-italic">v</mml:mi></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:mfenced open="(" close=")"><mml:mrow><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>⋅</mml:mo><mml:mi mathvariant="bold-italic">v</mml:mi></mml:mrow></mml:mfenced><mml:mo>+</mml:mo><mml:mi mathvariant="bold-italic">v</mml:mi><mml:mo>⋅</mml:mo><mml:mo>(</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>. Then, the advective form of the horizontal momentum equation is obtained as</p>
      <p id="d1e6850"><disp-formula id="Ch1.E18" content-type="numbered"><label>18</label><mml:math id="M239" display="block"><mml:mtable columnspacing="1em" rowspacing="0.2ex" class="split" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:munder><mml:munder><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mtable class="underset" columnspacing="1em" rowspacing="0.2ex" columnalign="center"><mml:mtr><mml:mtd><mml:mrow><mml:mi>v</mml:mi><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi mathvariant="normal">tendency</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mi mathvariant="normal">in</mml:mi><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi mathvariant="normal">advective</mml:mi><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi mathvariant="normal">form</mml:mi></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:munder></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mo>=</mml:mo><mml:munder><mml:munder><mml:mrow><mml:mo>-</mml:mo><mml:mi mathvariant="bold-italic">v</mml:mi><mml:mo>⋅</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>v</mml:mi></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mtable rowspacing="0.2ex" columnspacing="1em" class="underset" columnalign="center"><mml:mtr><mml:mtd><mml:mrow><mml:mi mathvariant="normal">advection</mml:mi><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi mathvariant="normal">ADV</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mi mathvariant="normal">in</mml:mi><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi mathvariant="normal">advective</mml:mi><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi mathvariant="normal">form</mml:mi></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:munder></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:munder><mml:munder><mml:mrow><mml:mo>+</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced close="]" open="["><mml:mrow><mml:mo>-</mml:mo><mml:mi mathvariant="italic">α</mml:mi><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>p</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:mi mathvariant="italic">α</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="italic">η</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><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:mrow></mml:mfenced></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mtable class="underset" rowspacing="0.2ex" columnspacing="1em" columnalign="center"><mml:mtr><mml:mtd><mml:mrow><mml:mi mathvariant="normal">horizontal</mml:mi><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi mathvariant="normal">pressure</mml:mi><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi mathvariant="normal">gradient</mml:mi><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi mathvariant="normal">force</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="normal">PGF</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:munder></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:munder><mml:munder><mml:mrow><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mi>f</mml:mi><mml:mi>U</mml:mi></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mtable rowspacing="0.2ex" columnspacing="1em" class="underset" columnalign="center"><mml:mtr><mml:mtd><mml:mi mathvariant="normal">Coriolis</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="normal">COR</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:munder><mml:munder><mml:munder><mml:mrow><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced close=")" open="("><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi>v</mml:mi><mml:mi>W</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">e</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mtable columnspacing="1em" rowspacing="0.2ex" class="underset" columnalign="center"><mml:mtr><mml:mtd><mml:mi mathvariant="normal">curvature</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="normal">CUV</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:munder></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mo>+</mml:mo><mml:munder><mml:munder><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:msub><mml:mi>P</mml:mi><mml:mi>V</mml:mi></mml:msub></mml:mrow><mml:mo mathvariant="normal">︸</mml:mo></mml:munder><mml:mtable class="underset" columnspacing="1em" rowspacing="0.2ex" columnalign="center"><mml:mtr><mml:mtd><mml:mi mathvariant="normal">remaining</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>(</mml:mo><mml:mi mathvariant="normal">parameterized</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="normal">physics</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:munder><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula></p>
<sec id="Ch1.S3.SSx5.SSS2">
  <label>3.2.2</label><title>Results of horizontal momentum budget</title>
      <p id="d1e7156">Table 1 summarizes all the post-processed budget analyses tested in this study. In the present section, we first present the results one by one, and then a qualitative intercomparison among them and the inline retrieval method is discussed. The first post-processed method (POST10min-E) for <inline-formula><mml:math id="M240" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> budget follows all the approaches in the model as closely as possible using the 10 min output data. The flux-form equation, C staggering grids, and the same orders of advection operators as the experimental setup are used. The diagnosis of the large-step forcing is applied directly to the model outputs on <inline-formula><mml:math id="M241" display="inline"><mml:mi mathvariant="italic">η</mml:mi></mml:math></inline-formula> levels using the explicit or forward Euler method as shown in Eq. (14). The diagnosed forcing terms are compared with their corresponding true values from the inline retrieval (Fig. 8). Errors smaller than, but on the same order of <inline-formula><mml:math id="M242" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">4</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M243" display="inline"><mml:mrow><mml:mi mathvariant="normal">m</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> as the <inline-formula><mml:math id="M244" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> tendency, are observed in all terms including the diagnosed tendency term. These errors grow in magnitude and areal coverage with the growth of the disturbance. Aside from COR, the absolute errors in the tendency, ADV and PGF can exceed <inline-formula><mml:math id="M245" display="inline"><mml:mrow><mml:mn mathvariant="normal">6</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">4</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M246" display="inline"><mml:mrow><mml:mi mathvariant="normal">m</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>, the former two of which are more than 50 % of the magnitude of their true (instantaneous) values locally.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F8" specific-use="star"><?xmltex \currentcnt{8}?><label>Figure 8</label><caption><p id="d1e7249">The difference between the post-processed (POST10min-E; with an explicit or forward method on 10 min output) and inline budget analysis for the horizontal momentum, <inline-formula><mml:math id="M247" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula>. All terms have been divided by <inline-formula><mml:math id="M248" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and thus have a uniform unit of meters per second squared. In each row, from left to right indicates the difference for <inline-formula><mml:math id="M249" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> tendency, ADV, PGF, and COR. The rightmost column indicates the residual term obtained in the post-processed budget analysis. Each row from top to bottom shows the results at 6, 12, and 16 h, respectively.</p></caption>
            <?xmltex \igopts{width=398.338583pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/13/1737/2020/gmd-13-1737-2020-f08.png"/>

          </fig>

      <p id="d1e7283">The second post-processed analysis (POST1min-E) is done following the same approach but applied to the 1 min (same as the integration time step for this simulation) output data, and the results show strongly reduced errors in all terms (Fig. 9). The errors that remain are mostly in the PGF term and likely stem from the fact that the small-step modes and the RK3 integration scheme are not considered in the post-processed budget. These inherent errors result in a small residual term with a general order of <inline-formula><mml:math id="M250" display="inline"><mml:mrow><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:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M251" display="inline"><mml:mrow><mml:mi mathvariant="normal">m</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>, 1 to 2 order(s) smaller than the maximum <inline-formula><mml:math id="M252" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> tendency. In terms of local maxima, the 99th percentile magnitude of the residual obtained in POST1min-E gives a relative magnitude of about 7 % of the 99th percentile <inline-formula><mml:math id="M253" display="inline"><mml:mi>v</mml:mi></mml:math></inline-formula> tendency during the peak intensifying stage of the convection at around 15 h (Figs. 2b and 5). Although reducing the model output interval to be close to the integration time step helps to balance the budget without the need for inline diagnoses, it is computationally expensive especially for large, data-intensive simulations.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F9" specific-use="star"><?xmltex \currentcnt{9}?><label>Figure 9</label><caption><p id="d1e7334">Same as Fig. 8, but the post-processed budget analysis is applied to the data with an output time interval of 1 min (POST1min-E).</p></caption>
            <?xmltex \igopts{width=398.338583pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/13/1737/2020/gmd-13-1737-2020-f09.png"/>

          </fig>

      <p id="d1e7343">Given that computational cost is often a major consideration, we also test whether the implicit or backward Euler method (POST10min-I) can improve the estimation of instantaneous forcing terms relative to the explicit method for the same 10 min output data (POST10min-E). POST10min-I follows the same strategy as POST10min-E except that all the rhs terms, following Eq. (13), are diagnosed with the predicted states instead of the previous output states. As depicted in Fig. 10, POST10min-I does indeed better capture the true model estimated forcing values as errors in all the rhs forcing terms diminish greatly to an accuracy similar to POST1min-E. However, as these forcings are calculated at a given instant, the imbalance of the budget would remain if the diagnosed tendency term is not calculated instantaneously (the second column from the right in Fig. 10). Therefore, if budget analysis at an instant of time is desired, we recommend adding the tendency calculation within the model as a standard output and diagnosing the forcing terms implicitly, which yields a residual term on a similar order to the one obtained in POST1min-E (the rightmost column in Fig. 10 and Fig. 5a).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F10" specific-use="star"><?xmltex \currentcnt{10}?><label>Figure 10</label><caption><p id="d1e7348">Same as Fig. 8, but the post-processed rhs terms are diagnosed using the implicit or backward method (POST10min-I) and an extra column is added on the rightmost showing the residual from the true tendency (i.e., the instantaneous value obtained from the model).</p></caption>
            <?xmltex \igopts{width=398.338583pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/13/1737/2020/gmd-13-1737-2020-f10.png"/>

          </fig>

      <p id="d1e7357">For the more common situation, the post-processed analyses diagnose rhs terms using two successive outputs over an output time interval, i.e., taking the averages of the explicitly  and implicitly calculated forcings using Eq. (15) on the 10 min output (POST10min-(E+I)/2). Comparing the averaged rhs forcings with the analogously diagnosed lhs momentum tendency (Eq. 8) gives a small residual to a similar accuracy level as POST1min-E and POST10min-I (the rightmost column in Figs. 11 and 5b).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F11" specific-use="star"><?xmltex \currentcnt{11}?><label>Figure 11</label><caption><p id="d1e7362">Same as Fig. 8, but the forcing terms diagnosed in the post-processed budget analysis are the averages of explicit and implicit methods (POST10min-(E+I)/2). To represent the same time window as the post-processed analysis, the inline budget results used here for the difference calculation are the 10 min averages (corresponding to the output interval) instead of the instantaneous values.</p></caption>
            <?xmltex \igopts{width=398.338583pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/13/1737/2020/gmd-13-1737-2020-f11.png"/>

          </fig>

      <p id="d1e7372">We now investigate the impact of other common simplifications on top of the reference experiment, POST10min-(E+I)/2. The first such simplification is to approximate the flux-form advection term using the second-order operator (Eq. 9) for both vertical and horizontal components (POST2oadv-(E+I)/2) instead of the third- and fifth-order operators as used in the model setup. In our simulation, such inconsistency of advection operators introduced errors in the ADV term with a maximum value <inline-formula><mml:math id="M254" display="inline"><mml:mrow><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">3</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">4</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M255" display="inline"><mml:mrow><mml:mi mathvariant="normal">m</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>, more than 50 % of its true magnitude along the slantwise convective band (Fig. 12). Next, we repeated POST10min-(E+I)/2 but the calculation is applied after all the model output<?pagebreak page1749?> variables have been interpolated to the universal or un-staggered grid (pressure grid) (POSTnonstag-(E+I)/2). This is a common way to post-process model output data for plotting purposes. As mentioned earlier, this approach would reduce the accuracy when solving the spatial differential terms, and indeed, the results do indicate significant errors over a large area in both ADV and PGF (Fig. 13). Their combined errors result in widespread residual values <inline-formula><mml:math id="M256" display="inline"><mml:mrow><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">3</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:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M257" display="inline"><mml:mrow><mml:mi mathvariant="normal">m</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> even over the area where the tendency term is smaller than <inline-formula><mml:math id="M258" display="inline"><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">4</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M259" display="inline"><mml:mrow><mml:mi mathvariant="normal">m</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> (error is at least of 30 % magnitude of the tendency term over a wide area and is reaching 100 % over the band head).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F12" specific-use="star"><?xmltex \currentcnt{12}?><label>Figure 12</label><caption><p id="d1e7487">Same as Fig. 11, but the post-processed analysis uses a second-order operator for advection calculation (POST2oadv-(E+I)/2).</p></caption>
            <?xmltex \igopts{width=384.112205pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/13/1737/2020/gmd-13-1737-2020-f12.png"/>

          </fig>

      <p id="d1e7496">Finally, a different format of the <inline-formula><mml:math id="M260" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> equation, the advective form, is used for post-processed analysis (POSTadvF-(E+I)/2). Mathematically, the flux-from momentum equation can be rewritten in the advective form without making any additional approximation, only with the aid of the conservation law of dry-air mass in the WRF model as shown in Eqs. (16)–(18). However, during the interchange of the expression for the tendency and advection terms, truncation errors may be introduced. We reiterate that the tendency term in the advective form is not equivalent to the one in the flux form divided by <inline-formula><mml:math id="M261" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>; however, calculation suggests that they are approximately equal, i.e.,
              <disp-formula id="Ch1.Ex6"><mml:math id="M262" display="block"><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:mi>v</mml:mi><mml:mo>)</mml:mo></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>v</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:mrow></mml:math></disp-formula>
            with a maximum error that is on the order of <inline-formula><mml:math id="M263" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">7</mml:mn></mml:mrow></mml:msup><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> <inline-formula><mml:math id="M264" display="inline"><mml:mrow><mml:mi mathvariant="normal">m</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> (3 orders of magnitude smaller than the simulated <inline-formula><mml:math id="M265" display="inline"><mml:mi>v</mml:mi></mml:math></inline-formula> tendency) in our study. The summation of the tendency term and advection term in these two forms of the momentum equation should be mathematically identical, so we would expect to see a small difference in the advection term as in the tendency term. However, we find that the advection term in the advective form has a strong positive bias compared to that in the flux form (Fig. 14). The residual term in the POSTadvF-(E+I)/2 is thus negatively biased<?pagebreak page1751?> over the entire convective band with a magnitude exceeding <inline-formula><mml:math id="M266" display="inline"><mml:mrow><mml:mn mathvariant="normal">1.2</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">4</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M267" display="inline"><mml:mrow><mml:mi mathvariant="normal">m</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> (reaching 100 % error near the upper half of the convective band). If the residual is neglected or not shown, authors and/or readers may falsely consider the advection process to be the dominant term governing the evolution of the slantwise updraft.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F13" specific-use="star"><?xmltex \currentcnt{13}?><label>Figure 13</label><caption><p id="d1e7656">Same as Fig. 11, but the post-processed analysis does not consider C staggering grids (POSTnonstag-(E+I)/2).</p></caption>
            <?xmltex \igopts{width=384.112205pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/13/1737/2020/gmd-13-1737-2020-f13.png"/>

          </fig>

      <?xmltex \floatpos{t}?><fig id="Ch1.F14" specific-use="star"><?xmltex \currentcnt{14}?><label>Figure 14</label><caption><p id="d1e7668">Same as Fig. 11, but the post-processed analysis is applied using the advective-form equation (POSTadvF-(E+I)/2).</p></caption>
            <?xmltex \igopts{width=384.112205pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/13/1737/2020/gmd-13-1737-2020-f14.png"/>

          </fig>

      <?xmltex \floatpos{t}?><fig id="Ch1.F15" specific-use="star"><?xmltex \currentcnt{15}?><label>Figure 15</label><caption><p id="d1e7679">The difference between the post-processed (POST1min-E) and the inline budget analysis for vertical momentum <inline-formula><mml:math id="M268" display="inline"><mml:mi>W</mml:mi></mml:math></inline-formula>. All terms have been divided by <inline-formula><mml:math id="M269" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and thus have a uniform unit of meters per second squared. In each row, the subplots from left to right indicate the difference of true <inline-formula><mml:math id="M270" display="inline"><mml:mi>W</mml:mi></mml:math></inline-formula> tendency, ADV, PGFBUOY, and CUV. The rightmost subplot indicates the residual term obtained in the post-processed budget analysis. Each row from top to bottom shows the results at 6, 12, and 16 h, respectively.</p></caption>
            <?xmltex \igopts{width=384.112205pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/13/1737/2020/gmd-13-1737-2020-f15.png"/>

          </fig>

      <p id="d1e7713">A quantitative comparison of the 99th percentile of the magnitude of the residual term in the domain (excluding the boundaries) among different analysis methods is shown in Fig. 5. The residuals between the instantaneously diagnosed forcings and the true model tendency term (calculated inline) are shown in Fig. 5a while the ones between the averaged forcings of two consecutive outputs and the diagnosed tendency term are shown in Fig. 5b. The evolution of the 99th percentile residual shows generally larger magnitudes when the momentum tendency is larger (Fig. 2b), suggesting that these errors may amplify in stronger convection cases. While the post-processed budget analysis in POST1min-E, POST10min-I, and POST10min-(E+I)/2 can achieve a relatively small 99th percentile residual (peak at <inline-formula><mml:math id="M271" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">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">5</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M272" display="inline"><mml:mrow><mml:mi mathvariant="normal">m</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> , or about 7 % of the concurrent 99th percentile <inline-formula><mml:math id="M273" display="inline"><mml:mi>v</mml:mi></mml:math></inline-formula> tendency), the inline budget analysis always gives a much smaller magnitude (<inline-formula><mml:math id="M274" display="inline"><mml:mrow><mml:mo>&lt;</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> <inline-formula><mml:math id="M275" display="inline"><mml:mrow><mml:mi mathvariant="normal">m</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>, or 0.001 % of the tendency, during the entire simulation). Figure 5 also shows that any simplification that is inconsistent with the model solver can severely degrade the accuracy of the post-processed budget analysis. Both POSTnonstag-(E+I)/2 and POSTadvF-(E+I)/2 can lead to a 99th percentile of the residual magnitude peaking at around <inline-formula><mml:math id="M276" display="inline"><mml:mrow><mml:mn mathvariant="normal">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">4</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M277" display="inline"><mml:mrow><mml:mi mathvariant="normal">m</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> or more, which corresponds to <inline-formula><mml:math id="M278" display="inline"><mml:mrow><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">50</mml:mn></mml:mrow></mml:math></inline-formula> % of their concurrent 99th percentile simulated <inline-formula><mml:math id="M279" display="inline"><mml:mi>v</mml:mi></mml:math></inline-formula> tendency, respectively. Generally, a higher relative magnitude of residual to <inline-formula><mml:math id="M280" display="inline"><mml:mi>v</mml:mi></mml:math></inline-formula> tendency is reached if the maximum instead of the 99th percentile is examined (despite larger fluctuation with time). We also examined the 95th percentile of the residual magnitude and obtained qualitatively similar results although the relative magnitudes of such chosen residuals among the three post-processing methods with simplifications (POST2oadv-(E+I)/2, POSTnonstag-(E+I)/2, and POSTadvF-(E+I)/2) vary due to their different error distributions.</p>
</sec>
<sec id="Ch1.S3.SSx5.SSS3">
  <label>3.2.3</label><title>Results of vertical momentum budget</title>
      <p id="d1e7861">For the <inline-formula><mml:math id="M281" display="inline"><mml:mi>W</mml:mi></mml:math></inline-formula> equation, the closure of the post-processed budget appears not to be practicable even when the output time interval is reduced to the integration time step (Fig. 15). One partial reason is that the spatially noisy small-step modes, neglected in the offline budget analysis, are surprisingly large with a general order of <inline-formula><mml:math id="M282" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">4</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M283" display="inline"><mml:mrow><mml:mi mathvariant="normal">m</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> over the growing band, which is 1 order of magnitude larger than the <inline-formula><mml:math id="M284" display="inline"><mml:mi>W</mml:mi></mml:math></inline-formula> tendency (see the blue and red contours overlapped on the residual subplots in Fig. 4). These high-frequency modes not only include vertically propagating sound waves but also some gravity wave modes (Klemp et al., 2007). Furthermore, as indicated in Eq. (6) and mentioned in Sect. 3.1, the <inline-formula><mml:math id="M285" display="inline"><mml:mi>W</mml:mi></mml:math></inline-formula> equation solved in the WRF model is implicit, coupled with geopotential tendency equation and includes a forward-in-time averaging operator that is applied to the small-step modes:
              <disp-formula id="Ch1.Ex7"><mml:math id="M286" display="block"><mml:mrow><mml:msup><mml:mover accent="true"><mml:mrow><mml:mo>(</mml:mo><mml:mi mathvariant="normal">ACOUS</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mi mathvariant="italic">τ</mml:mi></mml:msup><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>+</mml:mo><mml:mi mathvariant="italic">β</mml:mi></mml:mrow><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:mo>(</mml:mo><mml:mi mathvariant="normal">ACOUS</mml:mi><mml:msup><mml:mo>)</mml:mo><mml:mrow><mml:mi mathvariant="italic">τ</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi mathvariant="italic">τ</mml:mi></mml:mrow></mml:msup><mml:mo>+</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>-</mml:mo><mml:mi mathvariant="italic">β</mml:mi></mml:mrow><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:mo>(</mml:mo><mml:mi mathvariant="normal">ACOUS</mml:mi><mml:msup><mml:mo>)</mml:mo><mml:mi mathvariant="italic">τ</mml:mi></mml:msup><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
            where <inline-formula><mml:math id="M287" display="inline"><mml:mi mathvariant="italic">β</mml:mi></mml:math></inline-formula> is a user-specified parameter and <inline-formula><mml:math id="M288" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi mathvariant="italic">τ</mml:mi></mml:mrow></mml:math></inline-formula> indicates the small time step in the acoustic scheme. This means that the small-step modes at a current small step, <inline-formula><mml:math id="M289" display="inline"><mml:mrow><mml:msup><mml:mover accent="true"><mml:mrow><mml:mo>(</mml:mo><mml:mi mathvariant="normal">ACOUS</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mi mathvariant="italic">τ</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula>, are calculated using information (e.g., geopotential, potential temperature and density) at the forecast time <inline-formula><mml:math id="M290" display="inline"><mml:mrow><mml:mi mathvariant="italic">τ</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi mathvariant="italic">τ</mml:mi></mml:mrow></mml:math></inline-formula> (see Eq. 3.11<?pagebreak page1752?> and 3.12 in Skamarock et al., 2008). All these components are not feasible for an offline budget calculation.</p>
      <p id="d1e8040">The application of POST1min-E for the <inline-formula><mml:math id="M291" display="inline"><mml:mi>W</mml:mi></mml:math></inline-formula> tendency shows that this method accurately estimates most of the processes, but large errors <inline-formula><mml:math id="M292" display="inline"><mml:mrow><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">2</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:math></inline-formula> <inline-formula><mml:math id="M293" display="inline"><mml:mrow><mml:mi mathvariant="normal">m</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> remain in the PGFBUOY term resulting in a widespread residual that reaches the same magnitude of the peak <inline-formula><mml:math id="M294" display="inline"><mml:mi>W</mml:mi></mml:math></inline-formula> tendency term (Fig. 15). The fact that these errors exceed the small-step modes (contributing to PGFBUOY) suggests that such imbalance does not solely come from the neglect of the small-step modes. A close comparison of the post-processed and the inline PGFBUOY shows that our estimation is close to the inline value to an accuracy of at least three significant figures at the first RK3 step before the acoustic contribution is considered (not shown). However, this large-step forcing term adjusts rapidly, sometime even with a sign change, from step to step within the RK3 integration. Although it is feasible to estimate <inline-formula><mml:math id="M295" display="inline"><mml:mrow><mml:mi>F</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi mathvariant="normal">Φ</mml:mi><mml:mi>t</mml:mi></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> via post-processing, it is however impossible to retrieve <inline-formula><mml:math id="M296" display="inline"><mml:mrow><mml:mi>F</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:msup><mml:mi mathvariant="normal">Φ</mml:mi><mml:mrow><mml:mo>*</mml:mo><mml:mo>*</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula> in Eq. (4), leading to the poor estimation of vertical pressure gradient and buoyancy force in the <inline-formula><mml:math id="M297" display="inline"><mml:mi>W</mml:mi></mml:math></inline-formula> budget. This result also suggests that the budget closure for vertical velocity is difficult by nature due to its rapid variation on small scales.</p>
</sec>
</sec>
</sec>
<?pagebreak page1753?><sec id="Ch1.S4">
  <label>4</label><title>Tests on different cases or with different horizontal resolutions</title>
      <p id="d1e8148">The growth of the residual as the convection intensifies (Fig. 5) motivates a test for a different case with stronger momentum tendencies. A WRF idealized 2D squall line test case (em_squall2d_y; Skamarock et al., 2008) is selected with a horizontal resolution of 250 m and 3 s integration time step, and the simulation is integrated for 1 h. A subgrid turbulence scheme based on the prognostic turbulent kinetic energy equation is activated (diff_opt=2 and km_opt=2; Skamarock et al., 2008, chap. 4.2.4). The simulated <inline-formula><mml:math id="M298" display="inline"><mml:mi>v</mml:mi></mml:math></inline-formula> tendency in this case is 2 orders of magnitude stronger than the one in the slantwise convection case. The inline retrieval budget tool works well with 99th percentile residuals generally 2 orders smaller than the tendency terms in the domain during this simulation. However, as compared to the slantwise convection case, this case features a larger relative magnitude of 99th percentile residual to the 99th percentile tendency term of about 0.1 %. Furthermore, the post-processed budget analysis applied to the output data with an output interval the same as the integration time step (analogous to POST1min-E but in this case, it is termed POST3sec-E; Fig. 16), with no simplification made, does not work as well as in the slantwise convection case. POST3sec-E shows that the largest error appears in the PGF term with a magnitude of 50 % of its true value at a given instant. The error in diffusion only accounts for about 10 % of the error at the same time. One possible reason is that unlike the case of slantwise convection where the PGF exhibits a horizontally rather uniform structure with almost the same sign (Fig. 3), the PGF term in this case has a more complex spatial structure with several sign changes over a horizontal distance of 10–15 km. Thus, large errors appear at the edge of these positive or negative patches where the sign changes. Despite the small spatial scales of these errors, the large error magnitude would render accurate interpretation of the physical process difficult based on such post-processed budget analysis. This result suggests that the post-processed budgets, even when done with care, do not always work well, and that the associated residual or errors might be sensitive to the intensity of the simulated system, the spatial or temporal resolution, and the nature of the physical processes governing the different systems.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F16" specific-use="star"><?xmltex \currentcnt{16}?><label>Figure 16</label><caption><p id="d1e8160">Upper row shows the inline budget analysis of horizontal momentum, <inline-formula><mml:math id="M299" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula>, for the WRF ideal test case of 2D squall line at 20 min of simulation time. Shading in subplots from left to right represents the term of <inline-formula><mml:math id="M300" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> tendency, advection (ADV), horizontal pressure gradient force (PGF), diffusion, and residual (multiplied by 10 to emphasize its small magnitude as compared to the other terms). All terms are divided by <inline-formula><mml:math id="M301" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and thus have units of meters per second squared. The black contours show the velocity, <inline-formula><mml:math id="M302" display="inline"><mml:mi>v</mml:mi></mml:math></inline-formula>, with an interval of <inline-formula><mml:math id="M303" display="inline"><mml:mrow><mml:mn mathvariant="normal">6</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">m</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>. The bottom row shows the difference between the post-processed (POST3sec-E) and the inline budget analysis.</p></caption>
        <?xmltex \igopts{width=398.338583pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/13/1737/2020/gmd-13-1737-2020-f16.png"/>

      </fig>

      <p id="d1e8221">While an increase in spatial resolution often requires a shorter integration time step for numerical stability and may result in stronger simulated convection, it is almost impossible to separate all these factors. We can, however, conduct the same slantwise convection simulation with a higher resolution of 2 km (and a shorter integration time step of 10 s) to exclude the effect of different physical processes in different systems and discuss the changes in the accuracy of the budget analysis when spatial resolution is increased from 10 km. As shown in Fig. 2b, in the 2 km simulation the maximum of the simulated 99th percentile <inline-formula><mml:math id="M304" display="inline"><mml:mi>v</mml:mi></mml:math></inline-formula> tendency is <inline-formula><mml:math id="M305" display="inline"><mml:mrow><mml:mn mathvariant="normal">1.2</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:math></inline-formula> <inline-formula><mml:math id="M306" display="inline"><mml:mrow><mml:mi mathvariant="normal">m</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>, almost twice the magnitude in the 10 km run. The magnitude of the residual from the inline budget analysis also becomes larger with the 99th percentile value almost 1 order larger than that in the 10 km simulation (Fig. 5). However, its relative magnitude is still small and amounts to about 0.005 % of the tendency in the 2 km case. For the<?pagebreak page1754?> post-processed budget analysis applied to the 2 km simulation, the 99th percentile residual with the instantaneous calculation of POST10min-I-2km appears only slightly larger yet sometimes smaller than those in its 10 km case (Fig. 5a). For the method using two model outputs for both diagnosed tendency and forcing terms, the peak 99th percentile residual in POST10min-(E+I)/2-2km is about 4 times larger than that in its 10 km counterpart (POST10min-(E+I)/2). This is likely due to the larger deviation caused by the longer diagnosed window (10 min) with respect to the integration time step (10 s) in the 2 km case. In addition, it appears that the simulated fields adjust more rapidly with more complex structures on smaller scales in the 2 km simulation as compared to the 10 km simulation (not shown). If the same analysis is performed using the 1 min output (POST1min-(E+I)/2-2km) as opposed to the 10 min output, the residual can be greatly reduced to be similar to that obtained in POST10min-(E+I)/2 (Fig. 5b).</p>
      <p id="d1e8267">The results presented above suggest that the relative magnitude of errors in budget analysis vary with different systems or cases. Furthermore, while the absolute errors in the inline momentum budget analyses do indeed increase with increasing horizontal resolution, the relative magnitude with respect to the simulated tendency does not increase substantially. The accuracy of the post-processed budget analysis using the averages of two consecutive model outputs is highly dependent on the ratio of the output interval and the integration time step. A ratio of 10 as used in the POST10min-(E+I)/2 results in an acceptable accuracy (99th percentile residual of about 7 % of the tendency), while a lower value of 6 is required for high-resolution simulations (e.g., the 2 km case) to reach a similar accuracy. For cases with a more complex physical process like the squall line test case, the inline budget retrieval appears necessary for adequate budget closure.</p>
</sec>
<sec id="Ch1.S5" sec-type="conclusions">
  <label>5</label><title>Discussion and summary</title>
      <p id="d1e8278">Budget analysis is a commonly employed tool in numerical studies to understand the underlying mechanisms for certain simulated features of interest. However, many studies still have difficulties in achieving a balanced or closed budget especially when a full-physics model is used and when the budget is calculated instantaneously over a local area. Aside from the complexity of various (some implicit) parameterization schemes, the main challenge in closing the budget involves the analysis of post-processed data using algorithms that are inconsistent with the model solver. In this study, an inline momentum budget retrieval tool is developed for the WRF model, and its advantages for momentum budget analysis are demonstrated. The 99th percentile residual obtained from this inline retrieval is always smaller than or about 0.1 % of the actual tendency term in all the tested cases, which include idealized, 2D simulations of slantwise convection and squall lines. Taking the results from the<?pagebreak page1755?> inline retrieval as “truth”, we investigate the potential errors in each term and the resultant residual for post-processed budget analyses under different assumptions.</p>
      <p id="d1e8281">The comparison among different post-processed diagnoses is focused on the horizontal momentum (<inline-formula><mml:math id="M307" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula>) budget. The reason is that post-processed vertical momentum (<inline-formula><mml:math id="M308" display="inline"><mml:mi>W</mml:mi></mml:math></inline-formula>) budget analysis fails to produce reasonably accurate results due to the noisy vertical pressure gradient and buoyancy forces that are tied closely to the small time-step modes and the implicit scheme used for the vertical momentum integration. Thus, inline retrieval is necessary for an accurate <inline-formula><mml:math id="M309" display="inline"><mml:mi>W</mml:mi></mml:math></inline-formula> budget analysis. The errors in the post-processed <inline-formula><mml:math id="M310" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> budget arise from both the left-hand-side tendency term and the right-hand-side (rhs) forcing terms. To improve the accuracy of the diagnosed momentum tendency estimation, one can reduce the output interval to the model integration time step, which incurs a large computational cost and consumes a large amount of disk space. An alternative and cheaper solution is to add the tendency calculation within the model as a standard output. Our test case of slantwise convection shows that the diagnosed tendency using two successive model outputs with a 10 min interval to approximate the instantaneous true tendency (with an integration time step of 1 min) could create an error exceeding 50 %, which greatly limits the effectiveness of such a budget for physical interpretation.</p>
      <p id="d1e8312">For the rhs forcing terms in the <inline-formula><mml:math id="M311" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> equation, errors can be limited if the post-diagnosis is done with care using the same form of the model equation, the same spatial discretization, and the same order of the advection operators and performing the calculation on the original (e.g., C staggering and vertically stretched) model grids. However, these steps are necessary but not necessarily sufficient for the closure of the budget, as the forcing term diagnosis also largely depends on the selected input states. If the budget at an instant of time is desired, the explicit or forward Euler method using the previous states might result in large and widespread errors in the advection and horizontal pressure gradient terms (local peak errors are about 50 % and 25 % of their true values in our simulation, POST10min-E) unless the output interval is reduced to the integration time step. In the latter case (POST1min-E), an error <inline-formula><mml:math id="M312" display="inline"><mml:mrow><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">5</mml:mn></mml:mrow></mml:math></inline-formula> % for each individual term and a residual generally 1 to 2 order(s) smaller than the maximum tendency can be achieved (the 99th percentile residual is about 7 % of the 99th percentile <inline-formula><mml:math id="M313" display="inline"><mml:mi>v</mml:mi></mml:math></inline-formula> tendency). An alternative way to reach a similar level of accuracy for instantaneous fields without compromising the computational cost is to diagnose the rhs forcings using the implicit or backward Euler method (POST1min-I). This method diagnoses the forcings using the predicted states and thus can better capture the true model forcings by using inputs at a closer time to the model integration window.</p>
      <p id="d1e8339">Instead of performing the calculation using model output at one given instant, a more general post-processed budget analysis can use two successive model outputs (POST10min-(E+I)/2). This method seems to work well with the 99th percentile residual being about 7 % of the 99th percentile <inline-formula><mml:math id="M314" display="inline"><mml:mi>v</mml:mi></mml:math></inline-formula> tendency in our 10 km slantwise convection case with 10 min output intervals. However, the accuracy of this method varies among the test cases of different systems and is sensitive to the ratio of the output interval to the integration time step. Among the tests conducted in this study, an upper limit of 10 for this ratio is suggested, and it should be even smaller for high-resolution simulations of high-amplitude weather systems, as rapid adjustments occur on the small scales.</p>
      <p id="d1e8350">Three other common assumptions in post-processing analysis are made on top of the POST10min-(E+I)/2 to examine their potential impacts on the accuracy of the horizontal momentum budget analysis. First, utilizing an advection operator with a lower order than the one used in the model setup degrades the accuracy of the advection term with up to 50 % error over the area where the advection is the strongest (POST2oadv-(E+I)/2). Second, the neglect of the staggering grids would negatively impact the estimation of all the spatial differential terms, leading to a widespread residual of at least 30 % of the local tendency (POSTnonstag-(E+I)/2). Last, when the advective form of the momentum equation is used for post-diagnosis rather than the flux form, although it is mathematically equivalent to the flux form solved in the model solver, a strong negatively biased residual results (POSTadvF-(E+I)/2). Both POSTnonstag-(E+I)/2 and POSTadvF-(E+I)/2 give a peak 99th percentile residual of about <inline-formula><mml:math id="M315" display="inline"><mml:mrow><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">50</mml:mn></mml:mrow></mml:math></inline-formula> % of the concurrent 99th percentile of the <inline-formula><mml:math id="M316" display="inline"><mml:mi>v</mml:mi></mml:math></inline-formula> tendency. All the above errors do not just appear randomly; rather, they are spread over the area where the dynamics are the most active, thus undermining the physical interpretation of the dynamics of the simulated system. We thus emphasize the importance of revealing the magnitude of the residual (relative to the tendency term) in publications on budget analysis, to enable readers to gauge the validity of the results.</p>
      <p id="d1e8370">While the post-processed <inline-formula><mml:math id="M317" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> budget analysis can reach an acceptable accuracy in some cases, the resultant residual may vary from case to case even when the same analysis method is adopted. Our test of an idealized squall line case with strong momentum tendencies shows that the application of the post-processed budget analysis method without any simplification using the 3 s (same as the model integration time step) output data nevertheless results in a large relative error magnitude (<inline-formula><mml:math id="M318" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">50</mml:mn></mml:mrow></mml:math></inline-formula> %) in the horizontal pressure gradient force, with very small-scale error structures.</p>
      <p id="d1e8390">In summary, different assumptions or simplifications made in a post-processed budget analysis may severely impact the estimation of each forcing term and result in a large imbalance of the budget. Based on our experiments, we conclude that the inline retrieval method like that developed herein is the most reliable one for budget analysis in numerical studies. While the budget analyses shown in this study are only for <inline-formula><mml:math id="M319" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M320" display="inline"><mml:mi>W</mml:mi></mml:math></inline-formula> momentum under the 2D idealized configurations, this newly developed budget tool also retrieves budget terms for <inline-formula><mml:math id="M321" display="inline"><mml:mi>U</mml:mi></mml:math></inline-formula> momentum and potential temperature. It can be applied to 3D idealized and real cases as the map projection<?pagebreak page1756?> is also considered, following the original governing equations as shown in Skamarock et al.’s (2008) Eq. (2.23)–(2.25) with map factors, which are equal to 1 for an idealized setup on the Cartesian coordinate. We also stress that in some budget studies where a coordinate transformation is necessary (e.g., from Cartesian to polar), some errors are unavoidable. In such cases, it is best to perform the budget calculation using the inline retrieval method on the model grid and then transform the budget to a new coordinate (e.g., Zhang et al., 2000). Finally, in situations where the inline coding cannot be done, this study also provides general guidance to minimize the error in the budget. Thus, our results are beneficial to budget analyses in numerical studies in general and are not limited to the WRF model.</p><?xmltex \hack{\clearpage}?>
</sec>

      
      </body>
    <back><app-group>

<?pagebreak page1757?><app id="App1.Ch1.S1">
  <?xmltex \currentcnt{A}?><label>Appendix A</label><title/>
      <p id="d1e8425">To our knowledge, there are at least three other similar inline budget retrieval works that have been done in the WRF model:
<list list-type="order"><list-item>
      <p id="d1e8430">Lehner (2012) applied to v3.2.1:</p>
      <p id="d1e8433">Lehner (2012) provides a very detailed instruction of how an inline budget retrieval is done for the WRF model. The method or code was utilized in Lehner and Whiteman (2014) to study the mechanisms of the thermally driven cross-basin circulation. However, the code was never made publicly available. From the document, it appears that Lehner's (2012) general procedure of retrieving the rhs budget terms during the model integration is essentially the same as our approach, which considers both the large time-step and the small or acoustic time-step contributions. Furthermore, the individual contribution from different parameterization schemes that are activated in her study was also separately retrieved. While the general method appears highly similar to our code, the momentum budget retrieval in Lehner (2012) only applies to the horizontal momentum (<inline-formula><mml:math id="M322" display="inline"><mml:mi>U</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M323" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula>) whereas our tool includes the budget retrieval for the vertical momentum (<inline-formula><mml:math id="M324" display="inline"><mml:mi>W</mml:mi></mml:math></inline-formula>) as well.</p></list-item><list-item>
      <p id="d1e8458">Moisseeva (2014) and Moisseeva and Steyn (2014) with v3.4.1:</p>
      <p id="d1e8461">The code is publicly available. The developed budget retrieval is also for the horizontal momentum equations only. The method is simpler than Lehner (2012) as it does not include the acoustic or small-step correction terms. Furthermore, while the large time-step, non-parameterized terms (e.g., pressure gradient terms, advection, Coriolis terms) are individually retrieved, their modified registry file only outputs one (summarized) term for all the parameterized physics.</p></list-item><list-item>
      <p id="d1e8465">Potter et al. (2018) with v3.8.1:</p>
      <p id="d1e8468">The code is publicly available. This budget retrieval uses the code adapted from Moisseeva (2014), taking references from Lehner (2012), and is applied to the same version of the WRF model as used in this study (v3.8.1). More components are added from the version used in Moisseeva (2014), including the potential temperature budget, vertical velocity budget, the sixth-order diffusion term, the parameterized physics term decomposed to boundary layer, and radiation schemes. A major difference from our retrieval tools exists in that the small-step components are neglected in Potter et al. (2018). Comparing the budget analysis results using our retrieval tool with those using theirs for the same idealized test case of the 2D squall line, the largest differences appear in terms that involve the small-step contributions (e.g., PGF and PGFBUOY), which result in larger residual terms with Potter et al.'s (2018) retrieval method (not shown). While the relative magnitudes of such residuals to the tendency term still appear small for the horizontal momentum budget, they become larger for the vertical momentum budget. This is consistent with our result that the small-step modes are more important in the <inline-formula><mml:math id="M325" display="inline"><mml:mi>W</mml:mi></mml:math></inline-formula> budget equation than in the <inline-formula><mml:math id="M326" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> budget equation, and thus ignoring them results in larger errors.</p></list-item></list>
Furthermore, calculations of the lhs tendency terms are added as new variables in our tool while the tendency terms used in the above studies are the model variables  ru_tend,  rv_tend,  rw_tend, etc., which only represent the summation of all the large-step forcings to their corresponding fields (can be directly outputted via changing the WRF registry file) instead of their true local changes with time.</p>
</app>

<app id="App1.Ch1.S2">
  <?xmltex \currentcnt{B}?><label>Appendix B</label><title/>
      <p id="d1e8493">To construct an initial condition that contains conditional symmetric instability (CSI) but to avoid dry symmetric instability and dry and conditional (gravitational) instability is a challenging task (Persson and Warner, 1995). Therefore, the initial profile in our test case is decided by a trial-and-error method and follows the following steps.
<list list-type="order"><list-item>
      <p id="d1e8498">We first prescribe a horizontally uniform Brunt–Väisäilä frequency, <inline-formula><mml:math id="M327" display="inline"><mml:mrow><mml:msup><mml:mi>N</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>=</mml:mo><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mi>g</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mo>∂</mml:mo><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>z</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:math></inline-formula> with a vertical profile of<disp-formula id="App1.Ch1.S2.E19" content-type="numbered"><label>B1</label><mml:math id="M328" display="block"><mml:mrow><?xmltex \hack{\hbox\bgroup\fontsize{8.8}{8.8}\selectfont$\displaystyle}?><mml:mfenced close="" open="{"><mml:mrow><mml:msup><mml:mi>N</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>=</mml:mo><mml:mtable class="array" columnalign="center"><mml:mtr><mml:mtd><mml:mrow><mml:mn mathvariant="normal">1.25</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">4</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mn mathvariant="normal">9</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:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mn mathvariant="normal">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">4</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi mathvariant="normal">for</mml:mi><mml:mspace linebreak="nobreak" width="0.33em"/><mml:mtable class="array" columnalign="center"><mml:mtr><mml:mtd><mml:mrow><mml:mi>z</mml:mi><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">0.5</mml:mn><mml:mspace linebreak="nobreak" width="0.33em"/><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mn mathvariant="normal">5</mml:mn><mml:mspace width="0.33em" linebreak="nobreak"/><mml:mi mathvariant="normal">km</mml:mi><mml:mo>≤</mml:mo><mml:mi>z</mml:mi><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">10.5</mml:mn><mml:mspace linebreak="nobreak" width="0.33em"/><mml:mi mathvariant="normal">km</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mi>z</mml:mi><mml:mo>≥</mml:mo><mml:mn mathvariant="normal">13.5</mml:mn><mml:mspace width="0.33em" linebreak="nobreak"/><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mfenced><?xmltex \hack{$\egroup}?></mml:mrow></mml:math></disp-formula>where <inline-formula><mml:math id="M329" display="inline"><mml:mi>z</mml:mi></mml:math></inline-formula> is the height and there is a linear transition for the layers <inline-formula><mml:math id="M330" display="inline"><mml:mrow><mml:mn mathvariant="normal">0.5</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">km</mml:mi><mml:mo>≤</mml:mo><mml:mi>z</mml:mi><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">5</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M331" display="inline"><mml:mrow><mml:mn mathvariant="normal">10.5</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="normal">km</mml:mi><mml:mo>≤</mml:mo><mml:mi>z</mml:mi><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">13.5</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> using the specified values beneath and above the layers.</p></list-item><list-item>
      <p id="d1e8713">A constant geostrophic vertical zonal wind shear is given: <inline-formula><mml:math id="M332" display="inline"><mml:mrow><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mo>∂</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mi mathvariant="normal">g</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="normal">z</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>=</mml:mo><mml:mn mathvariant="normal">5.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:math></inline-formula> <inline-formula><mml:math id="M333" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>. Thermal wind balance gives<disp-formula id="App1.Ch1.S2.E20" content-type="numbered"><label>B2</label><mml:math id="M334" display="block"><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:msub><mml:mi>U</mml:mi><mml:mi mathvariant="normal">g</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="normal">z</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:mi>g</mml:mi><mml:mrow><mml:mi>f</mml:mi><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mi mathvariant="normal">v</mml:mi></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:mrow></mml:math></disp-formula></p></list-item><list-item>
      <p id="d1e8819">Based on Eqs. (B1) and (B2), we can specify the value of <inline-formula><mml:math id="M335" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> at any point and then derive the <inline-formula><mml:math id="M336" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> for the entire domain. In this case, <inline-formula><mml:math id="M337" display="inline"><mml:mrow><mml:mspace width="0.33em" linebreak="nobreak"/><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>z</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:mn mathvariant="normal">287.5</mml:mn></mml:mrow></mml:math></inline-formula> K, where <inline-formula><mml:math id="M338" display="inline"><mml:mrow><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>z</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula> indicates the grid at the surface on the southern boundary.</p></list-item><list-item>
      <p id="d1e8895">The relative humidity (RH) field is constructed by specifying a horizontally uniform background profile (<inline-formula><mml:math id="M339" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="normal">RH</mml:mi><mml:mi mathvariant="normal">background</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) with some enhancement (<inline-formula><mml:math id="M340" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="normal">RH</mml:mi><mml:mi mathvariant="normal">bubble</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) over an elliptical area where the initial perturbation will be<?pagebreak page1758?> later added. The enhanced humidity over a limited area hastens the release of CSI and avoids convection developing near the southern boundary.<disp-formula id="App1.Ch1.S2.Ex1"><mml:math id="M341" display="block"><mml:mrow><mml:msub><mml:mi mathvariant="normal">RH</mml:mi><mml:mi mathvariant="normal">background</mml:mi></mml:msub><mml:mfenced close=")" open="("><mml:mi>z</mml:mi></mml:mfenced><mml:mo>=</mml:mo><mml:mfenced open="{" close=""><mml:mtable class="cases" columnspacing="1em" rowspacing="0.2ex" columnalign="left" framespacing="0em"><mml:mtr><mml:mtd><mml:mn mathvariant="normal">0.81</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>min⁡</mml:mo><mml:mfenced close="]" open="["><mml:mrow><mml:mn mathvariant="normal">0.81</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.9</mml:mn><mml:msup><mml:mfenced open="(" close=")"><mml:mstyle displaystyle="false"><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mi>z</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">5</mml:mn></mml:mrow><mml:mn mathvariant="normal">7.5</mml:mn></mml:mfrac></mml:mstyle></mml:mstyle></mml:mfenced><mml:mn mathvariant="normal">0.8</mml:mn></mml:msup></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn mathvariant="normal">0.1</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mfenced></mml:mrow></mml:math></disp-formula><disp-formula id="App1.Ch1.S2.Ex2"><mml:math id="M342" display="block"><mml:mrow><mml:mi mathvariant="normal">for</mml:mi><mml:mspace width="0.33em" linebreak="nobreak"/><mml:mtable class="array" columnalign="center"><mml:mtr><mml:mtd><mml:mrow><mml:mi>z</mml:mi><mml:mo>≤</mml:mo><mml:mn mathvariant="normal">5</mml:mn><mml:mspace linebreak="nobreak" width="0.33em"/><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mn mathvariant="normal">5</mml:mn><mml:mspace width="0.33em" linebreak="nobreak"/><mml:mi mathvariant="normal">km</mml:mi><mml:mo>&lt;</mml:mo><mml:mi>z</mml:mi><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">12.5</mml:mn><mml:mspace linebreak="nobreak" width="0.33em"/><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mi>z</mml:mi><mml:mo>≥</mml:mo><mml:mn mathvariant="normal">12.5</mml:mn><mml:mspace linebreak="nobreak" width="0.33em"/><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula><disp-formula id="App1.Ch1.S2.Ex3"><mml:math id="M343" display="block"><mml:mrow><mml:msub><mml:mi mathvariant="normal">RH</mml:mi><mml:mi mathvariant="normal">bubble</mml:mi></mml:msub><mml:mfenced open="(" close=")"><mml:mrow><mml:mi>y</mml:mi><mml:mo>,</mml:mo><mml:mi>z</mml:mi></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="normal">RH</mml:mi><mml:mi mathvariant="normal">background</mml:mi></mml:msub><mml:mfenced close=")" open="("><mml:mi>z</mml:mi></mml:mfenced><mml:mo>×</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">enhancement</mml:mi></mml:msub><mml:mfenced open="(" close=")"><mml:mrow><mml:mi>y</mml:mi><mml:mo>,</mml:mo><mml:mi>z</mml:mi></mml:mrow></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>where<disp-formula id="App1.Ch1.S2.Ex4"><mml:math id="M344" display="block"><mml:mtable columnspacing="1em" rowspacing="0.2ex" class="split" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">enhancement</mml:mi></mml:msub><mml:mfenced open="(" close=")"><mml:mrow><mml:mi>y</mml:mi><mml:mo>,</mml:mo><mml:mi>z</mml:mi></mml:mrow></mml:mfenced><mml:mo>=</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mfenced open="{" close=""><mml:mtable columnspacing="1em" rowspacing="0.2ex" class="cases" columnalign="left" framespacing="0em"><mml:mtr><mml:mtd><mml:mn mathvariant="normal">1.22</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mn mathvariant="normal">1.22</mml:mn><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.11</mml:mn><mml:mfenced close=")" open="("><mml:mrow><mml:mi>e</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn mathvariant="normal">1</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mspace linebreak="nobreak" width="0.33em"/><mml:mi mathvariant="normal">for</mml:mi><mml:mspace linebreak="nobreak" width="0.33em"/><mml:mtable class="array" columnalign="center"><mml:mtr><mml:mtd><mml:mrow><mml:mi>e</mml:mi><mml:mo>≤</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>&lt;</mml:mo><mml:mi>e</mml:mi><mml:mo>≤</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mi>e</mml:mi><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>where <inline-formula><mml:math id="M345" display="inline"><mml:mrow><mml:mi>e</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mfenced open="(" close=")"><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mi>y</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">410</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mi>e</mml:mi><mml:mi mathvariant="normal">b</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>+</mml:mo><mml:msup><mml:mfenced open="(" close=")"><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mi>z</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mi>e</mml:mi><mml:mi mathvariant="normal">a</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M346" display="inline"><mml:mrow><mml:msub><mml:mi>e</mml:mi><mml:mi mathvariant="normal">b</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">100</mml:mn><mml:mo>,</mml:mo><mml:msub><mml:mi>e</mml:mi><mml:mi mathvariant="normal">a</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:math></inline-formula>, and <inline-formula><mml:math id="M347" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M348" display="inline"><mml:mi>z</mml:mi></mml:math></inline-formula> are the horizontal distance from the southern boundary and height, respectively, with units of kilometers. The constructed initial profile has a maximum RH of 98.82 % over an elliptical area centered at <inline-formula><mml:math id="M349" display="inline"><mml:mrow><mml:mi>y</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">410</mml:mn></mml:mrow></mml:math></inline-formula> km and <inline-formula><mml:math id="M350" display="inline"><mml:mrow><mml:mi>z</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> km.</p></list-item><list-item>
      <p id="d1e9288">A constant surface pressure is specified: <inline-formula><mml:math id="M351" display="inline"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mi mathvariant="normal">sfc</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1000</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M352" display="inline"><mml:mi mathvariant="normal">hPa</mml:mi></mml:math></inline-formula>.</p></list-item><list-item>
      <p id="d1e9314">We then iteratively solve for the hydrostatically balanced pressure, water vapor mixing ratio, potential temperature, dry and full (moist) air density, and geostrophic zonal wind for the entire domain.</p></list-item></list>
The constructed initial environment contains some CSI, which is identified by the presence of negative saturated geostrophic potential vorticity (Chen et al., 2018). In this test case, CSI only exists over the southern half of the domain and never extends higher than 5 km.</p>
      <p id="d1e9318">To initiate convection, a 2D bubble of potential temperature and zonal wind perturbations is inserted in the area where RH is maximized and where the saturated geostrophic potential vorticity has a value of about <inline-formula><mml:math id="M353" display="inline"><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.2</mml:mn><mml:mo>∼</mml:mo><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.1</mml:mn></mml:mrow></mml:math></inline-formula> pvu. The center of the bubble, located at <inline-formula><mml:math id="M354" display="inline"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">400</mml:mn></mml:mrow></mml:math></inline-formula> km and <inline-formula><mml:math id="M355" display="inline"><mml:mrow><mml:msub><mml:mi>z</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1.5</mml:mn></mml:mrow></mml:math></inline-formula> km, has a maximum potential temperature perturbation <inline-formula><mml:math id="M356" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mi mathvariant="normal">max</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.5</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M357" display="inline"><mml:mi mathvariant="normal">K</mml:mi></mml:math></inline-formula> and zonal wind perturbation <inline-formula><mml:math id="M358" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>u</mml:mi><mml:mi mathvariant="normal">max</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:mn mathvariant="normal">6</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M359" display="inline"><mml:mrow><mml:mi mathvariant="normal">m</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>. Both perturbation fields decrease to 0 with radius, following <inline-formula><mml:math id="M360" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi mathvariant="italic">θ</mml:mi><mml:mo>=</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mi mathvariant="normal">max</mml:mi></mml:msub><mml:msup><mml:mi mathvariant="normal">cos</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>(0.5<inline-formula><mml:math id="M361" display="inline"><mml:mrow><mml:mi mathvariant="italic">π</mml:mi><mml:mi>r</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M362" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>u</mml:mi><mml:mo>=</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>u</mml:mi><mml:mi mathvariant="normal">max</mml:mi></mml:msub><mml:msup><mml:mi mathvariant="normal">cos</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>(0.5<inline-formula><mml:math id="M363" display="inline"><mml:mrow><mml:mi mathvariant="italic">π</mml:mi><mml:mi>r</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>,  for <inline-formula><mml:math id="M364" display="inline"><mml:mrow><mml:mi>r</mml:mi><mml:mo>&lt;</mml:mo><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>, where <inline-formula><mml:math id="M365" display="inline"><mml:mrow><mml:mi>r</mml:mi><mml:mo>=</mml:mo><mml:msqrt><mml:mrow><mml:mo>(</mml:mo><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mi>y</mml:mi><mml:mo>-</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub></mml:mrow><mml:mi>R</mml:mi></mml:mfrac></mml:mstyle><mml:msup><mml:mo>)</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>+</mml:mo><mml:mo>(</mml:mo><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mi>z</mml:mi><mml:mo>-</mml:mo><mml:msub><mml:mi>z</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub></mml:mrow><mml:mi>H</mml:mi></mml:mfrac></mml:mstyle><mml:msup><mml:mo>)</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:msqrt></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M366" display="inline"><mml:mrow><mml:mi>R</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">50</mml:mn></mml:mrow></mml:math></inline-formula> km is the horizontal radius, and <inline-formula><mml:math id="M367" display="inline"><mml:mrow><mml:mi>H</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1.5</mml:mn></mml:mrow></mml:math></inline-formula> km is the vertical radius.</p><?xmltex \hack{\clearpage}?>
</app>
  </app-group><notes notes-type="codeavailability"><title>Code availability</title>

      <p id="d1e9600">The standard version of WRF v3.8.1 is publicly available at <uri>http://www2.mmm.ucar.edu/wrf/users/download/get_sources.html</uri> (last access: 6 June 2019; National Center for Atmospheric Research, 2016). The inline budget retrieval tool in the WRF v3.8.1 described in this study can be found at  <ext-link xlink:href="https://doi.org/10.5281/zenodo.3373872" ext-link-type="DOI">10.5281/zenodo.3373872</ext-link> (Chen, 2019). In this repository, all the files that remain unchanged from the defaults are tagged as “Initial commit”. The modified files for the budget retrieval include the Registry.EM_COMMON within the directory registry; module_diag_misc.F, module_diagnostic_driver.F, and module_physics_addtendc.F within the directory phys; module_after_all_rk_steps.F, module_big_step_utilities_em.F, module_em.F, module_first_rk_step_par2.F, module_small_step_em.F, and solve_em.F within the directory dyn_em. The current version includes retrieval for terms of local tendency, advection, horizontal pressure gradient force, net force resulting from vertical pressure gradient and buoyancy, Coriolis force, curvature, upper damping (<inline-formula><mml:math id="M368" display="inline"><mml:mrow><mml:mi mathvariant="normal">damp</mml:mi><mml:mi mathvariant="italic">_</mml:mi><mml:mi mathvariant="normal">opt</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula> and 3), turbulence or diffusion (<inline-formula><mml:math id="M369" display="inline"><mml:mrow><mml:mi mathvariant="normal">diff</mml:mi><mml:mi mathvariant="italic">_</mml:mi><mml:mi mathvariant="normal">opt</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula>), vertical-velocity damping (<inline-formula><mml:math id="M370" display="inline"><mml:mrow><mml:mi mathvariant="normal">w</mml:mi><mml:mi mathvariant="italic">_</mml:mi><mml:mi mathvariant="normal">damping</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>) and parameterized physics from the planetary boundary layer scheme (<inline-formula><mml:math id="M371" display="inline"><mml:mrow><mml:mi mathvariant="normal">bl</mml:mi><mml:mi mathvariant="italic">_</mml:mi><mml:mi mathvariant="normal">pbl</mml:mi><mml:mi mathvariant="italic">_</mml:mi><mml:mi mathvariant="normal">physics</mml:mi></mml:mrow></mml:math></inline-formula>), the radiation scheme (<inline-formula><mml:math id="M372" display="inline"><mml:mrow><mml:mi mathvariant="normal">ra</mml:mi><mml:mi mathvariant="italic">_</mml:mi><mml:mi mathvariant="normal">lw</mml:mi><mml:mi mathvariant="italic">_</mml:mi><mml:mi mathvariant="normal">physics</mml:mi></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M373" display="inline"><mml:mrow><mml:mi mathvariant="normal">ra</mml:mi><mml:mi mathvariant="italic">_</mml:mi><mml:mi mathvariant="normal">sw</mml:mi><mml:mi mathvariant="italic">_</mml:mi><mml:mi mathvariant="normal">physics</mml:mi></mml:mrow></mml:math></inline-formula>), the cumulus scheme (cu_physics), and the shallow cumulus scheme (shcu_physics).</p>
  </notes><notes notes-type="authorcontribution"><title>Author contributions</title>

      <p id="d1e9709">TCC designed and performed the numerical experiments under the supervision of MKY and DJK. MKY proposed the idea of comparing the inline and post-processed budget analyses. TCC developed the code of the inline budget retrieval tool in the WRF v3.8.1 model and the post-processed analyses. DJK provided useful suggestions to improve the work. TCC prepared the paper and all co-authors contributed to the writing and editing of the paper.</p>
  </notes><notes notes-type="competinginterests"><title>Competing interests</title>

      <p id="d1e9715">The authors declare that they have no conflict of interest.</p>
  </notes><ack><title>Acknowledgements</title><p id="d1e9721">We thank Patrick Hawbecker, Ian Dragaud, and one anonymous reviewer for their valuable comments and suggestion that helped to improve this study.</p></ack><notes notes-type="financialsupport"><title>Financial support</title>

      <p id="d1e9726">This research has been supported by the NSERC/Hydro-Quebec Industrial Research Chair program  and the Fonds de recherche du Québec – Nature et technologies (FRQNT) doctoral research scholarship grant.</p>
  </notes><notes notes-type="reviewstatement"><title>Review statement</title>

      <p id="d1e9732">This paper was edited by Chiel van Heerwaarden and reviewed by Patrick Hawbecker and one anonymous referee.</p>
  </notes><ref-list>
    <title>References</title>

      <ref id="bib1.bib1"><label>1</label><?label 1?><mixed-citation>Abarca, S. F. and Montgomery, M. T.: Essential Dynamics of Secondary Eyewall Formation, J. Atmos. Sci., 70, 3216–3230, <ext-link xlink:href="https://doi.org/10.1175/JAS-D-12-0318.1" ext-link-type="DOI">10.1175/JAS-D-12-0318.1</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bib2"><label>2</label><?label 1?><mixed-citation>Andersen, J. A. and Kuang, Z.: Moist Static Energy Budget of MJO-like Disturbances in the Atmosphere of a Zonally Symmetric Aquaplanet, J. Climate, 25, 2782–2804, <ext-link xlink:href="https://doi.org/10.1175/JCLI-D-11-00168.1" ext-link-type="DOI">10.1175/JCLI-D-11-00168.1</ext-link>, 2012.</mixed-citation></ref>
      <ref id="bib1.bib3"><label>3</label><?label 1?><mixed-citation>Arakawa, A. and Lamb, V. R.: Computational design of the basic dynamical processes of the UCLA general circulation model, Method. Comput. Phys., Adv. Res. Appl., 17, 173–265,  <ext-link xlink:href="https://doi.org/10.1016/B978-0-12-460817-7.50009-4" ext-link-type="DOI">10.1016/B978-0-12-460817-7.50009-4</ext-link>, 1977.</mixed-citation></ref>
      <ref id="bib1.bib4"><label>4</label><?label 1?><mixed-citation>Arnault, J., Knoche, R., Wei, J., and Kunstmann, H.: Evaporation tagging and atmospheric water budget analysis with WRF: A regional precipitation recycling study for West Africa, Water Resour. Res., 52, 1544–1567, <ext-link xlink:href="https://doi.org/10.1002/2015WR017704" ext-link-type="DOI">10.1002/2015WR017704</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bib5"><label>5</label><?label 1?><mixed-citation>Balasubramanian, G. and Yau, M. K.: Baroclinic Instability in a Two-Layer Model with Parameterized Slantwise Convection, J. Atmos. Sci., 51, 971–990, <ext-link xlink:href="https://doi.org/10.1175/1520-0469(1994)051&lt;0971:BIIATL&gt;2.0.CO;2" ext-link-type="DOI">10.1175/1520-0469(1994)051&lt;0971:BIIATL&gt;2.0.CO;2</ext-link>, 1994</mixed-citation></ref>
      <ref id="bib1.bib6"><label>6</label><?label 1?><mixed-citation>Bryan, G. H.  and Fritsch, J. M.: A benchmark simulation for moist nonhydrostatic numerical models, Mon. Weather Rev., 130, 2917–2928, <ext-link xlink:href="https://doi.org/10.1175/1520-0493(2002)130&lt;2917:ABSFMN&gt;2.0.CO;2" ext-link-type="DOI">10.1175/1520-0493(2002)130&lt;2917:ABSFMN&gt;2.0.CO;2</ext-link>, 2002.</mixed-citation></ref>
      <ref id="bib1.bib7"><label>7</label><?label 1?><mixed-citation>Chen, T.-C.: WRFV3.8.1_inline_budget_retrieval: Inline budget retrieval tool for 3D momentum components and potential temperature, Zenodo, <ext-link xlink:href="https://doi.org/10.5281/zenodo.3373872" ext-link-type="DOI">10.5281/zenodo.3373872</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bib8"><label>8</label><?label 1?><mixed-citation>Chen, T.-C., Yau, M. K., and Kirshbaum, D. J.: Assessment of Conditional Symmetric Instability from Global Reanalysis Data, J. Atmos. Sci., 75, 2425–2443, <ext-link xlink:href="https://doi.org/10.1175/JAS-D-17-0221.1" ext-link-type="DOI">10.1175/JAS-D-17-0221.1</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bib9"><label>9</label><?label 1?><mixed-citation>Duran, P. and Molinari, J.: Tropopause Evolution in a Rapidly Intensifying Tropical Cyclone: A Static Stability Budget Analysis in an Idealized Axisymmetric Framework, J. Atmos. Sci., 76, 209–229, <ext-link xlink:href="https://doi.org/10.1175/JAS-D-18-0097.1" ext-link-type="DOI">10.1175/JAS-D-18-0097.1</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bib10"><label>10</label><?label 1?><mixed-citation>Gallus, W. A.  and Johnson, R. H.: The momentum budget of an intense midlatitude squall line, J. Atmos. Sci., 49, 422–450, <ext-link xlink:href="https://doi.org/10.1175/1520-0469(1992)049&lt;0422:TMBOAI&gt;2.0.CO;2" ext-link-type="DOI">10.1175/1520-0469(1992)049&lt;0422:TMBOAI&gt;2.0.CO;2</ext-link>, 1992.</mixed-citation></ref>
      <ref id="bib1.bib11"><label>11</label><?label 1?><mixed-citation>Grell, G. A., Dudhia, J., and Stauffer, D.: A description of the fifth-generation Penn State/NCAR Mesoscale Model (MM5), NCAR Tech. Note NCAR/TN-398+STR, 121 pp., <ext-link xlink:href="https://doi.org/10.5065/D60Z716B" ext-link-type="DOI">10.5065/D60Z716B</ext-link>, 1994.</mixed-citation></ref>
      <ref id="bib1.bib12"><label>12</label><?label 1?><mixed-citation>Hodur, R. M. and Fein, J. S.: A vorticity budget over the Marshall Islands during the spring and summer months, Mon. Weather Rev., 105, 1521–1526, <ext-link xlink:href="https://doi.org/10.1175/1520-0493(1977)105&lt;1521:AVBOTM&gt;2.0.CO;2" ext-link-type="DOI">10.1175/1520-0493(1977)105&lt;1521:AVBOTM&gt;2.0.CO;2</ext-link>, 1977.</mixed-citation></ref>
      <ref id="bib1.bib13"><label>13</label><?label 1?><mixed-citation>Huang, Y.-H., Wu, C.-C., and Montgomery, M. T.: Concentric eyewall formation in Typhoon Sinlaku (2008), Part III: horizontal momentum budget analyses, J. Atmos. Sci., 75, 3541–3563, <ext-link xlink:href="https://doi.org/10.1175/JAS-D-18-0037.1" ext-link-type="DOI">10.1175/JAS-D-18-0037.1</ext-link>, 2018</mixed-citation></ref>
      <ref id="bib1.bib14"><label>14</label><?label 1?><mixed-citation>Kanamitsu, M. and Saha, S.: Systematic tendency error in budget calculations, Mon. Weather Rev., 124, 1145–1160, <ext-link xlink:href="https://doi.org/10.1175/1520-0493(1996)124&lt;1145:STEIBC&gt;2.0.CO;2" ext-link-type="DOI">10.1175/1520-0493(1996)124&lt;1145:STEIBC&gt;2.0.CO;2</ext-link>, 1996.</mixed-citation></ref>
      <ref id="bib1.bib15"><label>15</label><?label 1?><mixed-citation>Kiranmayi, L.  and Maloney, E. D.: Intraseasonal moist static energy budget in reanalysis data, J. Geophys. Res., 116, D21117, <ext-link xlink:href="https://doi.org/10.1029/2011JD016031" ext-link-type="DOI">10.1029/2011JD016031</ext-link>, 2011.</mixed-citation></ref>
      <ref id="bib1.bib16"><label>16</label><?label 1?><mixed-citation>Kirshbaum, D. J., Merlis, T. M., Gyakum, J. R., and McTaggart-Cowan, R.: Sensitivity of idealized moist baroclinic waves to environmental temperature and moisture content, J. Atmos. Sci., 75, 337–360, <ext-link xlink:href="https://doi.org/10.1175/JAS-D-17-0188.1" ext-link-type="DOI">10.1175/JAS-D-17-0188.1</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bib17"><label>17</label><?label 1?><mixed-citation>Klemp, J. B., Skamarock, W. C., and Dudhia, J.: Conservative split-explicit time integration methods for the compressible nonhydrostatic equations, Mon. Weather Rev., 135, 2897–2913, <ext-link xlink:href="https://doi.org/10.1175/MWR3440.1" ext-link-type="DOI">10.1175/MWR3440.1</ext-link>, 2007.</mixed-citation></ref>
      <ref id="bib1.bib18"><label>18</label><?label 1?><mixed-citation>Kornegay, F. C. and Vincent, D. G.: Kinetic Energy Budget Analysis During Interaction of Tropical Storm Candy (1968) with an Extratropical Frontal System, Mon. Weather Rev., 104, 849–859, <ext-link xlink:href="https://doi.org/10.1175/1520-0493(1976)104&lt;0849:KEBADI&gt;2.0.CO;2" ext-link-type="DOI">10.1175/1520-0493(1976)104&lt;0849:KEBADI&gt;2.0.CO;2</ext-link>, 1976.</mixed-citation></ref>
      <ref id="bib1.bib19"><label>19</label><?label 1?><mixed-citation>Kuo, Y. and Anthes, R. A.: Accuracy of diagnostic heat and moisture budgets using SESAME-79 field data as revealed by observing system simulation experiments, Mon. Weather Rev., 112, 1465–1481, <ext-link xlink:href="https://doi.org/10.1175/1520-0493(1984)112&lt;1465:AODHAM&gt;2.0.CO;2" ext-link-type="DOI">10.1175/1520-0493(1984)112&lt;1465:AODHAM&gt;2.0.CO;2</ext-link>, 1984.</mixed-citation></ref>
      <ref id="bib1.bib20"><label>20</label><?label 1?><mixed-citation>Lee, C.-S.: The bulk effects of cumulus momentum transport in tropical cyclones, J. Atmos. Sci., 41,  590–603, <ext-link xlink:href="https://doi.org/10.1175/1520-0469(1984)041&lt;0590:TBEOCM&gt;2.0.CO;2" ext-link-type="DOI">10.1175/1520-0469(1984)041&lt;0590:TBEOCM&gt;2.0.CO;2</ext-link>, 1984.</mixed-citation></ref>
      <ref id="bib1.bib21"><label>21</label><?label 1?><mixed-citation>Lehner, M.: Observations and large-eddy simulations of the thermally driven cross-basin circulation in a small, closed basin, Ph.D. thesis, University of Utah, available at: <uri>https://collections.lib.utah.edu/ark:/87278/s61n8fxw</uri> (last access: 13 December 2019), 2012.</mixed-citation></ref>
      <ref id="bib1.bib22"><label>22</label><?label 1?><mixed-citation>Lehner, M. and Whiteman, D. C.: Physical mechanisms of the thermally driven cross‐basin circulation, Q. J. Roy. Meteor. Soc., 140, 895–907, <ext-link xlink:href="https://doi.org/10.1002/qj.2195" ext-link-type="DOI">10.1002/qj.2195</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bib23"><label>23</label><?label 1?><mixed-citation>Lilly, D. K.  and Jewett, B. F.: Momentum and kinetic energy budgets of simulated supercell thunderstorms, J. Atmos. Sci., 47, 707–726, <ext-link xlink:href="https://doi.org/10.1175/1520-0469(1990)047&lt;0707:MAKEBO&gt;2.0.CO;2" ext-link-type="DOI">10.1175/1520-0469(1990)047&lt;0707:MAKEBO&gt;2.0.CO;2</ext-link>, 1990.</mixed-citation></ref>
      <ref id="bib1.bib24"><label>24</label><?label 1?><mixed-citation>Liu, L., Lin, Y.-L., and Chen, S.-H.: Effects of landfall location and approach angle of an idealized tropical cyclone over a long mountain range, Front. Earth Sci., 4, 1–14, <ext-link xlink:href="https://doi.org/10.3389/feart.2016.00014" ext-link-type="DOI">10.3389/feart.2016.00014</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bib25"><label>25</label><?label 1?><mixed-citation>Markowski, P. M.  and Richardson, Y.: Mesoscale Meteorology in Midlatitudes, Wiley-Blackwell, 424 pp., <ext-link xlink:href="https://doi.org/10.1002/9780470682104" ext-link-type="DOI">10.1002/9780470682104</ext-link>, 2010.</mixed-citation></ref>
      <ref id="bib1.bib26"><label>26</label><?label 1?><mixed-citation>Moisseeva, N.: Dynamical analysis of sea breeze hodograph rotation in Sardinia, B.Sc. thesis, University of British Columbia, available at: <uri>http://hdl.handle.net/2429/46069</uri> (last access: 18 December 2019), 2014.</mixed-citation></ref>
      <ref id="bib1.bib27"><label>27</label><?label 1?><mixed-citation>Moisseeva, N. and Steyn, D. G.: Dynamical analysis of sea-breeze hodograph rotation in Sardinia, Atmos. Chem. Phys., 14, 13471–13481, <ext-link xlink:href="https://doi.org/10.5194/acp-14-13471-2014" ext-link-type="DOI">10.5194/acp-14-13471-2014</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bib28"><label>28</label><?label 1?><mixed-citation>National Center for Atmospheric Research: WRF-ARW Code Version 3.8.1, available at: <uri>https://www2.mmm.ucar.edu/wrf/users/download/get_sources.html</uri> (last access: 6 June 2019), 2016.</mixed-citation></ref>
      <ref id="bib1.bib29"><label>29</label><?label 1?><mixed-citation>Persson, P. O. G. and Warner, T. T.: The Nonlinear Evolution of Idealized, Unforced, Conditional Symmetric Instability: A Numerical Study, J. Atmos. Sci., 52, 3449–3474, <ext-link xlink:href="https://doi.org/10.1175/1520-0469(1995)052&lt;3449:TNEOIU&gt;2.0.CO;2" ext-link-type="DOI">10.1175/1520-0469(1995)052&lt;3449:TNEOIU&gt;2.0.CO;2</ext-link>, 1995.</mixed-citation></ref>
      <ref id="bib1.bib30"><label>30</label><?label 1?><mixed-citation>Pielke, R. A., Cotton, W. R., Walko, R. L., Tremback, C. J.,  Lyons, W. A., Grasso, L. D.,  Nicholls, M. E., Moran, M. D., Wesley, D. A., Lee, T. J., and Copeland, J. H.: A comprehensive meteorological modeling system – RAMS, Meteor. Atmos. Phys., 49, 69–91, <ext-link xlink:href="https://doi.org/10.1007/BF01025401" ext-link-type="DOI">10.1007/BF01025401</ext-link>, 1992.</mixed-citation></ref>
      <ref id="bib1.bib31"><label>31</label><?label 1?><mixed-citation>Potter, E. R., Orr, A., Willis, I. C., Bannister, D., and Salerno, F.: Dynamical drivers of the local wind regime in a Himalayan valley, J. Geophys Res.-Atmos., 123, 13186–13202,  <ext-link xlink:href="https://doi.org/10.1029/2018JD029427" ext-link-type="DOI">10.1029/2018JD029427</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bib32"><label>32</label><?label 1?><mixed-citation>Powers, J. G., Klemp, J. B., Skamarock, W. C., Davis, C. A., Dudhia, J., Gill, D. O., Coen, J. L., Gochis, D. J., Ahmadov, R., Peckham, S. E., Grell, G. A., Michalakes, J., Trahan, S., Benjamin, S. G., Alexander, C. R., Dimego, G. J., Wang, W., Schwartz, C. S., Romine, G. S., Liu, Z., Snyder, C., Chen, F., Barlage, M. J., Yu, W., and Duda, M. G.: The weather research and forecasting model: Overview, system efforts, and future directions, B. Am. Meteorol. Soc., 98,  1717–1737, <ext-link xlink:href="https://doi.org/10.1175/BAMS-D-15-00308.1" ext-link-type="DOI">10.1175/BAMS-D-15-00308.1</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bib33"><label>33</label><?label 1?><mixed-citation>Rios-Berrios, R., Torn, R. D., and Davis, C.: An ensemble approach to investigate tropical cyclone intensification in sheared environments. Part I: Katia (2011), J. Atmos. Sci., 73, 71–93, <ext-link xlink:href="https://doi.org/10.1175/JAS-D-15-0052.1" ext-link-type="DOI">10.1175/JAS-D-15-0052.1</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bib34"><label>34</label><?label 1?><mixed-citation>Sanders, F. and Emanuel, K. A.: The momentum budget and temporal evolution of a mesoscale convective system, J. Atmos. Sci., 34, 322–330, <ext-link xlink:href="https://doi.org/10.1175/1520-0469(1977)034&lt;0322:tmbate&gt;2.0.co;2" ext-link-type="DOI">10.1175/1520-0469(1977)034&lt;0322:tmbate&gt;2.0.co;2</ext-link>, 1977.</mixed-citation></ref>
      <ref id="bib1.bib35"><label>35</label><?label 1?><mixed-citation>Satoh, M.: Conservative Scheme for the Compressible Nonhydrostatic Models with the Horizontally Explicit and Vertically Implicit Time Integration Scheme, Mon. Weather Rev., 130, 1227–1245, <ext-link xlink:href="https://doi.org/10.1175/1520-0493(2002)130&lt;1227:CSFTCN&gt;2.0.CO;2" ext-link-type="DOI">10.1175/1520-0493(2002)130&lt;1227:CSFTCN&gt;2.0.CO;2</ext-link>, 2002.</mixed-citation></ref>
      <ref id="bib1.bib36"><label>36</label><?label 1?><mixed-citation>Skamarock, W. C., Klemp, J. B., Dudhia, J., Gill, D. O., Barker, D. M., Duda, M. G, Huang, X.-Y., Wang, W., and Powers, J. G.: A description of the advanced research WRF version 3, NCAR Tech. Note NCAR/TN-475+STR, 113 pp., <ext-link xlink:href="https://doi.org/10.5065/D68S4MVH" ext-link-type="DOI">10.5065/D68S4MVH</ext-link>, 2008.</mixed-citation></ref>
      <ref id="bib1.bib37"><label>37</label><?label 1?><mixed-citation>Thompson, G., Field, P. R., Rasmussen, R. M., and Hall, W. D.: Explicit forecasts of winter precipitation using an improved bulk microphysics scheme. Part II: implementation of a new snow parameterization, Mon. Weather Rev., 136, 5095–5115, <ext-link xlink:href="https://doi.org/10.1175/2008MWR2387.1" ext-link-type="DOI">10.1175/2008MWR2387.1</ext-link>, 2008.</mixed-citation></ref>
      <ref id="bib1.bib38"><label>38</label><?label 1?><mixed-citation>Trier, S. B., LeMone, M. A., and Skamarock, W. C.: Effect of three-dimensional structure on the stormwide horizontal accelerations and momentum budget of a simulated squall line, Mon. Weather Rev., 126, 2580–2598, <ext-link xlink:href="https://doi.org/10.1175/1520-0493(1998)126&lt;2580:EOTDSO&gt;2.0.CO;2" ext-link-type="DOI">10.1175/1520-0493(1998)126&lt;2580:EOTDSO&gt;2.0.CO;2</ext-link>, 1998.</mixed-citation></ref>
      <ref id="bib1.bib39"><label>39</label><?label 1?><mixed-citation>Undén, P., Rontu, L., Järvinen, H., Lynch, P., Calvo, J., Cats, G., Cuxart, J., Eerola, K., Fortelius, C., Garcia-Moya, J. A., Jones, C., Lenderlink, G., McDonald, A., McGrath, R., Navascues, B., Nielsen, N. W., Ødegaard, V., Rodriguez, E., Rummukainen, M., Rõõm, R., Sattler, K., Sass, B. H., Savijärvi, H., Schreur, B. W., Sigg, R., The, H., and Tijm, A.: HIRLAM-5 scientific documentation, Swed. Meteorol. and Hydrol. Inst., 144 pp., available at: <uri>http://www.hirlam.org/</uri> (last access: 9 August 2019), 2002.</mixed-citation></ref>
      <ref id="bib1.bib40"><label>40</label><?label 1?><mixed-citation>Wicker, L. J. and Skamarock, W. C.: Time-splitting methods for elastic models using forward time schemes, Mon. Weather Rev., 130, 2088–2097, <ext-link xlink:href="https://doi.org/10.1175/1520-0493(2002)130&lt;2088:TSMFEM&gt;2.0.CO;2" ext-link-type="DOI">10.1175/1520-0493(2002)130&lt;2088:TSMFEM&gt;2.0.CO;2</ext-link>, 2002.</mixed-citation></ref>
      <ref id="bib1.bib41"><label>41</label><?label 1?><mixed-citation>Xue, M., Droegemeier, K. K., and Wong, V.: The Advanced Regional Prediction System (ARPS) – A multiscale nonhydrostatic atmospheric simulation and prediction tool. Part I: Mode<?pagebreak page1761?>l dynamics and verification, Meteor. Atmos. Phys., 75, 161–193, <ext-link xlink:href="https://doi.org/10.1007/s007030070003" ext-link-type="DOI">10.1007/s007030070003</ext-link>, 2000.</mixed-citation></ref>
      <ref id="bib1.bib42"><label>42</label><?label 1?><mixed-citation>Xue, M., Droegemeier, K. K., and Wong, V., Shapiro, A., Brewster, K. A., Carr, F. H., Weber, D. B., Liu, Y., and Wang, D.: The Advanced Regional Prediction System (ARPS) – A multiscale nonhydrostatic atmospheric simulation and prediction tool. Part II: Model physics and applications,  Meteor. Atmos. Phys., 76, 143–165, <ext-link xlink:href="https://doi.org/10.1007/s007030170027" ext-link-type="DOI">10.1007/s007030170027</ext-link>, 2001.
</mixed-citation></ref><?xmltex \hack{\newpage}?>
      <ref id="bib1.bib43"><label>43</label><?label 1?><mixed-citation>Zhang, D.-L., Liu, Y., and Yau, M. K.: A multiscale numerical study of Hurricane Andrew (1992). Part III: dynamically induced vertical motion, Mon. Weather Rev., 128, 3772–3788, <ext-link xlink:href="https://doi.org/10.1175/1520-0493(2001)129&lt;3772:AMNSOH&gt;2.0.CO;2" ext-link-type="DOI">10.1175/1520-0493(2001)129&lt;3772:AMNSOH&gt;2.0.CO;2</ext-link>, 2000.</mixed-citation></ref>

  </ref-list></back>
    <!--<article-title-html>Towards the closure of momentum budget analyses in the WRF (v3.8.1) model</article-title-html>
<abstract-html><p>Budget analysis of a tendency equation is widely utilized in numerical studies to quantify different physical processes in a simulated system. While such analysis is often post-processed when the output is made available, it is well acknowledged that the closure of a budget is difficult to achieve without temporal and/or spatial averaging. Nevertheless, the development of errors in such calculations has not been systematically investigated. In this study, an inline budget retrieval method is first developed in the WRF v3.8.1 model and tested on a 2D idealized slantwise convection case with a focus on the momentum equations. This method extracts all the budget terms following the model solver, which gives a high accuracy, with a residual term always less than 0.1&thinsp;% of the tendency term. Then, taking the inline values as truth, several offline budget analyses with different commonly used simplifications are performed to investigate how they may affect the accuracy of the estimation of individual terms and the resultant residual. These assumptions include using a lower-order advection operator than the one used in the model, neglecting grid staggering, or following a mathematically equivalent but transformed format of the governing equations. Errors in these post-processed analyses are found mostly over the area where the dynamics are the most active, thus impairing the subsequent physical interpretation. A maximum 99th percentile residual can reach  &gt; 50&thinsp;% of the concurrent tendency term, indicating the danger of neglecting the residual term as done in many budget studies. This work provides general guidance not only for budget diagnoses with the WRF model but also for minimizing the errors in post-processed budget calculations.</p></abstract-html>
<ref-html id="bib1.bib1"><label>1</label><mixed-citation>
Abarca, S. F. and Montgomery, M. T.: Essential Dynamics of Secondary Eyewall Formation, J. Atmos. Sci., 70, 3216–3230, <a href="https://doi.org/10.1175/JAS-D-12-0318.1" target="_blank">https://doi.org/10.1175/JAS-D-12-0318.1</a>, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib2"><label>2</label><mixed-citation>
Andersen, J. A. and Kuang, Z.: Moist Static Energy Budget of MJO-like Disturbances in the Atmosphere of a Zonally Symmetric Aquaplanet, J. Climate, 25, 2782–2804, <a href="https://doi.org/10.1175/JCLI-D-11-00168.1" target="_blank">https://doi.org/10.1175/JCLI-D-11-00168.1</a>, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib3"><label>3</label><mixed-citation>
Arakawa, A. and Lamb, V. R.: Computational design of the basic dynamical processes of the UCLA general circulation model, Method. Comput. Phys., Adv. Res. Appl., 17, 173–265,  <a href="https://doi.org/10.1016/B978-0-12-460817-7.50009-4" target="_blank">https://doi.org/10.1016/B978-0-12-460817-7.50009-4</a>, 1977.
</mixed-citation></ref-html>
<ref-html id="bib1.bib4"><label>4</label><mixed-citation>
Arnault, J., Knoche, R., Wei, J., and Kunstmann, H.: Evaporation tagging and atmospheric water budget analysis with WRF: A regional precipitation recycling study for West Africa, Water Resour. Res., 52, 1544–1567, <a href="https://doi.org/10.1002/2015WR017704" target="_blank">https://doi.org/10.1002/2015WR017704</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib5"><label>5</label><mixed-citation>
Balasubramanian, G. and Yau, M. K.: Baroclinic Instability in a Two-Layer Model with Parameterized Slantwise Convection, J. Atmos. Sci., 51, 971–990, <a href="https://doi.org/10.1175/1520-0469(1994)051&lt;0971:BIIATL&gt;2.0.CO;2" target="_blank">https://doi.org/10.1175/1520-0469(1994)051&lt;0971:BIIATL&gt;2.0.CO;2</a>, 1994
</mixed-citation></ref-html>
<ref-html id="bib1.bib6"><label>6</label><mixed-citation>
Bryan, G. H.  and Fritsch, J. M.: A benchmark simulation for moist nonhydrostatic numerical models, Mon. Weather Rev., 130, 2917–2928, <a href="https://doi.org/10.1175/1520-0493(2002)130&lt;2917:ABSFMN&gt;2.0.CO;2" target="_blank">https://doi.org/10.1175/1520-0493(2002)130&lt;2917:ABSFMN&gt;2.0.CO;2</a>, 2002.
</mixed-citation></ref-html>
<ref-html id="bib1.bib7"><label>7</label><mixed-citation>
Chen, T.-C.: WRFV3.8.1_inline_budget_retrieval: Inline budget retrieval tool for 3D momentum components and potential temperature, Zenodo, <a href="https://doi.org/10.5281/zenodo.3373872" target="_blank">https://doi.org/10.5281/zenodo.3373872</a>, 2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib8"><label>8</label><mixed-citation>
Chen, T.-C., Yau, M. K., and Kirshbaum, D. J.: Assessment of Conditional Symmetric Instability from Global Reanalysis Data, J. Atmos. Sci., 75, 2425–2443, <a href="https://doi.org/10.1175/JAS-D-17-0221.1" target="_blank">https://doi.org/10.1175/JAS-D-17-0221.1</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib9"><label>9</label><mixed-citation>
Duran, P. and Molinari, J.: Tropopause Evolution in a Rapidly Intensifying Tropical Cyclone: A Static Stability Budget Analysis in an Idealized Axisymmetric Framework, J. Atmos. Sci., 76, 209–229, <a href="https://doi.org/10.1175/JAS-D-18-0097.1" target="_blank">https://doi.org/10.1175/JAS-D-18-0097.1</a>, 2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib10"><label>10</label><mixed-citation>
Gallus, W. A.  and Johnson, R. H.: The momentum budget of an intense midlatitude squall line, J. Atmos. Sci., 49, 422–450, <a href="https://doi.org/10.1175/1520-0469(1992)049&lt;0422:TMBOAI&gt;2.0.CO;2" target="_blank">https://doi.org/10.1175/1520-0469(1992)049&lt;0422:TMBOAI&gt;2.0.CO;2</a>, 1992.
</mixed-citation></ref-html>
<ref-html id="bib1.bib11"><label>11</label><mixed-citation>
Grell, G. A., Dudhia, J., and Stauffer, D.: A description of the fifth-generation Penn State/NCAR Mesoscale Model (MM5), NCAR Tech. Note NCAR/TN-398+STR, 121 pp., <a href="https://doi.org/10.5065/D60Z716B" target="_blank">https://doi.org/10.5065/D60Z716B</a>, 1994.
</mixed-citation></ref-html>
<ref-html id="bib1.bib12"><label>12</label><mixed-citation>
Hodur, R. M. and Fein, J. S.: A vorticity budget over the Marshall Islands during the spring and summer months, Mon. Weather Rev., 105, 1521–1526, <a href="https://doi.org/10.1175/1520-0493(1977)105&lt;1521:AVBOTM&gt;2.0.CO;2" target="_blank">https://doi.org/10.1175/1520-0493(1977)105&lt;1521:AVBOTM&gt;2.0.CO;2</a>, 1977.
</mixed-citation></ref-html>
<ref-html id="bib1.bib13"><label>13</label><mixed-citation>
Huang, Y.-H., Wu, C.-C., and Montgomery, M. T.: Concentric eyewall formation in Typhoon Sinlaku (2008), Part III: horizontal momentum budget analyses, J. Atmos. Sci., 75, 3541–3563, <a href="https://doi.org/10.1175/JAS-D-18-0037.1" target="_blank">https://doi.org/10.1175/JAS-D-18-0037.1</a>, 2018
</mixed-citation></ref-html>
<ref-html id="bib1.bib14"><label>14</label><mixed-citation>
Kanamitsu, M. and Saha, S.: Systematic tendency error in budget calculations, Mon. Weather Rev., 124, 1145–1160, <a href="https://doi.org/10.1175/1520-0493(1996)124&lt;1145:STEIBC&gt;2.0.CO;2" target="_blank">https://doi.org/10.1175/1520-0493(1996)124&lt;1145:STEIBC&gt;2.0.CO;2</a>, 1996.
</mixed-citation></ref-html>
<ref-html id="bib1.bib15"><label>15</label><mixed-citation>
Kiranmayi, L.  and Maloney, E. D.: Intraseasonal moist static energy budget in reanalysis data, J. Geophys. Res., 116, D21117, <a href="https://doi.org/10.1029/2011JD016031" target="_blank">https://doi.org/10.1029/2011JD016031</a>, 2011.
</mixed-citation></ref-html>
<ref-html id="bib1.bib16"><label>16</label><mixed-citation>
Kirshbaum, D. J., Merlis, T. M., Gyakum, J. R., and McTaggart-Cowan, R.: Sensitivity of idealized moist baroclinic waves to environmental temperature and moisture content, J. Atmos. Sci., 75, 337–360, <a href="https://doi.org/10.1175/JAS-D-17-0188.1" target="_blank">https://doi.org/10.1175/JAS-D-17-0188.1</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib17"><label>17</label><mixed-citation>
Klemp, J. B., Skamarock, W. C., and Dudhia, J.: Conservative split-explicit time integration methods for the compressible nonhydrostatic equations, Mon. Weather Rev., 135, 2897–2913, <a href="https://doi.org/10.1175/MWR3440.1" target="_blank">https://doi.org/10.1175/MWR3440.1</a>, 2007.
</mixed-citation></ref-html>
<ref-html id="bib1.bib18"><label>18</label><mixed-citation>
Kornegay, F. C. and Vincent, D. G.: Kinetic Energy Budget Analysis During Interaction of Tropical Storm Candy (1968) with an Extratropical Frontal System, Mon. Weather Rev., 104, 849–859, <a href="https://doi.org/10.1175/1520-0493(1976)104&lt;0849:KEBADI&gt;2.0.CO;2" target="_blank">https://doi.org/10.1175/1520-0493(1976)104&lt;0849:KEBADI&gt;2.0.CO;2</a>, 1976.
</mixed-citation></ref-html>
<ref-html id="bib1.bib19"><label>19</label><mixed-citation>
Kuo, Y. and Anthes, R. A.: Accuracy of diagnostic heat and moisture budgets using SESAME-79 field data as revealed by observing system simulation experiments, Mon. Weather Rev., 112, 1465–1481, <a href="https://doi.org/10.1175/1520-0493(1984)112&lt;1465:AODHAM&gt;2.0.CO;2" target="_blank">https://doi.org/10.1175/1520-0493(1984)112&lt;1465:AODHAM&gt;2.0.CO;2</a>, 1984.
</mixed-citation></ref-html>
<ref-html id="bib1.bib20"><label>20</label><mixed-citation>
Lee, C.-S.: The bulk effects of cumulus momentum transport in tropical cyclones, J. Atmos. Sci., 41,  590–603, <a href="https://doi.org/10.1175/1520-0469(1984)041&lt;0590:TBEOCM&gt;2.0.CO;2" target="_blank">https://doi.org/10.1175/1520-0469(1984)041&lt;0590:TBEOCM&gt;2.0.CO;2</a>, 1984.
</mixed-citation></ref-html>
<ref-html id="bib1.bib21"><label>21</label><mixed-citation>
Lehner, M.: Observations and large-eddy simulations of the thermally driven cross-basin circulation in a small, closed basin, Ph.D. thesis, University of Utah, available at: <a href="https://collections.lib.utah.edu/ark:/87278/s61n8fxw" target="_blank"/> (last access: 13 December 2019), 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib22"><label>22</label><mixed-citation>
Lehner, M. and Whiteman, D. C.: Physical mechanisms of the thermally driven cross‐basin circulation, Q. J. Roy. Meteor. Soc., 140, 895–907, <a href="https://doi.org/10.1002/qj.2195" target="_blank">https://doi.org/10.1002/qj.2195</a>, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib23"><label>23</label><mixed-citation>
Lilly, D. K.  and Jewett, B. F.: Momentum and kinetic energy budgets of simulated supercell thunderstorms, J. Atmos. Sci., 47, 707–726, <a href="https://doi.org/10.1175/1520-0469(1990)047&lt;0707:MAKEBO&gt;2.0.CO;2" target="_blank">https://doi.org/10.1175/1520-0469(1990)047&lt;0707:MAKEBO&gt;2.0.CO;2</a>, 1990.
</mixed-citation></ref-html>
<ref-html id="bib1.bib24"><label>24</label><mixed-citation>
Liu, L., Lin, Y.-L., and Chen, S.-H.: Effects of landfall location and approach angle of an idealized tropical cyclone over a long mountain range, Front. Earth Sci., 4, 1–14, <a href="https://doi.org/10.3389/feart.2016.00014" target="_blank">https://doi.org/10.3389/feart.2016.00014</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib25"><label>25</label><mixed-citation>
Markowski, P. M.  and Richardson, Y.: Mesoscale Meteorology in Midlatitudes, Wiley-Blackwell, 424 pp., <a href="https://doi.org/10.1002/9780470682104" target="_blank">https://doi.org/10.1002/9780470682104</a>, 2010.
</mixed-citation></ref-html>
<ref-html id="bib1.bib26"><label>26</label><mixed-citation>
Moisseeva, N.: Dynamical analysis of sea breeze hodograph rotation in Sardinia, B.Sc. thesis, University of British Columbia, available at: <a href="http://hdl.handle.net/2429/46069" target="_blank"/> (last access: 18 December 2019), 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib27"><label>27</label><mixed-citation>
Moisseeva, N. and Steyn, D. G.: Dynamical analysis of sea-breeze hodograph rotation in Sardinia, Atmos. Chem. Phys., 14, 13471–13481, <a href="https://doi.org/10.5194/acp-14-13471-2014" target="_blank">https://doi.org/10.5194/acp-14-13471-2014</a>, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib28"><label>28</label><mixed-citation>
National Center for Atmospheric Research: WRF-ARW Code Version 3.8.1, available at: <a href="https://www2.mmm.ucar.edu/wrf/users/download/get_sources.html" target="_blank"/> (last access: 6 June 2019), 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib29"><label>29</label><mixed-citation>
Persson, P. O. G. and Warner, T. T.: The Nonlinear Evolution of Idealized, Unforced, Conditional Symmetric Instability: A Numerical Study, J. Atmos. Sci., 52, 3449–3474, <a href="https://doi.org/10.1175/1520-0469(1995)052&lt;3449:TNEOIU&gt;2.0.CO;2" target="_blank">https://doi.org/10.1175/1520-0469(1995)052&lt;3449:TNEOIU&gt;2.0.CO;2</a>, 1995.
</mixed-citation></ref-html>
<ref-html id="bib1.bib30"><label>30</label><mixed-citation>
Pielke, R. A., Cotton, W. R., Walko, R. L., Tremback, C. J.,  Lyons, W. A., Grasso, L. D.,  Nicholls, M. E., Moran, M. D., Wesley, D. A., Lee, T. J., and Copeland, J. H.: A comprehensive meteorological modeling system – RAMS, Meteor. Atmos. Phys., 49, 69–91, <a href="https://doi.org/10.1007/BF01025401" target="_blank">https://doi.org/10.1007/BF01025401</a>, 1992.
</mixed-citation></ref-html>
<ref-html id="bib1.bib31"><label>31</label><mixed-citation>
Potter, E. R., Orr, A., Willis, I. C., Bannister, D., and Salerno, F.: Dynamical drivers of the local wind regime in a Himalayan valley, J. Geophys Res.-Atmos., 123, 13186–13202,  <a href="https://doi.org/10.1029/2018JD029427" target="_blank">https://doi.org/10.1029/2018JD029427</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib32"><label>32</label><mixed-citation>
Powers, J. G., Klemp, J. B., Skamarock, W. C., Davis, C. A., Dudhia, J., Gill, D. O., Coen, J. L., Gochis, D. J., Ahmadov, R., Peckham, S. E., Grell, G. A., Michalakes, J., Trahan, S., Benjamin, S. G., Alexander, C. R., Dimego, G. J., Wang, W., Schwartz, C. S., Romine, G. S., Liu, Z., Snyder, C., Chen, F., Barlage, M. J., Yu, W., and Duda, M. G.: The weather research and forecasting model: Overview, system efforts, and future directions, B. Am. Meteorol. Soc., 98,  1717–1737, <a href="https://doi.org/10.1175/BAMS-D-15-00308.1" target="_blank">https://doi.org/10.1175/BAMS-D-15-00308.1</a>, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib33"><label>33</label><mixed-citation>
Rios-Berrios, R., Torn, R. D., and Davis, C.: An ensemble approach to investigate tropical cyclone intensification in sheared environments. Part I: Katia (2011), J. Atmos. Sci., 73, 71–93, <a href="https://doi.org/10.1175/JAS-D-15-0052.1" target="_blank">https://doi.org/10.1175/JAS-D-15-0052.1</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib34"><label>34</label><mixed-citation>
Sanders, F. and Emanuel, K. A.: The momentum budget and temporal evolution of a mesoscale convective system, J. Atmos. Sci., 34, 322–330, <a href="https://doi.org/10.1175/1520-0469(1977)034&lt;0322:tmbate&gt;2.0.co;2" target="_blank">https://doi.org/10.1175/1520-0469(1977)034&lt;0322:tmbate&gt;2.0.co;2</a>, 1977.
</mixed-citation></ref-html>
<ref-html id="bib1.bib35"><label>35</label><mixed-citation>
Satoh, M.: Conservative Scheme for the Compressible Nonhydrostatic Models with the Horizontally Explicit and Vertically Implicit Time Integration Scheme, Mon. Weather Rev., 130, 1227–1245, <a href="https://doi.org/10.1175/1520-0493(2002)130&lt;1227:CSFTCN&gt;2.0.CO;2" target="_blank">https://doi.org/10.1175/1520-0493(2002)130&lt;1227:CSFTCN&gt;2.0.CO;2</a>, 2002.
</mixed-citation></ref-html>
<ref-html id="bib1.bib36"><label>36</label><mixed-citation>
Skamarock, W. C., Klemp, J. B., Dudhia, J., Gill, D. O., Barker, D. M., Duda, M. G, Huang, X.-Y., Wang, W., and Powers, J. G.: A description of the advanced research WRF version 3, NCAR Tech. Note NCAR/TN-475+STR, 113 pp., <a href="https://doi.org/10.5065/D68S4MVH" target="_blank">https://doi.org/10.5065/D68S4MVH</a>, 2008.
</mixed-citation></ref-html>
<ref-html id="bib1.bib37"><label>37</label><mixed-citation>
Thompson, G., Field, P. R., Rasmussen, R. M., and Hall, W. D.: Explicit forecasts of winter precipitation using an improved bulk microphysics scheme. Part II: implementation of a new snow parameterization, Mon. Weather Rev., 136, 5095–5115, <a href="https://doi.org/10.1175/2008MWR2387.1" target="_blank">https://doi.org/10.1175/2008MWR2387.1</a>, 2008.
</mixed-citation></ref-html>
<ref-html id="bib1.bib38"><label>38</label><mixed-citation>
Trier, S. B., LeMone, M. A., and Skamarock, W. C.: Effect of three-dimensional structure on the stormwide horizontal accelerations and momentum budget of a simulated squall line, Mon. Weather Rev., 126, 2580–2598, <a href="https://doi.org/10.1175/1520-0493(1998)126&lt;2580:EOTDSO&gt;2.0.CO;2" target="_blank">https://doi.org/10.1175/1520-0493(1998)126&lt;2580:EOTDSO&gt;2.0.CO;2</a>, 1998.
</mixed-citation></ref-html>
<ref-html id="bib1.bib39"><label>39</label><mixed-citation>
Undén, P., Rontu, L., Järvinen, H., Lynch, P., Calvo, J., Cats, G., Cuxart, J., Eerola, K., Fortelius, C., Garcia-Moya, J. A., Jones, C., Lenderlink, G., McDonald, A., McGrath, R., Navascues, B., Nielsen, N. W., Ødegaard, V., Rodriguez, E., Rummukainen, M., Rõõm, R., Sattler, K., Sass, B. H., Savijärvi, H., Schreur, B. W., Sigg, R., The, H., and Tijm, A.: HIRLAM-5 scientific documentation, Swed. Meteorol. and Hydrol. Inst., 144 pp., available at: <a href="http://www.hirlam.org/" target="_blank"/> (last access: 9 August 2019), 2002.
</mixed-citation></ref-html>
<ref-html id="bib1.bib40"><label>40</label><mixed-citation>
Wicker, L. J. and Skamarock, W. C.: Time-splitting methods for elastic models using forward time schemes, Mon. Weather Rev., 130, 2088–2097, <a href="https://doi.org/10.1175/1520-0493(2002)130&lt;2088:TSMFEM&gt;2.0.CO;2" target="_blank">https://doi.org/10.1175/1520-0493(2002)130&lt;2088:TSMFEM&gt;2.0.CO;2</a>, 2002.
</mixed-citation></ref-html>
<ref-html id="bib1.bib41"><label>41</label><mixed-citation>
Xue, M., Droegemeier, K. K., and Wong, V.: The Advanced Regional Prediction System (ARPS) – A multiscale nonhydrostatic atmospheric simulation and prediction tool. Part I: Model dynamics and verification, Meteor. Atmos. Phys., 75, 161–193, <a href="https://doi.org/10.1007/s007030070003" target="_blank">https://doi.org/10.1007/s007030070003</a>, 2000.
</mixed-citation></ref-html>
<ref-html id="bib1.bib42"><label>42</label><mixed-citation>
Xue, M., Droegemeier, K. K., and Wong, V., Shapiro, A., Brewster, K. A., Carr, F. H., Weber, D. B., Liu, Y., and Wang, D.: The Advanced Regional Prediction System (ARPS) – A multiscale nonhydrostatic atmospheric simulation and prediction tool. Part II: Model physics and applications,  Meteor. Atmos. Phys., 76, 143–165, <a href="https://doi.org/10.1007/s007030170027" target="_blank">https://doi.org/10.1007/s007030170027</a>, 2001.

</mixed-citation></ref-html>
<ref-html id="bib1.bib43"><label>43</label><mixed-citation>
Zhang, D.-L., Liu, Y., and Yau, M. K.: A multiscale numerical study of Hurricane Andrew (1992). Part III: dynamically induced vertical motion, Mon. Weather Rev., 128, 3772–3788, <a href="https://doi.org/10.1175/1520-0493(2001)129&lt;3772:AMNSOH&gt;2.0.CO;2" target="_blank">https://doi.org/10.1175/1520-0493(2001)129&lt;3772:AMNSOH&gt;2.0.CO;2</a>, 2000.
</mixed-citation></ref-html>--></article>
