A volume-of-fluid method for interface-resolved simulations of phase-changing two-fluid flows
Nicol\`o Scapin, Pedro Costa, Luca Brandt

TL;DR
This paper introduces a novel volume-of-fluid method for accurately simulating phase-changing two-fluid flows with evaporation, ensuring mass conservation and validated through extensive benchmarks in 2D and 3D.
Contribution
The paper presents a new interface-resolved VoF method with a divergence-free velocity extension for phase change, compatible with algebraic and geometric VoF approaches.
Findings
Excellent mass conservation demonstrated in benchmarks
Method performs well in 2D and 3D simulations
Validated against multiple benchmark cases
Abstract
We present a numerical method for interface-resolved simulations of evaporating two-fluid flows based on the volume-of-fluid (VoF) method. The method has been implemented in an efficient FFT-based two-fluid Navier-Stokes solver, using an algebraic VoF method for the interface representation, and extended with the transport equations of thermal energy and vaporized liquid mass for the single-component evaporating liquid in an inert gas. The conservation of vaporizing liquid and computation of the interfacial mass flux are performed with the aid of a reconstructed signed-distance field, which enables the use of well-established methods for phase change solvers based on level-set methods. The interface velocity is computed with a novel approach that ensures accurate mass conservation, by constructing a divergence-free extension of the liquid velocity field onto the entire domain. The…
| Phase | |||||
|---|---|---|---|---|---|
| Gas | |||||
| Liquid |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
A volume-of-fluid method for interface-resolved simulations of phase-changing two-fluid flows
Nicolò Scapin
Pedro Costa111Present address of Pedro Costa: Faculty of Industrial Engineering, Mechanical Engineering and Computer Science, University of Iceland, Hjardarhagi 2-6, 107 Reykjavik, Iceland
Luca Brandt
Linné FLOW Centre and SeRC (Swedish e-Science Research Centre), KTH Mechanics, SE-100 44 Stockholm, Sweden
Department of Energy and Process Engineering, Norwegian University of Science and Technology (NTNU), Trondheim, Norway
Abstract
We present a numerical method for interface-resolved simulations of evaporating two-fluid flows based on the volume-of-fluid (VoF) method. The method has been implemented in an efficient FFT-based two-fluid Navier-Stokes solver, using an algebraic VoF method for the interface representation, and extended with the transport equations of thermal energy and vaporized liquid mass for the single-component evaporating liquid in an inert gas. The conservation of vaporizing liquid and computation of the interfacial mass flux are performed with the aid of a reconstructed signed-distance field, which enables the use of well-established methods for phase change solvers based on level-set methods. The interface velocity is computed with a novel approach that ensures accurate mass conservation, by constructing a divergence-free extension of the liquid velocity field onto the entire domain. The resulting approach does not depend on the type of interface reconstruction (i.e. can be employed in both algebraic and geometrical VoF methods). We extensively verified and validated the overall method against several benchmark cases, and demonstrated its excellent mass conservation and good overall performance for simulating evaporating two-fluid flows in two and three dimensions.
keywords:
interface-resolved direct numerical simulations , volume-of-fluid method , phase change
1 Introduction
Multiphase flows undergoing phase change are found in many environmental and industrial contexts, such as cloud formation and rainfall, cooling towers, wet scrubbers and spray combustion. These systems are inherently complex, with the different phases exchanging mass, momentum and energy through an interface that moves and deforms with the flow. The thickness of this interface is typically several orders of magnitude smaller than any other relevant flow scale. From a continuum mechanics modeling perspective, the interface is often modeled as infinitesimally thin, and its physics simplified to appropriate interphase coupling conditions, derived from interfacial transport balances and thermodynamic considerations [1]. Even considering these modeling assumptions, first-principles, interface-resolved numerical simulations of these flows remain a challenge although simulations can provide valuable insights for e.g. upscale models aiming to improve predictive engineering tools [2] in a context where experiments are particularly difficult.
Interface-resolved simulations of two-fluid flows are often divided into two categories according to the interface representation [3]: (1) Interface-tracking (or front-tracking) methods explicitly define a mesh with Lagrangian markers, attached to and moving with the interface; (2) interface-capturing methods define the interface in a higher dimension by solving a transport equation for an auxiliary scalar field. Front-tracking methods [4] allow in general for a more accurate interface representation, at the cost of more complex implementations, specially when it comes to handling surface topology changes. For the same grid resolution and computational cost, interface-capturing methods are in general less accurate in the calculation of the interface properties, such as curvature and normal vector, but simpler to implement, and naturally handle topology changes thanks to the implicit interface representation. Methods that fall in this category are the level-set, [5], the volume-of-fluid [6], constrained-interpolation [7] and diffuse-interface [8] methods. Given the pros and cons of the different approaches, most of them have been used to simulate phase-changing two-fluid flows in different configurations. Also, most methods assume that one of these two dominant mechanisms drives phase change: (1) large temperatures, when phase change is triggered by a prescribed interface saturation temperature – boiling, and (2) species concentration gradients near the interface, with phase change induced by a prescribed non-uniform interface concentration – evaporation.
Front-tracking (FT) methods have been used to study boiling flows, with application to film boiling; see e.g. [9], [10] and [11]. Recent studies have extended this framework to evaporating two-fluid flows in two dimensions [12], also in presence of chemical reactions [13]. Despite the successes of FT methods for phase change, highly scalable parallel implementations are challenging and remain scarce [14]. Such a feature is crucial for simulating e.g. turbulent gas-liquid flows, which may require massive simulations with Eulerian grid cells [15].
In regard to interface-capturing methods, the first study of interface-resolved simulations of phase changing two-fluid flows used a level-set method, applied to film boiling [16]. Several studies have followed, aiming to incorporate interphase-coupling jump conditions with the so-called ghost-fluid method, which provides a sharp representation of the jump at the discrete level. These methods have been employed for boiling [17, 18, 19], evaporation [20] and the combination of the two [21]. Despite the proven successes of the level-set method for phase change problems, these are not mass-preserving by construction. Mass conservation properties are desirable for numerical simulations of several systems, e.g. in multiphase turbulent flows, where the flow statistics should be collected over periods of time long enough that mass loss may become significant. Recent studies have dealt with this problem of level-set methods (in the absence of phase change) by introducing mass correction steps, where lost mass is redistributed near the interface depending on e.g. the local interface curvature [22, 23].
Another widely-used interface-capturing approach for multiphase flow simulations is the volume-of-fluid (VoF) method, which has the major strength of ensuring mass conservation by construction. These methods have been extended to simulations of boiling flows [24, 25, 26] (in two dimensions), and evaporation [27, 28]. Mass-preserving methods for boiling flows have also been devised based on coupled level-set and VoF methods [29], or the constrained-interpolation method [30]. Most of these methods use the flow velocity to transport the liquid/gas volume fraction field and include a source term accounting for the phase change. This can however cause numerical issues, as the velocity in the presence of phase change has a jump across the interface, and its divergence is non-zero. Moreover, these approaches cannot be easily and directly adapted to VoF methods where a smooth (and often divergence-free) velocity field is necessary to transport the VoF function with preserved interface thickness. Interface smearing due to the transport of a VoF function with a non-divergence-free velocity field is often avoided by resorting to ad-hoc interface-compression schemes developed for certain classes of algebraic VoF methods [31, 32]. Other approaches using VoF for evaporating flows rely on the geometrical reconstruction of the interface for computing interface mass fluxes and estimating and re-distributing divergence errors in the grid cells around the interface in order to improve mass conservation; see [27]. Finally, we should note that, in the context of numerical studies for evaporating flows, thorough verification/validation studies demonstrating the grid convergence of the methods for different benchmarks remain scarce.
Here, we present a numerical model for three-dimensional direct numerical simulations of evaporating flows using a volume-of-fluid method. The transport of vaporized liquid mass is solved with a Dirichlet boundary condition at the interface, obtained assuming thermodynamic equilibrium through the Clausius-Clapeyron relation, and solved with the aid of a reconstructed level-set field. This allows to easily compute the interfacial mass flux in a band around the interface [20]. We propose here to transport the VoF function with a smooth interface velocity consisting of two terms: a divergence-free extension of the liquid velocity field, and an irrotational term due to phase change. Accordingly, the standard directional-splitting method used for the VoF advection is extended with a volume deflation step. This results in a novel approach for transporting the VoF function that shows excellent mass conservation properties, and can be easily applied to other geometrical or algebraic VoF methods for incompressible two-fluid flows. Unlike previous approaches, this allows to use a whole-domain formulation for the momentum equations, without introducing interface-sharpening terms in the VoF transport equation. The method is implemented in an efficient, FFT-based two-fluid finite-difference Navier-Stokes solver, extended with the MTHINC (algebraic) VoF method for the interface representation. We verify the proposed method against several benchmark cases of droplet evaporation, and demonstrate the solution grid convergence. Moreover, we validate the overall numerical method against psychrometric data, and prove its ability to simulate evaporating flows in the presence of large droplet deformations near solid boundaries, in two and three dimensions.
This paper is organised as follows. The governing equations are presented within the so-called one-fluid formulation in section 2. Then section 3, describes the numerical approach used to solve the system of equations, together with the interface representation and construction of the interface velocity. The overall method is verified and validated against several benchmarks in section 4. Finally, conclusions are drawn in section 5.
2 Governing equations
We shall consider a system with two immiscible and incompressible Newtonian fluids: a single component liquid (phase ) and an ideal mixture of an inert gas and vaporized liquid (phase ). The two phases are bounded by an infinitesimally small interface, through which energy, momentum and mass can be transferred. Evaporation (i.e. mass transfer due to phase change) can occur, and is driven by the partial pressure of the inert gas in phase .
Before introducing the governing equations, it is convenient to define a phase indicator function distinguishing the two phases at position and time :
[TABLE]
where and are the domains pertaining to phases and . We can use to define the thermophysical properties in the whole domain as follows:
[TABLE]
where ( for phases and ) can be the mass density , the dynamic viscosity , the thermal conductivity or the inverse of the heat capacity at constant pressure . The reasons behind the use of the harmonic mean for instead of the arithmetic one, as for the other thermophysical properties, will be detailed in section 3.5. Hereafter, unless otherwise stated, thermophysical quantities not specifically referring to one of the phases are defined from eq. (2).
The equations governing the mass, energy and momentum transport for phase and are coupled through appropriate interfacial conditions [1]. Below we present the governing equations in the so-called one-fluid or whole-domain formulation, where each transport equation is defined in [33, 18].
Navier-Stokes equations
The interfacial mass flux due to phase change makes the velocity field discontinuous. This can be expressed by the following Rankine-Hugoniot condition [6]:
[TABLE]
where is interface normal vector (pointing to ), is the fluid velocity in each subdomain, and the interface velocity (). The continuity equation accounting for this condition reads:
[TABLE]
where is a three-dimensional Dirac delta function, non-zero at the interface position .
The momentum equation can be written as follows [6]:
[TABLE]
where is the pressure field and the gravitational acceleration; the right-most term accounts for the jump in stress due to surface tension, with being the surface tension coefficient and local interface curvature. Note that equation (5) is coupled to the equation for mass conservation, eq. (4), and therefore the velocity field must satisfy the constrain on the velocity divergence, which is directly related to the mass flux at the interface.
Vaporized liquid mass transport
The transport of vapor mass is only defined in , and driven by a standard convection-diffusion equation:
[TABLE]
where denotes the mass fraction of vapor in the ideal mixture (i.e. vaporized liquid in ) and is the diffusion coefficient of vapor in the gas. Note that, since we consider a single component liquid, the analogous equation for the liquid phase is trivial, i.e. in . The interface boundary condition for related to the saturation vapor pressure is as follows:
[TABLE]
where is the total pressure of the mixture, and and denote the molar mass of the liquid and inert gas. By assuming the thermodynamic equilibrium at the interface, it is possible to relate to the local interface temperature , through the Clausius-Clapeyron relation [34]:
[TABLE]
where is the liquid saturation temperature at ambient pressure , is the universal molar gas constant, and the latent heat of phase change. Finally, since in the current work we limit ourselves to a single-component liquid and neglect the gas dissolution in the liquid phase, the mass balance across the interface results in the following condition for [34]:
[TABLE]
where denotes the gradient at .
Energy transport
The conservation of thermal energy can be written in the one-fluid formulation as follows:
[TABLE]
where viscous dissipation has been neglected. Here is the temperature field, the specific heat at constant pressure and the thermal conductivity. The last term in eq. (10) quantifies the jump in enthalpy due to phase change, mostly due to the latent heat , but also due to the differences in specific heat between the two phases. Note that the jump in heat flux at the interface can be easily derived by integrating eq. (10) across .
Governing parameters
Eqs. (4), (5), (6), (8), (7) and (10) can be written in non-dimensional form by introducing proper scaling parameters, namely a reference velocity, length and temperature scales, , and , together with reference termophysical properties, here taken as those of the gas phase . The non-dimensional governing parameters read:
[TABLE]
[TABLE]
where , , , , , , and are the Reynolds, Weber, Froude, Prandtl, Schmidt, Stefan number, a modified Stefan number and the molar mass ratio; in addition to these, one needs to consider the ratios of the different thermophysical properties, , where can be , , or .
3 Numerical method
The governing equations are solved on a fixed regular Cartesian grid (i.e. with spacing ), with a marker-and-cell arrangement of velocity and pressure points, using a finite-difference method. All scalar fields are defined at the cell centers. Hereafter we describe the phase-change two-fluid solver, starting with the interface-capturing method.
3.1 Interface representation
To capture the interface, we use the MTHINC volume-of-fluid method [35]. For the sake of clarity, we start by briefly describing the original method and then explain our approach for modifying the advection scheme to account for a smooth but non-divergence-free interface velocity, . The construction of the interface velocity is described later in section 3.6.
We start by considering the cell-averaged volume fraction field, or volume-of-fluid function , governed by the following equation:
[TABLE]
where is a hyperbolic tangent function, approximating the phase indicator function . The numerical fluxes are determined from the semi-analytical procedure described in [35], without requiring an explicit interface reconstruction. The governing equation for , eq. (11), is integrated in time with a directional-splitting method [36, 37], with an additional correction accounting for the non-zero divergence of the interface velocity. As described in [35], the following implicit equations are solved sequentially from time step to :
[TABLE]
where is the time step, and , and are the numerical fluxes computed as in [35], and , and denote the three components of the interface velocity vector. Since each of the advection steps in eq. (12) corresponds to a non-divergence-free one-dimensional velocity field [38], the original method performs a further correction to ensure that the divergence-free condition is satisfied:
[TABLE]
where is given by:
[TABLE]
The second term on the right-and-side of eq. (13) corresponds to the correction used in the conventional directional-splitting method for a divergence-free advection velocity. In the present work, we extend the directional-splitting advection method in eq. (13) to ensure that the corresponding non-zero interface velocity divergence is accurately prescribed:
[TABLE]
The last term in eq. (15) can be seen as an implicit volume deflation step, and ensures that the correct value of the velocity divergence is used to update to time level ; is the discrete divergence of at time level .
Once is determined, the thermophysical properties are updated using eq. (2), where the volume fraction field is used as a smoothed approximation of the phase indicator function . This makes all terms involving thermophysical properties numerically differentiable.
3.2 Flow solver
The two-fluid Navier-Stokes solver uses a projection method [39] with the pressure-splitting technique described in [40], reducing the pressure-correction step to a constant-coefficients Poisson equation. The underlying idea is to split the variable-coefficients pressure Poisson equation into two parts: a variable-coefficients term that is treated explicitly by extrapolating the pressure field into the current time level, and a constant-coefficients term. This allows for using efficient FFT-based direct solvers for the second-order finite-difference Poisson equation with constant coefficients as shown in [41], which are about one order of magnitude faster than a standard iterative solver. We should note however that the overall method can be easily applied to standard two-fluid solvers that do not use this pressure-splitting technique. The overall solution procedure uses an Adams-Bashforth method to advance the solution from time step to , and is summarized below in semi-discrete form:
[TABLE]
where is the predicted velocity, and represent the time-step computed at time step and to fulfill the temporal stability requirements, , denotes the discretized advection, diffusion, gravity and surface tension terms in eq. (5); is a regularized Dirac delta function approximating in eqs. (4),(5) and (10), and is discretized using the Youngs method [42]. The continuum surface force model (CSF) proposed by Brackbill [43] is used for discretizing the surface tension term.
This set of equations is very close to that of [41], except for the last term of eq. (18). One can easily see that this term approximates the right velocity divergence at the interface due to phase change, i.e. eq. (4), regularized over the grid cells where .
This CSF-like approach makes the final velocity field numerically differentiable. Still, the flow velocity may vary strongly across the interface, and therefore the use of second-order central schemes for the spatial derivatives of the convective terms in is not desirable. Accordingly, a QUICK scheme [44] is employed for the convective term (discretized as ), while second-order central differences are used for the diffusion terms.
Our method uses the fast and versatile FFT-based DNS code CaNS [45] as base Navier-Stokes solver. This solver allows for several combinations of homogeneous pressure boundary conditions, which is particularly convenient for the computational setups used in the present work. Finally, validations of the interface-capturing procedure in absence of phase change have been reported in [46], and its suitability for simulating complex and turbulent flows demonstrated in [47, 48].
It is worth remarking that the use of the pressure-splitting approach for solving the Poisson equation can be beneficial for interface resolved simulation of phase-changing problems, especially those involving high mass transfer rates between phases. In fact, as noted also in [30], as increases and as the resolution to properly resolve the governing equations is increased, the source term on the right-hand side of eq. (18) becomes more and more important, and might pose a stiffness problem. Hence, if a variable-coefficient pressure Poisson equation is solved using an iterative method, the convergence of the solver may be slow. This is not an issue in the present method, since our approach allows for a fast direct solver.
3.3 Vapor mass transport
Equation (6) is solved in with the Dirichlet boundary condition prescribed at the interface in eq. (7). This equation is discretized in time as follows:
[TABLE]
with or , depending on whether the diffusion term is discretized implicitly or explicitly. The spatial discretization needs to be modified close to the interface to prescribe the boundary condition at . To achieve this, the finite-difference stencil is modified in grid cells close to interface by constructing a signed distance (i.e. level-set) field from , with the method proposed in [49, 50]. Here corresponds to , and to .
The advection term is discretized using an upwind scheme; see e.g. [30]. Taking the discretization in as example, it reads:
[TABLE]
where is the -velocity component interpolated into the cell center (i.e. ). When the interface crosses a grid cell, the discretized form of the gradients of should be modified to conform to the interface boundary condition. This is achieved by considering a higher-order one-sided difference on an irregular stencil. For instance, the gradient of at is computed as follows (the procedure for is analogous):
[TABLE]
where is computed from eqs. (7) and (8), with the interface temperature estimated from the neighboring values of [51, 20]:
[TABLE]
In eq. (22), the one-sided difference coefficients are computed following the approach reported in [52], as in [53]. The resulting stencil is given by . Using the level-set function, the coefficient is computed as proposed in [51]:
[TABLE]
In case of small values of , the point is removed from the one-sided difference stencil to prevent errors as it approaches a singular value [53]. Finally, the above procedure is performed in a dimension-by-dimension manner for directions and .
Note that the aforementioned approach to discretize the vapor mass equation is not sufficiently robust when complex topological changes such coalescence and merging occur. Equation (22) requires a stencil of three grid cells in the vapor domain and, therefore, when two or multiple droplets start to coalesce and merge, numerical problems occur since there are not enough vapor grid cells for an accurate estimation of the gradient of . In these cases, we decide to reduce the stencil of equation (22) such that and compute accordingly. Even though this approach reduces the accuracy of the calculation of the vapor mass gradient, we show in the Results Section (case 4.5) that it still provides stable and grid convergent results.
If an explicit temporal discretization of eq. (20) is employed, the second derivatives in the diffusion term are discretized using the first derivatives, previously computed. Taking once more the term in as an example, the second derivative reads [54]:
[TABLE]
Conversely, if an implicit discretization is chosen, the procedure involves solving an Helmholtz equation where the boundary condition in eq. (7) is prescribed with the aid of the constructed level-set field [17, 20]. The resulting symmetric definite positive linear system is solved with the parallel semicoarsening multigrid solver (PFMG) of the HYPRE library [55].
3.4 Interfacial vapor mass flux
The calculation of the interfacial vapor mass flux is accomplished using eq. (9), written in terms of :
[TABLE]
Since is not defined in , standard finite differences cannot be directly used to approximate the gradient at the interface. Instead, we follow the approach firstly proposed in [56] and used in e.g. [18] and extend the into . Hence, before computing from eq. (26), is extrapolated into the liquid domain using a second-order pde-based extrapolation. This involves the successive solution to steady state of the three following equations:
[TABLE]
where and are the first and the second derivative of along the -pointing interface normal, represents a cosine regularized Heaviside function [57, 58], computed from the level-set function and is a pseudo time used only to advance to the steady state solution eqs. (27). The offsets (with being the grid spacing) ensure that only values in the vapor domain, i.e. at are used to solve eqs. (27). When implicit diffusion is used to discretize eq. (20), the values suggested in the original reference suffice for an accurate extrapolation of the vapor field onto the liquid domain. However, if this equation is discretized explicitly, care should be taken when the phase in a certain grid cell changes (e.g. from liquid to gas). If the solution is not allowed to gradually adapt itself (within a few time steps) to the sudden change in phase, numerical errors may occur. For this reason, in this case, the solution is extrapolated from a position slightly inward of the interface. The corresponding shifted offset is now given by (i.e. one grid size inward of the interface).
It is worth noting that modifications in the computation of derivatives of mass fraction in the extrapolation procedure are needed e.g. when two or more droplets are too close to each other. When the finite-difference stencil for the computation of a derivative at two liquid grid cells separated a thin gas layer, the spatial derivatives of the mass fraction are approximated as follows:
[TABLE]
where we set ; and are computed using equation (23), and and represent the two interface locations computed using and . This is to say that if two liquid interfaces separated by a thin layer of gas with thickness smaller than , we consider the gradient to be under-resolved and set it to zero.
Eqs. (27) are integrated in time using about forward Euler pseudo time steps, and a first-order upwind scheme [18] to advect the scalar fields. The resulting extended vapor species field is then used to compute the gradients in eq. (26) using a central difference scheme. Moreover, in the calculation of the interfacial mass flux we use the unit normal vector computed from the VoF field directly from its definition, i.e., . As done for the regularized Dirac delta function in eqs. (4),(5) and (10), the gradients of the color function are evaluated using finite differences, following the Youngs approach [59]. Accordingly, can be directly employed in eq. (26) and in the calculation of the interface velocity (see section 3.6).
The interfacial values required for computing the mass flux in eq. (26) are not extended in a band around the interface. Instead, we take the simple approach of approximating these quantities by the local extrapolated field quantities, i.e. , and [20, 21]. Potential improvements of this approach are a constant extrapolation of the interfacial mass flux to a band around the interface [18], or the approach in [60] that extrapolates the interface temperature to a band around the interface, and computes from this extrapolated temperature field. We have tested these approaches and observed a marginal improvement in the accuracy of mass conservation for the cases presented in this manuscript.
Overall, the approach described in this section allows us to define in a band of about around the interface, which covers the region where .
3.5 Energy equation
All the terms in the energy equation (10) are discretized explicitly using an Adams-Bashforth scheme whose coefficients are computed for a variable time step:
[TABLE]
where denotes the discretized form of the diffusive and source terms in eq. (10), and the temperature field around the interface is used as an approximation of in the source term. Note again that, as specified after eq. (2), we employ the harmonic average for the term to perform a consistent discretization of the diffusion and jump terms, as eq. (29) suggests. In fact, we find that the use of the arithmetic mean may lead to unphysical values in the temperature field. Our spatial discretization uses the th-order WENO scheme described in [61], while the diffusion term is treated using standard central differences. The Dirac delta function in the singular term is regularized as explained above for the discretization of the momentum equations.
Finally, it is worth noting that eq. (29) is discretized in non-conservative form, which becomes more and more inaccurate as both the density and specific heat capacity ratio increase. We have therefore compared the numerical results employing the conservative and the non-conservative discretization of the energy equation for a vaporizing droplet in the Results Section (case 4.3). Indeed, we for low resolutions the conservative scheme shows better agreement with the reference data. Nevertheless, as the grid is refined the results converge to the same numerical value, regardless of the formulation.
3.6 Interface velocity construction
The calculation of the interface velocity for the advection of is a key aspect of this method. The main challenge stems from the discontinuity of the one-fluid-formulation velocity across the interface, while as defined in eq. (3) is continuous.
To overcome this issue, we adopt a strategy that accurately extends the liquid velocity into the gas domain, making the extended field differentiable in . The basic idea is that phase change induces a Stefan flow, which is responsible for the jump in the flow velocity . Hence, a divergence-free liquid-velocity extension can be obtained by subtracting this jump to . The Stefan flow velocity can be obtained from a velocity potential as follows:
[TABLE]
The solution of the first equation in (30) can be, once more, obtained for a wide variety of boundary conditions for using the efficient FFT-based direct solver described in [45]. The main advantage of this approach is that, since is defined in the entire domain, an extended liquid velocity can be easily computed:
[TABLE]
It can be easily shown that is divergence-free by construction. Moreover, for the same reason mentioned in section 3.2, the possibility to use direct solvers for eq. (30) allows to circumvent potential stiffness problems induced by high values of the interfacial mass flux.
Note that a similar idea has been recently developed in [62] for boiling flows, by solving for an extended velocity derived from a density-weighted variable coefficient Poisson equation, reported here for completeness:
[TABLE]
Although equation (32) directly accounts for the density contrast between the two phases like the variable-density pressure Poisson equation, it has the disadvantage of requiring the solution of a variable-coefficient Poisson equation that cannot be solved using fast FFT-based direct solvers.
In a similar way to what it is commonly done in the prediction/correction procedure for the Navier-Stokes solver, the boundary conditions for and have to be prescribed consistently, and are set to be the same as those of the pressure and prediction velocity, respectively.
Finally, eq. (3) can be used to compute :
[TABLE]
The interface velocity is then used to advect , as described in section 3.1. Furthermore, it important to stress that following this approach both and are equal to the one-fluid velocity derived from the Navier-Stokes solver in those region away from the interface where is not defined. Note that in principle the procedure here described can be applied also to those interface capturing methods based e.g. on level-set and conservative level-set methods while maintaining the whole domain formulation for solving the momentum equations. Few words should be also spent about the overhead associated with the computation of . For a three-dimensional case (evaluated for the last setup described in section 4.6), we found that it is relatively small, i.e. less than of the total wall-clock time per time step.
We should note that may also be advected directly using and a source term accounting for phase change on the right-hand-side. Inserting eq. (33) into (11), we get:
[TABLE]
Since is divergence-free, the original splitting advection in [38] can be used, followed by a step that accounts for the source term [62]. Test simulations reproducing the benchmarks in section 4 showed that the circular shape of a vaporizing droplet in a quiescent medium is better preserved (lower errors in the perimeter of the droplet) when the phase-change term is explicitly accounted for in the split advection steps (eq. 12), i.e. when is explicitly used to advect the interface as described above in section 3.1.
3.7 Overall solution procedure and time marching
We briefly summarize the overall solution procedure, which is also outlined in figure 1 for clarity. First, the volume-of-fluid function is advanced to , the corresponding interface normal vector and curvature are updated, and the level-set is reconstructed. Next, the vapor mass-fraction equation is solved to obtain , and the interfacial mass flux is computed. Then the energy and Navier-Stokes equations can be advanced in time to obtain , and . Finally, the time marching ends with the computation of the interface velocity , which is used to transport at the next time level.
The time step is estimated from the stability constraints of the overall system:
[TABLE]
where , , , and are the maximum allowable time steps due to convection, surface tension, momentum diffusion, vapor mass diffusion and thermal energy diffusion. These are determined as suggested in [63]:
[TABLE]
where is an estimate of the maximum value of the th component of the flow velocity; is only considered when the vapor mass diffusion term is discretized explicitly. Setting in the present work was seen to be sufficient for a stable and accurate time integration.
Finally, we should note that our framework can be easily adapted to a two-phase flow undergoing temperature-induced phase change in a single-component system, i.e. boiling. This procedure is described in A.
4 Results
We present now a validation of our method against several benchmark cases. For clarity, the physical parameters defining the different setups are displayed in table 1. Unless otherwise stated, the time step is set to be constant and determined from eq. (35) with , and the diffusion term in eq. (20) governing is discretized implicitly.
[FIGURE:]
4.1 Droplet evaporation due to a prescribed, constant mass flux
This case considers a phase-changing two-dimensional circular droplet, where evaporation is driven by a constant mass flux . This simple configuration allows us to verify the numerical method for phase-changing two-fluid flows, decoupled from the transport equations of energy and vapor mass. Under these conditions, it is easy to show that the droplet diameter evolves in time as follows [20]:
[TABLE]
The circular droplet has an initial diameter , it is centered in a square domain with dimensions , and zero-pressure outflow boundaries. The corresponding physical parameters have been reported in table 1. We are in particular interested in assessing the ability of the method to handle interface-normal velocity jumps across (see eq. 3). In order to test different magnitudes of this jump, we consider three density ratios, while keeping the other parameters fixed.
Figure 2(a) shows the time evolution of the normalized droplet diameter, computed from its volume, for different , on the finest grid considered (). The numerical results show excellent agreement with the analytical solution in eq. (37). Panel (b) of the same figure shows the solution grid convergence for the case with the highest velocity jump, . The results illustrate a very good agreement even for relatively coarse grids. This result is expected from how the interface velocity is constructed (eq. (33)). We recall that the volume deflation term in eq. (15), controlling the bulk value of , is proportional to the interface velocity divergence. The first term contributing to in eq. (33) is a divergence-free extension of the liquid velocity, which effectively conserves the total volume-of-fluid to machine precision. The second term contains the interfacial mass flux and the interface normal. Since is constant in this example, the only source of numerical error in the droplet volume is the divergence of the interface normal vector, i.e. the local curvature.
For an evaporating static droplet, the liquid velocity should be zero. We therefore expect the divergence-free liquid velocity extension to be , and thus . This is illustrated in figure 3, where we display the vector field in panel (a), in (b) and in (c) for a physical time corresponding to and . Panel (a) shows the expected velocity field , with a clear jump across . The liquid velocity extension shown in panel (b) is, expectedly, very small, with spurious velocities about three orders of magnitude smaller than the maximum value of . Finally, the interface velocity field shows the expected values for an evaporating droplet (note that is only defined where , and so is ).
Finally, we analyze the accuracy of our method by inspecting the convergence of the droplet mass and shape errors with increasing resolution. We consider the case with most significant velocity jump, and a time step , sufficiently low for errors in the temporal discretization to be negligible. Moreover, we ensure that the initial condition for yielded the same total droplet mass for all grids. The shape accuracy is assessed by computing the perimeter from the discrete integral of over the entire domain as follows (for a two-dimensional configuration):
[TABLE]
where and are the number of grid points along the and direction. Figure 4 reports the relative error in mass and perimeter, at physical time for which , i.e.:
[TABLE]
where , represents the mass or the perimeter and the subscript and refer to the numerical and analytical solution. For both observables, the order of convergence is between and . Similar results have been obtained for the other density ratios considered here.
4.2 Isothermal droplet evaporation
This test case considers the evaporation of a two-dimensional circular droplet, using the same domain and boundary conditions as in the previous section. The difference is that the evaporation is driven by a difference between the species concentration at the interface and the domain boundary. Hence, we now solve eq. (20) with Dirichlet boundary conditions at the domain boundaries, and at the interface. The mass flux is then computed from eq. (26). This allows us to assess the accuracy of the method for coupling the vapor species transport to the Navier-Stokes equations, decoupled from the energy equation. The other physical parameters are reported in table 1, and are chosen to match the initial shrinking rate of the setup presented in the previous section. The steady state solution of eq. (6) with is used as initial condition for .
For this system one can derive an ordinary differential equation for the droplet diameter , assuming a static droplet in a circular domain with diameter [12]:
[TABLE]
where is a mass number. In the present setup is the domain length, and . The equation above can therefore be solved numerically, yielding a reference solution for .
Figure 5(a) reports the non-dimensional extended vapor mass fraction field for the case of evaluated at the highest resolution (). In the gas phase, is equal to the vapor mass field, whereas inside it is computed with the procedure explained in section 3.4 and only in the region where . This field is used to compute the interfacial mass flux depicted in figure 5(b), to advect the interface at the next time-step and as a source term in the pressure Poisson equation. As shown in figure 5(c), this source term is zero everywhere except in a narrow region across the interface. The proposed approach leads to good numerical results in term of mass and droplet shape conservation when compared to the analytical solution, as shown next.
Figure 6(a) presents the time history of the normalized droplet diameter, computed from its volume (i.e., in , where is the surface area), for different values of , on the finest grid considered. The solution grid convergence is shown in panel (b) of the same figure, for . Once more, the results show excellent agreement with the reference data, although, as expected, the deviations from the analytical solution are larger than those reported in the previous section as the interfacial mass flux is here computed from the vapor mass gradient and not imposed. Though these cases correspond to an implicit discretization of the diffusion of in eq. (20), similar results are obtained with an explicit treatment of the diffusion term. Figure 7 reports the convergence of the numerical error with grid refinement with (panel a) and without (panel b) implicit diffusion for , and fixed time step . As we can see, the numerical error is slightly larger when the vapor mass diffusion is discretized explicitly. Yet, both approaches show an error convergence between and as the grid is refined.
4.3 Fully-coupled system – reproduction of psychrometric data
Next we consider the solution of the fully coupled system in the same configuration of the previous sections. In this case, evaporation is driven by the partial pressure of the vaporized liquid near the interface, which is smaller than the corresponding saturated value at the interface . We recall that is related to the interface temperature through the Clausius-Clapeyron relation (eq. 7).
We consider a stationary two-dimensional circular droplet with the same geometry and outflow conditions of the previous cases. The energy equation is solved with Dirichlet temperature boundary conditions at all boundaries. As in the previous case, the steady state solution of eq. (6) with is used as initial condition for , with Dirichlet boundary conditions at the domain boundaries, and now with prescribed interfacial value computed from eqs. (7) and (8).
Similarly to the recent work in [12], we use psychrometric data to validate our numerical method. A water droplet is immersed in air with relative humidity and so-called dry bulb temperature, , equal to the initial droplet temperature. As evaporation is triggered, the droplet is cooled and its temperature decreases. This evaporative cooling is counterbalanced by a conductive heat flux from the warmer air to the droplet. Eventually, a uniform equilibrium temperature is reached inside the droplet – so-called wet-bulb temperature, . Accordingly, in our computational domain the temperature boundary condition is set to the desired dry bulb temperature , and the corresponding mass fraction prescribed at the boundary, ; this is computed from the desired air relative humidity at the dry bulb temperature (cf. eq. 7):
[TABLE]
with computed from eq. (8) evaluated at .
For simplicity, in addition to the non-dimensional governing parameters in table 1, we report the system properties in table 2 and its caption. As in [12], the liquid density and thermal conductivity are set smaller than those of water, while keeping the thermal diffusivity constant. The reasons behind this choice are twofold. First, the present methodology becomes less accurate as the density ratios increases (as for most of interface-capturing methods) and using would require to greatly reduce the time-step. Second, the interfacial mass flux decreases almost linearly when increasing the density ratios and therefore, the time to reach the wet-bulb temperature in this configuration where convection effects are limited would be unnecessarily long to test the method.
Figure 8(a) illustrates the time evolution of the droplet temperature profile, for and . Indeed, an equilibrium droplet (wet bulb) temperature is attained after a transient due to the mechanisms described above. The velocity vector field, temperature and mass fraction at this equilibrium condition are shown in panels (b,c) of the same figure.
We performed simulations for several combinations of and , and compared the resulting equilibrium droplet temperature to the expected value of the wet-bulb temperature from psychrometric data, see e.g. [64]. Figure 9 displays the numerical results of wet bulb temperature to psychrometric data for several combinations of and , on the finest grid considered (). The agreement is very good, with slight deviations for the highest temperature and relative humidity considered. A similar trend has been reported in [12], where the discrepancies have been attributed to the assumption of constant thermophysical properties, which actually vary in a not negligible way at high values of and .
In figure 10 we present the grid convergence of the solution pertaining the target wet bulb temperature for varying (panel a) and (panel b). Despite the larger grid-sensitivity of the results at higher temperatures for coarser grids, all cases converge towards the expected value.
Finally, we further investigate the large deviations that occur at higher and by performing a comparison between the fully conservative discretization and the non-conservative discretization of the energy equation. As figure 11 shows, when a conservative discretization is employed the error is clearly reduced at lower resolution, whereas the difference is less appreciable when a highly refined grid is employed.
4.4 Sedimenting droplet in a confining container
This configuration illustrates the ability of the method to handle droplet evaporation under pronounced deformations, with close interaction with solid boundaries and large temperature gradients. We consider an evaporating droplet with initial diameter flowing down a confining container with hot walls under the action of gravity, acting in the negative direction. The droplet is initially at rest in a domain with dimensions , in an off-centered position at the top of the container . No-slip and no-penetration (wall) boundary conditions are prescribed at all boundaries, except for the top side, where a zero-pressure outflow is prescribed. Dirichlet boundary conditions for temperature () and mass fraction () are prescribed at the walls, and (zero) Neumann at the outflow. The initial temperature field is uniform with temperature , whereas the mass fraction field is initialized as described in the previous section. The relevant flow parameters are reported in table 1. Three cases are considered: a droplet with (1) mild and (2) high evaporation rates, and (3) a reference case without phase change. These different evaporation rates are achieved by varying the wall temperature while keeping the other parameters constant, namely and for the two phase-changing cases. To better qualify the evaporation regime, we define a wall Stefan number based on the difference between the imposed wall temperature and the initial temperature, i.e., .
Figure 12 depicts the time history of the droplet sedimentation for the three cases under consideration. All cases show an oscillatory trajectory, due to droplet-wall interactions in this confined geometry and to the droplet inertia. As the evaporation rate (i.e. ) increases, the frequency of the droplet oscillation grows, due to the wall-repelling force caused by the Stefan flow. This is particularly evident for the case with , where the droplet starts moving with an almost horizontal velocity, and remains in a levitating state at late times. The droplet dynamics can be better understood by inspecting the temperature and velocity fields. These are shown in figure 13 for the case with at three different instants. Since , the temperature at the side of the droplet closest to the wall is larger than that on the other side at early times. The Stefan flow is therefore larger on the warmer side of the droplet, which generates a strong wall-repelling force. After some time, heat conduction reduces the temperature gradients in the gaseous phase, and the amplitude of the droplet oscillation reduces. Finally, at later times, the droplet reaches the bottom side of the container with significant mass loss, and the Stefan flow is sufficiently high to sustain the droplet weight. The droplet therefore remains in a levitating, Leidenfrost-like state in the middle of the container until its complete evaporation.
The solution grid convergence for this more complex case is illustrated for the setup with highest mass transfer, , confirming that grid points (about grid points over the initial droplet diameter) suffice for accurately resolving this problem (see figure 14).
4.5 Coalescence of two droplets
In this section, we consider the case of two two-dimensional circular droplets interacting and eventually coalescing while evaporating in a hot gas. This test shows the ability of the proposed methodology to handle a complex topological change (i.e., merging), providing stable and convergent results. The two droplets with initial diameter move towards each other with initial velocity in a domain with dimensions , initially, at position and . The relative velocity is chosen to give an impact Reynolds number . The initial temperature field is equal to in the gas phase, in the liquid. The mass fraction field is initialized with the steady state solution of eq. (6), as done for the previous cases. Zero-pressure outflow boundary conditions are prescribed for velocity and pressure, whereas a Dirichlet boundary condition is prescribed for temperature (equal to ) and vapor mass fraction (equal to ). The remaining governing parameters have been reported in table 1, with for a stable numerical integration.
Before presenting the results, it is worth recalling that all interface-capturing methods based on the fully Eulerian description of the interface are able to handle automatically topological changes such as coalescence, merging and break-up. This ability comes at the price of having little or no control on the so-called numerical coalescence which occurs when two interfaces are less than one grid cell apart. This is known to over-predict the coalescence rate and can be counteracted by using short-range forces [47], or consider multiple interface fronts as in [65]. Since the influence of the coalescence and merging rate for evaporating droplets is out of the scope of the present work, in the following, we limit to show that the proposed methodology is capable of handling topology changes, providing grid-converging results.
The first instances of the simulations are characterized by the highest evaporation rate. As shown in figure 15, the highest gradients of the mass fraction occur at the early stages when the two droplets are separated and move in opposite direction. Furthermore, the evaporation rate is enhanced by the high temperature gradients between the gas phase and the droplet interface, as it emerges from the time history of the normalized total liquid mass in the system depicted in figure 16. As the droplets approach and eventually merge, the evaporation rate decreases because the mass transfer of the liquid in the inert gas decreases the temperature around the droplet and thus reduces the saturation value of the mass fraction at the interface. In addition, the droplet velocity decreases and the evaporation process becomes diffusion dominated. Finally, we note that the simulation is grid convergent, with differences in the history of total liquid mass of less than on the two finest grids ( and grid points over the droplet diameter).
4.6 Droplet settling in a three-dimensional periodic domain
Finally, we perform a three-dimensional simulation for a fully coupled case, where a single droplet moves, deforms and evaporates in a non-isothermal environment. In this configuration, depicted in figure 17, a spherical droplet with initial diameter settles in a domain with dimensions , under the effect of gravity acting in the negative direction. The droplet is initially at rest and centered at the top of the domain . The domain is periodic in all directions, discretized on a grid. The net weight of the system is subtracted to the fluid momentum balance at each time step to yield zero net acceleration, thereby avoiding a constant acceleration of the entire system [6]. The initial temperature field is uniform and given by , while the mass fraction field is initialized with the steady state solution of eq. (6), as done for the previous cases. The remaining governing parameters have been reported in table 1 and we set .
Figure 18 presents planar contours of vapor mass fraction for different time instants. From the two-dimensional distributions of vapor mass fraction in figure 18 we qualitatively observe that initially the evaporation process is dominated by diffusion, since the falling velocity is still limited (left panel in figure 18). As time evolves, the droplet accelerates, deforms and starts to lose mass at a faster rate (see the last two panels of figure 18, where the formation of a wake is clear). At this stage, both the increased surface area due to the droplet deformation, and the increasing convective effects tend to increase the mass transfer rate, with the latter effect expected to be more significant. This change in the behavior of the droplet evaporation occurs at as it is clear from the time history of the droplet mass depicted in figure 19.
5 Conclusions
We have presented a numerical method for interface-resolved simulations of phase changing two-fluid flows using a volume-of-fluid method. The solver is based on an algebraic MTHINC VoF, implemented in an efficient, FFT-based two-fluid finite-difference Navier-Stokes solver. To circumvent the issues related to the jump in fluid velocity across the interface, we transport the VoF function using an interface velocity composed of two parts: (1) a divergence-free extension of the liquid velocity in the entire domain, and (2) a irrotational term accounting for the phase change. This approach requires a simple extension of a standard split advection method with a volume deflation step, and, unlike other approaches in the literature, can be easily applied to other algebraic or geometrical VoF methods. Furthermore, it can be used in phase-change solvers based on the level-set and conservative level-set method when maintaining the whole domain formulation in solving the Navier-Stokes equations. The divergence-free velocity extension is computed with the aid of a direct fast Poisson solver with negligible computational overhead, about of the total cost.
Evaporation is handled by reconstructing a level-set field from the VoF function, which allows us to benefit from well-established level-set methods for solving phase-change problems; see e.g. [20]. The equation of transport of vaporized liquid mass is solved in the gaseous domain, with a Dirichlet boundary condition at the interface, computed from the thermodynamic equilibrium defined by the Clausius-Clapeyron relation. This term can be discretized in time implicitly as in [54], or explicitly. A second-order pde-based extrapolation technique allow us to define the interphase mass flux in a band around the interface, i.e. where the VoF function . As a consequence, the continuity, momentum and energy equations can be solved with a so-called whole-domain formulation, where source terms accounting for the velocity, stress and heat flux jumps along the interface-normal direction are easily incorporated with a CSF-like approach.
The numerical method has been extensively verified and validated against different benchmark cases of increasing complexity. The results illustrate the excellent mass-preserving nature of the method, and the ability of the overall approach to reproduce psychrometric data. Moreover, we show that the method can handle large deformations for a droplet evaporating in the presence of walls, and demonstrate its potential for three-dimensional simulations of evaporating flows. Further, as shown in the A, a direct extension of the method can be used to simulate boiling flows. Note finally that the specific implementation presented here might be improved with a discretization of the energy equation in conservative form, and a momentum-preserving method as in [66] to more efficiently solve problems at high density ratios. Overall, we believe that our method has the right ingredients to serve as a base for massive, high-fidelity simulations of phase-changing turbulent flows.
Acknowledgements
The work is supported by INTERFACE, under the project Hybrid multiscale modelling of transport phenomena for energy efficient processes, financed by the Swedish Research Council (VR), and by the European Research Council grant, no. ERC-2013-CoG-616186, TRITOS. The computer time was provided by SNIC (Swedish National Infrastructure for Computing) and by the National Infrastructure for High Performance Computing and Data Storage in Norway (project no. NN9561K). Stéphane Zaleski is acknowledged for the useful discussions, and for pointing out the PhD thesis in [62], which reports a similar approach for constructing a divergence-free velocity extension in the context of boiling flows.
Appendix A Application of the method for boiling simulations
Here we briefly explain how to extend the numerical framework described for evaporation to study temperature-induced phase change (i.e., boiling), which occurs between a liquid phase and its vapor. From a physical point of view, boiling starts when the partial pressure of liquid in the gaseous phase is equal to the pressure that the surrounding environment exerts on the liquid itself. By fixing and postulating thermodynamic equilibrium at the interface [1], the Clausius-Clapeyron relation indicates that the interfacial temperature is constant and equal to the saturation temperature , evaluated at . Under this assumption, together with the incompressibility constrain on both phases and weak viscous dissipation, the governing equations reduce to the following form, see e.g. [1, 9],
[TABLE]
First, note that the continuity (42a) and momentum (42b) equations are independent of the phase change mechanism. Therefore, their numerical solution follows the procedure reported in section 3.2. Moreover, employing a VoF method to capture the interface dynamics, the interface representation (section 3.1) and the interface velocity construction (section 3.6) remain formally unchanged, with the minor modification of constructing the interface velocity from a divergence-free extension of the vapor velocity, instead of that of the liquid.
To solve the boiling problem, the main difference is that the energy eq. (42c) is solved with a Dirichlet boundary condition at the interface: . In practice, we solve eq (42c) with the same schemes used for , but for a temperature field in , and in , separately, with imposed at the interface. The energy equation is therefore solved in each subdomain with constant termophysical properties (i.e. , and in (). Then, following the procedure reported in [18], the temperature field in the liquid domain is extrapolated into the vapor domain , and the temperature field in the vapor domain is extrapolated into the liquid domain using the procedure described in section 3.4. The resulting extended fields and are continuously differentiable across . Accordingly, they can be used to compute in eq. (42d) using a central difference scheme. This allows to define in a band around the interface, covering the region where the VoF function is .
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] M. Ishii, T. Hibiki, Thermo-fluid dynamics of two-phase flow, Springer Science & Business Media, 2010.
- 2[2] C. R. Kharangate, I. Mudawar, Review of computational studies on boiling and condensation, International Journal of Heat and Mass Transfer 108 (2017) 1164–1196.
- 3[3] S. Elghobashi, Direct numerical simulation of turbulent flows laden with droplets or bubbles, Annual Review of Fluid Mechanics 51 (2019) 217–244.
- 4[4] S. O. Unverdi, G. Tryggvason, A front-tracking method for viscous, incompressible, multi-fluid flows, Journal of computational physics 100 (1) (1992) 25–37.
- 5[5] S. Osher, R. Fedkiw, Level set methods and dynamic implicit surfaces, Vol. 153, Springer Science & Business Media, 2006.
- 6[6] G. Tryggvason, R. Scardovelli, S. Zaleski, Direct numerical simulations of gas–liquid multiphase flows, Cambridge University Press, 2011.
- 7[7] T. Yabe, F. Xiao, T. Utsumi, The constrained interpolation profile method for multiphase analysis, Journal of Computational physics 169 (2) (2001) 556–593.
- 8[8] D. M. Anderson, G. B. Mc Fadden, A. A. Wheeler, Diffuse-interface methods in fluid mechanics, Annual review of fluid mechanics 30 (1) (1998) 139–165.
