An accelerated sharp-interface method for multiphase flows simulations
Tian Long, Jinsheng Cai, Shucheng Pan

TL;DR
This paper introduces an accelerated sharp-interface method for multiphase flow simulations that allows different fluids to be updated with distinct time steps, significantly improving computational efficiency while maintaining accuracy.
Contribution
The novel method enables separate time stepping for each fluid in multiphase simulations, enhancing efficiency without sacrificing stability or accuracy.
Findings
Achieves comparable accuracy to traditional methods
Provides significant computational speedup
Maintains conservative properties with flux correction
Abstract
In this work, we develop an accelerated sharp-interface method based on (Hu et al., JCP, 2006) and (Luo et al., JCP, 2015) for multiphase flows simulations. Traditional multiphase simulation methods use the minimum time step of all fluids obtained according to CFL conditions to evolve the fluid states, which limits the computational efficiency, as the sound speed c of one fluid may be much larger than the others. To address this issue, based on the original GFM-like sharp interface methods, the present method is developed by solving the governing equations of each individual fluid with the corresponding time step. Without violating the numerical stability requirement, the states of fluid with larger time-scale features will be updated with a larger time step. The interaction step between two fluids is solved for synchronization, which is handled by interpolating the intermediate states…
Click any figure to enlarge with its caption.
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9
Figure 10
Figure 11
Figure 12
Figure 13
Figure 14| Resolution | Calculation time () | Speedup ratio | |
| Original | Modified | ||
| Uniform grid - 2D | |||
| 140.585 | 91.3541 | 1.539 | |
| 618.656 | 321.757 | 1.923 | |
| 3736.34 | 1609.05 | 2.322 | |
| 26601.7 | 9259.04 | 2.873 | |
| Uniform grid - 3D | |||
| 1001450.6 | 349911.1 | 2.862 | |
| Multi-resolution grid - 2D | |||
| 12309.6 | 5970.85 | 2.062 | |
| Resolution | Calculation time() | Speedup ratio | |
| Original | Modified | ||
| Uniform grid | |||
| 230.491 | 144.468 | 1.595 | |
| 993.682 | 461.515 | 2.153 | |
| 6200.05 | 2449.27 | 2.531 | |
| 43680.1 | 14068.5 | 3.1048 | |
| Multi-resolution grid | |||
| 9441.02 | 19285.4 | 2.043 | |
| Resolution | Calculation time() | Speedup ratio | |
| Original | Modified | ||
| Uniform grid - 2D | |||
| 112.889 | 71.778 | 1.573 | |
| 604.497 | 348.205 | 1.736 | |
| 3141.19 | 1270.66 | 2.472 | |
| 21889.7 | 7168.9 | 3.053 | |
| Uniform grid - 3D | |||
| 946140.3 | 328314.1 | 2.882 | |
| Multi-resolution grid - 2D | |||
| 9206.3 | 5174.4 | 1.779 | |
| Resolution | Calculation time() | Speedup ratio | |
| Original | Modified | ||
| Uniform grid - 2D | |||
| 236.415 | 175.885 | 1.344 | |
| 930.915 | 230.498 | 1.661 | |
| 4325.97 | 2116.39 | 2.044 | |
| 28849.9 | 11673.9 | 2.471 | |
| Uniform grid - 3D | |||
| 668940.1 | 275521.6 | 2.428 | |
| Multi-resolution grid - 2D | |||
| 17085.6 | 9735.21 | 1.755 | |
| Static contact angle() | ||||||
|---|---|---|---|---|---|---|
| Uniform grid | ||||||
| Speedup ratio | 2.171 | 2.078 | 2.039 | 2.0 | 2.162 | 2.139 |
| Multi-resolution grid | ||||||
| Speedup ratio | 1.714 | 1.724 | 1.726 | 1.717 | 1.718 | 1.723 |
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.
Taxonomy
TopicsLattice Boltzmann Simulation Studies · Fluid Dynamics and Heat Transfer · Fluid Dynamics and Thin Films
An accelerated sharp-interface method for multiphase flows simulations
Tian Long
Jinsheng Cai
Shucheng Pan
School of Aeronautics, Northwestern Polytechnical University, Xi’an, 710072, PR China
Abstract
In this work, we develop an accelerated sharp-interface method based on (Hu et al., JCP, 2006) and (Luo et al., JCP, 2015) for multiphase flows simulations. Traditional multiphase simulation methods use the minimum time step of all fluids obtained according to CFL conditions to evolve the fluid states, which limits the computational efficiency, as the sound speed of one fluid may be much larger than the others. To address this issue, based on the original GFM-like sharp interface methods, the present method is developed by solving the governing equations of each individual fluid with the corresponding time step. Without violating the numerical stability requirement, the states of fluid with larger time-scale features will be updated with a larger time step. The interaction step between two fluids is solved for synchronization, which is handled by interpolating the intermediate states of fluid with larger time-scale features. In addition, an interfacial flux correction is implemented to maintain the conservative property. The present method can be combined with a wavelet-based adaptive multi-resolution algorithm (Han et al., JCP, 2014) to achieve additional computational efficiency. A number of numerical tests indicate that the accuracy of the results obtained by the present method is comparable to the original costly method, with a significant speedup.
keywords:
Sharp-interface method , Multiphase flows , Acceleration , Multi-resolution
1 Introduction
Nowadays, the study of multiphase flows has attracted much attention from academia due to its widely practical usage in many branches of industry such as the bubble column reactors [25], the solidification process of metals [41], the civitation in the naval industry [3], etc. The main challenge in the numerical simulation of multiphase flows is the treatment of the material interface which separates interacting different fluids.
In general, the approaches for modelling interface interactions can be divided into two classes, the diffuse-interface methods and the sharp-interface methods. In the diffuse-interface methods, with limited thickness, the interface is often defined as an artificial region where the transition from one phase to another is smooth. Among those diffuse-interface methods, volume of fluid (VOF) methods [32, 30, 10, 33, 29] may be the most popular ones. The VOF methods use the volume of fluid function, which represents the fraction of the liquid volume in a given computational cell, to capture the interface position. The VOF function is updated by solving the advection equation with the finite volume scheme so that the mass conservation is ensured. Nevertheless, there are some problems in computing the geometrical variables such as the normal vector and curvature because the VOF function is not continuous.
The other approach is to track the interface with a non-smearing representation, i.e., localize the interface as well as the interface interactions at an infinitely thin region. In the arbitrary Lagrangian Eulerian(ALE) methods [12, 19], the interface is represented by the computational mesh which evolves and deforms with the flow while it is represented by interface markers in the front-tracking method [39]. Introduced by Osher et al. [27], the level-set methods share algorithmic similarities with the diffuse-interface methods and are simple to be implemented. Different from those sharp-interface mehtods mentiond above, the level-set methods employ a signed distance function known as the level-set function to represent the interface implicitly and are able to handle interface deformations and topological changes in a straightforward way [38, 26]. The main drawback of the level-set methods is the lack of discrete conservation properties. To address this issue, Hu et al. [14] introduce a fully conservative level-set based sharp-interface method for compressible flows. The standard finite volume scheme on Cartesian grids is used for the far interface region while it is slightly modified for the near interface region. Unlike those hybrid methods such as the particle level-set methods [7, 40] and the coupled level-set and volume of fluid methods(CLSVOF) [24, 37], this method maintains the simplicity of the pure level-set method and can be simply implemented in multi-dimension and multi-level time integrations. In the method of Hu et al., the treatments of surface tension and the viscous force at the interface singularity are not considered, which often play important roles in mulitphase flows. It is a challenge for numerical models of multiphase flows to handle the singular surface tension force only acting at the interface and the jump of material properties across the interface such as density and viscosity. By employing a weakly compressible model, Luo et al. [22] propose a conservative sharp-interface method based on the work of Hu et al. for incompressible multiphase flows. In the cell cut by the interface, an effective viscosity is constructed to model the viscous flux across the interface and a constrained Riemann problem [2] is solved to model the interfacial flux caused by surface tension.
When explicit time discretization is adopted, the simulation suffers from the limitation of time step due to numerical stability reasons, i.e., CFL conditions such as for advection terms and for diffusive terms. In many multiphase flows problems, the time-scale features of different fluids are very different because of the differences of density, sound speed, viscosity, etc. A bottleneck of traditional multiphase simulation methods is that the fluid with small time-scale features imposes a small time step which is also used to evovle the states of fluid with larger time-scale features. To alleviate the stringent CFL restriction, the semi-implicit methods [18, 16, 42] are proposed which are suitable for flows containing low Mach number regions. The calculation is divided into two parts: advection and non-advection. Since the non-advection terms containing the acoustic components are solved implicitly, the time step is constrained by material velocity only while the stringent CFL time step restriction imposed by the acoustic waves is avoided. However, in addition to leading to extra oscillations, these semi-implicit methods require lots of changes to the original code when applied to those multiphase flows solvers based on explicit time discretization. When the interface between the fluids can be considered as a free-boundary, the computation can be limited to the more viscous and dense fluid. For example, in [4, 17], the computation takes place only in the water phase and the computational time for the air phase is saved. Nevertheless, this method is not suitable for problems in which the air phase gets pressurized or the stresses on the liquid caused by the air phase cannot be ignored.
The objective of this paper is to develop an accelerated sharp interface method based on [14, 22] for compressible and weakly compressible multiphase flows. Without generating unphysical oscillations, this method is relatively convenient to be coded up based on the original program. In contrast to the free-surface conditions, the present method makes no assumptions for the gas phase (or the less viscous and dense phase). The main idea of the present method is to obtain speedup by introducing larger time step for the evolution of fluid with larger time-scale features without violating the numerical stability requirements. The intermediate states of fluid with larger time-scale features are obtained by interpolation for the interaction step between two fluids, which is solved for synchronization. In addition, an interfacial flux correction is implemented to maintain the conservative property. The present method can be combined with a wavelet-based adaptive multi-resolution algorithm [11] to achieve additional computational efficiency. For those multiphase flows problems that fluid with lager time-scale features occupies most of the computational domain, significant speedup can be obtained by using the present method because the fluid states of most computational cells will be updated with a larger time step.
The paper is organized as follows: In section 2, we briefly review the original conservative sharp interface methods for compressible and weakly compressible multiphase flows. Subsequently we introduce that how to implement this accelerated method on a uniform grid as well as a multi-resolution grid in section 3. To validate the accelerated method, a number of numerical tests are carried out in section 4. Finally, the concluding remarks are given in section 5.
2 Conservative sharp interface method
2.1 Compressible sharp interface method
For the inviscid and compressible fluid, the governing equations can be written as
[TABLE]
where is the vector of mass, momentum and total energy densities with the relation , and denotes the corresponding physical flux functions of . This set of equations is closed by an equation of state (EOS), which gives the thermodynamic properties of the materials. As shown in Fig. 1, the flow domain is separated by an interface into two sub-domains and , which represent the regions occupied by fluid1 and fluid2, respectively. As in Hu et al. [14], with explicit first-order forward time difference, the discretization of Eq. (1) for each phase on a two-dimensional Cartesian grid with spacing and can be written as
[TABLE]
Here, is the time step size, and are the conservative variables in the cut cell, where is volume fraction and denotes cell-averaged densities of mass, momentum and energy of the considered fluid. , , and are cell-face apertures as shown in Fig. 1. denotes the reconstructed cell-face numerical flux obtained by a high-order shock-capturing scheme such as the WENO [35] scheme. , where is the interface segment within the cut cell, denotes the inviscid momentum and energy flux across the interface determined by the interface interaction.
2.2 Weakly compressible sharp interface method
For the weakly compressible model [22], the governing equations can be written as
[TABLE]
where the right-hand side terms and , which don’t exist in Eq. (1), are viscous fluxes and fluxes caused by surface tension, respectively. Note that the right-hand side terms in Eq. (3) will vanish when it represents the continuity equation. As shown in Luo et al. [22], Tait’s equation is used as the artificial equation of state to close the governing equations:
[TABLE]
Here, is the the artificial specific-heat ratio and represents the characteristic flow velocity. Moreover, and are the reference density and pressure, respectively. The artificial sound speed is and denotes the Mach number. To impose incompressibility, the Mach number should be small enough, which handled by choosing the parameters , and specifically. As in section 2.1, applying explicit first-order forward time difference to Eq. (3) leads to the following form:
[TABLE]
The meanings of the terms which are the same as those in Eq. (2) are not repeated here. In the above equation, denotes the reconstructed cell-face numerical viscous flux obtained by central difference, while and are the fluxes across the interface due to the viscous force and surface tension, respectively. Note that all the interfacial fluxes in Eq. (5) will vanish when it represents the continuity equation.
In this paper, to maintain numerical stability, we follow Hu et al. [14] and mix the conservative variables of small cut cells with their corresponding neighbors of larger volume fraction. The interface interaction models and more details about the conservative sharp interface methods can be found in [13, 14, 22].
2.3 Level-set method
The level-set funtion [27, 36] is used to calculate the geometrical variables such as the volume fraction, cell-face apertures, the normal vector, etc. With , the level-set function describes the signed distance from the interface to each cell center. The location of the interface is given by the zero level-set implicitly and the level-set field is updated by the linear advection equation [8]
[TABLE]
where denotes the level-set advection velocity obtained by the interface interaction model [13].
In practice, a reinitialization procedure is needed for maintaining the signed distance property of the level-set function, which will be violated during the evolution of the interface. Besides, in order to complete the interpolation stencils for the near interface cells and solve the interface interaction, we need an extending algorithm to extrapolate the fluid states.
3 The accelerated method
Considering a flow domain occupied by fluid1 and fluid2, we can obtain time step of fluid1 and time step of fluid2 according to CFL conditions. With the assumption that is much larger than , the ratio of time steps is defined as . Note that the second-order TVD Runge-Kutta (RK2) scheme [35] is used as the time integration method in this paper.
3.1 Uniform grid
When the accelerated method is implemented on a uniform grid, it does not matter whether is an integer or not. However, when is a decimal number, the computational efficiency will be influenced if the decimal part of is not large enough. To address this issue, is truncated to an integer by reducing when the decimal part of is less than the preset threshold. In this paper, we choose 0.7 as the threshold for all cases. In one time cycle of the accelerated method, value of will be kept while value of will be updated along with the calculation. We assume that is always equal to the same value for simplicity. With the assumption that and , the basic ideas of the accelerated method for one time cycle are illustrated in Fig. 2. Note that some procedures such as the extending step, the interaction step, the mixing step, which can be found in [14, 22], and the evolution of the level-set field are not drawn in this figure.
First, after solving the interaction step for obtaining interfacial fluxes, we compute the first step of RK2 for fluid1 with . Both previous and future conservative variables of fluid1 are stored for interpolating its intermediate states. Second, we compute the first step of RK2 for fluid2 and the level-set field with the time step . Let and denote the evolution time of fluid1 and fluid2, respectively. In one time cycle, we have while is accumulated every time is updated according to CFL condition. The intermediate states of fluid1 corresponding to fluid2 can be obtained by
[TABLE]
Then, with flow variables of fluid1 at obtained by interpolation, the interaction step is solved so that we can compute the second step of RK2 for fluid2 and the level-set field. The interfacial fluxes transferred to fluid1 and fluid2 are not equal due to the separated evolution of two fluids. To maintain the conservative property, we record the interfacial fluxes transferred to fluid2 during the whole time cycle and make the interfacial flux correction for fluid1 at last. The correction quantities for both inviscid and viscous interfacial fluxes can be calculated according to two different situations as follows:
i. if the interfacial fluxes will be used to update the states of both fluid1 and fluid2
[TABLE]
ii. if the interfacial fluxes will only be used to update the states of fluid2
[TABLE]
Note that the interfacial flux correction quantities should be set to 0 at the beginning of one time cycle and the superscript denotes the previous values. The calculation of the correction quantities for interfacial fluxes due to surface tension is slightly different. Caused by mechanical equilibrium, surface tension will result in a pressure jump at the interface, which can be expressed by
[TABLE]
where , are the surface tension coefficient and curvature, respectively. As in Luo et al. [22], the interfacial fluxes due to surface tension are integrated into the inviscid interfacial fluxes , and then we have for fluid1 and for fluid2 with the relation . The correction quantities for interfacial fluxes due to surface tension can be obtained by:
i. if the interfacial fluxes will be used to update the states of both fluid1 and fluid2
[TABLE]
ii. if the interfacial fluxes will only be used to update the states of fluid2
[TABLE]
Next, we repeat updating the states of fluid2 and the level-set field until is greater than (or equal to) . At the end of one time cycle, should be equal to for synchronization. Hence, we truncate by and compute the first step of RK2 for fluid2 and the level-set field with it. Finally, after computing the second step of RK2 for fluid1, fluid2 and the level-set field together, we make the interfacial flux correction for fluid1.
In the original method, the minimum time step i.e. is used to evolve the fluid states of both fluid1 and fluid2. In order to advance the flow field to , we have to compute RK2 three times for both fluid1 and fluid2. With the accelerated method, we compute RK2 three times for fluid2 and only once for fluid1 to advance the flow field to . Compared with the RK2 scheme, time costs of new extra procedures such as interpolation, interfacial fluxes recording, interfacial flux correction are much lower and can almost be omitted. In the original method, let denotes the proportion of the calculation time of RK2 for fluid1 in the total calculation time of marching a time step. The speedup ratio , which is defined as the ratio of previous total simulation time to modified total simulation time, can be calculated by
[TABLE]
where denotes rounding a number to the next larger integer.
With the assumption that , the procedures of the accelerated method for a whole time cycle can be summarized as follows:
Extend the fluid states and calculate interfacial fluxes with the interface interaction models proposed in [14, 22]. Then obtain intefacial flux correction quantities via Eq. (8) or Eq. (11) according to whether the surface tension is considered. 2. 2.
Compute the first step of RK2 for fluid1 with and store both previous and future conservative variables of fluid1 for interpolating its intermediate states via Eq. (7). 3. 3.
Compute the first step of RK2 for fluid2 and the level-set field with . With the interpolated intermediate states of fluid1, extend fluid states, solve the interaction step and update interfacial flux correction quantities via Eq. (9) or Eq. (12) according to whether the surface tension is considered. 4. 4.
Compute the second step of RK2 for fluid2 and the level-set field. Then update according to CFL conditions while is kept, and accumulate . 5. 5.
Repeat steps 3-4 until is greater than (or equal to) . Truncate and implement the step 3. Note that the interfacial flux correction quantities should be updated via Eq. (8) or Eq. (11). Compute the second step of RK2 for fluid1, fluid2 and the level-set field together and finally make the interfacial flux correction for fluid1.
3.2 Multi-resolution grid
The original MR algorithm [11] employs a storage-and-operation-splitting pyramid data structure which will be adaptively updated through the multi-resolution analysis. The pyramid data structure is defined as a set of tables in which the basic element is called a node. There are two types of nodes, empty node which means there is no computational data and occupied node which contains a block of computational cells. When it has no substructures, a node is called a leaf, which can be viewd as a sub-domain with a uniform grid and the simulations are carried out on. First, by using a projection operator [6, 1], cell-averages at the level are calculated from its child-level exactly. Then a prediction operator [6, 1] is employed to give an approximation of cell-averages at the level by using those values obtained by projection at the level . The prediction errors between the approximation and the exact cell-averages at the level is called details. When the detail is smaller than a certain threshold, the flow filed can be represented by the values on the coarser grid, otherwise the corresponding nodes need to be refined. In order to improve the computational efficiency, the local time-stepping scheme [6] is implemented. The main principle is that the finer leaves are updated more frequently than the coarser leaves, which is handled by introducing larger time step for the evolution of the coarser leaves, e.g., the time step of leaves at the level is twice the time step of leaves at the level . The intermediate states of the coarser leaves are obtained by interpolation. At the coarse-fine resolution boundaries, the discrete conservation is violated because the fluxes at the interface of the coarser leaves are computed by using the cell-averaged values of the adjacent nodes, which are obtained by projecting from the child-level. To ensure the discrete conservation, a flux correction step is applied to the coarser leaves located at the coarse-fine resolution boundaries.
When the accelerated method is combined with the MR algorithm, those procedures of multi-resolution analysis such as projection, prediction and refinement can be implemented without modification. Since all multiphase leaves are located at the finest level according to the MR algorithm [11], those procedures corresponding to the accelerated method such as interpolation for fluid advanced with a larger time step, interfacial flux recording and interfacial flux correction can be applied to the multiphase leaves in a straightforward way, as no resolution jumps are involved. The time steps of fluid1 and fluid2 at the level are represented by and , respectively, and the assumption that is much larger than is still held. Note that the time step of each node is set at the beginning and will be kept during the whole time cycle. With the relations that and , the ratio of time steps at every level equals to the same value. To combined with the local time-stepping scheme, will be truncated to an integer by reducing when it is a decimal number. At the level , the states of fluid1 will be updated times while the states of fluid2 will be updated times. Note that the minimum level is .
For simplicity, we only consider two scale levels (level 0 and level 1) here. With the assumption that and , the basic ideas of the accelerated method combined with the MR algorithm for one time cycle are illustrated in Fig. 3. It can be observed that after being modified, the evolution of each fluid is almost the same as the original process except the extra procedures implemented at the finest level. As discussed in the above paragraph, these extra procedures related to the accelerated method are implemented at the finest level as same as on a uniform grid. Hence we do not discuss the repetitive details here. Let denotes the maximum level of the pyramid data structure and represents the counter of the cycle, which counts from zero. The general process of the accelerated method combined with the MR algorithm for one time cycle is given as follows:
Compute the first step of RK2 for leaves satisfying the conditions as follows:
[TABLE]
where denotes the modulus operator. 2. 2.
Obtain intermediate states of both fluid1 and fluid2 at the coarser level and intermediate states of fluid1 at the finest level by interpolation. Record the corresponding fluxes for conservative correction. 3. 3.
Compute the second step of RK2 for leaves satisfying the conditions as follows:
[TABLE] 4. 4.
When two successive levels reach the same discrete time, a flux correction step is applied to those leaves located at the coarse-fine resolution boundaries. In addition, at the finest level, make the interfacial flux correction for fluid1 every time the evolution time of two fluids are the same. Then the counter is accumulated once. 5. 5.
Repeat steps until equals .
4 Numerical examples
The following numerical examples are provided to illustrate the potential of the accelerated sharp-interface method for compressible and weakly compressible multiphase flows. Different kinds of flow problems involving shock waves, the viscous force and surface tension are calculated to compare the accuracy and speed of the present method with the original method. For all cases, with the CFL number of 0.6, one-phase calculations are carried out with the fifth-order WENO-LF method [15] and the second-order TVD Runge-Kutta scheme [35]. In section 4.1 - section 4.2, an ideal-gas EOS is used for gas while water is modelled with Tait’s equation Eq. (4). In section 4.3 - section 4.7, for the wealy compressible model, Tait’s equation Eq. (4) is used as the artificial EOS for two phases.
4.1 Gas-water interaction
Two 1D problems with the gas-water interaction are calculated to validate the present method for compressible multiphase flows. With respect to the state of water at 1 atmosphere and length scale 1 m, the non-dimensional parameters in Tait’s equation are given by , and . In the two problems, simulations are carried out on a uniform mesh with 200 grid points and the reference solution is sampled on 1000 grid points. Due to the small calculation costs of the two problems, speedup is slight and will not be discussed here.
4.1.1 Gas-water shock tube problem
The initial conditions are given as
[TABLE]
and the final time is . In this problem, the transmitted and reflected wave fronts move rapidly while the high-pressure gas expands slowly. At first, the time step of water is about three times the time step of gas according to CFL conditions. Fig. 4 gives the computed pressure, velocity, density profiles of the present method, which show a good agreement with the original results. No oscillations are observed and the position of the gas-water interface is the same as that in the original result. The numerical dissipation increases because the states of water is evolved with a larger time step. As a result, the shock wave is underestimated slightly, which can be observed from the enlarged velocity profile Fig. 4(d).
4.1.2 Shock impacting on an air-water interface
Taken from [20], this case is an air bubble collapse problem in one dimension. The initial conditions are given as
[TABLE]
and the final time is . In this problem, the underwater shock wave impacts on the air-water interface so that a weak shock wave transmitted into the air and a very strong rarefaction wave reflected back to the water medium. At first, the time step of air is about four times the time step of water according to CFL conditions. In Fig. 5, the computed pressure, velocity, density profiles of the present method show a good agreement with the original results and no oscillations are observed. The air-water interface is captured at the position as same as in the original result. The shock wave is underestimated slightly because of larger numerical dissipation caused by introducing larger time step for air.
4.2 Periodic motion of a water droplet
We consider the translation of a water droplet in a periodic domain to study the convergence and the speedup of the present method. Embedded in the air, a water droplet of radius is placed at the center of a square computational domain with periodic boundary conditions. The reference length is and the reference velocity is , where the reference pressure and density are given by , , respectively. In this case, the non-dimensional parameters in Tait’s equation are chosen as , and . The initial conditions are given by
[TABLE]
and the final time is which is exactly a cycle.
In Table. 1, we list the speedup ratios for different resolutions. When the domain is discretized by a uniform mesh with increasing grid points from to , it can be observed that the speedup ratio keeps increasing along with gird refinement. According to CFL conditions, the time step of gas is about four times the time step of water during the whole simulation in this case. As resolution growing, the ratio of the number of grid points occupied by the gas to the number of grid points occupied by the water increases so that defined in Eq. (13) increases. Hence, according to Eq. (13), the speedup ratio will increase along with grid refinement. With a uniform grid involving cells, the 3D version of this case is calculated by slightly modifying the initial conditions. The velocity component in the z-axis direction is set to 0 and the level-set field is initialized by . As shown in Table. 1, with the resolution as same as in two dimensions, additional speedup ratio of about 0.5 is obtained in three dimensions. The reason why the speedup ratio increases is that the ratio of the number of grids points occupied by the gas to the number of grid points occupied by the water in three dimensions is larger than it in two dimensions when the resolutions are the same.
After one cycle, the water droplet returns the original position and the exact area of water droplet is due to . Fig. 6(b) depicts the convergence of the relative errors on the uniform mesh with grid refinement, which suggests that nearly second-order accuracy is obtained for both the present and the original method.
This case is also calculated on a multi-resolution grid where the effective resolution at the finest level is with the maximum level of resolution at . The multi-resolution representations at different time are depicted in Fig. 6(c)-(d), where the resolutions of three levels can be observed. As shown in Table. 1, the speedup ratio is reduced by about 0.8 compared to the uniform grid situation when the resolutions are the same. There are two main reasons: First, the extra procedures related to the data structure lead to the decrease of in Eq. 13. Second, as shown in Fig. 6(c)-(d), some single-phase leaves of gas are located at coarser levels where calculations are carried out with a larger time step.
Let represents the total mass of the droplet and denotes the cell-averaged mass density of cell . Assuming that the droplet occupys cells ranging from the first to the th, the relative mass is calculated by
[TABLE]
where the superscripts 0 and n represent the initial condition and the nth time step, respectively. Fig. 6(a) depicts the relative mass of the water droplet during the computation. It can be observed that the relative mass is always equal to 1, which confirms that the present method has no conservation error.
4.3 Static drop with surface tension
In this case, we consider a static liquid drop of radius embedded in the air to test the Laplace law. With the surface tension coefficient , the initial conditions are given by
[TABLE]
The computational domain is a unit square with no-slip boundary conditions, which is discretized by a uniform grid with increasing resolution from to as well as a multi-resolution grid where the effective resolution at the finest level is . Speedup ratios for different resolutions are given in Table. 2.
Because of the capillary effects, the pressure distribution of steady state should satisfy the Laplace law Eq. (10). The theoretical pressure jump can be calculated as
[TABLE]
and the relative error is obtained by
[TABLE]
Fig. 7(a) shows the steady state pressure distribution obtained at the finest resolution . On both the uniform grid and the multi-resolution grid, the results of the accelerated method are almost the same as the original results. From Fig. 7(b), it can be observed that nearly second-order accuracy is obtained for both the present and the original method.
4.4 Recovering a circle shape
Taken from [34], a square drop deforming in a gas-like fluid is computed for dynamic verification of surface tension. We consider a square liquid drop placed at the center of a square computational domain with no-slip boundary conditions. With the surface tension coefficient , the initial conditions are given by
[TABLE]
Note that the level-set function given above is not a strict signed distance function so it has to be reinitialized before the simulation. In this case, the simulations are carried out on the uniform grid with increasing resolution from to and the multi-resolution grid where the effective resolution at the finest level is . Due to the capillary effects, the shape of the liquid drop will evolve to a circle and the pressure of the steady state will satisfy the Laplace law Eq. (10). The flow field reaches the steady state at time . In Fig. 8(a)-(d), with the same resolution , the interfaces of the droplet obtained by the present method are compared with the original results at different time, which are almost identical.
Unlike Schmidmayer et al. [34], we employ a weakly compressible model in this case so that mass conservation implies volume conservation. With the initial area of the square drop , the radius of the final circle can be calculated by . Then the theoretical pressure jump can be obtained by . Fig. 8(e) depicts the steady state pressure distribution obtained by the present method, which shows a good agreement with the original results. In Fig. 8(f), relative error is plotted versus , which suggests about second-order convergence for both the present and the original method.
To repeat this case in three dimensions, the velocity component in the z-axis direction is set to 0 and the level-set field is initialized by . After reinitializing the level-set field, the simulation is carried out on a uniform grid involving cells. Speedup ratios for different resolutions are listed in Table. 3. With the resolution as same as in two dimensions, additional speedup ratio of about 0.4 is obtained in three dimensions. Fig. 9 depicts the 3D interfaces of the droplet at different time. At the cross section of , we can find that the interfaces obtained by the present method are consistent with those in the original results. Note that the interfaces in Fig. 9 are slightly different from those in Fig. 8 due to their lower resolution.
4.5 Drop oscillation
In this case, we consider a square computational domain with a ellipsoidal drop located at its center to access the prediction of capillary instabilities [21]. Surrounded by a gas-like fluid, the ellipsoidal drop is initially at rest with zero kinetic energy. Then the existence of surface tension results in the oscillatory behaviour of the liquid drop along with the translation between the potential energy and the kinetic energy. As shown in Fig. 10(a), in on cycle, the shape of the liquid interface changes from an ellipse to a circle, and then it deforms into an ellipse again. With the surface tension coefficient , the initial conditions are give as
[TABLE]
Note that the level-set function has to be reinitialized before the simulation because the elliptic equation given in Eq. (20) is not a signed distance function. This case is calculated on the uniform grid involving cells and the multi-resolution grid with the effective resolution at the finest level. The speedup ratio obtained on the uniform grid is and decreases to on the multi-resolution grid.
The shapes of the droplet at different time are given in Fig. 10(b)-(c), which show a good agreement between the results obtained by the present method and the orignal method. Fig. 10(d) depicts the evolution of the kinetic energy versus simulation time. It can be observed that the peaks of the kinetic energy obtained on the multi-resolution grid are lower than those obtained on the uniform grid due to the extra errors generated by the MR algorithm. However, as long as the simulations are carried out on the same grid, the results of the present method are almost identical to the original results. According to the Rayleigh formula which has been extended to two-phase flows [9], the oscillation frequency can be obtained by
[TABLE]
Here and are the density of the liquid drop and the surrounding gas-like fluid, respectively. In addition, is the oscillation mode and is the radius of the liquid drop at the equilibrium state. Following [28, 22], we choose and so that the theoretical value of the oscillation period is . Evaluated from Fig. 10(d), on both the uniform gird and the multi-resolution grid, the oscillation period obtained by the present method is as same as in the original results. The error is about as the same in [22].
4.6 Liquid filament contraction
Proposed by Schulkes et al. [31], the liquid filament contraction is considered to validate the present method for problems with coupled effects of viscosity and surface tension. As shown in Fig. 11, the initial shape of the filament is a cylinder with two hemispherical caps at both of its ends. In addition, the half-length of the filament is and the radius of the cylinder as well as the hemispherical is . Two important dimensionless parameters for this problem are the aspect ratio of the filament and the Ohnesorge number , which measures the relative importance of the viscous force to the surface tension force. In this case, we choose and so that the filament will contract into a single drop. With the the surface tension coefficient , the initial conditions are given as
[TABLE]
Due to the symmetry property of this case, the computational domain is of the physical domain with 1.0 mm in the x-axis direction and 2.0 mm in the z-axis direction. The computations are carried out on the uniform grid with increasing resolutions from to and the multi-resolution grid where the effective resolution at the finest level is . To increase the computational accuracy, a two dimensional axisymmetric model is used in this case.
Fig. 12 depicts the evolution of the contracting liquid filament at the finest resolution . The filament contracts quickly and forms bulbous ends which become larger and larger during the evolution. The filament fails to pinch off its bulbous ends because the capillary forces are not strong enough to overcome the viscous force. After a series of oscillations with diminishing amplitudes, the filament finally become a sphere (not shown here). It can be observed that during the evolution the shapes of the filament obtained by the present method are consistent with the original results on both the uniform grid and the multi-resolution grid.
To calculate the 3D version of this case, we modify the initial conditions by setting the velocity component in the z-axis direction to 0 and initializing the level-set field by
[TABLE]
Involving computational cells, the computational domain is of the physical domain with 1.0 mm in x-axis direction, 1.0 mm in the y-axis direction and 2.0 mm in the z-axis direction. Speedup ratios for different resolutions are given in Table. 4. With the resolution as same as in two dimensions, additional speedup ratio of about 0.4 is obtained in three dimensions. The 3D interfaces of the filament obtained by two methods at different time are shown in Fig. 13. For a better comparison, at the cross section of , we depict the interfaces of the filament obtained by the accelerated method and the original method, which are well matched. Note that the interfaces in Fig. 13 are slightly different from those in Fig. 12 because their resolutions are lower.
4.7 Equilibrium shape of a water drop resting on a wall
By employing a curvature boundary condition proposed by Luo et al. [23], we consider an equilibrium water drop on a horizontal wall to validate the present method for problems with a static contact angle. As illustrated in Fig. 14(a), the initial shape of the water drop is a semi-circle with the radius , which initially rests on the wall with the contact angle . Due the the difference between the transient contact angle and the static contact angle, the water drop will deform and its final shape is determined by two parameters, the static contact angle and the number . In this case, we ignore the gravity so that and the equilibrium shape of the water drop is a circular cap determined by the static angle only. The computational domain is a square with no-slip boundary conditions. With the surface tension coefficient , the initial conditions are given by
[TABLE]
With different static contact angles, this case is calculated on the uniform grid involving cells and the multi-resolution grid where the effective resolution at the finest level is . When the water drop reaches the steady state, the wetting length can be calculated by
[TABLE]
according to the volume conservation. Fig. 14(b)-(c) show the equilibrium shapes of the water drop with different static contact angles. It can be observed that the interfaces obtained by the accelerated method are almost identical to those obtained by the original method. The numerical results of the wetting length are compared with the theoretical values in Fig. 14(d). It is found that the simulation results of both the present and the original method agree with the theoretical values quite well. Speedup ratios for different static contact angles are listed in Table. 5.
5 Concluding remarks
In this paper, we have developed an accelerated sharp-interface method for compressible and weakly compressible multiphase flows. This method inherits the simplicity of the original GFM-like methods of Hu et al. [14] and Luo et al. [22]. Different from the semi-implicit methods [18, 16, 42] and the free-surface conditions [4, 17], the present method will not generate extra oscillations and makes no assumptions for the gas phase (or the less viscous and dense phase). The conservative property of the original methods is violated due to the separated evolution of two fluids, which is handled by the interfacial flux correction. Furthermore, the present method offers a fairly direct way to be combined with the wavelet-based adaptive multi-resolution algorithm [11]. A number of numerical examples are calculated on both the uniform grid and the multi-resolution grid to validate the accelerated method. It is shown that the simulations with the present method is in good agreement with the original results. The higher the grid resolution is, the greater the acceleration performance we obtain. When the number of grid points is around , for all cases, the computational time of our accelerated method is only about of the original one. In future work we plan to extend the accelerated method to handle the solid-fluid coupling problems as the time step of fluid is usually much larger than the time step of solid.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Barna L Bihari and Ami Harten. Multiresolution schemes for the numerical solution of 2 2 2 -d conservation laws i. SIAM Journal on Scientific Computing , 18(2):315–354, 1997.
- 2[2] Wurigen Bo, Xingtao Liu, James Glimm, and Xiaolin Li. A robust front tracking method: verification and application to simulation of the primary breakup of a liquid jet. SIAM Journal on Scientific Computing , 33(4):1505–1524, 2011.
- 3[3] Luca Bonfiglio and Stefano Brizzolara. A multiphase ranse-based computational tool for the analysis of super-cavitating hydrofoils. Naval Engineers Journal , 128(1):47–64, 2016.
- 4[4] P. M Carrica, R. V Wilson, and F Stern. An unsteady single-phase level set method for viscous free surface flows. International Journal for Numerical Methods in Fluids , 53(2):229–256, 2010.
- 5[5] G. Contreras and M. Martonosi. Characterizing and improving the performance of intel threading building blocks. In 2008 IEEE International Symposium on Workload Characterization , pages 57–66, Sep. 2008.
- 6[6] Margarete O. Domingues, Sônia M. Gomes, Olivier Roussel, and Schneider Kai. An adaptive multiresolution scheme with local time stepping for evolutionary pdes. Journal of Computational Physics , 227(8):3758–3780, 2008.
- 7[7] Douglas Enright, Ronald Fedkiw, Joel Ferziger, and Ian Mitchell. A hybrid particle level set method for improved interface capturing. Journal of Computational Physics , 183(1):83–116, 2002.
- 8[8] Ronald P Fedkiw, Tariq Aslam, Barry Merriman, and Stanley Osher. A non-oscillatory eulerian approach to interfaces in multimaterial flows (the ghost fluid method). Journal of computational physics , 152(2):457–492, 1999.
