<?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" article-type="research-article">
  <front>
    <journal-meta><journal-id journal-id-type="publisher">TC</journal-id><journal-title-group>
    <journal-title>The Cryosphere</journal-title>
    <abbrev-journal-title abbrev-type="publisher">TC</abbrev-journal-title><abbrev-journal-title abbrev-type="nlm-ta">The Cryosphere</abbrev-journal-title>
  </journal-title-group><issn pub-type="epub">1994-0424</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/tc-16-903-2022</article-id><title-group><article-title>Elements of future snowpack modeling – Part 1: A physical instability arising from the nonlinear coupling of transport<?xmltex \hack{\break}?> and phase changes</article-title><alt-title>An instability from nonlinear coupling in snow modeling – Part 1</alt-title>
      </title-group><?xmltex \runningtitle{An instability from nonlinear coupling in snow modeling -- Part 1}?><?xmltex \runningauthor{K. Schürholt et al}?>
      <contrib-group>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Schürholt</surname><given-names>Konstantin</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff2 aff3">
          <name><surname>Kowalski</surname><given-names>Julia</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="yes" rid="aff1">
          <name><surname>Löwe</surname><given-names>Henning</given-names></name>
          <email>loewe@slf.ch</email>
        <ext-link>https://orcid.org/0000-0001-7515-6809</ext-link></contrib>
        <aff id="aff1"><label>1</label><institution>WSL Institute for Snow and Avalanche Research SLF, Flüelastr. 11, 7260 Davos, Switzerland</institution>
        </aff>
        <aff id="aff2"><label>2</label><institution>AICES Graduate School, RWTH Aachen University, Schinkelstr. 2a, 52062 Aachen, Germany</institution>
        </aff>
        <aff id="aff3"><label>3</label><institution>Computational Geoscience, University of Göttingen, Goldschmidtstr. 1, 37077 Göttingen, Germany</institution>
        </aff>
      </contrib-group>
      <author-notes><corresp id="corr1">Henning Löwe (loewe@slf.ch)</corresp></author-notes><pub-date><day>11</day><month>March</month><year>2022</year></pub-date>
      
      <volume>16</volume>
      <issue>3</issue>
      <fpage>903</fpage><lpage>923</lpage>
      <history>
        <date date-type="received"><day>25</day><month>February</month><year>2021</year></date>
           <date date-type="rev-request"><day>25</day><month>March</month><year>2021</year></date>
           <date date-type="rev-recd"><day>14</day><month>October</month><year>2021</year></date>
           <date date-type="accepted"><day>23</day><month>October</month><year>2021</year></date>
      </history>
      <permissions>
        <copyright-statement>Copyright: © 2022 Konstantin Schürholt et al.</copyright-statement>
        <copyright-year>2022</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://tc.copernicus.org/articles/16/903/2022/tc-16-903-2022.html">This article is available from https://tc.copernicus.org/articles/16/903/2022/tc-16-903-2022.html</self-uri><self-uri xlink:href="https://tc.copernicus.org/articles/16/903/2022/tc-16-903-2022.pdf">The full text article is available as a PDF file from https://tc.copernicus.org/articles/16/903/2022/tc-16-903-2022.pdf</self-uri>
      <abstract><title>Abstract</title>

      <p id="d1e114">The incorporation of vapor transport has become a key demand for snowpack modeling in which accompanied phase changes give rise to a new, nonlinear coupling in the heat and mass equations. This coupling has an impact on choosing efficient numerical schemes for 1D snowpack models which are naturally not designed to cope with mathematical particularities of arbitrary, nonlinear partial differential equations (PDEs). To explore this coupling we have implemented a stand-alone finite element solution of the coupled heat and mass equations in snow using the computing platform FEniCS. We focus on the nonlinear feedback of the ice phase exchanging mass with a diffusing vapor phase with concurrent heat transport in the absence of settling. We demonstrate that existing continuum-mechanical models derived through homogenization or mixture theory yield similar results for homogeneous snowpacks of constant density. When snow density varies significantly with depth, we show that phase changes in the presence of temperature gradients give rise to nonlinear advection of the ice phase amplifying existing density variations. Eventually, this advection triggers a wave instability in the continuity equations. This is traced back to the density dependence of the effective transport coefficients as revealed by a linear stability analysis of the nonlinear PDE system. The instability is an inherent feature of existing continuum models and predicts, as a side product, the formation of a low-density (mechanical) weak layer on the sublimating side of an ice crust. The wave instability constitutes a key challenge for a faithful treatment of solid–vapor mass conservation between layers, which is discussed in view of the underlying homogenization schemes and their numerical solutions.</p>
  </abstract>
    </article-meta>
  </front>
<body>
      

<sec id="Ch1.S1" sec-type="intro">
  <label>1</label><title>Introduction</title>
      <p id="d1e126">Neglecting vapor transport in the pore space of a snowpack for the overall mass balance
is considered as a serious uncertainty in snow modeling. Persistent temperature gradients throughout the season may contribute to the depletion of snow density at the bottom of the snowpack due to upward vapor fluxes, as has been hypothesized for shallow tundra snowpacks by <xref ref-type="bibr" rid="bib1.bibx4" id="text.1"/> and <xref ref-type="bibr" rid="bib1.bibx11" id="text.2"/>. This problem is relevant for applications, for example, in permafrost where temperature gradients may
induce the drying of soils with a feedback on snow metamorphism in the
adjacent bottom layer <xref ref-type="bibr" rid="bib1.bibx11" id="paren.3"/>, in turn affecting the ground thermal regime. Other applications of vapor transport comprise post-depositional redistribution of stable water isotopes in polar snow <xref ref-type="bibr" rid="bib1.bibx27" id="paren.4"/>, density variations in polar firn <xref ref-type="bibr" rid="bib1.bibx20" id="paren.5"/>, or the general impact on stratigraphy and metamorphism <xref ref-type="bibr" rid="bib1.bibx26" id="paren.6"/>.</p>
      <p id="d1e148">The governing equations of macroscopic vapor transport in snow have been used for a long time. The homogenized equations of heat and purely diffusive vapor transport including phase changes have been derived from mixture theory in early work <xref ref-type="bibr" rid="bib1.bibx1 bib1.bibx22 bib1.bibx3" id="paren.7"/>. More recently, the equations were re-derived from a rigorous two-scale expansion <xref ref-type="bibr" rid="bib1.bibx7" id="paren.8"/> yielding the same form of the resulting equations. The asset of the latter approach is the parameter control, which allows us to assess the model's scope and limits of applicability from the scale analysis. This homogenization method was later generalized to include effects of thermal convection <xref ref-type="bibr" rid="bib1.bibx7" id="paren.9"/>. <xref ref-type="bibr" rid="bib1.bibx16" id="text.10"/> revisited the problem of coupled heat and vapor transport using mixture theory, leading to a more restrictive set of transport equations. They rely on the assumption that the vapor concentration is always close but not exactly in equilibrium with temperature. While the existing vapor schemes largely differ in the form of the effective transport coefficients, there is a general agreement on the basic type and form of the partial differential equations (PDEs) governing coupled heat and diffusive vapor transport in snow. These PDEs are coupled, nonlinear reaction diffusion equations. The diffusion terms are characterized by the effective diffusion constant and effective thermal conductivity in snow, while the reaction (or source) terms describe the phase changes, i.e., the volume-averaged, solid–vapor re-crystallization rates from metamorphism <xref ref-type="bibr" rid="bib1.bibx18" id="paren.11"/>. However, <xref ref-type="bibr" rid="bib1.bibx7" id="text.12"/> and <xref ref-type="bibr" rid="bib1.bibx16" id="text.13"/> both neglect the feedback of phase changes through an <italic>evolving</italic> ice phase in their numerical experiments. It is this coupling that needs to be understood for the incorporation of published homogenized vapor schemes into  snowpack models for assessing the impact on snow density.</p>
      <p id="d1e176">Recently <xref ref-type="bibr" rid="bib1.bibx17" id="text.14"/> equipped the model SNOWPACK with a vapor transport scheme in the form of a nonlinear reaction–diffusion equation. It is the first attempt to solve the vapor diffusion equation in a snowpack model. The numerical solution requires time steps of 1 min and mesh sizes of 1 mm to avoid ”numerical oscillations” that were observed, even within an implicit, unconditionally stable numerical scheme. ”Sawtooth effects” attributed to ”slight numerical errors” were already revealed in early numerical work on the coupling of ice, vapor and energy transport in snow <xref ref-type="bibr" rid="bib1.bibx1" id="paren.15"/>, and likewise, the numerical solution in <xref ref-type="bibr" rid="bib1.bibx16" id="text.16"/> shows oscillations if longer simulation runs are considered (Andy Hansen, personal communication, 2017). Numerical issues have also been reported for solid–liquid phase changes when incorporating water flow into SNOWPACK via the Richards equation, which were attributed to density inhomogeneities <xref ref-type="bibr" rid="bib1.bibx29" id="paren.17"/>. Phase change processes on seasonal timescales in polar snowpacks are important for climate modeling ideally adequately simulated on coarse meshes with large time steps. Therefore, it is necessary to understand the mathematical complexity of phase changes coupled to the mass transport equation. This will enable us to either design stable and accurate numerical schemes or otherwise accept simplified treatments which, in the case of vapor transport, could be, for example, based on a strict equilibrium assumption <xref ref-type="bibr" rid="bib1.bibx20 bib1.bibx27" id="paren.18"/>.</p>
      <p id="d1e194">Due to the lack of analytical solutions for these nonlinear problems, confidence in orders of magnitudes of computed numbers can only be achieved via careful numerical experiments to address solver accuracy or mesh effects. This is naturally cumbersome within a full snowpack model. In addition, an explicit solution of the ice mass conservation equation is commonly avoided by using the Lagrangian frame of reference of the settling equation <xref ref-type="bibr" rid="bib1.bibx5 bib1.bibx19" id="paren.19"/>. This complicates the assessment of phase change models in their originally published Eulerian form. Stand-alone numerical investigations of specific model components are therefore justified and necessary to understand nonlinear effects and numerical requirements for the design of efficient solvers in future snowpack models.</p>
      <p id="d1e201">It is the aim of the present paper to advance the understanding of coupled heat and mass transport in snow by a careful numerical analysis of existing homogenization schemes. To overcome the limited flexibility in existing snowpack models we have implemented a stand-alone solver for the PDEs using the finite element (FE) framework FEniCS <xref ref-type="bibr" rid="bib1.bibx2" id="paren.20"/>. The python-based computing platform was previously used for other problems in cryospheric sciences <xref ref-type="bibr" rid="bib1.bibx10" id="paren.21"/>. We focus on the nonlinear feedback of heat and vapor transport on an evolving ice phase. We consider the simplest setting and neglect convection in the gas phase
and settling in the solid phase to provide a sound reference for future extensions. The question of how these effects can be coupled to settling will be addressed in a companion paper <xref ref-type="bibr" rid="bib1.bibx25" id="paren.22"/>.
Our approach will reveal the rich mathematical complexity that is hidden in published models and will provide evidence that the origin of this complexity is the density dependence of the effective transport coefficients in the presence of phase changes. We will  show that this coupling causes the formation of wave patterns in the ice volume fraction profile as a true mathematical feature of the nonlinear PDE system. This is confirmed by an analytical, linear stability analysis attributing the unstable behavior to the density dependence of the effective (heat and mass) diffusion coefficients. The results suggest that previously obtained oscillations in the numerical schemes <xref ref-type="bibr" rid="bib1.bibx1 bib1.bibx17" id="paren.23"/> are physical and not numerical artifacts. With this work we seek to contribute to an understanding of if and how these features should be taken into account in future work.</p>
      <p id="d1e216">The paper is organized as follows. In Sect. <xref ref-type="sec" rid="Ch1.S2"/> we state the
governing partial differential equations from the homogenization
schemes <xref ref-type="bibr" rid="bib1.bibx7 bib1.bibx16" id="paren.24"/>. In Sect. <xref ref-type="sec" rid="Ch1.S3"/> we outline the finite element solution of the weak
formulation of the problem and its implementation in FEniCS. In
Sect. <xref ref-type="sec" rid="Ch1.S4"/> we first provide an intercomparison of the two models in their original test scenarios and the scenario of a thin “Gaussian crust” as a smooth density heterogeneity. In Sect. <xref ref-type="sec" rid="Ch1.S5"/> we
characterize the observed migration of the ice phase under vapor
re-crystallization by comparing the full model with an approximate
advection equation for the ice phase which is derived under simplified assumptions. In Sect. <xref ref-type="sec" rid="Ch1.S6"/> we detail the wave patterns
that emerge in the numerical solution of the Gaussian crust. The analysis of the mesh resolution, integration time step and the residuals indicates that the wave patterns are intrinsic features of the mathematical model and not numerical artifacts. This is confirmed by the linear stability analysis in Sect. <xref ref-type="sec" rid="Ch1.S6.SS2"/>. After a few sensitivity tests we will discuss
practical consequences of our study for vapor transport modeling in snow models (Sect. <xref ref-type="sec" rid="Ch1.S8"/>) and provide summarizing conclusions.</p>
</sec>
<sec id="Ch1.S2">
  <label>2</label><title>Homogenized heat and mass transport</title>
      <p id="d1e245">As a theoretical starting point we focus on two recently published homogenized formulations for an evolving vapor phase, namely <xref ref-type="bibr" rid="bib1.bibx7" id="text.25"/> and <xref ref-type="bibr" rid="bib1.bibx16" id="text.26"/>. Despite
differences in their theoretical homogenization approach, asymptotic
expansion <xref ref-type="bibr" rid="bib1.bibx7" id="paren.27"/> and mixture theory <xref ref-type="bibr" rid="bib1.bibx16" id="paren.28"/>,
both models have a very similar mathematical structure that resembles the earlier work of <xref ref-type="bibr" rid="bib1.bibx3" id="text.29"/>.</p>
<sec id="Ch1.S2.SS1">
  <label>2.1</label><title>Vapor scheme from Calonne et al. (2014)</title>
      <p id="d1e270">The two-scale expansion for (vapor) mass and energy
<xref ref-type="bibr" rid="bib1.bibx7" id="paren.30"/> leads to the following set of equations for the
vapor density <inline-formula><mml:math id="M1" 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> and the temperature <inline-formula><mml:math id="M2" display="inline"><mml:mi>T</mml:mi></mml:math></inline-formula>:

                <disp-formula specific-use="gather" content-type="numbered"><mml:math id="M3" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E1"><mml:mtd><mml:mtext>1</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mo>∂</mml:mo><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>⋅</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub><mml:mi mathvariant="normal">∇</mml:mi><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mi>s</mml:mi><mml:mover accent="true"><mml:mrow><mml:msub><mml:mi>v</mml:mi><mml:mi mathvariant="normal">n</mml:mi></mml:msub></mml:mrow><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E2"><mml:mtd><mml:mtext>2</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mo>(</mml:mo><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi>C</mml:mi><mml:msub><mml:mo>)</mml:mo><mml:mi mathvariant="normal">eff</mml:mi></mml:msub><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mo>∂</mml:mo><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mi>T</mml:mi><mml:mo>-</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>⋅</mml:mo><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>T</mml:mi><mml:mo>=</mml:mo><mml:mi>L</mml:mi><mml:mi>s</mml:mi><mml:mover accent="true"><mml:mrow><mml:msub><mml:mi>v</mml:mi><mml:mi mathvariant="normal">n</mml:mi></mml:msub></mml:mrow><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

            Here <inline-formula><mml:math id="M4" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the ice volume fraction, <inline-formula><mml:math id="M5" display="inline"><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> the effective diffusion coefficient, <inline-formula><mml:math id="M6" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> the constant density of ice, <inline-formula><mml:math id="M7" display="inline"><mml:mi>s</mml:mi></mml:math></inline-formula> the surface area density per unit volume, <inline-formula><mml:math id="M8" display="inline"><mml:mover accent="true"><mml:mrow><mml:msub><mml:mi>v</mml:mi><mml:mi mathvariant="normal">n</mml:mi></mml:msub></mml:mrow><mml:mo mathvariant="normal">‾</mml:mo></mml:mover></mml:math></inline-formula> the volume-averaged normal velocity of the ice–air interface indicating deposition or sublimation, <inline-formula><mml:math id="M9" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi>C</mml:mi><mml:msub><mml:mo>)</mml:mo><mml:mi mathvariant="normal">eff</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> the effective volumetric heat capacity (times snow density), <inline-formula><mml:math id="M10" display="inline"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> the effective thermal conductivity and <inline-formula><mml:math id="M11" display="inline"><mml:mi>L</mml:mi></mml:math></inline-formula> the latent heat of sublimation.</p>
      <p id="d1e528">The surface area density <inline-formula><mml:math id="M12" display="inline"><mml:mi>s</mml:mi></mml:math></inline-formula>, reflecting the current state of the microstructure and principally evolving in time, is assumed to be constant here in accordance with <xref ref-type="bibr" rid="bib1.bibx7" id="text.31"/>.</p>
      <p id="d1e541">The source term <inline-formula><mml:math id="M13" display="inline"><mml:mrow><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mi>s</mml:mi><mml:mover accent="true"><mml:mrow><mml:msub><mml:mi>v</mml:mi><mml:mi mathvariant="normal">n</mml:mi></mml:msub></mml:mrow><mml:mo mathvariant="normal">‾</mml:mo></mml:mover></mml:mrow></mml:math></inline-formula> on the righthand side (r.h.s.) of the vapor Eq. (<xref ref-type="disp-formula" rid="Ch1.E1"/>) quantifies phase changes, i.e., the net condensation rate. This implies the form of the energy source term <inline-formula><mml:math id="M14" display="inline"><mml:mrow><mml:mi>L</mml:mi><mml:mi>s</mml:mi><mml:mover accent="true"><mml:mrow><mml:msub><mml:mi>v</mml:mi><mml:mi mathvariant="normal">n</mml:mi></mml:msub></mml:mrow><mml:mo mathvariant="normal">‾</mml:mo></mml:mover></mml:mrow></mml:math></inline-formula> through latent heat. In the simplest setting <xref ref-type="bibr" rid="bib1.bibx7" id="paren.32"/>, the volume-averaged interface velocity is given by
            <disp-formula id="Ch1.E3" content-type="numbered"><label>3</label><mml:math id="M15" display="block"><mml:mrow><mml:mover accent="true"><mml:mrow><mml:msub><mml:mi>v</mml:mi><mml:mi mathvariant="normal">n</mml:mi></mml:msub></mml:mrow><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:mi mathvariant="italic">β</mml:mi><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mfrac></mml:mstyle><mml:mo mathsize="1.1em">(</mml:mo><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>)</mml:mo><mml:mo mathsize="1.1em">)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          where <inline-formula><mml:math id="M16" display="inline"><mml:mi mathvariant="italic">β</mml:mi></mml:math></inline-formula> is the inverse growth velocity and <inline-formula><mml:math id="M17" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> the
saturation vapor density. Note that <inline-formula><mml:math id="M18" display="inline"><mml:mover accent="true"><mml:mrow><mml:msub><mml:mi>v</mml:mi><mml:mi mathvariant="normal">n</mml:mi></mml:msub></mml:mrow><mml:mo mathvariant="normal">‾</mml:mo></mml:mover></mml:math></inline-formula> strongly depends on the temperature, indicating the temperature feedback on the vapor mass balance. In order to close the system of  Eqs. (<xref ref-type="disp-formula" rid="Ch1.E1"/>)–(<xref ref-type="disp-formula" rid="Ch1.E3"/>), parametrizations for the effective PDE coefficients must be provided (see below in Sect. <xref ref-type="sec" rid="Ch1.S2.SS3"/>). The feedback of a spatiotemporally evolving ice phase <inline-formula><mml:math id="M19" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> has not been considered in <xref ref-type="bibr" rid="bib1.bibx7" id="text.33"/>.</p>
</sec>
<sec id="Ch1.S2.SS2">
  <label>2.2</label><title>Vapor scheme from Hansen and Foslien (2015)</title>
      <p id="d1e736">A similar coupling scheme of the vapor transport to the energy equation has been put forward in <xref ref-type="bibr" rid="bib1.bibx16" id="text.34"/>. Using the same notation as above, these equations can be written in the form

                <disp-formula specific-use="gather" content-type="numbered"><mml:math id="M20" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E4"><mml:mtd><mml:mtext>4</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>T</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>T</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>-</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>⋅</mml:mo><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>T</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>T</mml:mi></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:mi>c</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E5"><mml:mtd><mml:mtext>5</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mo>(</mml:mo><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi>C</mml:mi><mml:msub><mml:mo>)</mml:mo><mml:mi mathvariant="normal">eff</mml:mi></mml:msub><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mo>∂</mml:mo><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mi>T</mml:mi><mml:mo>-</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>⋅</mml:mo><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>T</mml:mi><mml:mo>=</mml:mo><mml:mi>c</mml:mi><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mi>L</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

            Here the r.h.s. of both equations is expressed in terms of the condensation rate <inline-formula><mml:math id="M21" display="inline"><mml:mi>c</mml:mi></mml:math></inline-formula>.</p>
      <p id="d1e908">The comparison of both models reveals that the vapor mass balance of <xref ref-type="bibr" rid="bib1.bibx16" id="text.35"/> (Eq. <xref ref-type="disp-formula" rid="Ch1.E4"/>) can be obtained from the corresponding vapor mass balance of <xref ref-type="bibr" rid="bib1.bibx7" id="text.36"/> (Eq. <xref ref-type="disp-formula" rid="Ch1.E1"/>) using the following reasoning: the deviation of the vapor concentration <inline-formula><mml:math id="M22" display="inline"><mml:mrow><mml:mi mathvariant="italic">δ</mml:mi><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> from its equilibrium value <inline-formula><mml:math id="M23" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> will be mostly small. This suggests the use of an ansatz <inline-formula><mml:math id="M24" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>)</mml:mo><mml:mo>+</mml:mo><mml:mi mathvariant="italic">δ</mml:mi><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> in Eq. (<xref ref-type="disp-formula" rid="Ch1.E1"/>). Assuming further that <inline-formula><mml:math id="M25" display="inline"><mml:mrow><mml:mi mathvariant="italic">δ</mml:mi><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> diffuses faster than it relaxes locally, the deviation from equilibrium is kept nonzero only in the reaction term, which then implies Eq. (<xref ref-type="disp-formula" rid="Ch1.E4"/>).
<xref ref-type="bibr" rid="bib1.bibx16" id="text.37"/> support this derivation with a (non-rigorous) scaling argument to avoid two conflicting equations for the temperature <inline-formula><mml:math id="M26" display="inline"><mml:mi>T</mml:mi></mml:math></inline-formula>.</p>
      <p id="d1e1017">Though both presented models are strikingly similar in structure, it should be emphasized that the system  of Eqs. (<xref ref-type="disp-formula" rid="Ch1.E1"/>)–(<xref ref-type="disp-formula" rid="Ch1.E3"/>) is closed and can be solved for <inline-formula><mml:math id="M27" 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> and <inline-formula><mml:math id="M28" display="inline"><mml:mi>T</mml:mi></mml:math></inline-formula> using an arbitrary closure for the condensation rate. This is different for the system of Eqs. (<xref ref-type="disp-formula" rid="Ch1.E4"/>)–(<xref ref-type="disp-formula" rid="Ch1.E5"/>): due to the simplifying assumption outlined above, Hansen's model lacks an evolution equation for the (perturbed) vapor mass balance. Since both vapor mass balance (Eq. <xref ref-type="disp-formula" rid="Ch1.E4"/>) and energy balance (Eq. <xref ref-type="disp-formula" rid="Ch1.E5"/>) are actually formulated in terms of the temperature <inline-formula><mml:math id="M29" display="inline"><mml:mi>T</mml:mi></mml:math></inline-formula>, <xref ref-type="bibr" rid="bib1.bibx16" id="text.38"/> proceeds by consolidating both equations into a single equation which eliminates the condensation rate.
            <disp-formula id="Ch1.E6" content-type="numbered"><label>6</label><mml:math id="M30" display="block"><mml:mtable rowspacing="0.2ex" class="split" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:mo mathsize="1.1em">(</mml:mo><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mo>-</mml:mo><mml:mspace linebreak="nobreak" width="0.25em"/><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup></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:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow><mml:mi>L</mml:mi></mml:mfrac></mml:mstyle><mml:mo>(</mml:mo><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi>C</mml:mi><mml:msub><mml:mo>)</mml:mo><mml:mi mathvariant="normal">eff</mml:mi></mml:msub><mml:mo mathsize="1.1em">)</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>T</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>⋅</mml:mo><mml:mfenced close=")" open="("><mml:mrow><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup></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:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow><mml:mi>L</mml:mi></mml:mfrac></mml:mstyle><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>T</mml:mi></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
          The latter now poses a nonlinear yet closed PDE that can be solved for the evolving temperature. Back-substituting the resulting temperature into either Eq. (<xref ref-type="disp-formula" rid="Ch1.E4"/>) or Eq. (<xref ref-type="disp-formula" rid="Ch1.E5"/>) allows us to evaluate the condensation rate <inline-formula><mml:math id="M31" display="inline"><mml:mi>c</mml:mi></mml:math></inline-formula>, without the freedom remaining to impose yet another closure relation. An additional, important implication of the near-equilibrium assumption in <xref ref-type="bibr" rid="bib1.bibx16" id="text.39"/> is the impossibility to impose arbitrary boundary conditions for the vapor phase. By construction of the model, the boundary conditions are Dirichlet values for the equilibrium vapor concentration consistent with the boundary temperatures. Similar to <xref ref-type="bibr" rid="bib1.bibx7" id="text.40"/> the feedback of a spatiotemporally evolving ice-phase <inline-formula><mml:math id="M32" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is not considered in <xref ref-type="bibr" rid="bib1.bibx16" id="text.41"/>.</p>
</sec>
<sec id="Ch1.S2.SS3">
  <label>2.3</label><title>Parametrization of the PDE coefficients</title>
      <p id="d1e1256">Despite similarities in the forms of the PDEs, both models have used different parametrizations for the transport coefficients <inline-formula><mml:math id="M33" display="inline"><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M34" display="inline"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and
<inline-formula><mml:math id="M35" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi>C</mml:mi><mml:msub><mml:mo>)</mml:mo><mml:mi mathvariant="normal">eff</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M36" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula>. While the two-scale homogenization presented in <xref ref-type="bibr" rid="bib1.bibx7" id="text.42"/> contains <italic>derived</italic> expressions for the effective properties in terms of the microstructure as a byproduct, mixture theory in <xref ref-type="bibr" rid="bib1.bibx16" id="text.43"/> relies on independently <italic>postulated</italic> parametrizations. The implications of these differences are presently still under debate <xref ref-type="bibr" rid="bib1.bibx14" id="paren.44"/>.</p>
      <p id="d1e1327">In general, there is a broad agreement that all effective parameters are primarily influenced by the density or ice volume fraction <inline-formula><mml:math id="M37" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. The goal of the present paper is not an exhaustive intercomparison of different formulations of the parametrized coefficients in the analyzed snow pack models. We rather want to focus on the intrinsic features and physical implications of the underlying process models. We therefore aim to keep differences due to specific flavors of the coefficients at the minimal level. To this end we use the same parametrization for the equilibrium vapor pressure and the effective heat capacity in both models but use different parametrizations for the effective thermal conductivity and diffusion constant. In the following we refer to these PDE parametrizations as the Calonne parametrization and the Hansen parametrization. All coefficients are stated explicitly in Appendix <xref ref-type="sec" rid="App1.Ch1.S1"/>.</p>
</sec>
<sec id="Ch1.S2.SS4">
  <label>2.4</label><title>Feedback from an evolving ice phase</title>
      <p id="d1e1352">The consistent treatment of phase changes requires a dynamic ice phase that evolves through recrystallization alongside the vapor phase in a mass-conserving way. This was considered in neither <xref ref-type="bibr" rid="bib1.bibx7" id="text.45"/> nor <xref ref-type="bibr" rid="bib1.bibx16" id="text.46"/>.
To investigate the feedback of an evolving ice phase on the two models from above we supply
Eqs. (<xref ref-type="disp-formula" rid="Ch1.E1"/>)–(<xref ref-type="disp-formula" rid="Ch1.E3"/>) and (<xref ref-type="disp-formula" rid="Ch1.E4"/>)–(<xref ref-type="disp-formula" rid="Ch1.E5"/>) with a dynamic ice mass conservation equation <xref ref-type="bibr" rid="bib1.bibx3 bib1.bibx18" id="paren.47"/>. In the absence of settling but in the presence of phase changes, the continuity equation reduces to an ordinary differential equation for each location in space,
            <disp-formula id="Ch1.E7" content-type="numbered"><label>7</label><mml:math id="M38" display="block"><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mo>∂</mml:mo><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mfenced close="" open="{"><mml:mrow><mml:mtable class="array" columnalign="left left"><mml:mtr><mml:mtd><mml:mrow><mml:mi>s</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mover accent="true"><mml:mrow><mml:msub><mml:mi>v</mml:mi><mml:mi mathvariant="normal">n</mml:mi></mml:msub></mml:mrow><mml:mo mathvariant="normal">‾</mml:mo></mml:mover></mml:mrow></mml:mtd><mml:mtd><mml:mtext>(Calonne)</mml:mtext></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mstyle displaystyle="false"><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mi>c</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle></mml:mstyle></mml:mtd><mml:mtd><mml:mtext>(Hansen)</mml:mtext></mml:mtd></mml:mtr></mml:mtable><mml:mo>,</mml:mo></mml:mrow></mml:mfenced></mml:mrow></mml:math></disp-formula>
          to balance the source terms in the vapor equations above. In Calonne's model <inline-formula><mml:math id="M39" display="inline"><mml:mover accent="true"><mml:mrow><mml:msub><mml:mi>v</mml:mi><mml:mi mathvariant="normal">n</mml:mi></mml:msub></mml:mrow><mml:mo mathvariant="normal">‾</mml:mo></mml:mover></mml:math></inline-formula> can be evaluated from the closure relation (Eq. <xref ref-type="disp-formula" rid="Ch1.E3"/>), whereas Hansen's <inline-formula><mml:math id="M40" display="inline"><mml:mi>c</mml:mi></mml:math></inline-formula> has to be reconstructed from either Eq. (<xref ref-type="disp-formula" rid="Ch1.E4"/>) or Eq. (<xref ref-type="disp-formula" rid="Ch1.E5"/>) as outlined before.</p>
      <p id="d1e1462">We summarize all symbols and parameter values of the models in Table <xref ref-type="table" rid="Ch1.T1"/>.</p>

<?xmltex \floatpos{t}?><table-wrap id="Ch1.T1" specific-use="star"><?xmltex \currentcnt{1}?><label>Table 1</label><caption><p id="d1e1470">Symbols, defining equations and constants used in this study.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="4">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="left"/>
     <oasis:colspec colnum="3" colname="col3" align="left"/>
     <oasis:colspec colnum="4" colname="col4" align="left"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Symbol</oasis:entry>
         <oasis:entry colname="col2">Name</oasis:entry>
         <oasis:entry colname="col3">Equation/value</oasis:entry>
         <oasis:entry colname="col4">Unit</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row rowsep="1">
         <oasis:entry namest="col1" nameend="col4">PDE state variables </oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M41" display="inline"><mml:mi>T</mml:mi></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">Temperature</oasis:entry>
         <oasis:entry colname="col3">Eqs. (<xref ref-type="disp-formula" rid="Ch1.E2"/>), (<xref ref-type="disp-formula" rid="Ch1.E5"/>)</oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M42" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">K</mml:mi></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M43" 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></oasis:entry>
         <oasis:entry colname="col2">Vapor density</oasis:entry>
         <oasis:entry colname="col3">Eqs. (<xref ref-type="disp-formula" rid="Ch1.E1"/>), (<xref ref-type="disp-formula" rid="Ch1.E4"/>)</oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M44" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">kg</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"><inline-formula><mml:math id="M45" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">Ice volume fraction</oasis:entry>
         <oasis:entry colname="col3">Eq. (<xref ref-type="disp-formula" rid="Ch1.E7"/>)</oasis:entry>
         <oasis:entry colname="col4">–</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry namest="col1" nameend="col4">PDE coefficients </oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M46" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi>C</mml:mi><mml:msub><mml:mo>)</mml:mo><mml:mi mathvariant="normal">eff</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">Effective heat capacity</oasis:entry>
         <oasis:entry colname="col3">Eq. (<xref ref-type="disp-formula" rid="App1.Ch1.S1.E37"/>)</oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M47" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">J</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">K</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></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M48" display="inline"><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">Effective vapor diffusion coefficient</oasis:entry>
         <oasis:entry colname="col3">Eqs. (<xref ref-type="disp-formula" rid="App1.Ch1.S1.E38"/>), (<xref ref-type="disp-formula" rid="App1.Ch1.S1.E40"/>)</oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M49" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><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">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M50" display="inline"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">Effective thermal conductivity</oasis:entry>
         <oasis:entry colname="col3">Eqs. (<xref ref-type="disp-formula" rid="App1.Ch1.S1.E38"/>), (<xref ref-type="disp-formula" rid="App1.Ch1.S1.E40"/>)</oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M51" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">W</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">K</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></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M52" display="inline"><mml:mi>c</mml:mi></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">Ice deposition rate</oasis:entry>
         <oasis:entry colname="col3">Eq. (<xref ref-type="disp-formula" rid="Ch1.E5"/>)</oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M53" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">kg</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup><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></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M54" display="inline"><mml:mover accent="true"><mml:mrow><mml:msub><mml:mi>v</mml:mi><mml:mi mathvariant="normal">n</mml:mi></mml:msub></mml:mrow><mml:mo mathvariant="normal">‾</mml:mo></mml:mover></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">Averaged interface velocity</oasis:entry>
         <oasis:entry colname="col3">Eq. (<xref ref-type="disp-formula" rid="Ch1.E3"/>)</oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M55" display="inline"><mml:mrow class="unit"><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">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"><inline-formula><mml:math id="M56" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">Equilibrium vapor density</oasis:entry>
         <oasis:entry colname="col3">Eq. (<xref ref-type="disp-formula" rid="App1.Ch1.S1.E36"/>)</oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M57" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">kg</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry namest="col1" nameend="col4"><bold>Constant parameters</bold></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M58" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">Ice density</oasis:entry>
         <oasis:entry colname="col3">917</oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M59" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">kg</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M60" display="inline"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">Ice thermal conductivity</oasis:entry>
         <oasis:entry colname="col3">2.3</oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M61" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">W</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">K</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></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M62" display="inline"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">a</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">Air thermal conductivity</oasis:entry>
         <oasis:entry colname="col3">0.024</oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M63" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">W</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">K</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></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M64" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">Ice heat capacity</oasis:entry>
         <oasis:entry colname="col3">2000</oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M65" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">J</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">kg</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">K</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></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M66" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mi mathvariant="normal">a</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">Air heat capacity</oasis:entry>
         <oasis:entry colname="col3">1005</oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M67" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">J</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">kg</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">K</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></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M68" display="inline"><mml:mi>L</mml:mi></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">Ice latent heat of sublimation</oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M69" display="inline"><mml:mrow><mml:mn mathvariant="normal">2.6</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">9</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M70" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">J</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M71" display="inline"><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">Diffusion coefficient of vapor in air</oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M72" 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">5</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M73" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><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></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M74" display="inline"><mml:mi mathvariant="italic">β</mml:mi></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">Kinetic coefficient</oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M75" display="inline"><mml:mrow><mml:mn mathvariant="normal">5.5</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">5</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M76" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">s</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">m</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></oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"><inline-formula><mml:math id="M77" display="inline"><mml:mi>s</mml:mi></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">Surface area per unit volume</oasis:entry>
         <oasis:entry colname="col3">3770</oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M78" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi mathvariant="normal">m</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></oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry namest="col1" nameend="col4">Parameters of the linear stability analysis </oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M79" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">ref</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">Reference temperature</oasis:entry>
         <oasis:entry colname="col3">Eq. (<xref ref-type="disp-formula" rid="Ch1.E28"/>)/263</oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M80" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">K</mml:mi></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M81" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mrow><mml:mi mathvariant="normal">i</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">Reference ice volume fraction</oasis:entry>
         <oasis:entry colname="col3">Eq. (<xref ref-type="disp-formula" rid="Ch1.E29"/>)/0.3</oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M82" display="inline"><mml:mrow class="unit"><mml:mo>-</mml:mo></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M83" display="inline"><mml:mi mathvariant="italic">α</mml:mi></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">Linearized kinetic coefficient</oasis:entry>
         <oasis:entry colname="col3">Eq. (<xref ref-type="disp-formula" rid="Ch1.E26"/>)/3.62</oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M84" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><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:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">kg</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></oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

</sec>
</sec>
<sec id="Ch1.S3">
  <label>3</label><title>Finite element solution in FEniCS</title>
      <p id="d1e2467">To minimize the coding overhead and focus on the physical problem while keeping access to advanced numerical adjustments, the coupled
PDE model was implemented using the python-based finite element framework FEniCS <xref ref-type="bibr" rid="bib1.bibx2" id="paren.48"/>. It provides a high-level programming interface for the
solution of PDEs in their weak formulation, with capabilities for parallelization and cross-platform portability via docker images. FEniCS' flexibility arises from its interface to the Unified Form Language (UFL) <xref ref-type="bibr" rid="bib1.bibx2" id="paren.49"/>
which supports an intuitive declaration of discrete FE formulations of variational problems.</p>
      <p id="d1e2476">Below we outline the spatial and temporal discretization for the weak formulation of both systems (Eqs. <xref ref-type="disp-formula" rid="Ch1.E1"/>–<xref ref-type="disp-formula" rid="Ch1.E3"/> and <xref ref-type="disp-formula" rid="Ch1.E4"/>–<xref ref-type="disp-formula" rid="Ch1.E5"/>), and describe the solution strategy employed for the coupled PDEs.</p>
<sec id="Ch1.S3.SS1">
  <label>3.1</label><title>Spatial discretization – standard Galerkin</title>
      <p id="d1e2494">The nonlinear PDE systems of interest can be rewritten in the form
            <disp-formula id="Ch1.Ex1"><mml:math id="M85" display="block"><mml:mrow><mml:mi>F</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          where <inline-formula><mml:math id="M86" display="inline"><mml:mrow><mml:mi>F</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is a nonlinear differential operator, and <inline-formula><mml:math id="M87" display="inline"><mml:mi mathvariant="bold-italic">u</mml:mi></mml:math></inline-formula> is the (vector valued) solution that comprises the unknown fields. Following a standard Galerkin approach, the PDE's weak formulation is obtained by multiplying <inline-formula><mml:math id="M88" display="inline"><mml:mrow><mml:mi>F</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula> with test functions <inline-formula><mml:math id="M89" display="inline"><mml:mi>v</mml:mi></mml:math></inline-formula> and integrating over the domain. The
Galerkin method approximates the solution as the sum over a discrete set of basis functions <inline-formula><mml:math id="M90" display="inline"><mml:mrow><mml:mo mathvariant="italic">{</mml:mo><mml:msub><mml:mi>v</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo mathvariant="italic">}</mml:mo></mml:mrow></mml:math></inline-formula>, i.e., <inline-formula><mml:math id="M91" display="inline"><mml:mrow><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>≈</mml:mo><mml:msub><mml:mo>∑</mml:mo><mml:mi>j</mml:mi></mml:msub><mml:msub><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:msub><mml:mi>v</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. This procedure allows us to apply the differential operator to the test functions. The test functions have a small support in which the values are nonzero, which simplifies the integral evaluations significantly. By choosing the test functions <inline-formula><mml:math id="M92" display="inline"><mml:mi>v</mml:mi></mml:math></inline-formula> from the basis <inline-formula><mml:math id="M93" display="inline"><mml:mrow><mml:mo mathvariant="italic">{</mml:mo><mml:msub><mml:mi>v</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo mathvariant="italic">}</mml:mo></mml:mrow></mml:math></inline-formula>, the PDE system is reduced to finding the roots of a (nonlinear) algebraic system. This standard Galerkin procedure is, for example, detailed in <xref ref-type="bibr" rid="bib1.bibx12" id="text.50"/>. The implementation in the open-source finite element software FEniCS is straightforward.</p>
</sec>
<sec id="Ch1.S3.SS2">
  <label>3.2</label><title>Temporal discretization – theta method</title>
      <p id="d1e2637">Time derivatives are approximated using the theta method, also known as Rothe's method <xref ref-type="bibr" rid="bib1.bibx12" id="paren.51"/>. For a PDE of the form
            <disp-formula id="Ch1.E8" content-type="numbered"><label>8</label><mml:math id="M94" display="block"><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mo>∂</mml:mo><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>=</mml:mo><mml:mi>F</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          the discretization reads
            <disp-formula id="Ch1.E9" content-type="numbered"><label>9</label><mml:math id="M95" display="block"><mml:mtable rowspacing="0.2ex" class="split" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mo>-</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mi>n</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:mtd><mml:mtd><mml:mrow><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi mathvariant="italic">θ</mml:mi><mml:mi>F</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mo>)</mml:mo><mml:mo>+</mml:mo><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>-</mml:mo><mml:mi mathvariant="italic">θ</mml:mi><mml:mo>)</mml:mo><mml:mi>F</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mi>n</mml:mi></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mo>+</mml:mo><mml:mi mathvariant="script">O</mml:mi><mml:mo>(</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>-</mml:mo><mml:mi mathvariant="italic">θ</mml:mi><mml:mo>)</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msup><mml:mi>t</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>)</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
          where <inline-formula><mml:math id="M96" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mi>n</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> denotes the state vector's solution at time <inline-formula><mml:math id="M97" display="inline"><mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. Note that for <inline-formula><mml:math id="M98" display="inline"><mml:mrow><mml:mi mathvariant="italic">θ</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M99" display="inline"><mml:mrow><mml:mi mathvariant="italic">θ</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> this reduces to standard first-order explicit and implicit Euler methods, respectively, whereas for <inline-formula><mml:math id="M100" display="inline"><mml:mrow><mml:mi mathvariant="italic">θ</mml:mi><mml:mo>∈</mml:mo><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> it constitutes a weighted average of both.</p>
</sec>
<sec id="Ch1.S3.SS3">
  <label>3.3</label><title>Coupling scheme</title>
      <p id="d1e2874">Due to the different timescales of the involved equations, a monolithically coupled solution for the vector <inline-formula><mml:math id="M101" display="inline"><mml:mrow><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>=</mml:mo><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> would be most consistent, yet it turns out to be inefficient. The vapor equation has by far the fastest dynamics, followed by the second fastest, the energy equation. The ice mass balance equations have much slower dynamics. The water vapor and energy equations are coupled diffusion–reaction equations and directly determine the r.h.s. of all equations. Therefore we solve them together in a first step and subsequently integrate the ice equation with its expected slower dynamics in a separate step. This operator splitting allows an independent fine-tuning of the numerical methods. Practically, we included the r.h.s. of the equations as an algebraic constraint in the state vector, i.e., <inline-formula><mml:math id="M102" display="inline"><mml:mrow><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>=</mml:mo><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mover accent="true"><mml:mrow><mml:msub><mml:mi>v</mml:mi><mml:mi mathvariant="normal">n</mml:mi></mml:msub></mml:mrow><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> for Calonne and <inline-formula><mml:math id="M103" display="inline"><mml:mrow><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>=</mml:mo><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>,</mml:mo><mml:mi>c</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> for Hansen, which are then solved in a fully coupled way. The <inline-formula><mml:math id="M104" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>-dependent coefficients of the vapor and energy equations use <inline-formula><mml:math id="M105" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> from the previous time step. Subsequently <inline-formula><mml:math id="M106" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is updated via <inline-formula><mml:math id="M107" display="inline"><mml:mover accent="true"><mml:mrow><mml:msub><mml:mi>v</mml:mi><mml:mi mathvariant="normal">n</mml:mi></mml:msub></mml:mrow><mml:mo mathvariant="normal">‾</mml:mo></mml:mover></mml:math></inline-formula> (or <inline-formula><mml:math id="M108" display="inline"><mml:mi>c</mml:mi></mml:math></inline-formula>). Time step size is mostly determined through the vapor and energy dynamics. Changes in <inline-formula><mml:math id="M109" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, and hence in the PDE coefficients, are therefore expected to be very small, which justifies the splitting-based coupling procedure.</p>
      <p id="d1e3027">We apply different theta values for each differential operator. For the diffusion operators in the vapor and energy equations we use <inline-formula><mml:math id="M110" display="inline"><mml:mrow><mml:mi mathvariant="italic">θ</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.5</mml:mn></mml:mrow></mml:math></inline-formula> (Crank–Nicolson) which is known to be stable and convergent with second-order accuracy for linear operators. As the phase change (source) terms are expected to be stiff, a fully implicit, unconditionally stable backwards Euler scheme with <inline-formula><mml:math id="M111" display="inline"><mml:mrow><mml:mi mathvariant="italic">θ</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1.0</mml:mn></mml:mrow></mml:math></inline-formula> is applied.</p>
</sec>
</sec>
<sec id="Ch1.S4">
  <label>4</label><title>Model comparison</title>
      <p id="d1e3063">To evaluate the models, we tested them on three different
<italic>scenarios</italic> comprising specific combinations of initial conditions (ICs) and boundary conditions (BCs). The first two scenarios discussed in Sect. <xref ref-type="sec" rid="Ch1.S4.SS1"/> and <xref ref-type="sec" rid="Ch1.S4.SS2"/> are taken from <xref ref-type="bibr" rid="bib1.bibx7" id="text.52"/> and <xref ref-type="bibr" rid="bib1.bibx16" id="text.53"/>, respectively, while the last (Sect. <xref ref-type="sec" rid="Ch1.S4.SS3"/>) is the simulation of a Gaussian-shaped crust. The three scenarios test different relevant aspects of snow modeling,
namely the transient response to time-dependent BCs, piecewise-linear ice profiles covering the entire range of snow densities and lastly a high-density layer in a small sample with smooth, high-density gradients. For each of the three physical scenarios, we evaluate three model formulations: first, Calonne's Eqs. (<xref ref-type="disp-formula" rid="Ch1.E1"/>), (<xref ref-type="disp-formula" rid="Ch1.E2"/>) and (<xref ref-type="disp-formula" rid="Ch1.E7"/>) with Calonne coefficient closure from Appendix <xref ref-type="sec" rid="App1.Ch1.S1"/> (referred to as Cal-Eq/Cal-Par); second, Hansen's Eqs. (<xref ref-type="disp-formula" rid="Ch1.E6"/>) and (<xref ref-type="disp-formula" rid="Ch1.E7"/>) with the Hansen coefficient closure from Appendix <xref ref-type="sec" rid="App1.Ch1.S1"/> (Han-Eq/Han-Par); and third, the mixed case of Hansen's Eqs. (<xref ref-type="disp-formula" rid="App1.Ch1.S1.E40"/>) and (<xref ref-type="disp-formula" rid="Ch1.E7"/>) with Calonne coefficient closure (Han-Eq/Cal-Par).</p>
<sec id="Ch1.S4.SS1">
  <label>4.1</label><title>Scenario 1: homogeneous snow – transient heating at the boundary</title>
      <p id="d1e3108">The first scenario is proposed by <xref ref-type="bibr" rid="bib1.bibx7" id="text.54"/> and investigates the response of a homogeneous snow layer on transient heating. The initial conditions are

                <disp-formula specific-use="gather" content-type="numbered"><mml:math id="M112" display="block"><mml:mtable rowspacing="4.267913pt 4.267913pt" displaystyle="true"><mml:mlabeledtr id="Ch1.E10"><mml:mtd><mml:mtext>10</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mi>T</mml:mi><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E11"><mml:mtd><mml:mtext>11</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo><mml:mo>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E12"><mml:mtd><mml:mtext>12</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mrow><mml:mi mathvariant="normal">i</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

            with <inline-formula><mml:math id="M113" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">273</mml:mn></mml:mrow></mml:math></inline-formula> K and <inline-formula><mml:math id="M114" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mrow><mml:mi mathvariant="normal">i</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.3</mml:mn></mml:mrow></mml:math></inline-formula>. We employ a fixed Dirichlet BC at <inline-formula><mml:math id="M115" display="inline"><mml:mrow><mml:mi>z</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula> and a transient temperature drop at <inline-formula><mml:math id="M116" display="inline"><mml:mrow><mml:mi>z</mml:mi><mml:mo>=</mml:mo><mml:mi>H</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula>, viz.
            <disp-formula id="Ch1.E13" content-type="numbered"><label>13</label><mml:math id="M117" display="block"><mml:mtable rowspacing="4.267913pt 2.845276pt 4.267913pt" class="split" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mi>T</mml:mi><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><?xmltex \hack{\hbox\bgroup\fontsize{9.6}{9.6}\selectfont$\displaystyle}?><mml:mi>T</mml:mi><mml:mo>(</mml:mo><mml:mi>H</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>-</mml:mo><mml:mo mathsize="1.1em">(</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mi>H</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo mathsize="1.1em">)</mml:mo><mml:mfenced open="(" close=")"><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mi>t</mml:mi><mml:mi mathvariant="italic">τ</mml:mi></mml:mfrac></mml:mstyle><mml:mi mathvariant="normal">Θ</mml:mi><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi>t</mml:mi><mml:mo>-</mml:mo><mml:mi mathvariant="italic">τ</mml:mi></mml:mrow><mml:mi mathvariant="italic">τ</mml:mi></mml:mfrac></mml:mstyle><mml:mi mathvariant="normal">Θ</mml:mi><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>-</mml:mo><mml:mi mathvariant="italic">τ</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mfenced><?xmltex \hack{$\egroup}?><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>H</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>(</mml:mo><mml:mi>H</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
          where the transient drop is characterized by the Heaviside step function <inline-formula><mml:math id="M118" display="inline"><mml:mi mathvariant="normal">Θ</mml:mi></mml:math></inline-formula> with parameters <inline-formula><mml:math id="M119" display="inline"><mml:mrow><mml:mi mathvariant="italic">τ</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">5</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">h</mml:mi></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M120" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi>H</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">263</mml:mn></mml:mrow></mml:math></inline-formula> K.</p>
      <p id="d1e3551">The solutions of all three cases we obtain for this combination of IC and BC are shown in Fig. <xref ref-type="fig" rid="Ch1.F1"/> for <inline-formula><mml:math id="M121" display="inline"><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">100</mml:mn></mml:mrow></mml:math></inline-formula> min. Notably, Calonne's and Hansen's model along with their own (different) parameterizations for the PDE coefficients deviate in all variables since Hansen's effective diffusion constant is higher. This difference does not depend on the underlying process models but is rather due to the formulations used of the PDE coefficients as shown by the mixed case (Han-Eq/Cal-Par) which coincides with Han-Eq/Han-Par. Only a small difference can be observed close to the right boundary, where the changes in <inline-formula><mml:math id="M122" display="inline"><mml:mi>T</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M123" 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> are the fastest, and therefore the assumption <inline-formula><mml:math id="M124" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub><mml:mo>≈</mml:mo><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> underlying <xref ref-type="bibr" rid="bib1.bibx16" id="text.55"/> is violated.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F1" specific-use="star"><?xmltex \currentcnt{1}?><?xmltex \def\figurename{Figure}?><label>Figure 1</label><caption><p id="d1e3618">Comparison of Calonne's and Hansen's model for the response to a transient temperature decrease at the boundary without ice-phase evolution: slight differences are observed if the models are used with their own formulation of coefficients (red and green line), while both yield virtually indistinguishable results if the same coefficients are used (red and turquoise line).</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://tc.copernicus.org/articles/16/903/2022/tc-16-903-2022-f01.png"/>

        </fig>

</sec>
<sec id="Ch1.S4.SS2">
  <label>4.2</label><title>Scenario 2: heterogeneous snow – fixed temperature boundary conditions</title>
      <p id="d1e3635">Next we investigate the test case envisaged by <xref ref-type="bibr" rid="bib1.bibx16" id="text.56"/> that comprises a piece-wise linear density profile as an approximation for a layered snowpack containing a crust with an additional ice layer at the bottom to constrain the vapor from below. The IC is given by

                <disp-formula specific-use="gather" content-type="numbered"><mml:math id="M125" display="block"><mml:mtable rowspacing="4.267913pt 4.267913pt" displaystyle="true"><mml:mlabeledtr id="Ch1.E14"><mml:mtd><mml:mtext>14</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mi>T</mml:mi><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>-</mml:mo><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi>H</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mfenced><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mi>z</mml:mi><mml:mi>H</mml:mi></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E15"><mml:mtd><mml:mtext>15</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo><mml:mo>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E16"><mml:mtd><mml:mtext>16</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mtable class="split" rowspacing="0.2ex" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><?xmltex \hack{\hbox\bgroup\fontsize{9.5}{9.5}\selectfont$\displaystyle}?><mml:mo>=</mml:mo><mml:mfenced close="" open="{"><mml:mrow><mml:mtable class="array" rowspacing="4.267913pt 4.267913pt 4.267913pt 4.267913pt 4.267913pt" columnalign="left left"><mml:mtr><mml:mtd><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>-</mml:mo><mml:mn mathvariant="normal">9.2425</mml:mn><mml:mi>z</mml:mi></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mi>z</mml:mi><mml:mo>∈</mml:mo><mml:mo>[</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0.08</mml:mn><mml:mo>]</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn mathvariant="normal">0.2606</mml:mn></mml:mtd><mml:mtd><mml:mrow><mml:mi>z</mml:mi><mml:mo>∈</mml:mo><mml:mo>[</mml:mo><mml:mn mathvariant="normal">0.08</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0.64</mml:mn><mml:mo>]</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mn mathvariant="normal">0.2606</mml:mn><mml:mo>+</mml:mo><mml:mn mathvariant="normal">4.915</mml:mn><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.64</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mi>z</mml:mi><mml:mo>∈</mml:mo><mml:mo>[</mml:mo><mml:mn mathvariant="normal">0.64</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0.72</mml:mn><mml:mo>]</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn mathvariant="normal">0.6538</mml:mn></mml:mtd><mml:mtd><mml:mrow><mml:mi>z</mml:mi><mml:mo>∈</mml:mo><mml:mo>[</mml:mo><mml:mn mathvariant="normal">0.72</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0.75</mml:mn><mml:mo>]</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mn mathvariant="normal">0.6538</mml:mn><mml:mo>-</mml:mo><mml:mn mathvariant="normal">4.915</mml:mn><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.75335</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mi>z</mml:mi><mml:mo>∈</mml:mo><mml:mo>[</mml:mo><mml:mn mathvariant="normal">0.75</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0.86</mml:mn><mml:mo>]</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn mathvariant="normal">0.1295895</mml:mn></mml:mtd><mml:mtd><mml:mrow><mml:mi>z</mml:mi><mml:mo>∈</mml:mo><mml:mo>[</mml:mo><mml:mn mathvariant="normal">0.86</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1.0</mml:mn><mml:mo>]</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo>,</mml:mo></mml:mrow></mml:mfenced><?xmltex \hack{$\egroup}?></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

            with <inline-formula><mml:math id="M126" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">273</mml:mn></mml:mrow></mml:math></inline-formula> K and <inline-formula><mml:math id="M127" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi>H</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">253</mml:mn></mml:mrow></mml:math></inline-formula> K. The BCs are given by
            <disp-formula id="Ch1.E17" content-type="numbered"><label>17</label><mml:math id="M128" display="block"><mml:mtable rowspacing="4.267913pt 4.267913pt 4.267913pt" class="split" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mi>T</mml:mi><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mi>T</mml:mi><mml:mo>(</mml:mo><mml:mi>H</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mi>H</mml:mi></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>H</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>(</mml:mo><mml:mi>H</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>)</mml:mo><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
          The corresponding simulation results are shown in Fig. <xref ref-type="fig" rid="Ch1.F2"/> at a simulation time of 38 h. Again, the fields <inline-formula><mml:math id="M129" 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> and <inline-formula><mml:math id="M130" display="inline"><mml:mi>T</mml:mi></mml:math></inline-formula> highly agree in homogeneous regions as long as the same <italic>parameterizations</italic> for the PDE coefficients are used. In contrast, the phase change term (r.h.s. of the equations) shows an agreement only if the same <italic>equations</italic> are used. This is revealed in the kink regions of the profile where Han-Eq/Han-Par coincides with Han-Eq/Cal-Par. This shows the different sensitivities of the <inline-formula><mml:math id="M131" display="inline"><mml:mi>T</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M132" 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> and phase change terms on the form of the homogenized equation when density gradients are present.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F2" specific-use="star"><?xmltex \currentcnt{2}?><?xmltex \def\figurename{Figure}?><label>Figure 2</label><caption><p id="d1e4175">Comparison of Calonne's and Hansen's model for the response to a piecewise-linear, layered profile under a temperature gradient without ice-phase evolution: the results for Hansen's model are indistinguishable even if different PDE coefficients are used (green and turquoise lines) but differ from the Calonne model (red line).</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://tc.copernicus.org/articles/16/903/2022/tc-16-903-2022-f02.png"/>

        </fig>

</sec>
<sec id="Ch1.S4.SS3">
  <label>4.3</label><title>Scenario 3: the Gaussian crust</title>
      <p id="d1e4192">To further detail the response to high-gradient regions in the ice phase, our third scenario investigates the response of the models to a smooth, small-scale density variation under a temperature gradient in a shallow snow sample of height <inline-formula><mml:math id="M133" display="inline"><mml:mrow><mml:mi>H</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.02</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/></mml:mrow></mml:math></inline-formula>m. This scenario investigates the response of the models to density changes occurring on small length scales, e.g., layer interfaces which can be monitored in tomography experiments <xref ref-type="bibr" rid="bib1.bibx15" id="paren.57"/>. In contrast to the previous two scenarios, the ice phase is now evolving according to Eq. (<xref ref-type="disp-formula" rid="Ch1.E7"/>).</p>
      <p id="d1e4213">In the following we solely focus on differences between Cal-Eq/Cal-Par and Han-Eq/Han-Par and investigate this difference at different physical times. We refer to this scenario as a Gaussian crust. As IC we employ
            <disp-formula id="Ch1.E18" content-type="numbered"><label>18</label><mml:math id="M134" display="block"><mml:mrow><mml:mi>T</mml:mi><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>-</mml:mo><mml:mo>(</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mi>H</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>)</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mi>z</mml:mi><mml:mi>H</mml:mi></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>

            <disp-formula id="Ch1.E19" content-type="numbered"><label>19</label><mml:math id="M135" display="block"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo><mml:mo>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>

            <disp-formula id="Ch1.E20" content-type="numbered"><label>20</label><mml:math id="M136" display="block"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mrow><mml:mi mathvariant="normal">i</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mrow><mml:mi mathvariant="normal">i</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub><mml:mspace linebreak="nobreak" width="0.33em"/><mml:mi>exp⁡</mml:mi><mml:mfenced open="{" close="}"><mml:mrow><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>-</mml:mo><mml:msub><mml:mi>z</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:msup><mml:mo>)</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:msup><mml:mi mathvariant="italic">σ</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          with <inline-formula><mml:math id="M137" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">273</mml:mn></mml:mrow></mml:math></inline-formula> K, <inline-formula><mml:math id="M138" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi>H</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">253</mml:mn></mml:mrow></mml:math></inline-formula> K, <inline-formula><mml:math id="M139" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mrow><mml:mi mathvariant="normal">i</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.3</mml:mn></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M140" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mrow><mml:mi mathvariant="normal">i</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.2</mml:mn></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M141" display="inline"><mml:mrow><mml:msub><mml:mi>z</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.01</mml:mn></mml:mrow></mml:math></inline-formula> m and <inline-formula><mml:math id="M142" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="italic">σ</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><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">7</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> m<inline-formula><mml:math id="M143" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:math></inline-formula>. For the Gaussian crust we use the same boundary conditions as in Eq. (<xref ref-type="disp-formula" rid="Ch1.E17"/>).</p>
      <p id="d1e4525"><?xmltex \hack{\newpage}?>Figure <xref ref-type="fig" rid="Ch1.F3"/> shows the simulation
results for several points in time. Similar to before the solutions for <inline-formula><mml:math id="M144" 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> and <inline-formula><mml:math id="M145" display="inline"><mml:mi>T</mml:mi></mml:math></inline-formula> agree very well, and notable differences are observed for the phase changes in density transition regions. From this comparison for a smooth density variation, two additional observations can be made for both models. These are a consequence of the evolving ice phase.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F3" specific-use="star"><?xmltex \currentcnt{3}?><?xmltex \def\figurename{Figure}?><label>Figure 3</label><caption><p id="d1e4552">Comparison of Calonne's and Hansen's model each with their own formulation of coefficients. Both models are coupled to the evolving ice phase for an initial Gaussian profile under a temperature gradient.</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://tc.copernicus.org/articles/16/903/2022/tc-16-903-2022-f03.png"/>

        </fig>

      <p id="d1e4561">First, the Gaussian crust shows a quasi-advection in the ice phase towards the warm boundary despite the absence of an explicit advection term in the ice equation.
During this quasi-advection, density gradients steepen on the cold side and flatten on the warm side. Far away from the crust a linear density gradient emerges in the domain as a consequence of the boundary conditions. The difference between the models lies in the apparent advection velocity. This is consistent with the observed differences in the phase changes since recrystallization rates differ approximately by a factor of 2.</p>
      <p id="d1e4564">Second, in both models oscillations emerge at the lower boundary. They are modest in the Calonne model and arise at a considerably later time with smaller magnitude. For the Hansen model these are apparent immediately.</p>
      <p id="d1e4567">These two observations are further detailed below.</p>
</sec>
</sec>
<sec id="Ch1.S5">
  <label>5</label><title>Quasi-advection of the ice phase</title>
      <p id="d1e4580">The quasi-advection of density heterogeneities in the ice phase despite the absence of an explicit advection term in Eq. (<xref ref-type="disp-formula" rid="Ch1.E7"/>) is a consequence of phase changes (vapor sublimation and re-sublimation) as an intrinsic feature of the coupled system.</p>
      <p id="d1e4585">To understand the origin of this quasi-advection, we approach the coupled system (Eqs. <xref ref-type="disp-formula" rid="Ch1.E1"/>, <xref ref-type="disp-formula" rid="Ch1.E2"/> and
<xref ref-type="disp-formula" rid="Ch1.E7"/>) with several analytical approximations. Justified by the separation of timescales we first restrict ourselves to stationary heat transfer and neglect the phase changes in the energy equation following arguments given in <xref ref-type="bibr" rid="bib1.bibx7" id="text.58"/>. This is a considerable simplification since the two-way coupling between heat and vapor is eliminated. Consequently, the heat equation <inline-formula><mml:math id="M146" display="inline"><mml:mrow><mml:mi mathvariant="normal">∇</mml:mi><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>T</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula> can be solved for the BC of Eq. <xref ref-type="disp-formula" rid="Ch1.E17"/> independent of the vapor transport process even for an inhomogeneous ice profile, with its exact solution given by
          <disp-formula id="Ch1.E21" content-type="numbered"><label>21</label><mml:math id="M147" display="block"><mml:mrow><mml:mi>T</mml:mi><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>+</mml:mo><mml:mo>(</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mi>H</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>)</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msubsup><mml:mo>∫</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mi>z</mml:mi></mml:msubsup><mml:mi mathvariant="normal">d</mml:mi><mml:msup><mml:mi>z</mml:mi><mml:mo>′</mml:mo></mml:msup><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mfenced open="[" close="]"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:msup><mml:mi>z</mml:mi><mml:mo>′</mml:mo></mml:msup><mml:mo>)</mml:mo><mml:mo>)</mml:mo></mml:mrow></mml:mfenced><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:msubsup><mml:mo>∫</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mi>H</mml:mi></mml:msubsup><mml:mi mathvariant="normal">d</mml:mi><mml:msup><mml:mi>z</mml:mi><mml:mo>′</mml:mo></mml:msup><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mfenced open="[" close="]"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:msup><mml:mi>z</mml:mi><mml:mo>′</mml:mo></mml:msup><mml:mo>)</mml:mo><mml:mo>)</mml:mo></mml:mrow></mml:mfenced><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
        The local temperature (and its gradient) is thus a functional of the heterogeneous, non-constant ice volume fraction <inline-formula><mml:math id="M148" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> via the dependence of the effective conductivity <inline-formula><mml:math id="M149" display="inline"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> on <inline-formula><mml:math id="M150" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. We express this in the form
          <disp-formula id="Ch1.E22" content-type="numbered"><label>22</label><mml:math id="M151" display="block"><mml:mrow><mml:mi>T</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="script">F</mml:mi><mml:mi>T</mml:mi></mml:msub><mml:mo>[</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>]</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
        which defines the functional <inline-formula><mml:math id="M152" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">F</mml:mi><mml:mi>T</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> via Eq. (<xref ref-type="disp-formula" rid="Ch1.E21"/>). Motivated by the similarity between the solutions of <xref ref-type="bibr" rid="bib1.bibx7" id="text.59"/> and
<xref ref-type="bibr" rid="bib1.bibx16" id="text.60"/> found in the previous section, we adopt the
simplification from <xref ref-type="bibr" rid="bib1.bibx16" id="text.61"/> and account for deviations in the vapor concentration from equilibrium only in the phase change (source) term. Again, we use a  stationary diffusion equation <inline-formula><mml:math id="M153" display="inline"><mml:mrow><mml:mi mathvariant="normal">∇</mml:mi><mml:msub><mml:mi>D</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub><mml:mi mathvariant="normal">∇</mml:mi><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mi>s</mml:mi><mml:mover accent="true"><mml:mrow><mml:msub><mml:mi>v</mml:mi><mml:mi mathvariant="normal">n</mml:mi></mml:msub></mml:mrow><mml:mo mathvariant="normal">‾</mml:mo></mml:mover></mml:mrow></mml:math></inline-formula> due to the separation of timescales between vapor and ice. This
allows us to rewrite the ice mass conservation Eq. (<xref ref-type="disp-formula" rid="Ch1.E7"/>) in a conservative form as a single advection equation,
          <disp-formula id="Ch1.E23" content-type="numbered"><label>23</label><mml:math id="M154" display="block"><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mo>∂</mml:mo><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>G</mml:mi><mml:mo>[</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>]</mml:mo><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
        with a functional,
          <disp-formula id="Ch1.E24" content-type="numbered"><label>24</label><mml:math id="M155" display="block"><mml:mtable rowspacing="4.267913pt" class="split" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:mi>G</mml:mi><mml:mo>[</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>]</mml:mo><mml:mo>=</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mspace linebreak="nobreak" width="0.25em"/><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">i</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:msub><mml:mi>D</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub><mml:mo>[</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>]</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup><mml:mo>(</mml:mo><mml:mi>T</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:msub><mml:mo fence="true" mathsize="1.5em">|</mml:mo><mml:mrow><mml:mi>T</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="script">F</mml:mi><mml:mi>T</mml:mi></mml:msub><mml:mo>[</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>]</mml:mo></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mo>⋅</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mi>H</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>)</mml:mo><mml:mo>[</mml:mo><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>)</mml:mo><mml:mo>)</mml:mo><mml:msup><mml:mo>]</mml:mo><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:msubsup><mml:mo>∫</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mi>H</mml:mi></mml:msubsup><mml:mi mathvariant="normal">d</mml:mi><mml:msup><mml:mi>z</mml:mi><mml:mo>′</mml:mo></mml:msup><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mfenced open="[" close="]"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:msup><mml:mi>z</mml:mi><mml:mo>′</mml:mo></mml:msup><mml:mo>)</mml:mo><mml:mo>)</mml:mo></mml:mrow></mml:mfenced><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
        that expanded <inline-formula><mml:math id="M156" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> by means of the chain rule and then uses the previously derived temperature expression (Eq. <xref ref-type="disp-formula" rid="Ch1.E22"/>). The boundary conditions
          <disp-formula id="Ch1.E25" content-type="numbered"><label>25</label><mml:math id="M157" display="block"><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mo>∂</mml:mo><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mtext>for</mml:mtext><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi>z</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mi>z</mml:mi><mml:mo>=</mml:mo><mml:mi>H</mml:mi></mml:mrow></mml:math></disp-formula>
        follow from the BC <inline-formula><mml:math id="M158" display="inline"><mml:mrow><mml:mi mathvariant="italic">ρ</mml:mi><mml:mo>=</mml:mo><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> of the vapor phase.</p>
      <p id="d1e5222">We stress the significance of this result. First, by using the
approximations for the heat and vapor transfer, the three coupled heat and mass conservation equations can be equivalently cast into a single continuity equation for the ice phase. Second, the form of this continuity equation is a nonlinear and non-local advection equation, which explains the nature of this quasi-advection as a variant of shock formation reminiscent of the nonlinear Burgers equation <xref ref-type="bibr" rid="bib1.bibx13" id="paren.62"/>.</p>
      <p id="d1e5228">To test the derived approximation we have compared the numerical solution of Eq. (<xref ref-type="disp-formula" rid="Ch1.E23"/>) to the full solution of the Calonne model as shown in Fig. <xref ref-type="fig" rid="Ch1.F4"/> for the Gaussian crust. In general, the agreement between the two models is very close, yielding almost identical results in homogeneous regions, i.e., towards the boundaries and close to the center of the crust. In the high gradient regions both models predict a steepening of the gradient, which is faster in the advection Eq. (<xref ref-type="disp-formula" rid="Ch1.E23"/>). Since Eq. (<xref ref-type="disp-formula" rid="Ch1.E23"/>) involves the same quasi-equilibrium approximation as used for the Hansen model, these quantitative differences are consistent with the results from the previous section.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F4" specific-use="star"><?xmltex \currentcnt{4}?><?xmltex \def\figurename{Figure}?><label>Figure 4</label><caption><p id="d1e5242">Comparison between Calonne's model coupled to an evolving ice phase and the derived advection Eq. (<xref ref-type="disp-formula" rid="Ch1.E23"/>) for an initial        Gaussian crust.</p></caption>
        <?xmltex \igopts{width=355.659449pt}?><graphic xlink:href="https://tc.copernicus.org/articles/16/903/2022/tc-16-903-2022-f04.png"/>

      </fig>

      <p id="d1e5253">Despite remaining differences, the approximation (Eq. <xref ref-type="disp-formula" rid="Ch1.E23"/>), together with Eq. (<xref ref-type="disp-formula" rid="Ch1.E24"/>), allows us to unambiguously trace back the quasi-advection and gradient steepening to the dependence of the effective diffusion constant and the effective thermal conductivity on ice volume fraction: if <inline-formula><mml:math id="M159" display="inline"><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> was linear in <inline-formula><mml:math id="M160" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M161" display="inline"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> was constant, Eq. (<xref ref-type="disp-formula" rid="Ch1.E21"/>) would take the form of a simple advection equation, <inline-formula><mml:math id="M162" display="inline"><mml:mrow><mml:msub><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:msub><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:mi>v</mml:mi><mml:mi mathvariant="normal">∇</mml:mi><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula>, with constant <inline-formula><mml:math id="M163" display="inline"><mml:mi>v</mml:mi></mml:math></inline-formula>. This would imply a shape invariant advection of any initial density profile. In contrast, the true <inline-formula><mml:math id="M164" display="inline"><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> decreases and <inline-formula><mml:math id="M165" display="inline"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> increases when the ice volume fraction is increased. Both dependencies lead to a decrease in the flux functional <inline-formula><mml:math id="M166" display="inline"><mml:mi>G</mml:mi></mml:math></inline-formula> in high-density regions, which explains the emergent asymmetry in the crust shape.</p>
      <p id="d1e5363">Similar to Eq. (<xref ref-type="fig" rid="Ch1.F3"/>), the numerical solution of the advection equation also displays oscillations at the boundary already after a few hours. This will be further detailed in the following.</p>
</sec>
<sec id="Ch1.S6">
  <label>6</label><title>Pattern formation</title>
      <p id="d1e5376">All numerical solutions so far are subject to oscillations <italic>at some point in time</italic> irrespective of the details. Therefore we will investigate the nature of these oscillations, now only considering the full Calonne model applied to the Gaussian crust.</p>
<sec id="Ch1.S6.SS1">
  <label>6.1</label><title>Oscillatory solutions</title>
      <p id="d1e5389">The following example shows simulations with varying mesh size (number of elements <inline-formula><mml:math id="M167" display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">e</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) and varying time steps (<inline-formula><mml:math id="M168" display="inline"><mml:mrow><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula>) for the numerical solution at a fixed physical time. The results are shown in Fig. <xref ref-type="fig" rid="Ch1.F5"/>. Figure <xref ref-type="fig" rid="Ch1.F5"/>a shows the entire domain, revealing oscillations at the left boundary and on the sublimating side of the crust. Figure <xref ref-type="fig" rid="Ch1.F5"/>b shows a close up of the left boundary, while Fig. <xref ref-type="fig" rid="Ch1.F5"/>c shows a close-up of the sublimating side of the crust. For very low mesh resolution (<inline-formula><mml:math id="M169" display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">e</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">100</mml:mn></mml:mrow></mml:math></inline-formula>, corresponding to a mesh size of 0.2 mm) and large time step (1 min), the solution in the vicinity of the crust oscillates from node to node, while for
sufficiently high resolution the numerical solution converges to a smooth wave pattern independent of temporal and spatial resolution. This suggests that these waves are an intrinsic feature of the Calonne model equations rather than an artifact of the numerical scheme.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F5" specific-use="star"><?xmltex \currentcnt{5}?><?xmltex \def\figurename{Figure}?><label>Figure 5</label><caption><p id="d1e5439">Sensitivity of the numerical solution to mesh resolution and time step size: <bold>(a)</bold> entire domain, <bold>(b)</bold> close-up of the left boundary region and <bold>(c)</bold> close-up of the sublimating (right) side of the Gaussian crust. Apart from the coarsest resolution, the lines are almost indistinguishable, indicating numerical convergence to the true solution.</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://tc.copernicus.org/articles/16/903/2022/tc-16-903-2022-f05.png"/>

        </fig>

      <p id="d1e5457">As an additional check we have analyzed the residuals of the numerical solution (see Appendix <xref ref-type="sec" rid="App1.Ch1.S2"/>) which confirms that patterns persist even when enforcing the residuals to approach zero.</p>
</sec>
<sec id="Ch1.S6.SS2">
  <label>6.2</label><title>Linear stability analysis</title>
      <p id="d1e5470">We use perturbation theory to further comprehend the oscillatory nature of the solution.
Pattern formation in nonlinear PDE systems can be generally understood by investigating the dynamics of perturbations around a known stationary state via linear stability analysis of the dynamical equations. To do so, we start from the full, nonlinear, coupled, transient situation (Calonne model) in the form
            <disp-formula id="Ch1.E26" content-type="numbered"><label>26</label><mml:math id="M170" display="block"><mml:mtable rowspacing="4.267913pt 4.267913pt" class="array" columnalign="right center left"><mml:mtr><mml:mtd><mml:mrow><mml:mo>(</mml:mo><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi>C</mml:mi><mml:msub><mml:mo>)</mml:mo><mml:mi mathvariant="normal">eff</mml:mi></mml:msub><mml:msub><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:msub><mml:mi>T</mml:mi><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>z</mml:mi></mml:msub><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub><mml:msub><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>z</mml:mi></mml:msub><mml:mi>T</mml:mi></mml:mrow></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mi>L</mml:mi><mml:mi mathvariant="italic">α</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup><mml:mo>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:msub><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:msub><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>z</mml:mi></mml:msub><mml:msub><mml:mi>D</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub><mml:msub><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>z</mml:mi></mml:msub><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mi mathvariant="italic">α</mml:mi><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup><mml:mo>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:msub><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mi mathvariant="italic">α</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup><mml:mo>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
          which is only subject to the simplification that on the r.h.s. the division by
<inline-formula><mml:math id="M171" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> in Eq. (<xref ref-type="disp-formula" rid="Ch1.E3"/>) is subsumed in the prefactor <inline-formula><mml:math id="M172" display="inline"><mml:mi mathvariant="italic">α</mml:mi></mml:math></inline-formula> which is assumed to be constant.</p>
      <p id="d1e5697"><?xmltex \hack{\newpage}?>The system (<xref ref-type="disp-formula" rid="Ch1.E26"/>) is, as before, equipped with Dirichlet BC for the two PDEs,
            <disp-formula id="Ch1.E27" content-type="numbered"><label>27</label><mml:math id="M173" display="block"><mml:mtable class="array" rowspacing="4.267913pt 4.267913pt 4.267913pt" columnalign="right center left"><mml:mtr><mml:mtd><mml:mrow><mml:mi>T</mml:mi><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mi>T</mml:mi><mml:mo>(</mml:mo><mml:mi>H</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi>H</mml:mi></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup><mml:mo>(</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>H</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup><mml:mo>(</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mi>H</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
          at the bottom <inline-formula><mml:math id="M174" display="inline"><mml:mrow><mml:mi>z</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula> and top <inline-formula><mml:math id="M175" display="inline"><mml:mrow><mml:mi>z</mml:mi><mml:mo>=</mml:mo><mml:mi>H</mml:mi></mml:mrow></mml:math></inline-formula> of the domain. To proceed analytically, we need to make an additional assumption to obtain an exact stationary solution of the system. We assume that the equilibrium vapor concentration is a linear function in <inline-formula><mml:math id="M176" display="inline"><mml:mi>T</mml:mi></mml:math></inline-formula>. This is reasonable within thin layers where temperature differences are small and a linearization of the equilibrium vapor curve is always justified. This linearization is written in the form
            <disp-formula id="Ch1.E28" content-type="numbered"><label>28</label><mml:math id="M177" display="block"><mml:mrow><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mn mathvariant="normal">0</mml:mn><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup><mml:mo>+</mml:mo><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>-</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">ref</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></disp-formula>
          as an expansion around a reference temperature <inline-formula><mml:math id="M178" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">ref</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (e.g., the
mean temperature in the sample). With this
assumption, a stationary solution of Eq. (<xref ref-type="disp-formula" rid="Ch1.E26"/>) can be obtained by inspection. It is easily verified that the system
            <disp-formula id="Ch1.E29" content-type="numbered"><label>29</label><mml:math id="M179" display="block"><mml:mtable rowspacing="4.267913pt 4.267913pt" class="array" columnalign="right center left"><mml:mtr><mml:mtd><mml:mrow><mml:msup><mml:mi>T</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mo>:=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>+</mml:mo><mml:mo>(</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mi>H</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>)</mml:mo><mml:mstyle displaystyle="false"><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mi>z</mml:mi><mml:mi>H</mml:mi></mml:mfrac></mml:mstyle></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mo>:=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup><mml:mo>(</mml:mo><mml:msup><mml:mi>T</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>)</mml:mo><mml:mo>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msubsup><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mo>:=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mrow><mml:mi mathvariant="normal">i</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
          satisfies Eq. (<xref ref-type="disp-formula" rid="Ch1.E26"/>) with BC Eq. (<xref ref-type="disp-formula" rid="Ch1.E27"/>) for
arbitrary, constant volume fraction <inline-formula><mml:math id="M180" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mrow><mml:mi mathvariant="normal">i</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>.</p>
      <p id="d1e6101">To carry out the stability analysis we use a vector notation and
combine the fields in the vector
<inline-formula><mml:math id="M181" display="inline"><mml:mrow><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>:=</mml:mo><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>. Then the PDE system
(<xref ref-type="disp-formula" rid="Ch1.E26"/>) can be written in the matrix form
            <disp-formula id="Ch1.E30" content-type="numbered"><label>30</label><mml:math id="M182" display="block"><mml:mrow><mml:mi mathvariant="bold">C</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>)</mml:mo><mml:msub><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:msub><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>-</mml:mo><mml:mi mathvariant="bold">K</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>)</mml:mo><mml:msubsup><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>z</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msubsup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>-</mml:mo><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>z</mml:mi></mml:msub><mml:mi mathvariant="bold">K</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>)</mml:mo><mml:mo>)</mml:mo><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>z</mml:mi></mml:msub><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mi mathvariant="bold">R</mml:mi><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="bold-italic">f</mml:mi></mml:mrow></mml:math></disp-formula>
          with state-dependent <inline-formula><mml:math id="M183" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> matrices
<inline-formula><mml:math id="M184" display="inline"><mml:mrow><mml:mi mathvariant="bold">K</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:mi mathvariant="bold">C</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>,
constant matrix <inline-formula><mml:math id="M185" display="inline"><mml:mi mathvariant="bold">R</mml:mi></mml:math></inline-formula> and constant vector <inline-formula><mml:math id="M186" display="inline"><mml:mi mathvariant="bold-italic">f</mml:mi></mml:math></inline-formula>
defined by
            <disp-formula id="Ch1.E31" content-type="numbered"><label>31</label><mml:math id="M187" display="block"><mml:mtable class="array" rowspacing="14.226378pt 14.226378pt 14.226378pt" columnalign="left center left"><mml:mtr><mml:mtd><mml:mi mathvariant="bold">C</mml:mi></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mfenced open="[" close="]"><mml:mtable class="matrix" columnalign="center center center" framespacing="0em"><mml:mtr><mml:mtd><mml:mrow><mml:mo>(</mml:mo><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi>C</mml:mi><mml:msub><mml:mo>)</mml:mo><mml:mi mathvariant="normal">eff</mml:mi></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd><mml:mtd><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">1</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="bold">K</mml:mi></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mfenced close="]" open="["><mml:mtable class="matrix" columnalign="center center center" framespacing="0em"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="bold">R</mml:mi></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mfenced open="[" close="]"><mml:mtable class="matrix" columnalign="center center center" framespacing="0em"><mml:mtr><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mi>L</mml:mi><mml:mi mathvariant="italic">α</mml:mi><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mi>L</mml:mi><mml:mi mathvariant="italic">α</mml:mi></mml:mrow></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mi mathvariant="italic">α</mml:mi></mml:mrow></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mi mathvariant="italic">α</mml:mi><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup></mml:mrow></mml:mtd><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi mathvariant="bold-italic">f</mml:mi></mml:mtd><mml:mtd><mml:mo>=</mml:mo></mml:mtd><mml:mtd><mml:mrow><mml:mfenced open="[" close="]"><mml:mtable class="matrix" columnalign="center" framespacing="0em"><mml:mtr><mml:mtd><mml:mrow><mml:mi>L</mml:mi><mml:mi mathvariant="italic">α</mml:mi><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">ref</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mi>L</mml:mi><mml:mi mathvariant="italic">α</mml:mi><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mn mathvariant="normal">0</mml:mn><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">ref</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mn mathvariant="normal">0</mml:mn><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mi mathvariant="italic">α</mml:mi><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">ref</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mi mathvariant="italic">α</mml:mi><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mn mathvariant="normal">0</mml:mn><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
          Then, the (stable) stationary state of Eq. (<xref ref-type="disp-formula" rid="Ch1.E29"/>) is denoted by the
vector
            <disp-formula id="Ch1.E32" content-type="numbered"><label>32</label><mml:math id="M188" display="block"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>:=</mml:mo><mml:mo>(</mml:mo><mml:msup><mml:mi>T</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>,</mml:mo><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup><mml:mo>)</mml:mo><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
          The nonlinearities of Eq. (<xref ref-type="disp-formula" rid="Ch1.E30"/>) emerge from the dependence of
the matrices <inline-formula><mml:math id="M189" display="inline"><mml:mrow><mml:mi mathvariant="bold">K</mml:mi><mml:mo>≡</mml:mo><mml:mi mathvariant="bold">K</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> and
<inline-formula><mml:math id="M190" display="inline"><mml:mrow><mml:mi mathvariant="bold">C</mml:mi><mml:mo>≡</mml:mo><mml:mi mathvariant="bold">C</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> on
<inline-formula><mml:math id="M191" display="inline"><mml:mi mathvariant="bold-italic">u</mml:mi></mml:math></inline-formula>. Note that this dependence is solely through the
third component of <inline-formula><mml:math id="M192" display="inline"><mml:mi mathvariant="bold-italic">u</mml:mi></mml:math></inline-formula> (i.e., <inline-formula><mml:math id="M193" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) which highlights the special role of the density (evolution).</p>
      <p id="d1e6725">Next we investigate the linear stability of the fixed point (<xref ref-type="disp-formula" rid="Ch1.E32"/>). To this end we make an ansatz,
            <disp-formula id="Ch1.E33" content-type="numbered"><label>33</label><mml:math id="M194" display="block"><mml:mrow><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>+</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          and investigate the dynamics of the deviation from the stationary state <inline-formula><mml:math id="M195" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> by deriving an equation for <inline-formula><mml:math id="M196" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> through a perturbation expansion of
Eq. (<xref ref-type="disp-formula" rid="Ch1.E30"/>) in first order. This procedure (carried out in detail in
Appendix <xref ref-type="sec" rid="App1.Ch1.S3"/>) yields an equation for the Fourier modes <inline-formula><mml:math id="M197" display="inline"><mml:mrow><mml:msup><mml:mover accent="true"><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>(</mml:mo><mml:mi>k</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> of the perturbation for wave number <inline-formula><mml:math id="M198" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula> which can be written in the form
            <disp-formula id="Ch1.E34" content-type="numbered"><label>34</label><mml:math id="M199" display="block"><mml:mrow><mml:msub><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:msub><mml:msup><mml:mover accent="true"><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>(</mml:mo><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="bold">M</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:msup><mml:mover accent="true"><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>(</mml:mo><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          with a wave-number-dependent matrix,
            <disp-formula id="Ch1.E35" content-type="numbered"><label>35</label><mml:math id="M200" display="block"><mml:mrow><?xmltex \hack{\hbox\bgroup\fontsize{8.5}{8.5}\selectfont$\displaystyle}?><mml:msub><mml:mi mathvariant="bold">M</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>:=</mml:mo><mml:mo>-</mml:mo><mml:msup><mml:mi>k</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:msup><mml:mfenced close="]" open="["><mml:mrow><mml:msup><mml:mi mathvariant="bold">C</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:mfenced><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:msup><mml:mi mathvariant="bold">K</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>+</mml:mo><mml:mi>i</mml:mi><mml:mi>k</mml:mi><mml:msup><mml:mfenced close="]" open="["><mml:mrow><mml:msup><mml:mi mathvariant="bold">C</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:mfenced><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:msup><mml:mi mathvariant="bold">V</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>+</mml:mo><mml:msup><mml:mfenced close="]" open="["><mml:mrow><mml:msup><mml:mi mathvariant="bold">C</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:mfenced><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mi mathvariant="bold">R</mml:mi><mml:mo>,</mml:mo><?xmltex \hack{$\egroup}?></mml:mrow></mml:math></disp-formula>
          with constant matrix coefficients
<inline-formula><mml:math id="M201" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">K</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>,</mml:mo><mml:msup><mml:mi mathvariant="bold">V</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> and  <inline-formula><mml:math id="M202" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">C</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>. The eigenvalues of <inline-formula><mml:math id="M203" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">M</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> control the behavior of the system in the vicinity of the stationary state. The matrix <inline-formula><mml:math id="M204" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">M</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is
non-Hermitian due to the “advection” matrix <inline-formula><mml:math id="M205" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">V</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> and the “phase change” matrix <inline-formula><mml:math id="M206" display="inline"><mml:mi mathvariant="bold">R</mml:mi></mml:math></inline-formula>. Thus these two processes can principally cause eigenvalues with positive real parts (causing a growth of perturbations) and nonzero imaginary parts (causing oscillatory behavior). In the case of  <inline-formula><mml:math id="M207" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">V</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:mi mathvariant="bold">R</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula>, Eq. (<xref ref-type="disp-formula" rid="Ch1.E35"/>) predicts negative eigenvalues for all <inline-formula><mml:math id="M208" display="inline"><mml:mrow><mml:mi>k</mml:mi><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula> and no pattern formation as it should be for simple diffusion equations.</p>
      <p id="d1e7139">The matrix <inline-formula><mml:math id="M209" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">M</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> can be diagonalized in closed form using the symbolic algebra software MAPLE and eigenvalues subsequently separated into real and imaginary parts. Evaluating the eigenvalues with the corresponding parameter values from Table <xref ref-type="table" rid="Ch1.T1"/> shows that one of the eigenvalues has positive real part and nonzero imaginary part indicating a wave instability. This is controlled by the matrix <inline-formula><mml:math id="M210" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">V</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> with the coefficients <inline-formula><mml:math id="M211" display="inline"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M212" display="inline"><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> (see Eq. <xref ref-type="disp-formula" rid="App1.Ch1.S3.E53"/> in Appendix <xref ref-type="sec" rid="App1.Ch1.S3"/>) which characterize the sensitivity of the effective coefficients on density. Thus the instability originates from the fact that the effective diffusivity or the effective conductivity of snow depend on ice volume fraction (or snow density), and it is triggered by transitions in snow density, i.e., layers.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F6" specific-use="star"><?xmltex \currentcnt{6}?><?xmltex \def\figurename{Figure}?><label>Figure 6</label><caption><p id="d1e7200">Space–time plot of the perturbation field <bold>(a)</bold>, profiles at different time steps <bold>(b)</bold> and corresponding power spectra <bold>(c)</bold>.</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://tc.copernicus.org/articles/16/903/2022/tc-16-903-2022-f06.png"/>

        </fig>

      <p id="d1e7218">We can compare the prediction of the stability analysis with the simulation of the full model for the Gaussian crust by analyzing the growth of amplitude of Fourier modes for wave number <inline-formula><mml:math id="M213" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula> through the power spectral density of the perturbation. To this end we have computed the third component of the perturbation vector <inline-formula><mml:math id="M214" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mn mathvariant="normal">3</mml:mn><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> as the deviation from the initial, oscillation-free state. The space–time plot of the perturbation in real space is shown in
Fig. <xref ref-type="fig" rid="Ch1.F6"/>a which shows the emergence of the traveling wave. Discrete time steps are shown in Fig. <xref ref-type="fig" rid="Ch1.F6"/>b which displays the self-amplifying behavior of the density modulation in the layer-transition region, i.e., at the boundary of the crust. The power spectrum <inline-formula><mml:math id="M215" display="inline"><mml:mrow><mml:mo>|</mml:mo><mml:msubsup><mml:mover accent="true"><mml:mi>u</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mn mathvariant="normal">3</mml:mn><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup><mml:msup><mml:mo>|</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> of the perturbation is computed via fast Fourier transform and shown in Fig. <xref ref-type="fig" rid="Ch1.F6"/>c as a function of wave number for different times, together with the theoretically predicted range of instability (eigenvalues with positive real part and nonzero imaginary part, gray region) derived from the diagonalization of the matrix <inline-formula><mml:math id="M216" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">M</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. The comparison confirms that growing modes are consistently lying in the unstable range. This supports our theoretical explanation that wave-like patterns emerge in regions of high-density gradients as an inherent feature of the coupled heat and mass transport in snow with density-dependent material properties.</p>
</sec>
</sec>
<sec id="Ch1.S7">
  <label>7</label><title>Sensitivity studies</title>
      <p id="d1e7336">Finally we conducted a few sensitivity studies to facilitate a discussion about the relevance of our findings in future snow modeling.</p>
      <p id="d1e7339">To confirm that observed wave patterns in the Gaussian crust are robust against variations of absolute values in temperature gradients and initial crust density, we simulated a denser Gaussian crust with different values for the temperature gradient. Figure <xref ref-type="fig" rid="Ch1.F7"/>a shows that the nonlinear PDE system essentially obeys time vs. temperature gradient scaling. Virtually the same wave solution is obtained at different physical times <inline-formula><mml:math id="M217" display="inline"><mml:mi>t</mml:mi></mml:math></inline-formula> which scale as <inline-formula><mml:math id="M218" display="inline"><mml:mrow><mml:mi>t</mml:mi><mml:mo>∼</mml:mo><mml:mo>(</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>T</mml:mi><mml:msup><mml:mo>)</mml:mo><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>. This test also shows that for a higher crust density, the density depletion on the sublimating side is more pronounced.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F7" specific-use="star"><?xmltex \currentcnt{7}?><?xmltex \def\figurename{Figure}?><label>Figure 7</label><caption><p id="d1e7377">Simulation of the fully coupled system: <bold>(a)</bold> time-temperature scaling. <bold>(b)</bold> Evolution of a smooth initial ice profile and fixed mean temperature gradient of 50 K m<inline-formula><mml:math id="M219" 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>. <bold>(c)</bold> Same as <bold>(b)</bold> but with homogeneous Neumann BC and impact on depletion of mass at the boundary.</p></caption>
        <?xmltex \igopts{width=497.923228pt}?><graphic xlink:href="https://tc.copernicus.org/articles/16/903/2022/tc-16-903-2022-f07.png"/>

      </fig>

      <p id="d1e7411">Second we subjected a smoothly varying density profile to a temperature gradient of 50 K m<inline-formula><mml:math id="M220" 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> and conducted a long simulation over 170 d. The results are shown in Fig. <xref ref-type="fig" rid="Ch1.F7"/>b. This confirms that if the density profile is sufficiently smooth, even an entire season simulation shows a stable, smooth advection of the ice phase.</p>
      <p id="d1e7428">Finally, we mimic the situation of a snowpack over a dry soil where no vapor can enter the system from below by imposing a zero-flux Neumann
BC on the vapor equation. The results are shown in
Fig. <xref ref-type="fig" rid="Ch1.F7"/>c indicating the order of magnitude of the expected depletion of the snow mass at the bottom for purely diffusive vapor transport under the influence of a temperature gradient of 50 K m<inline-formula><mml:math id="M221" 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> for an entire season.</p>
</sec>
<sec id="Ch1.S8">
  <label>8</label><title>Discussion</title>
<sec id="Ch1.S8.SS1">
  <label>8.1</label><title>Comparison of published homogenization schemes</title>
      <p id="d1e7460">We have revisited published models of coupled heat and (diffusive)
vapor transport in snow. To investigate their numerical requirements we have implemented a stand-alone solver in the open-source software FEniCS
for the sake of flexibility in numerical experiments involving spatial and temporal resolution, solution strategies, and accuracy.</p>
      <p id="d1e7463">From a mere physical point of view, our comparison of <xref ref-type="bibr" rid="bib1.bibx7" id="text.63"/> and <xref ref-type="bibr" rid="bib1.bibx16" id="text.64"/> has shown that both schemes yield similar results as long as the same parametrizations are used as closure for the PDE coefficients. The impact of purely diffusive vapor transport on macroscopic density changes is rather small (Fig. <xref ref-type="fig" rid="Ch1.F7"/>), in agreement with <xref ref-type="bibr" rid="bib1.bibx17" id="text.65"/>. Accurate estimates will certainly rely on the choice for the parametrization of the transport coefficients which naturally cause differences in the results (Fig. <xref ref-type="fig" rid="Ch1.F1"/>).
In homogeneous parts of the snowpack these differences are small, and larger differences can be expected at layer transition regions (Fig. <xref ref-type="fig" rid="Ch1.F2"/>) where phase changes sensitively react to the underlying homogenized process model equations.</p>
      <p id="d1e7482">For the present work, however, the precise numbers were of minor importance. The primary goal was an assessment of the nonlinearity that is contained in published vapor homogenization schemes and their numerical requirements in view of previously reported numerical issues (<xref ref-type="bibr" rid="bib1.bibx17" id="altparen.66"/>, <xref ref-type="bibr" rid="bib1.bibx1" id="altparen.67"/>, and <xref ref-type="bibr" rid="bib1.bibx16" id="altparen.68"/>). While we have certainly challenged the numerical scheme by predominantly exploring high-temperature and high-density gradients, the observed time–gradient scaling (Fig. <xref ref-type="fig" rid="Ch1.F7"/>) indicates that the underlying nonlinear mechanisms are generally robust against these details.</p>
</sec>
<sec id="Ch1.S8.SS2">
  <label>8.2</label><title>Oscillatory behavior in the numerical solution</title>
      <p id="d1e7504">We have discovered that both models <xref ref-type="bibr" rid="bib1.bibx7 bib1.bibx16" id="paren.69"/>
exhibit oscillations in the numerical solution if they are dynamically coupled to an evolving ice phase (Eq. <xref ref-type="disp-formula" rid="Ch1.E7"/>). From our analysis of different combinations of initial and boundary conditions (Sect. <xref ref-type="sec" rid="Ch1.S4"/>)
we conclude that two types of oscillations can occur: node-to-node oscillations (indicating numerical problems) and smooth oscillations (features of the underlying equations)</p>
      <p id="d1e7514">In view of numerical problems, we have shown that the dynamic coupling of the ice phase to heat and mass transport is equivalent to an advection of the ice phase (Sect. <xref ref-type="sec" rid="Ch1.S5"/>). The nonlinear nature of this advection causes a self-amplified increase in density changes and layer transitions, imposing special requirements on mesh resolution, time stepping and potentially shock-capturing schemes <xref ref-type="bibr" rid="bib1.bibx24" id="paren.70"/> to avoid oscillations.
The fact that node-to-node oscillations occur on the “outflow” boundary
of the ice phase supports this. In most of our simulations we have imposed a Dirichlet boundary condition of the vapor phase which is strictly in equilibrium on the boundary. By virtue of Eq. (<xref ref-type="disp-formula" rid="Ch1.E23"/>) this implies that the snow density cannot change directly at the boundary, while in the interior of the domain the ice is piling up towards the boundary under the advection (Fig. <xref ref-type="fig" rid="Ch1.F4"/>). This is reminiscent of outflow boundaries in fluid dynamics for high local Péclet numbers <xref ref-type="bibr" rid="bib1.bibx12" id="paren.71"/>: the  disagreement between the information transported through the domain from the cold boundary and the information prescribed on the warm boundary is numerically resolved by steep node-to-node oscillations (Fig. <xref ref-type="fig" rid="Ch1.F3"/>). Similar issues can arise whenever abrupt changes in the advection velocity cannot sufficiently be resolved on a given mesh, as in Fig. <xref ref-type="fig" rid="Ch1.F5"/> in the
middle of the domain. This interpretation of node-to-node oscillations is supported by
the fact that oscillations can be completely suppressed on the lower boundary by choosing a boundary condition, <inline-formula><mml:math id="M222" display="inline"><mml:mrow><mml:mi mathvariant="normal">∇</mml:mi><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mo>∂</mml:mo><mml:mo>/</mml:mo><mml:mo>∂</mml:mo><mml:mi>T</mml:mi><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>T</mml:mi></mml:mrow></mml:math></inline-formula>, for the vapor equation, which implies a vanishing gradient for the ice profile at the boundary.
Our tests indicated that node-to-node oscillations can be eliminated by choosing a high resolution in space and time. A more efficient approach might be the utilization of stabilization methods for which our approximation (Eq. <xref ref-type="disp-formula" rid="Ch1.E23"/>) may serve to provide a local advection velocity of the ice phase which needs to be supplied, for example, to a streamline upwind Petrov–Galerkin stabilization scheme <xref ref-type="bibr" rid="bib1.bibx12" id="paren.72"/>.</p>
      <p id="d1e7573">After increasing mesh and time resolution to suppress numerical problems, the true solution converges to a smooth, traveling wave pattern (Figs. <xref ref-type="fig" rid="Ch1.F5"/>, <xref ref-type="fig" rid="Ch1.F6"/>). As confirmed by the theoretical analysis, these oscillations are true features of the nonlinear homogenization equations and are triggered by gradients in the density (Sect. <xref ref-type="sec" rid="Ch1.S6.SS2"/>). These patterns can only form when the ice equation is dynamically coupled to the heat and vapor equation in a mass-conserving way. At the boundary, these physical oscillations are triggered as a consequence of the Dirichlet boundary condition as explained above: the competition of a fixed value of <inline-formula><mml:math id="M223" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> directly on the boundary for <inline-formula><mml:math id="M224" display="inline"><mml:mrow><mml:mi>z</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula> (implication of the imposed boundary conditions on the vapor phase for Eq. <xref ref-type="disp-formula" rid="Ch1.E7"/>) and the increase in <inline-formula><mml:math id="M225" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> in the interior of the domain gives rise to a transition layer at the boundary with a high-density gradient in the ice phase that triggers the instability according to the mechanism revealed in Sect. <xref ref-type="sec" rid="Ch1.S6.SS2"/>. This is again supported by the fact that the physical oscillations at the boundary can be suppressed by choosing the BC for the vapor equations such that the gradient in ice volume fraction vanishes. This behavior is reminiscent of the wave instability triggered by a Dirichlet boundary condition in a 1D nonlinear reaction–advection–diffusion system <xref ref-type="bibr" rid="bib1.bibx28" id="paren.73"/> which travels <italic>upstream</italic> into the domain.</p>
</sec>
<sec id="Ch1.S8.SS3">
  <label>8.3</label><title>Weak layer formation by wave instability?</title>
      <p id="d1e7635">We have shown that spatial heterogeneities in the density and ice volume fraction can amplify under the coupled thermodynamic description in snow. This has been pointed out before <xref ref-type="bibr" rid="bib1.bibx1" id="paren.74"/>. We have investigated this phenomenon within the idealized scenario of a Gaussian crust where density gradients self-amplify under the nonlinear advective dynamics with a subsequent instability and the emergence of wave patterns. The eigenvalues of the linearized PDE system in our linear stability analysis have revealed the mechanism: a non-homogeneous density paired with the density dependence of the effective diffusion coefficients triggers the instability. Pattern formation following an instability is ubiquitous in nonlinear (diffusion–reaction) PDEs <xref ref-type="bibr" rid="bib1.bibx9" id="paren.75"/>.</p>
      <p id="d1e7644">In the present case, the observed instability may have far-reaching consequences, which comes as a (surprising) side-product of our numerical study: as the instability causes the depletion of density on the sublimating side of a crust (Fig. <xref ref-type="fig" rid="Ch1.F7"/>a), it explains why a low-density (mechanically weak) layer can form under these conditions. For high-density crusts, the parameters and model components used here predict a considerable reduction in the density in a sub-millimeter layer above the crust (Fig. <xref ref-type="fig" rid="Ch1.F7"/>a). This mechanism is
solely a consequence of the continuum description of snow. We stress that this is  different from a previously suggested reasoning <xref ref-type="bibr" rid="bib1.bibx8" id="paren.76"/>, and it may occur as a superimposed effect on additional microstructural controls through near-crust metamorphism <xref ref-type="bibr" rid="bib1.bibx15" id="paren.77"/>. In the future, it will be therefore important to assess how this instability is affected by adding mechanical settling, an evolving microstructure or enhanced mass transport from convection.</p>
</sec>
<sec id="Ch1.S8.SS4">
  <label>8.4</label><title>Open questions</title>
<sec id="Ch1.S8.SS4.SSS1">
  <label>8.4.1</label><title>Limits of the homogenization scheme</title>
      <p id="d1e7672">The present work poses questions on the limits of validity of the homogenization schemes used that are relevant for a user of the equations.</p>
      <p id="d1e7675">First, as detailed in <xref ref-type="bibr" rid="bib1.bibx7" id="text.78"/>, the homogenized Eqs. (<xref ref-type="disp-formula" rid="Ch1.E1"/>) and (<xref ref-type="disp-formula" rid="Ch1.E2"/>) are not valid for arbitrary growth rates. This is a tricky situation since the PDE system exhibits self-propelled dynamics into a state of fast growth for high-density gradients, thereby leaving its own range of validity.
However, since the homogenization scheme <xref ref-type="bibr" rid="bib1.bibx7" id="paren.79"/> does not contain the ice phase, it remains unclear if the equations used remain valid if a dynamical ice phase were included in the first place.</p>
      <p id="d1e7688">Second, the two-scale homogenization <xref ref-type="bibr" rid="bib1.bibx7" id="paren.80"/> states assumptions on length scales, on which the description is meant to be valid. The expansion dictates what can be considered as homogenous: macroscopic scale which is sufficiently large against the microstructural length scale. But what happens if the derived equations contain mathematical features on smaller scales which violate the separation of scales? We have shown that the wave instability produces patterns on millimeter to sub-millimeter scales requiring ridiculously small  mesh sizes to resolve them, clearly interfering with characteristic length scales of the microstructure. What is a consistent way of dealing with this situation? Resolving them numerically and averaging them out? Suppressing them numerically by artificial diffusion? Or does this behavior signal true multi-scale effects where the assumed “separation of scales” fundamentally breaks down? Answering these questions appears to be a key demand for future work on homogenization to provide a robust recipe on how to use derived equations correctly for applied modeling.</p>
</sec>
<sec id="Ch1.S8.SS4.SSS2">
  <label>8.4.2</label><title>Discontinuous vs. continuous description of a stratified snowpack</title>
      <p id="d1e7702">Any snowpack contains variations in its properties that may be described either by continuous profiles containing large gradients (as done here) or by a discontinuous stacking of layers. We want to point out here that if a continuous description of density variations were to be replaced by discontinuous layers, the investigated wave problem will not simply disappear. In a hypothetical discontinuous layer description, as commonly pursued in snowpack models, the mass continuity of the ice phase at the layer interface would require us to derive a dynamic (nonlinear) equation for the migration of the layer interface on which the continuity of temperature and heat and mass fluxes were to be imposed. From the continuous description used here, no firm conclusion can be drawn on the behavior of the interface evolution between discontinuous, homogeneous layers. We hypothesize though that the wave instability of the continuous PDE formulation may translate into an oscillatory instability for the position of the interface. In view of the mathematical overhead of tracking continuity conditions at moving interfaces, we tend to recommend a continuous description in future snow modeling with numerical schemes that cope with arbitrary gradients in the properties.</p>
</sec>
</sec>
<sec id="Ch1.S8.SS5">
  <label>8.5</label><title>Advantages and disadvantages of the numerical framework</title>
      <p id="d1e7715">We have used FEniCS for the stand-alone implementation to minimize the finite element method implementation effort while retaining full control of the numerical solution. Overall FEniCS provides a convenient, modular setup for exchanging
PDE coefficients (<inline-formula><mml:math id="M226" display="inline"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) or boundary conditions, e.g., for more sophisticated exchange of vapor with the soil or the atmosphere. Alongside our
study, we evaluated the FEniCS framework by comparing numerically different implementations. These experiences are shared for future reference.</p>
      <p id="d1e7736">We found that integration by parts in the weak formulation is not only necessary to apply Neumann boundary conditions but also increases the precision, regardless of the order of interpolation polynomials. Operator splitting turned out to be of limited value, the decrease in precision was not outweighed by a decrease in numerical complexity. As expected, a non-dimensionalization of the equations and the corresponding re-scaling to values of order unity did not impact the solution, as long as solver convergence settings are adapted. Increasing the polynomial order of the test functions was equivalent to
increasing the mesh resolution with the corresponding number of nodes. However, we experienced large errors if the polynomial order of the variables of the coupled equations was not the same: solving <inline-formula><mml:math id="M227" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> in first order and <inline-formula><mml:math id="M228" 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> and <inline-formula><mml:math id="M229" display="inline"><mml:mi>T</mml:mi></mml:math></inline-formula> in second order caused
large errors in the entire domain and also violation of the Dirichlet boundary condition. Adding auxiliary algebraic variables (as done here for the source terms) can improve the solvability of the system when convergence settings of the coupled system are adapted. Using so-called sub-functions in the formulation of the variational problem for coding modularity can introduce errors. We encountered deviations between a sub-function value and its hard-coded counterpart.</p>
      <p id="d1e7768">While FEniCS has provided an excellent numerical framework for the present study, a clear drawback of FEniCS would however emerge if mechanical settling was to be considered as a necessary, future  extension. In the presence of settling, the ice-phase conservation equation is an advection-dominated problem which is notoriously difficult to solve on a Eulerian FE mesh without numerical smoothing. Re-meshing is currently not supported in FEniCS. To this end we have explored another, fully different numerical route to enable a flexible coupling of transport and phase changes to mechanical settling which is presented in Part 2 of this companion paper <xref ref-type="bibr" rid="bib1.bibx25" id="paren.81"/>.</p>
</sec>
</sec>
<sec id="Ch1.S9" sec-type="conclusions">
  <label>9</label><title>Conclusions</title>
      <p id="d1e7783">We have shown that the widely accepted form of homogenized vapor transport equations in snow predicts <italic>mathematical</italic> features (density waves) with interesting <italic>physical</italic> implications (weak layers) which constitute a considerable <italic>numerical</italic> challenge for future snowpack modeling.</p>
      <p id="d1e7795">Combining numerical experiments with theoretical considerations we have shown that the wave instability originates from the dependence of the effective heat and vapor diffusion coefficients (<inline-formula><mml:math id="M230" display="inline"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M231" display="inline"><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) on snow density. Since this dependence is the most fundamental nonlinearity in coupled heat and vapor transport in snow, it is unlikely that this effect will luckily disappear when considering more complex, nonlinear extensions of the model. The instability is a true feature of published equations and comes into play when the ice phase is dynamically coupled to the vapor phase by phase changes in a mass-conserving way.</p>
      <p id="d1e7820">The instability is triggered by high-density gradients which either (pre-)exist in snowpacks in the form of layers or are generated from the self-amplification of density gradients under the coupled dynamics. This amplification is a consequence of the effective advection of the ice phase due to phase changes. This is explained within the derivation of an approximate, nonlinear and non-local advection equation. Given the observed (approximate) equivalence between time and imposed temperature gradient, the system always undergoes a self-propelled evolution into its own instability. The instability might be practically irrelevant as long as smooth density profiles are considered. But the instability will certainly become relevant if a snowpack model should be applicable to simulate a sublimating side of a crust as a potential origin of weak layer formation.</p>
      <p id="d1e7823"><?xmltex \hack{\newpage}?>We have outlined open questions and limitations of the present study related to the homogenization scheme, the numerical scheme and the concept of discontinuous layers. While the present study required a stand-alone numerical implementation, it seems to be of key importance that future snow models will be flexible enough for conducting advanced numerical studies. Only then will re-implementations of stand-alone numerical experiments become obsolete and the rich, nonlinear behavior of snow be able to be predicted from a snow model alone.</p>
</sec>

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

<app id="App1.Ch1.S1">
  <?xmltex \currentcnt{A}?><label>Appendix A</label><title>Parametrizations of the PDE coefficients</title>
      <p id="d1e7838">For the equilibrium vapor pressure we used the parametrization from <xref ref-type="bibr" rid="bib1.bibx21" id="text.82"/> given by
          <disp-formula id="App1.Ch1.S1.E36" content-type="numbered"><label>A1</label><mml:math id="M232" display="block"><mml:mrow><?xmltex \hack{\hbox\bgroup\fontsize{9.6}{9.6}\selectfont$\displaystyle}?><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">v</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup><mml:mo>=</mml:mo><mml:mo mathsize="2.0em">(</mml:mo><mml:msub><mml:mi>a</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>a</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>-</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">m</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>+</mml:mo><mml:msub><mml:mi>a</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>-</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">m</mml:mi></mml:msub><mml:msup><mml:mo>)</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo mathsize="2.0em">)</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi>exp⁡</mml:mi><mml:mo>(</mml:mo><mml:mo>-</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">r</mml:mi></mml:msub><mml:mo>/</mml:mo><mml:mi>T</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mi>T</mml:mi><mml:mo>/</mml:mo><mml:msub><mml:mi>m</mml:mi><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">H</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mi mathvariant="normal">O</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><?xmltex \hack{$\egroup}?><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
        with <inline-formula><mml:math id="M233" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi>m</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">273.15</mml:mn></mml:mrow></mml:math></inline-formula> K, <inline-formula><mml:math id="M234" display="inline"><mml:mrow><mml:msub><mml:mi>a</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">3.6636</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">12</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> Pa, <inline-formula><mml:math id="M235" display="inline"><mml:mrow><mml:msub><mml:mi>a</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1.3086</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">8</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> Pa K<inline-formula><mml:math id="M236" 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>, <inline-formula><mml:math id="M237" display="inline"><mml:mrow><mml:msub><mml:mi>a</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3.3793</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">6</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> Pa K<inline-formula><mml:math id="M238" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>, <inline-formula><mml:math id="M239" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">r</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">6150</mml:mn></mml:mrow></mml:math></inline-formula> K, the conversion from pressure to density through the ideal gas law and <inline-formula><mml:math id="M240" display="inline"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi>B</mml:mi></mml:msub><mml:mi>T</mml:mi><mml:mo>/</mml:mo><mml:msub><mml:mi>m</mml:mi><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">H</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mi mathvariant="normal">O</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">461.3</mml:mn></mml:mrow></mml:math></inline-formula> J kg<inline-formula><mml:math id="M241" 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> K<inline-formula><mml:math id="M242" 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>.</p>
      <p id="d1e8138">For the effective heat capacity we used a volume-averaged formulation given in <xref ref-type="bibr" rid="bib1.bibx7" id="text.83"/>:
          <disp-formula id="App1.Ch1.S1.E37" content-type="numbered"><label>A2</label><mml:math id="M243" display="block"><mml:mrow><mml:mo>(</mml:mo><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi>C</mml:mi><mml:msub><mml:mo>)</mml:mo><mml:mi mathvariant="normal">eff</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:msub><mml:mi>C</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">a</mml:mi></mml:msub><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">a</mml:mi></mml:msub><mml:msub><mml:mi>C</mml:mi><mml:mi mathvariant="normal">a</mml:mi></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
        with <inline-formula><mml:math id="M244" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M245" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mi mathvariant="normal">a</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M246" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> given in Table <xref ref-type="table" rid="Ch1.T1"/>.</p>
      <p id="d1e8234">In the Calonne case we used for the effective diffusion parameters Eq. (12) from <xref ref-type="bibr" rid="bib1.bibx6" id="text.84"/> and the self-consistent estimate used in <xref ref-type="bibr" rid="bib1.bibx7" id="text.85"/> given by

              <disp-formula specific-use="gather" content-type="numbered"><mml:math id="M247" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="App1.Ch1.S1.E38"><mml:mtd><mml:mtext>A3</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>k</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>k</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>k</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:msup><mml:mo>)</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="App1.Ch1.S1.E39"><mml:mtd><mml:mtext>A4</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:msub><mml:mi>D</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

          with <inline-formula><mml:math id="M248" display="inline"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.024</mml:mn></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M249" display="inline"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1.23</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="M250" display="inline"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">2.5</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">6</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M251" display="inline"><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> given in Table <xref ref-type="table" rid="Ch1.T1"/>.</p>
      <p id="d1e8452">In the Hansen case we used Eqs. (87) and (88) from <xref ref-type="bibr" rid="bib1.bibx16" id="text.86"/> given by

              <disp-formula specific-use="gather" content-type="numbered"><mml:math id="M252" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="App1.Ch1.S1.E40"><mml:mtd><mml:mtext>A5</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mtable rowspacing="0.2ex" class="split" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>=</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mspace linebreak="nobreak" width="0.25em"/><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mfenced open="(" close=")"><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:msub><mml:mi>k</mml:mi><mml:mi>a</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mo>+</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi>a</mml:mi></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mfenced open="(" close=")"><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:msub><mml:mi>k</mml:mi><mml:mi>a</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi>a</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:mi>L</mml:mi><mml:msub><mml:mi>D</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mo>∂</mml:mo><mml:msup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:mi>T</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:mfenced><mml:mo>+</mml:mo><mml:mfenced close=")" open="("><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="App1.Ch1.S1.E41"><mml:mtd><mml:mtext>A6</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mtable class="split" rowspacing="0.2ex" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>=</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mspace linebreak="nobreak" width="0.25em"/><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi>a</mml:mi></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mfenced close=")" open="("><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:msub><mml:mi>D</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi>a</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:mi>L</mml:mi><mml:msub><mml:mi>D</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mo>∂</mml:mo><mml:msup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:mi>T</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:mfenced><mml:mo>+</mml:mo><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

          and <inline-formula><mml:math id="M253" display="inline"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">a</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mi>L</mml:mi></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M254" display="inline"><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> given in Table <xref ref-type="table" rid="Ch1.T1"/>.</p>
</app>

<app id="App1.Ch1.S2">
  <?xmltex \currentcnt{B}?><label>Appendix B</label><title>Analysis of residuals</title>
      <p id="d1e8805">Due to the lack of an analytical solution for the nonlinear problem, we used the nodal residuals as an indicator for the solution error. FEniCS does not provide access to the nodal residuals to verify convergence in the <monospace>NonlinearVariationalSolver</monospace>
class. To this end we recovered the residuals manually by decoupling the equations and iterating over individually fine-tuned solvers for each equation. The results are
shown in Fig. <xref ref-type="fig" rid="App1.Ch1.S2.F8"/>. While in this solution scheme the residuals are several orders of magnitude smaller than in our regular setup, the onset of the wave instability remains the same (Fig. <xref ref-type="fig" rid="App1.Ch1.S2.F9"/>).</p>

      <?xmltex \floatpos{t}?><fig id="App1.Ch1.S2.F8"><?xmltex \currentcnt{B1}?><?xmltex \def\figurename{Figure}?><label>Figure B1</label><caption><p id="d1e8817">Results upon lowering the residuals of all equations. While some pattern is still visible, the order of magnitude is small enough to assume small errors in the solution as well.</p></caption>
        <?xmltex \igopts{width=241.848425pt}?><graphic xlink:href="https://tc.copernicus.org/articles/16/903/2022/tc-16-903-2022-f08.png"/>

      </fig>

      <?xmltex \floatpos{t}?><fig id="App1.Ch1.S2.F9"><?xmltex \currentcnt{B2}?><?xmltex \def\figurename{Figure}?><label>Figure B2</label><caption><p id="d1e8828">Comparison between node-to-node oscillation patterns for the regular setup and the low-residual setup.</p></caption>
        <?xmltex \igopts{width=241.848425pt}?><graphic xlink:href="https://tc.copernicus.org/articles/16/903/2022/tc-16-903-2022-f09.png"/>

      </fig>

</app>

<app id="App1.Ch1.S3">
  <?xmltex \currentcnt{C}?><label>Appendix C</label><title>Perturbation expansion of the heat–vapor–ice system</title>
      <p id="d1e8845">Carrying out the perturbation expansion of the PDE system (Eq. <xref ref-type="disp-formula" rid="Ch1.E30"/>) around the stationary state (Eq. <xref ref-type="disp-formula" rid="Ch1.E31"/>) using the ansatz (Eq. <xref ref-type="disp-formula" rid="Ch1.E33"/>) requires two auxiliary relations which are stated below.</p>
      <p id="d1e8854">First, for any matrix <inline-formula><mml:math id="M255" display="inline"><mml:mrow><mml:mi mathvariant="bold">M</mml:mi><mml:mo>=</mml:mo><mml:mi mathvariant="bold">M</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> that depends only on the third component <inline-formula><mml:math id="M256" display="inline"><mml:mi mathvariant="bold-italic">u</mml:mi></mml:math></inline-formula> (ice volume fraction <inline-formula><mml:math id="M257" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) the
following holds:
          <disp-formula id="App1.Ch1.S3.E42" content-type="numbered"><label>C1</label><mml:math id="M258" display="block"><mml:mrow><mml:msub><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>z</mml:mi></mml:msub><mml:mi mathvariant="bold">M</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">e</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub><mml:mo>⋅</mml:mo><mml:msub><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>z</mml:mi></mml:msub><mml:mi mathvariant="bold-italic">u</mml:mi></mml:mrow></mml:mfenced><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="bold">M</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
        where <inline-formula><mml:math id="M259" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mo>⋅</mml:mo><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> denotes the scalar product on the 3D <inline-formula><mml:math id="M260" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="italic">ρ</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>
solution space.</p>
      <p id="d1e8987">Second, the expansion around the fixed point of an arbitrary matrix <inline-formula><mml:math id="M261" display="inline"><mml:mrow><mml:mi mathvariant="bold">M</mml:mi><mml:mo>=</mml:mo><mml:mi mathvariant="bold">M</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> that depends only on the third component <inline-formula><mml:math id="M262" display="inline"><mml:mi mathvariant="bold-italic">u</mml:mi></mml:math></inline-formula> (ice volume fraction <inline-formula><mml:math id="M263" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) reads
          <disp-formula id="App1.Ch1.S3.E43" content-type="numbered"><label>C2</label><mml:math id="M264" display="block"><mml:mtable rowspacing="0.2ex" class="split" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:mi mathvariant="bold">M</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mo>=</mml:mo><mml:mi mathvariant="bold">M</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>)</mml:mo><mml:mo>+</mml:mo><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">e</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub><mml:mo>⋅</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:mfenced><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="bold">M</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:msub><mml:mo mathsize="1.5em">|</mml:mo><mml:mrow><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mo>=</mml:mo><mml:msup><mml:mi mathvariant="bold">M</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>+</mml:mo><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">e</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub><mml:mo>⋅</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>)</mml:mo><mml:msup><mml:mi mathvariant="bold">M</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
        where we use the following shorthand notation for the matrix coefficients:
          <disp-formula id="App1.Ch1.S3.E44" content-type="numbered"><label>C3</label><mml:math id="M265" display="block"><mml:mrow><mml:msup><mml:mi mathvariant="bold">M</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>n</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msup><mml:mo>∂</mml:mo><mml:mi>n</mml:mi></mml:msup><mml:mi mathvariant="bold">M</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:msubsup><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi><mml:mi>n</mml:mi></mml:msubsup></mml:mrow></mml:mfrac></mml:mstyle><mml:msub><mml:mo mathsize="1.5em">|</mml:mo><mml:mrow><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:msub><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p id="d1e9239">Now we can state the expansion of the PDE system (Eq. <xref ref-type="disp-formula" rid="Ch1.E30"/>) to first order in <inline-formula><mml:math id="M266" display="inline"><mml:mi>u</mml:mi></mml:math></inline-formula> as follows:
          <disp-formula id="App1.Ch1.S3.E45" content-type="numbered"><label>C4</label><mml:math id="M267" display="block"><mml:mtable class="split" rowspacing="0.2ex" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:mo mathsize="1.1em">[</mml:mo><mml:msup><mml:mi mathvariant="bold">C</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mo>+</mml:mo><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">e</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub><mml:mo>⋅</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:mfenced><mml:msup><mml:mi mathvariant="bold">C</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo mathsize="1.1em">]</mml:mo><mml:mo mathsize="1.1em">[</mml:mo><mml:msub><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:msub><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>+</mml:mo><mml:msub><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:msub><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo mathsize="1.1em">]</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mfenced close="]" open="["><mml:mrow><mml:msup><mml:mi mathvariant="bold">K</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>+</mml:mo><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">e</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub><mml:mo>⋅</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>)</mml:mo><mml:msup><mml:mi mathvariant="bold">K</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:mfenced><mml:mfenced open="[" close="]"><mml:mrow><mml:msubsup><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>z</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msubsup><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>+</mml:mo><mml:msubsup><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>z</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msubsup><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mfenced open="[" close="]"><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">e</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub><mml:mo>⋅</mml:mo><mml:msub><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>z</mml:mi></mml:msub><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>)</mml:mo><mml:mo>+</mml:mo><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">e</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub><mml:mo>⋅</mml:mo><mml:msub><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>z</mml:mi></mml:msub><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mo>⋅</mml:mo><mml:mfenced open="[" close="]"><mml:mrow><mml:msup><mml:mi mathvariant="bold">K</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>+</mml:mo><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">e</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub><mml:mo>⋅</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>)</mml:mo><mml:msup><mml:mi mathvariant="bold">K</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:mfenced><mml:mfenced open="[" close="]"><mml:mrow><mml:msub><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>z</mml:mi></mml:msub><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>+</mml:mo><mml:msub><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>z</mml:mi></mml:msub><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mo>=</mml:mo><mml:mi mathvariant="bold">R</mml:mi><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>+</mml:mo><mml:mi mathvariant="bold">R</mml:mi><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>+</mml:mo><mml:mi mathvariant="bold-italic">f</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula></p>
      <p id="d1e9620">Equating zero- and first-order terms in <inline-formula><mml:math id="M268" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> provides an equation that is satisfied by the stationary state as it should be. By collecting terms linear in <inline-formula><mml:math id="M269" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> the governing equation reads
          <disp-formula id="App1.Ch1.S3.E46" content-type="numbered"><label>C5</label><mml:math id="M270" display="block"><mml:mtable rowspacing="0.2ex" class="split" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:msup><mml:mi mathvariant="bold">C</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:msub><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:msub><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mo>-</mml:mo><mml:msup><mml:mi mathvariant="bold">K</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:msubsup><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>z</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msubsup><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>-</mml:mo><mml:mfenced close="]" open="["><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">e</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub><mml:mo>⋅</mml:mo><mml:msub><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>z</mml:mi></mml:msub><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:mfenced></mml:mfenced><mml:mfenced close="]" open="["><mml:mrow><mml:msup><mml:mi mathvariant="bold">K</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mo>⋅</mml:mo><mml:mfenced close="]" open="["><mml:mrow><mml:msub><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>z</mml:mi></mml:msub><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:mi mathvariant="bold">R</mml:mi><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
        The advection term can be re-written in the form <inline-formula><mml:math id="M271" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">K</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mfenced open="[" close="]"><mml:mrow><mml:msub><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>z</mml:mi></mml:msub><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>⊗</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">e</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub></mml:mrow></mml:mfenced><mml:msub><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>z</mml:mi></mml:msub><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>, and after multiplying the corresponding matrices we arrive at the final, linear PDE system with constant coefficients:
          <disp-formula id="App1.Ch1.S3.E47" content-type="numbered"><label>C6</label><mml:math id="M272" display="block"><mml:mrow><mml:msup><mml:mi mathvariant="bold">C</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:msub><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:msub><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>-</mml:mo><mml:msup><mml:mi mathvariant="bold">K</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:msubsup><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>z</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msubsup><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>-</mml:mo><mml:msup><mml:mi mathvariant="bold">V</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:msub><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>z</mml:mi></mml:msub><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:mi mathvariant="bold">R</mml:mi><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
        with coefficient matrices given by

              <disp-formula specific-use="align" content-type="numbered"><mml:math id="M273" display="block"><mml:mtable rowspacing="4.267913pt 4.267913pt 4.267913pt 4.267913pt" displaystyle="true"><mml:mlabeledtr id="App1.Ch1.S3.E48"><mml:mtd><mml:mtext>C7</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:msup><mml:mi mathvariant="bold">C</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mo>=</mml:mo><mml:mfenced close="]" open="["><mml:mtable rowspacing="2.845276pt 2.845276pt" class="matrix" columnalign="center center center" framespacing="0em"><mml:mtr><mml:mtd><mml:mrow><mml:mo>(</mml:mo><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi>C</mml:mi><mml:msub><mml:mo>)</mml:mo><mml:mi mathvariant="normal">eff</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mrow><mml:mi mathvariant="normal">i</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd><mml:mtd><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mrow><mml:mi mathvariant="normal">i</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">1</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="App1.Ch1.S3.E49"><mml:mtd><mml:mtext>C8</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:msup><mml:mi mathvariant="bold">K</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mo>=</mml:mo><mml:mfenced close="]" open="["><mml:mtable class="matrix" rowspacing="2.845276pt 2.845276pt" columnalign="center center center" framespacing="0em"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mrow><mml:mi mathvariant="normal">i</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mrow><mml:mi mathvariant="normal">i</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="App1.Ch1.S3.E50"><mml:mtd><mml:mtext>C9</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:msup><mml:mi mathvariant="bold">V</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mo>=</mml:mo><mml:mfenced close="]" open="["><mml:mtable rowspacing="2.845276pt 2.845276pt" class="matrix" columnalign="center center center" framespacing="0em"><mml:mtr><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi>H</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow><mml:mi>H</mml:mi></mml:mfrac></mml:mstyle></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd><mml:mtd><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi>H</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow><mml:mi>H</mml:mi></mml:mfrac></mml:mstyle></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="App1.Ch1.S3.E51"><mml:mtd><mml:mtext>C10</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mi mathvariant="bold">R</mml:mi></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mo>=</mml:mo><mml:mfenced close="]" open="["><mml:mtable class="matrix" rowspacing="2.845276pt 2.845276pt" columnalign="center center center" framespacing="0em"><mml:mtr><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mi>L</mml:mi><mml:mi mathvariant="italic">α</mml:mi><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mi>L</mml:mi><mml:mi mathvariant="italic">α</mml:mi></mml:mrow></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mi mathvariant="italic">α</mml:mi></mml:mrow></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mi mathvariant="italic">α</mml:mi><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup></mml:mrow></mml:mtd><mml:mtd><mml:mi mathvariant="italic">α</mml:mi></mml:mtd><mml:mtd><mml:mn mathvariant="normal">0</mml:mn></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="App1.Ch1.S3.E52"><mml:mtd><mml:mtext>C11</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mi mathvariant="bold-italic">f</mml:mi></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mo>=</mml:mo><mml:mfenced open="[" close="]"><mml:mtable class="matrix" rowspacing="2.845276pt 2.845276pt" columnalign="center" framespacing="0em"><mml:mtr><mml:mtd><mml:mrow><mml:mi>L</mml:mi><mml:mi mathvariant="italic">α</mml:mi><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">ref</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mi>L</mml:mi><mml:mi mathvariant="italic">α</mml:mi><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mn mathvariant="normal">0</mml:mn><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">ref</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mn mathvariant="normal">0</mml:mn><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mi mathvariant="italic">α</mml:mi><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">ref</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mi mathvariant="italic">α</mml:mi><mml:msubsup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mn mathvariant="normal">0</mml:mn><mml:mi mathvariant="normal">eq</mml:mi></mml:msubsup></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

          In the latter step we employed the  expansions of the diffusion coefficients around the reference volume fraction <inline-formula><mml:math id="M274" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mrow><mml:mi mathvariant="normal">i</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> in the form
          <disp-formula id="App1.Ch1.S3.E53" content-type="numbered"><label>C12</label><mml:math id="M275" display="block"><mml:mtable rowspacing="0.2ex" class="split" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>k</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>k</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mrow><mml:mi mathvariant="normal">i</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub><mml:mo>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:msub><mml:mi>D</mml:mi><mml:mi mathvariant="normal">eff</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>D</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mrow><mml:mi mathvariant="normal">i</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:msub><mml:mo>)</mml:mo><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula></p>
      <p id="d1e10584">Generally, it seems feasible (though tedious) to carry out an expansion of Eq. (<xref ref-type="disp-formula" rid="App1.Ch1.S3.E47"/>) in a finite domain in terms of the eigenfunctions of the differential operator satisfying the BC. This would allow us to incorporate the impact of the BC into the stability analysis. Since <inline-formula><mml:math id="M276" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> already satisfies the original Dirichlet conditions, the perturbation
<inline-formula><mml:math id="M277" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">u</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> must vanish on the boundaries. However, we limit ourselves here to the simpler case of a stability analysis in an infinite domain and take continuous Fourier transforms of Eq. (<xref ref-type="disp-formula" rid="Ch1.E30"/>) with respect to <inline-formula><mml:math id="M278" display="inline"><mml:mi>z</mml:mi></mml:math></inline-formula>. Denoting the Fourier variable by <inline-formula><mml:math id="M279" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula> we end up with the final result stated in Eq. (<xref ref-type="disp-formula" rid="Ch1.E34"/>)</p>
</app>
  </app-group><notes notes-type="codedataavailability"><title>Code and data availability</title>

      <p id="d1e10645">The python FEniCS code for running all simulations and output analysis to reproduce the key Fig. 5 is available via <ext-link xlink:href="https://doi.org/10.16904/envidat.298" ext-link-type="DOI">10.16904/envidat.298</ext-link> <xref ref-type="bibr" rid="bib1.bibx23" id="paren.87"/>.</p>
  </notes><notes notes-type="authorcontribution"><title>Author contributions</title>

      <p id="d1e10657">The study was designed by HL and JK. Implementation, simulations and figures were done by KS with contributions and supervision from HL and JK. Derivation of the quasi-advection and the linear stability analysis was done by HL. The manuscript was written by HL with contributions from KS and JK.</p>
  </notes><notes notes-type="competinginterests"><title>Competing interests</title>

      <p id="d1e10663">The contact author has declared that neither they nor their co-authors have any competing interests.</p>
  </notes><notes notes-type="disclaimer"><title>Disclaimer</title>

      <p id="d1e10669">Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.</p>
  </notes><ack><title>Acknowledgements</title><p id="d1e10675">We thank Andy Hansen for discussions and sharing his experience on his numerical implementation.</p></ack><notes notes-type="reviewstatement"><title>Review statement</title>

      <p id="d1e10680">This paper was edited by Mark Flanner and reviewed by two anonymous referees.</p>
  </notes><ref-list>
    <title>References</title>

      <ref id="bib1.bibx1"><?xmltex \def\ref@label{{Adams and Brown(1990)}}?><label>Adams and Brown(1990)</label><?label adams.1990?><mixed-citation>Adams, E. E. and Brown, R. L.: A mixture theory for evaluating heat and mass transport processes in nonhomogeneous snow, Continuum Mech. Therm., 2, 31–63, <ext-link xlink:href="https://doi.org/10.1007/BF01170954" ext-link-type="DOI">10.1007/BF01170954</ext-link>, 1990.</mixed-citation></ref>
      <ref id="bib1.bibx2"><?xmltex \def\ref@label{{Aln{\ae}s et~al.(2015)}}?><label>Alnæs et al.(2015)</label><?label alnaes.2015?><mixed-citation>Alnæs, M. S., Blechta, J., Hake, J., Johansson, A., Kehlet, B., Logg, A.,  Richardson, C., Ring, J., Rognes, M. E., and Wells, G. N.: The FEniCS Project  Version 1.5, Archive of Numerical Software, 3, 9–23,  <ext-link xlink:href="https://doi.org/10.11588/ans.2015.100.20553" ext-link-type="DOI">10.11588/ans.2015.100.20553</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bibx3"><?xmltex \def\ref@label{{Bader and Weilenmann(1992)}}?><label>Bader and Weilenmann(1992)</label><?label bader.1992?><mixed-citation>
Bader, H. and Weilenmann, P.: Modeling temperature distribution, energy and  mass flow in a (phase-changing) snowpack. I. Model and case studies, Cold
Reg. Sci. Technol., 20, 157–181, 1992.</mixed-citation></ref>
      <ref id="bib1.bibx4"><?xmltex \def\ref@label{{Barrere et~al.(2017)}}?><label>Barrere et al.(2017)</label><?label barrere.2017?><mixed-citation>Barrere, M., Domine, F., Decharme, B., Morin, S., Vionnet, V., and Lafaysse, M.: Evaluating the performance of coupled snow–soil models in SURFEXv8 to simulate the permafrost thermal regime at a high Arctic site, Geosci. Model Dev., 10, 3461–3479, <ext-link xlink:href="https://doi.org/10.5194/gmd-10-3461-2017" ext-link-type="DOI">10.5194/gmd-10-3461-2017</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bibx5"><?xmltex \def\ref@label{{Brun et~al.(1989)}}?><label>Brun et al.(1989)</label><?label brun.1989?><mixed-citation>Brun, E., Martin, E., Simon, V., Gendre, C., and Coleou, C.: An Energy and Mass Model of Snow Cover Suitable for Operational Avalanche Forecasting, J. Glaciol., 35, 333–342, <ext-link xlink:href="https://doi.org/10.3189/S0022143000009254" ext-link-type="DOI">10.3189/S0022143000009254</ext-link>, 1989.</mixed-citation></ref>
      <ref id="bib1.bibx6"><?xmltex \def\ref@label{{Calonne et~al.(2011)}}?><label>Calonne et al.(2011)</label><?label calonne.2011?><mixed-citation>Calonne, N., Flin, F., Morin, S., Lesaffre, B., du Roscoat, S. R., and  Geindreau, C.: Numerical and experimental investigations of the effective  thermal conductivity of snow, Geophys. Res. Lett., 38, L23501,  <ext-link xlink:href="https://doi.org/10.1029/2011GL049234" ext-link-type="DOI">10.1029/2011GL049234</ext-link>, 2011.</mixed-citation></ref>
      <ref id="bib1.bibx7"><?xmltex \def\ref@label{{Calonne et~al.(2014)}}?><label>Calonne et al.(2014)</label><?label calonne.2014a?><mixed-citation>Calonne, N., Geindreau, C., and Flin, F.: Macroscopic modeling for heat and  water vapor transfer in dry snow by homogenization, J. Phys. Chem. B, 118,
13393–13403, <ext-link xlink:href="https://doi.org/10.1021/jp5052535" ext-link-type="DOI">10.1021/jp5052535</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bibx8"><?xmltex \def\ref@label{{Colbeck and Jamieson(2001)}}?><label>Colbeck and Jamieson(2001)</label><?label colbeck.2001?><mixed-citation>Colbeck, S. C. and Jamieson, J.: The formation of faceted layers above crusts, Cold Reg. Sci. Technol., 33, 247–252, <ext-link xlink:href="https://doi.org/10.1016/S0165-232X(01)00045-3" ext-link-type="DOI">10.1016/S0165-232X(01)00045-3</ext-link>, 2001.
</mixed-citation></ref><?xmltex \hack{\newpage}?>
      <ref id="bib1.bibx9"><?xmltex \def\ref@label{{Cross and Hohenberg(1993)}}?><label>Cross and Hohenberg(1993)</label><?label cross.1993?><mixed-citation>Cross, M. C. and Hohenberg, P. C.: Pattern formation outside of equilibrium,  Rev. Mod. Phys., 65, 851–1112, <ext-link xlink:href="https://doi.org/10.1103/RevModPhys.65.851" ext-link-type="DOI">10.1103/RevModPhys.65.851</ext-link>, 1993.</mixed-citation></ref>
      <ref id="bib1.bibx10"><?xmltex \def\ref@label{{{Cummings}(2016)}}?><label>Cummings(2016)</label><?label cummings.2016?><mixed-citation>Cummings, E. M.: Modeling the cryosphere with FEniCS, arXiv [preprint], <ext-link xlink:href="https://arxiv.org/abs/1609.02190">arXiv:1609.02190</ext-link>, 9 September 2016.</mixed-citation></ref>
      <ref id="bib1.bibx11"><?xmltex \def\ref@label{{Domine et~al.(2016)}}?><label>Domine et al.(2016)</label><?label domine.2016?><mixed-citation>Domine, F., Barrere, M., and Sarrazin, D.: Seasonal evolution of the effective thermal conductivity of the snow and the soil in high Arctic herb tundra at Bylot Island, Canada, The Cryosphere, 10, 2573–2588, <ext-link xlink:href="https://doi.org/10.5194/tc-10-2573-2016" ext-link-type="DOI">10.5194/tc-10-2573-2016</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bibx12"><?xmltex \def\ref@label{{Donea and Huerta(2003)}}?><label>Donea and Huerta(2003)</label><?label donea2003finite?><mixed-citation>
Donea, J. and Huerta, A.: Finite element methods for flow problems, John Wiley &amp; Sons, ISBN: 0-471-49666-9, 2003.</mixed-citation></ref>
      <ref id="bib1.bibx13"><?xmltex \def\ref@label{{Du et~al.(2012)}}?><label>Du et al.(2012)</label><?label du.2012?><mixed-citation>Du, Q., Kamm, J. R., Lehoucq, R. B., and Parks, M. L.: A new approach for a  nonlocal, nonlinear conservation law, SIAM J. Appl. Math.,  72, 464–487, <ext-link xlink:href="https://doi.org/10.1137/110833233" ext-link-type="DOI">10.1137/110833233</ext-link>, 2012.</mixed-citation></ref>
      <ref id="bib1.bibx14"><?xmltex \def\ref@label{{Fourteau et~al.(2021)}}?><label>Fourteau et al.(2021)</label><?label fourteau.2020?><mixed-citation>Fourteau, K., Domine, F., and Hagenmuller, P.: Macroscopic water vapor diffusion is not enhanced in snow, The Cryosphere, 15, 389–406, <ext-link xlink:href="https://doi.org/10.5194/tc-15-389-2021" ext-link-type="DOI">10.5194/tc-15-389-2021</ext-link>, 2021.</mixed-citation></ref>
      <ref id="bib1.bibx15"><?xmltex \def\ref@label{{Hammonds et~al.(2015)}}?><label>Hammonds et al.(2015)</label><?label hammonds.2015?><mixed-citation>Hammonds, K., Lieb-Lappen, R., Baker, I., and Wang, X.: Investigating the  thermophysical properties of the ice–snow interface under a controlled  temperature gradient: Part I: Experiments &amp; Observations, Cold Reg. Sci. Technol., 120, 157–167, <ext-link xlink:href="https://doi.org/10.1016/j.coldregions.2015.09.006" ext-link-type="DOI">10.1016/j.coldregions.2015.09.006</ext-link> 2015.</mixed-citation></ref>
      <ref id="bib1.bibx16"><?xmltex \def\ref@label{{Hansen and Foslien(2015)}}?><label>Hansen and Foslien(2015)</label><?label hansen.2015?><mixed-citation>Hansen, A. C. and Foslien, W. E.: A macroscale mixture theory analysis of deposition and sublimation rates during heat and mass transfer in dry snow, The Cryosphere, 9, 1857–1878, <ext-link xlink:href="https://doi.org/10.5194/tc-9-1857-2015" ext-link-type="DOI">10.5194/tc-9-1857-2015</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bibx17"><?xmltex \def\ref@label{{Jafari et~al.(2020)}}?><label>Jafari et al.(2020)</label><?label jafari.2020?><mixed-citation>Jafari, M., Gouttevin, I., Couttet, M., Wever, N., Michel, A., Sharma, V.,  Rossmann, L., Maass, N., Nicolaus, M., and Lehning, M.: The Impact of  Diffusive Water Vapor Transport on Snow Profiles in Deep and Shallow Snow  Covers and on Sea Ice, Front. Earth Sci., 8, 249,  <ext-link xlink:href="https://doi.org/10.3389/feart.2020.00249" ext-link-type="DOI">10.3389/feart.2020.00249</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bibx18"><?xmltex \def\ref@label{{Krol and L\"{o}we(2018)}}?><label>Krol and Löwe(2018)</label><?label krol.2018?><mixed-citation>Krol, Q. and Löwe, H.: Upscaling ice crystal growth dynamics in snow: Rigorous modeling and comparison to 4D X-ray tomography data, Acta  Mater., 151, 478–487, <ext-link xlink:href="https://doi.org/10.1016/j.actamat.2018.03.010" ext-link-type="DOI">10.1016/j.actamat.2018.03.010</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bibx19"><?xmltex \def\ref@label{{Lehning et~al.(2002)}}?><label>Lehning et al.(2002)</label><?label lehning.2002?><mixed-citation>Lehning, M., Bartelt, P., Brown, B., Fierz, C., and Satyawali, P.: A physical  snowpack model for the Swiss avalanche warning: Part II. Snow microstructure,  Cold Reg. Sci. Technol., 35, 147–167, <ext-link xlink:href="https://doi.org/10.1016/S0165-232X(02)00073-3" ext-link-type="DOI">10.1016/S0165-232X(02)00073-3</ext-link>,  2002.</mixed-citation></ref>
      <ref id="bib1.bibx20"><?xmltex \def\ref@label{{Li and Zwally(2004)}}?><label>Li and Zwally(2004)</label><?label li.2004?><mixed-citation>Li, J. and Zwally, H. J.: Modeling the density variation in the shallow firn  layer, Ann. Glaciol., 38, 309–313, <ext-link xlink:href="https://doi.org/10.3189/172756404781814988" ext-link-type="DOI">10.3189/172756404781814988</ext-link>, 2004.</mixed-citation></ref>
      <ref id="bib1.bibx21"><?xmltex \def\ref@label{{Libbrecht(1999)}}?><label>Libbrecht(1999)</label><?label libbrecht.1999?><mixed-citation>Libbrecht, K. G.: Physical properties of ice, SnowCrystals.com,  <uri>http://www.cco.caltech.edu/~atomic/snowcrystals/ice/ice.htm</uri> (last access: 29 July 2021), 1999.</mixed-citation></ref>
      <ref id="bib1.bibx22"><?xmltex \def\ref@label{{Morland et~al.(1990)Morland, Kelly, and Morris}}?><label>Morland et al.(1990)Morland, Kelly, and Morris</label><?label morland.1990?><mixed-citation>Morland, L. W., Kelly, R. J., and Morris, E. M.: A mixture theory for a phase-changing  snowpack, Cold Reg. Sci. Technol., 17, 271–285,
<ext-link xlink:href="https://doi.org/10.1016/S0165-232X(05)80006-0" ext-link-type="DOI">10.1016/S0165-232X(05)80006-0</ext-link>, 1990.</mixed-citation></ref>
      <ref id="bib1.bibx23"><?xmltex \def\ref@label{Schürholt et al.(2022)}?><label>Schürholt et al.(2022)</label><?label Schurholt?><mixed-citation>Schürholt, K., Kowalski, J., and Löwe, H.: A numerical solver for heat and mass transport in snow based on FEniCS, EnviDat [code], <ext-link xlink:href="https://doi.org/10.16904/envidat.298" ext-link-type="DOI">10.16904/envidat.298</ext-link>, 2022.</mixed-citation></ref>
      <ref id="bib1.bibx24"><?xmltex \def\ref@label{{Shu and Osher(1988)}}?><label>Shu and Osher(1988)</label><?label shu.1988?><mixed-citation>Shu, C.-W. and Osher, S.: Efficient implementation of essentially  non-oscillatory shock-capturing schemes, J. Comput. Phys., 77, 439–471, <ext-link xlink:href="https://doi.org/10.1016/0021-9991(88)90177-5" ext-link-type="DOI">10.1016/0021-9991(88)90177-5</ext-link>, 1988.</mixed-citation></ref>
      <ref id="bib1.bibx25"><?xmltex \def\ref@label{{Simson et~al.(2021)}}?><label>Simson et al.(2021)</label><?label simson.2020?><mixed-citation>Simson, A., Löwe, H., and Kowalski, J.: Elements of future snowpack modeling – Part 2: A modular and extendable Eulerian–Lagrangian numerical scheme for coupled transport, phase changes and settling processes, The Cryosphere, 15, 5423–5445, <ext-link xlink:href="https://doi.org/10.5194/tc-15-5423-2021" ext-link-type="DOI">10.5194/tc-15-5423-2021</ext-link>, 2021.</mixed-citation></ref>
      <ref id="bib1.bibx26"><?xmltex \def\ref@label{{Sturm and Benson(1997)}}?><label>Sturm and Benson(1997)</label><?label sturm.1997?><mixed-citation>Sturm, M. and Benson, C. S.: Vapor transport, grain growth and depth-hoar  development in the subarctic snow, J. Glaciol., 43, 42–59,  <ext-link xlink:href="https://doi.org/10.3189/S0022143000002793" ext-link-type="DOI">10.3189/S0022143000002793</ext-link>, 1997.</mixed-citation></ref>
      <ref id="bib1.bibx27"><?xmltex \def\ref@label{{Touzeau et~al.(2018)}}?><label>Touzeau et al.(2018)</label><?label touzeau.2018?><mixed-citation>Touzeau, A., Landais, A., Morin, S., Arnaud, L., and Picard, G.: Numerical experiments on vapor diffusion in polar snow and firn and its impact on isotopes using the multi-layer energy balance model Crocus in SURFEX v8.0, Geosci. Model Dev., 11, 2393–2418, <ext-link xlink:href="https://doi.org/10.5194/gmd-11-2393-2018" ext-link-type="DOI">10.5194/gmd-11-2393-2018</ext-link>, 2018.
</mixed-citation></ref><?xmltex \hack{\newpage}?>
      <ref id="bib1.bibx28"><?xmltex \def\ref@label{{Vidal-Henriquez et~al.(2017)}}?><label>Vidal-Henriquez et al.(2017)</label><?label vidal.2017?><mixed-citation>Vidal-Henriquez, E., Zykov, V., Bodenschatz, E., and Gholami, A.: Convective  instability and boundary driven oscillations in a  reaction-diffusion-advection model, Chaos, 27, 103110, <ext-link xlink:href="https://doi.org/10.1063/1.4986153" ext-link-type="DOI">10.1063/1.4986153</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bibx29"><?xmltex \def\ref@label{{Wever et~al.(2014)}}?><label>Wever et al.(2014)</label><?label wever.2014?><mixed-citation>Wever, N., Fierz, C., Mitterer, C., Hirashima, H., and Lehning, M.: Solving Richards Equation for snow improves snowpack meltwater runoff estimations in detailed multi-layer snowpack model, The Cryosphere, 8, 257–274, <ext-link xlink:href="https://doi.org/10.5194/tc-8-257-2014" ext-link-type="DOI">10.5194/tc-8-257-2014</ext-link>, 2014.</mixed-citation></ref>

  </ref-list></back>
    <!--<article-title-html>Elements of future snowpack modeling – Part 1: A physical instability arising from the nonlinear coupling of transport and phase changes</article-title-html>
<abstract-html/>
<ref-html id="bib1.bib1"><label>Adams and Brown(1990)</label><mixed-citation>
Adams, E. E. and Brown, R. L.: A mixture theory for evaluating heat and mass transport processes in nonhomogeneous snow, Continuum Mech. Therm., 2, 31–63, <a href="https://doi.org/10.1007/BF01170954" target="_blank">https://doi.org/10.1007/BF01170954</a>, 1990.
</mixed-citation></ref-html>
<ref-html id="bib1.bib2"><label>Alnæs et al.(2015)</label><mixed-citation>
Alnæs, M. S., Blechta, J., Hake, J., Johansson, A., Kehlet, B., Logg, A.,  Richardson, C., Ring, J., Rognes, M. E., and Wells, G. N.: The FEniCS Project  Version 1.5, Archive of Numerical Software, 3, 9–23,  <a href="https://doi.org/10.11588/ans.2015.100.20553" target="_blank">https://doi.org/10.11588/ans.2015.100.20553</a>, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib3"><label>Bader and Weilenmann(1992)</label><mixed-citation>
Bader, H. and Weilenmann, P.: Modeling temperature distribution, energy and  mass flow in a (phase-changing) snowpack. I. Model and case studies, Cold
Reg. Sci. Technol., 20, 157–181, 1992.
</mixed-citation></ref-html>
<ref-html id="bib1.bib4"><label>Barrere et al.(2017)</label><mixed-citation>
Barrere, M., Domine, F., Decharme, B., Morin, S., Vionnet, V., and Lafaysse, M.: Evaluating the performance of coupled snow–soil models in SURFEXv8 to simulate the permafrost thermal regime at a high Arctic site, Geosci. Model Dev., 10, 3461–3479, <a href="https://doi.org/10.5194/gmd-10-3461-2017" target="_blank">https://doi.org/10.5194/gmd-10-3461-2017</a>, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib5"><label>Brun et al.(1989)</label><mixed-citation>
Brun, E., Martin, E., Simon, V., Gendre, C., and Coleou, C.: An Energy and Mass Model of Snow Cover Suitable for Operational Avalanche Forecasting, J. Glaciol., 35, 333–342, <a href="https://doi.org/10.3189/S0022143000009254" target="_blank">https://doi.org/10.3189/S0022143000009254</a>, 1989.
</mixed-citation></ref-html>
<ref-html id="bib1.bib6"><label>Calonne et al.(2011)</label><mixed-citation>
Calonne, N., Flin, F., Morin, S., Lesaffre, B., du Roscoat, S. R., and  Geindreau, C.: Numerical and experimental investigations of the effective  thermal conductivity of snow, Geophys. Res. Lett., 38, L23501,  <a href="https://doi.org/10.1029/2011GL049234" target="_blank">https://doi.org/10.1029/2011GL049234</a>, 2011.
</mixed-citation></ref-html>
<ref-html id="bib1.bib7"><label>Calonne et al.(2014)</label><mixed-citation>
Calonne, N., Geindreau, C., and Flin, F.: Macroscopic modeling for heat and  water vapor transfer in dry snow by homogenization, J. Phys. Chem. B, 118,
13393–13403, <a href="https://doi.org/10.1021/jp5052535" target="_blank">https://doi.org/10.1021/jp5052535</a>, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib8"><label>Colbeck and Jamieson(2001)</label><mixed-citation>
Colbeck, S. C. and Jamieson, J.: The formation of faceted layers above crusts, Cold Reg. Sci. Technol., 33, 247–252, <a href="https://doi.org/10.1016/S0165-232X(01)00045-3" target="_blank">https://doi.org/10.1016/S0165-232X(01)00045-3</a>, 2001.

</mixed-citation></ref-html>
<ref-html id="bib1.bib9"><label>Cross and Hohenberg(1993)</label><mixed-citation>
Cross, M. C. and Hohenberg, P. C.: Pattern formation outside of equilibrium,  Rev. Mod. Phys., 65, 851–1112, <a href="https://doi.org/10.1103/RevModPhys.65.851" target="_blank">https://doi.org/10.1103/RevModPhys.65.851</a>, 1993.
</mixed-citation></ref-html>
<ref-html id="bib1.bib10"><label>Cummings(2016)</label><mixed-citation>
Cummings, E. M.: Modeling the cryosphere with FEniCS, arXiv [preprint], <a href="https://arxiv.org/abs/1609.02190" target="_blank">arXiv:1609.02190</a>, 9 September 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib11"><label>Domine et al.(2016)</label><mixed-citation>
Domine, F., Barrere, M., and Sarrazin, D.: Seasonal evolution of the effective thermal conductivity of the snow and the soil in high Arctic herb tundra at Bylot Island, Canada, The Cryosphere, 10, 2573–2588, <a href="https://doi.org/10.5194/tc-10-2573-2016" target="_blank">https://doi.org/10.5194/tc-10-2573-2016</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib12"><label>Donea and Huerta(2003)</label><mixed-citation>
Donea, J. and Huerta, A.: Finite element methods for flow problems, John Wiley &amp; Sons, ISBN:&thinsp;0-471-49666-9, 2003.
</mixed-citation></ref-html>
<ref-html id="bib1.bib13"><label>Du et al.(2012)</label><mixed-citation>
Du, Q., Kamm, J. R., Lehoucq, R. B., and Parks, M. L.: A new approach for a  nonlocal, nonlinear conservation law, SIAM J. Appl. Math.,  72, 464–487, <a href="https://doi.org/10.1137/110833233" target="_blank">https://doi.org/10.1137/110833233</a>, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib14"><label>Fourteau et al.(2021)</label><mixed-citation>
Fourteau, K., Domine, F., and Hagenmuller, P.: Macroscopic water vapor diffusion is not enhanced in snow, The Cryosphere, 15, 389–406, <a href="https://doi.org/10.5194/tc-15-389-2021" target="_blank">https://doi.org/10.5194/tc-15-389-2021</a>, 2021.
</mixed-citation></ref-html>
<ref-html id="bib1.bib15"><label>Hammonds et al.(2015)</label><mixed-citation>
Hammonds, K., Lieb-Lappen, R., Baker, I., and Wang, X.: Investigating the  thermophysical properties of the ice–snow interface under a controlled  temperature gradient: Part I: Experiments &amp; Observations, Cold Reg. Sci. Technol., 120, 157–167, <a href="https://doi.org/10.1016/j.coldregions.2015.09.006" target="_blank">https://doi.org/10.1016/j.coldregions.2015.09.006</a> 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib16"><label>Hansen and Foslien(2015)</label><mixed-citation>
Hansen, A. C. and Foslien, W. E.: A macroscale mixture theory analysis of deposition and sublimation rates during heat and mass transfer in dry snow, The Cryosphere, 9, 1857–1878, <a href="https://doi.org/10.5194/tc-9-1857-2015" target="_blank">https://doi.org/10.5194/tc-9-1857-2015</a>, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib17"><label>Jafari et al.(2020)</label><mixed-citation>
Jafari, M., Gouttevin, I., Couttet, M., Wever, N., Michel, A., Sharma, V.,  Rossmann, L., Maass, N., Nicolaus, M., and Lehning, M.: The Impact of  Diffusive Water Vapor Transport on Snow Profiles in Deep and Shallow Snow  Covers and on Sea Ice, Front. Earth Sci., 8, 249,  <a href="https://doi.org/10.3389/feart.2020.00249" target="_blank">https://doi.org/10.3389/feart.2020.00249</a>, 2020.
</mixed-citation></ref-html>
<ref-html id="bib1.bib18"><label>Krol and Löwe(2018)</label><mixed-citation>
Krol, Q. and Löwe, H.: Upscaling ice crystal growth dynamics in snow: Rigorous modeling and comparison to 4D X-ray tomography data, Acta  Mater., 151, 478–487, <a href="https://doi.org/10.1016/j.actamat.2018.03.010" target="_blank">https://doi.org/10.1016/j.actamat.2018.03.010</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib19"><label>Lehning et al.(2002)</label><mixed-citation>
Lehning, M., Bartelt, P., Brown, B., Fierz, C., and Satyawali, P.: A physical  snowpack model for the Swiss avalanche warning: Part II. Snow microstructure,  Cold Reg. Sci. Technol., 35, 147–167, <a href="https://doi.org/10.1016/S0165-232X(02)00073-3" target="_blank">https://doi.org/10.1016/S0165-232X(02)00073-3</a>,  2002.
</mixed-citation></ref-html>
<ref-html id="bib1.bib20"><label>Li and Zwally(2004)</label><mixed-citation>
Li, J. and Zwally, H. J.: Modeling the density variation in the shallow firn  layer, Ann. Glaciol., 38, 309–313, <a href="https://doi.org/10.3189/172756404781814988" target="_blank">https://doi.org/10.3189/172756404781814988</a>, 2004.
</mixed-citation></ref-html>
<ref-html id="bib1.bib21"><label>Libbrecht(1999)</label><mixed-citation>
Libbrecht, K. G.: Physical properties of ice, SnowCrystals.com,  <a href="http://www.cco.caltech.edu/~atomic/snowcrystals/ice/ice.htm" target="_blank"/> (last access: 29 July 2021), 1999.
</mixed-citation></ref-html>
<ref-html id="bib1.bib22"><label>Morland et al.(1990)Morland, Kelly, and Morris</label><mixed-citation>
Morland, L. W., Kelly, R. J., and Morris, E. M.: A mixture theory for a phase-changing  snowpack, Cold Reg. Sci. Technol., 17, 271–285,
<a href="https://doi.org/10.1016/S0165-232X(05)80006-0" target="_blank">https://doi.org/10.1016/S0165-232X(05)80006-0</a>, 1990.
</mixed-citation></ref-html>
<ref-html id="bib1.bib23"><label>Schürholt et al.(2022)</label><mixed-citation>
Schürholt, K., Kowalski, J., and Löwe, H.: A numerical solver for heat and mass transport in snow based on FEniCS, EnviDat [code], <a href="https://doi.org/10.16904/envidat.298" target="_blank">https://doi.org/10.16904/envidat.298</a>, 2022.
</mixed-citation></ref-html>
<ref-html id="bib1.bib24"><label>Shu and Osher(1988)</label><mixed-citation>
Shu, C.-W. and Osher, S.: Efficient implementation of essentially  non-oscillatory shock-capturing schemes, J. Comput. Phys., 77, 439–471, <a href="https://doi.org/10.1016/0021-9991(88)90177-5" target="_blank">https://doi.org/10.1016/0021-9991(88)90177-5</a>, 1988.
</mixed-citation></ref-html>
<ref-html id="bib1.bib25"><label>Simson et al.(2021)</label><mixed-citation>
Simson, A., Löwe, H., and Kowalski, J.: Elements of future snowpack modeling – Part 2: A modular and extendable Eulerian–Lagrangian numerical scheme for coupled transport, phase changes and settling processes, The Cryosphere, 15, 5423–5445, <a href="https://doi.org/10.5194/tc-15-5423-2021" target="_blank">https://doi.org/10.5194/tc-15-5423-2021</a>, 2021.
</mixed-citation></ref-html>
<ref-html id="bib1.bib26"><label>Sturm and Benson(1997)</label><mixed-citation>
Sturm, M. and Benson, C. S.: Vapor transport, grain growth and depth-hoar  development in the subarctic snow, J. Glaciol., 43, 42–59,  <a href="https://doi.org/10.3189/S0022143000002793" target="_blank">https://doi.org/10.3189/S0022143000002793</a>, 1997.
</mixed-citation></ref-html>
<ref-html id="bib1.bib27"><label>Touzeau et al.(2018)</label><mixed-citation>
Touzeau, A., Landais, A., Morin, S., Arnaud, L., and Picard, G.: Numerical experiments on vapor diffusion in polar snow and firn and its impact on isotopes using the multi-layer energy balance model Crocus in SURFEX v8.0, Geosci. Model Dev., 11, 2393–2418, <a href="https://doi.org/10.5194/gmd-11-2393-2018" target="_blank">https://doi.org/10.5194/gmd-11-2393-2018</a>, 2018.

</mixed-citation></ref-html>
<ref-html id="bib1.bib28"><label>Vidal-Henriquez et al.(2017)</label><mixed-citation>
Vidal-Henriquez, E., Zykov, V., Bodenschatz, E., and Gholami, A.: Convective  instability and boundary driven oscillations in a  reaction-diffusion-advection model, Chaos, 27, 103110, <a href="https://doi.org/10.1063/1.4986153" target="_blank">https://doi.org/10.1063/1.4986153</a>, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib29"><label>Wever et al.(2014)</label><mixed-citation>
Wever, N., Fierz, C., Mitterer, C., Hirashima, H., and Lehning, M.: Solving Richards Equation for snow improves snowpack meltwater runoff estimations in detailed multi-layer snowpack model, The Cryosphere, 8, 257–274, <a href="https://doi.org/10.5194/tc-8-257-2014" target="_blank">https://doi.org/10.5194/tc-8-257-2014</a>, 2014.
</mixed-citation></ref-html>--></article>
