Abstract
Flows of two immisible fluids are considered taking into account the capillary and gravity forces. The flow is described using a viscous incompressible fluid model within a two-dimensional formulation. The Navier–Stokes equations are solved numerically by an extended finite-element method, which allows for the presence of a strong discontinuity on the interface. The interface location is tracked using the level set method. This approach makes it possible to study flows with a varying topology of the interface. The calculation results are presented for the problems of a rising 2D bubble, development of the Rayleigh–Taylor instability, and a film flowing down a vertical wall in an extended region.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
The mesh methods of modeling transient flows with interfaces can be separated into methods with explicit capturing of the interface on deformed meshes and the methods in which the location of the interface is determined using immovable meshes. In the first class of methods, during the calculation the interface coincides with a mesh line, which makes it possible to take into account fairly simply the discontinuities of the functions and their derivatives in the calculation scheme. The most widely encountered representatives of the second class are the volume of fluid method and the level set method. The advantage of the latter one is the fact that the interface is not smoothed and can be found implicitly using an auxiliary function, i.e. the level function, for which a transport equation is solved. This makes it possible to consider explicitly discontinuities of functions in the mathematical formulation of the method. The presence of discontinuities inside the cells can be taken into account, in particular, using an extended finite element method (XFEM) [1], in which the standard spaces of sampling and weighting functions is complemented by a set of functions which allow for discontinuities on the cells. The main advantage of the second class of methods is their higher universality, for instance, in modeling flows with a varying topology of the interface.
In the present paper, we describe a realization of the level set method in combination with the extended finite-element method [2–5] for modeling two-phase flows of immisible fluids in extended regions with the capillary forces, the gravity force, and possible complex deformations of the interface taken into account. The algorithms are tested with the reference to the examples of problems of a rising two-dimensional bubble and Rayleigh-Taylor instability. The results of applying this method to the problem of the development of a film flow in an extended region are also discussed.
1. FORMULATION OF THE PROBLEM
A two-dimensional flow of two incompressible viscous fluids separated by an interface \({{\Gamma }_{S}}(t)\) is described by the Navier–Stokes equations:
Here, subscript α takes values 1 and 2 for the parameters of the first and second fluid, respectively; ρα is the density; \({{{\mathbf{u}}}^{\alpha }}({\mathbf{x}},t) = (u_{1}^{\alpha },u_{2}^{\alpha })\) and \({\mathbf{F}} = (F\cos\theta ,F\sin\theta )\) are the vectors of velocity and mass forces; \({{{\mathbf{P}}}^{\alpha }}({\mathbf{x}},t)\) is the stress tensor whose components take the following form in Cartesian coordinates x = \(({{x}_{1}},{{x}_{2}})\):
Here, \({{p}^{\alpha }}({\mathbf{x}},t)\) and μα are the pressure and dynamic viscosity coefficient; \({{\delta }_{{ij}}}\) is the Kronecker delta; \({{( \cdot )}_{{,i}}} = \partial {\text{/}}\partial {{x}_{i}}\), and \({{( \cdot )}_{{,t}}} = \partial {\text{/}}\partial t\).
On the interface, the conditions are satisfied:
Here, \(\sigma \) and \(\kappa ({\mathbf{x}},t){{{\text{|}}}_{{{\mathbf{x}} \in {{\Gamma }_{S}}}}}\) are the constant surface tension coefficient and the curvature of the interface between the two fluids, and n is the normal vector. On the immovable boundaries of the flow domain considered Ω, the Dirichlet or Neumann conditions for the velocity are set or the stress vector are specified. At the initial instant, the position of the interface and the velocity field are known. We represent \(\Omega \) as a combination of domains Ω1 and Ω2 (Fig. 1) occupied by the first and the second fluid and introduce the common notation for the parameters of both media, omitting superscript α; for instance, for pressure: \(p({\mathbf{x}},t) = {{p}^{\alpha }}({\mathbf{x}},t)\), when \({\mathbf{x}} \in {{\Omega }^{\alpha }}\).
Let \({{L}_{0}}\), \({{U}_{0}}\), \({{\rho }_{0}}\), and \({{\mu }_{0}}\) be the characteristic length, velocity, density, and viscosity (as the two latter parameters, the density and viscosity of one of the fluids can be chosen). After nondimensionalization using the formulas (the prime denotes dimensionless variables)
the following dimensionless parameters characterizing the flow appear in the problem formulation:
In what follows, the primes in the dimensionless parameters are omitted.
2. NUMERICAL METHOD
In this section we describe the key issues of the method used. The main ideas of the algorithms realized in modeling the flows with interfaces and other variations of the methods used are discussed in detail in [2–5]. To track the motion of the interface, the level set method [6] is used. The function \(\varphi ({\mathbf{x}},t)\) is introduced which has the following properties:
1. \({{\Gamma }_{S}}(t) = \{ {\mathbf{x}}:\varphi ({\mathbf{x}},t) = 0\} \);
2. \(\varphi ({\mathbf{x}},t) > 0\) if \({\mathbf{x}} \in {{\Omega }^{1}}\) and \(\varphi ({\mathbf{x}},t) < 0\) if \({\mathbf{x}} \in {{\Omega }^{2}}\);
3. \({\text{|}}\varphi ({\mathbf{x}},t){\text{|}} = {{\min}_{{{{{\mathbf{x}}}_{S}} \in {{\Gamma }_{S}}}}}{\text{|}}{\mathbf{x}} - {{{\mathbf{x}}}_{S}}{\text{|}}\).
The first two properties of this function are retained if it satisfies the transport equation
The third condition makes it possible to find the normal direction to the interface using the formula \({\mathbf{n}} = \nabla \varphi \) for \({\mathbf{x}} \in {{\Gamma }_{S}}\). However, to keep this property satisfied, it is necessary to perform periodically a re-initialization of the function \(\varphi ({\mathbf{x}},t)\) to ensure that this condition is satisfied and keep unchanged the position of the interface (\(\varphi ({\mathbf{x}},t) = 0\)).
The initial-boundary-value problem for the Navier–Stokes equations is solved numerically using a GLS (Galerkin/Least-Squares) stabilized finite-element method. Possible discontinuities of the solution and its derivatives on the interface are described using the extended finite-element method (XFEM) [1–5]. The calculation domain \(\Omega \) is represented as a combination of the rectangles \({{\Omega }_{e}}\), \(e = 1,...,{{n}_{e}}\), of a regular mesh with steps \({{\Delta }_{1}}\), \({{\Delta }_{2}}\) along the x1 and x2 coordinates, with the mesh having m nodes \({{{\mathbf{x}}}_{i}}\). The standard finite-dimension approximations of the spaces of sampling and weighting functions on the mesh are complemented with the functions which allow for strong pressure discontinuities in the cells containing the interface. An approximate solution \({{{\mathbf{u}}}^{h}},\;{{p}^{h}}\) is sought in the form
Here, \({{{\mathbf{v}}}_{i}}\), \({{p}_{i}}\), \(p_{k}^{*}\) are the coefficients to be found which depend on time; \({{N}_{i}}({\mathbf{x}})\) are piecewise bilinear continuous functions, and\({{N}_{i}}({{{\mathbf{x}}}_{j}}) = {{\delta }_{{ij}}}\); \(i = 1,...,m\), \(j = 1,...,m\), \(k = 1,...,m{\text{*}}\). The second summation in the expression for ph is performed over the nodes of each cell containing the interface. On these cells, the functions Mk(x, t) are determined as follows:
Here, \(N_{k}^{*}\) is the constriction of function Nk onto the cells containing interface ΓS. We note that for the velocity in (2.2) we use a standard approximation. Time discretization was performed using an Euler implicit scheme of the first order with a constant step Δt. To avoid the explicit calculation of curvature \(\kappa \) in the numerical solution, we used the approach described, for instance, in [2] which is based on the application of the Laplace–Beltrami operator.
The transport equation (2.1) is also solved by a stabilized finite-element method. In each global time iteration, we used the method of successive approximations, which made it possible to adjust the solutions of motion equations (1.1)–(1.2) and of Eq. (2.1) for determining the interface. A system of linear algebraic equations with an ill-posed matrix for Eqs. (1.1)–(1.2) is solved by a direct LU-decomposition method which makes it possible to avoid the problem associated with poor convergence of iteration methods due to the expansion of the spaces of sampling and weighting functions [8].
The stabilized finite-element method used in this study was successfully applied by the authors of [9–11] to studying 2D and 3D single-fluid flows past bodies. In addition, in those papers one can find the results of testing the method for single-phase flows and the details of algorithms. In the next sections of the paper, we will present the results of applying the method described above to solving three problems with interfaces. The first two problems are the classical examples of testing numerical algorithms for two-phase flows (for instance, see [12, 13]). The third problem is the demonstration of capacity of the method to calculate flows in extended regions with restructuring wave patterns.
3. RESULTS OF THE APPLICATION OF THE METHOD
3.1. A rising “Two-Dimensional Bubble”
Two regimes of rise of a 2D bubble are modeled taking into account capillary forces (see Table 1). These regimes are artificial tests [12]. In the first of them the parameters are chosen so that the bubble is deformed only slightly (Fig. 2a). In the second example, at a certain instant of time the topology of the interface changes: from the main bubble secondary bubbles separate (Fig. 2b). In [12], the numerical results obtained using computer codes of three independent groups of researches are presented. Below, the results are represented in dimensional form for convenience of comparison with [12]. At the initial instant of time, both fluids are at rest and the interface is a circle with the radius of 0.25 m and the center located at the point \({{x}_{1}} = 0.5\) m, \({{x}_{2}} = 0.5\) m. In the gravity field \(F = 0.98\) m/s2, \(\theta = - \pi {\text{/}}2\) the light-weight fluid (2D bubble) starts rising. The flow domain is a rectangle \(\{ 0 \leqslant {{x}_{1}} \leqslant 1;\;0 \leqslant {{x}_{2}} \leqslant 2\} \), on whose boundaries \({{x}_{2}} = 0\), \({{x}_{2}} = 2\) the no-slip condition is satisfied, and on the boundaries \({{x}_{1}} = 0\), \({{x}_{1}} = 1\) the slip conditions are specified. The comparison of the interface shape at t = 3 s and the time dependence of the ordinate of the bubble center of mass with the data from [12] is given in Fig. 3. A noticeable quantitative difference is observed only in describing the process of separation of secondary bubbles, with the other results being in good agreement. The authors of [12] note that in the second test all three computer codes considered also give different results for the process of separation of secondary bubbles, despite the fact that the results completely coincide until the beginning of this process (the same is true for the first test as well). In Fig. 3, it is clear that the present calculations lie most close to those obtained by the MooNMD algorithm in which deformed meshes were used, with the nodes traveling together with the interface.
3.2. Rayleigh–Taylor Instability
Two liquid layers separated by a horizontal interface are at rest in the gravity field. The situation is considered when this equilibrium is unstable. The density of the upper liquid is greater than that of the lower liquid. At the initial instant of time, small disturbances of the interface are introduced. The capillary forces are neglected.
Figure 4 shows the comparison with the data [13] for the parameters described below. The flow domain is a rectangle \(\{ 0 \leqslant {{x}_{1}} \leqslant 1;\;0 \leqslant {{x}_{2}} \leqslant 2\} \) with the no-slip conditions on the boundary. The disturbance at the interface at the initial instant of time is specified by the equation \({{x}_{2}} = 1 - 0.15\sin2\pi {{x}_{1}}\). The densities of the fluids differ in 1.8 times and the kinematic viscosities of the fluids coincide. The Reynolds number is R = 420 (the characteristic linear scale L0 is the length of the domain along the x1-coordinate and the characteristic velocity \({{U}_{0}} = \sqrt {{{L}_{0}}g} \), where g is the gravity force acceleration).
The calculations were performed on the grid with the spatial and time steps \({{\Delta }_{1}} = {{\Delta }_{2}} = 0.01\), \(\Delta t\) = 0.005. For comparison, in Fig. 4 we present the data obtained in [13] using the level set method on the 312 × 614 grid. Despite a qualitative agreement, the results have some differences which may be associated with the mesh resolution.
3.3. A Film Falling Down a Vertical Wall
We will consider five regimes of a film flow down a vertical plane, which are presented in Table 2. As the characteristic dimensional parameter scales, we chose density \({{\rho }_{0}}\), dynamic viscosity \({{\mu }_{0}}\), film thickness L0, and characteristic velocity \({{U}_{0}} = gL_{0}^{2}{{\rho }_{0}}{\text{/}}(3{{\mu }_{0}})\). The parameters of the second fluid are chosen so that their influence on the flow is insignificant: \({{\rho }^{1}}{\text{/}}{{\rho }^{2}} = {{10}^{3}}\), \({{\mu }^{1}}{\text{/}}{{\mu }^{2}} = 5 \times {{10}^{{ - 3}}}\).
At the initial instant, interface \({{\Gamma }_{S}}\) is described by the formula \({{x}_{2}} = 1\) and the flow parameters correspond to a steady-state solution with the parabolic velocity profile \({{u}_{1}}({\mathbf{x}},0) = 1.5{{x}_{2}}(2 - {{x}_{2}})\), \({{u}_{2}}({\mathbf{x}},0) = 0\). On the plane vertical wall (x2 = 0), the no-slip condition is specified. On the inlet boundary (\({{x}_{1}} = 0\)), the film thickness is fixed and the periodic velocity fluctuation is specified: \({{u}_{1}}(0,{{x}_{2}},t) = 1.5{{x}_{2}}(2 - {{x}_{2}})\)[1 + asin(2πft)], \({{u}_{2}}(0,{{x}_{2}},t) = 0\), where a and f are the given amplitude and frequency of velocity fluctuations at the inlet. At the outlet (\({{x}_{1}} = L\)), we specify the soft boundary conditions \({{u}_{{1,1}}}(L,{{x}_{2}},t) = {{u}_{{2,1}}}(L,{{x}_{2}},t) = 0\). The dimensions of the calculation domain, the spatial and time steps, and the values of the parameters Re, We, and f are given in Table 2 (the amplitude \(a = 0.03\) for regimes B–E and \(a = 0.1\) for regime A).
The dependences of the film thickness on the longitudinal coordinate for regimes A–E are shown in Fig. 5. The initial stage of the wave development can be described using the linear stability theory. After linearization of the Shkadov evolutionary equations [14], using the normal mode method (the film thickness is sought in the form \(h({{x}_{1}},t) = 1 + \varepsilon \exp i(k{{x}_{1}} - \omega t)\)), we obtain the dispersion equation
We also consider the dispersion equation obtained from the second-order equations [15], in which a deviation of the parabolic velocity profile used in the Kapitsa–Shkadov method is taken into account:
In Eqs. (3.1) and (3.2), a complex wave number \(k = {{k}_{r}} + i{{k}_{i}}\) is sought, and frequency ω is assumed to be known and related to the forced frequency at the inlet as \(f = 2\pi \omega \). If the amplification factor ki is negative (positive), the waves grow (attenuate) in the space. A detailed derivation of the dispersion equations is given, for instance, in [15].
For the case considered, Eqs. (3.1) and (3.2) have three roots corresponding to growing solutions, and one root corresponding to an attenuating solution. For example, for regime E the roots of the dispersion equation (3.1) are:
The solutions realized in the numerical modeling of regimes A–E correspond to the roots with a positive phase velocity and minimal (in absolute value) amplification factor \({{k}_{i}} < 0\), i.e., the first root in this case. The coorresponding roots for each regime are given in Table 2. In Figs. 5b–5e, we present the comparison of the calculation results with the linear theory based on dispersion equation (3.2). As is clear, for all regimes considered the amplification factors of the disturbances and the wave numbers agree well. The solution of the classical dispersion equation (3.1) gives similar values (see Table 2): the frequency differs by no more than 4%, the difference in the amplification factor is as large as 11% and 16% for low frequencies (regimes A and B). In Fig. 5a, we do not give a comparison with the linear theory because in this case, on the background of low-frequency waves determined by the inlet frequency, more unstable high-frequency disturbances start to grow fairly rapidly (see Fig. 5a at \({{x}_{1}} \approx 400\)).
Regimes B–D were modeled earlier in [16] (see Figs. 2a, 2b, and 2d in [16]). In that study, a finite-difference marker-and-cell method was applied to single-phase flows on grids with \({{\Delta }_{1}} = 0.436\), \({{\Delta }_{2}}\) = 0.08333, and \(\Delta t = 0.01\). The calculation results agree with each other. This is clear, for instance, from the comparison of the nonlinear wave formation stage and the limiting wave regime in Fig. 5b. It should be noted that the limiting regimes are also well reproduced by finding the optimal waves of the global attractor [17], determined on the basis of integral evolutionary equations [14].
The development of wave structures can be tracked using the graphs of the time dependence of the film thickness at fixed points of space and the time variation of the interface shown in Fig. 6. An interesting specific feature arising in the numerical modeling is a wave propagating into the region of the wave-free solution. For regimes A and D (with the maximal difference in disturbance frequency in the inlet section), it is clear from Figs. 6a, 6b that this wave propagates with a similar velocity, approximately equal to 4. However, for regime A the front boundary in the plane \((t,{{x}_{1}})\) is slightly shifted to the right, which is associated with the difference of the disturbance frequency in the inlet section. In addition, during a certain time interval after the passage of the wave the time dependence of the film thickness is qualitatively repeated for regimes A and D. In Fig. 6c, two transitional stages are clearly manifested. First, as a result of the loss of stability of the wave-free regime regular waves are formed. These waves also turn out to be unstable, and the second region of transition to the limiting wave regime arises. The boundary of the regular wave regime can be displaced at the distances of the order of hundred film thicknesses.
SUMMARY
The results of the application of a level set method in combination with an extended finite-element method to numerical solution of the Navier–Stokes equations describing two-phase flows with an interface are presented. Three problems of flows with interfaces are considered: a rising 2D bubble, development of the Rayleigh–Taylor instability, and a film falling down a vertical wall. In all cases, the results agree with the data of other authors. The approach described makes it possible to perform quantitative calculations of transient two-phase flows with interfaces in extended domains and the flows with varying topology of the interface.
FUNDING
The work obtained financial support from the Russian Foundation for Basic Research (projects nos. 18-01-00762 and 18-51-00006).
REFRENCES
N. Moës, J. Dolbow, and T. Belytschko, “A finite element method for crack growth without remeshing,” Int. J. Numer. Meth. Eng. 46 (1), 131–150 (1999). https://doi.org/10.1002/(SICI)1097-0207(19990910)46:1<131::AID-NME726>3.0.CO;2-J
T.P. Fries, “The intrinsic XFEM for two-fluid flows,” Int. J. Numer. Methods Fluids 60, (4), 437–471 (2009). https://doi.org/10.1002/fld.1901
T.P. Fries and T. Belytschko, “The extended/generalized finite element method: An overview of the method and its applications,” Int. J. Numer. Meth. Eng. 84 (3), 253–304 (2010). https://doi.org/10.1002/nme.2914
H. Sauerland, An XFEM Based Sharp Interface Approach for Two-Phase and Free-Surface Flows (Diss. RWTH Aachen, 2013).
H. Sauerland and T.P. Fries, “The extended finite element method for two-phase and free-surface flows: A systematic study,” J. Comput. Phys. 230 (9), 3369–3390 (2011). https://doi.org/10.1016/j.jcp.2011.01.033
S. Osher and R.P. Fedkiw, “Level set methods: An overview and some recent results,” J. Comput. Phys. 169 (2), 463–502 (2001). https://doi.org/10.1006/jcph.2000.6636
T.J.R. Hughes, L.P. Franca and G.M. Hulbert, “A new finite element formulation for computational fluid dynamics: VIII. The Galerkin/least-squares method for advective-diffusive equations,” Comput. Methods in Appl. Mech. Eng. 73 (2), 173–189 (1989). https://doi.org/10.1016/0045-7825(89)90111-4
I. Babuška and U. Banerjee, “Stable generalized finite element method (SGFEM),” Comput. Methods in Appl. Mech. Eng. 201–204, 91–111 (2012). https://doi.org/10.1016/j.cma.2011.09.012
A.I. Aleksyuk and V.Y. Shkadov, “Analysis of three-dimensional transition mechanisms in the near wake behind a circular cylinder,” Eur. J. Mech. B/Fluids 72, 456–466 (2018). https://doi.org/10.1016/j.euromechflu.2018.07.011
A.I. Aleksyuk and A.N. Osiptsov, “Direct numerical simulation of energy separation effect in the near wake behind a circular cylinder,” Int. J. Heat Mass Transfer 119, 665–677 (2018). https://doi.org/10.1016/j.ijheatmasstransfer.2017.11.133
A.I. Aleksyuk, “Influence of vortex street structure on the efficiency of energy separation,” Int. J. Heat Mass Transfer 135, 284–293 (2019). https://doi.org/10.1016/j.ijheatmasstransfer.2019.01.103
S. Hysing, S. Turek, D. Kuzmin, et al., “Quantitative benchmark computations of two-dimensional bubble dynamics,” Int. J. Numer. Methods Fluids 60 (11), 1259–1288 (2009). https://doi.org/10.1002/fld.1934
N. Grenier, M. Antuono, A. Colagrossi, et al., “An Hamiltonian interface SPH formulation for multi-fluid and free surface flows,” J. Comput. Phys. 228 (22), 8380–8393 (2009). https://doi.org/10.1016/j.jcp.2009.08.009
V.Y. Shkadov, “Wave flow regimes of a thin layer of viscous fluid subject to gravity,” Fluid Dynamics 2 (1), 29–34 (1967).
S. Kalliadasis, C. Ruyer-Quil, B. Scheid, and M.G. Velarde, “Falling liquid films,” Applied mathematical sciences (Springer London, London), 2012, vol. 176. https://doi.org/10.1007/978-1-84882-367-9
T. Nosoko and A. Miyara, “The evolution and subsequent dynamics of waves on a vertically falling liquid film,” Phys. Fluids 16 (4), 1118–1126 (2004). https://doi.org/10.1063/1.1650840
A.N. Beloglazkin, V.Y. Shkadov, and A.E. Kulago, “Limiting wave regimes uring the spatial and temporal development of disturbances in falling liquid films,” Moscow University Mechanics Bulletin 74 (3), 69–73 (2019).
Author information
Authors and Affiliations
Corresponding authors
Rights and permissions
About this article
Cite this article
Aleksyuk, A.I., Shkadov, V.Y. A STUDY OF TRANSIENT FLOWS WITH INTERFACES USING NUMERICAL SOLUTION OF NAVIER–STOKES EQUATIONS. Fluid Dyn 55, 314–322 (2020). https://doi.org/10.1134/S0015462820030015
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1134/S0015462820030015