Numerical Simulation of Interfaces and Free Surfaces
From ThermalFluidsPedia
Computational methodologies for forced convection

Many engineering applications involve interfacial phenomena because of the high heat transfer rates that can be achieved. There are many complexities that need to be addressed when modeling an interface, since an interface is generally irregular, involves mass transfer, is threedimensional, and is not at a fixed location. There are two different approaches when considering an interface: a continuum and a noncontinuum approach. In many problems, the scale of the entire computational domain is much larger than the scale of the interfacial thickness; therefore the interface can be considered as a planar surface and the continuum approach will give highly accurate results. With the development of nanotechnology, the scales of systems are becoming very small. Therefore, neglecting the thickness of the interface is no longer a valid assumption, and a noncontinuum approach is needed. This approach can be achieved through molecular dynamic simulations. A detailed discussion on tracking an interface using the various approaches is given by Faghri and Zhang (2006).
Interface Tracking Techniques
There are many engineering problems that involve separated phases in which the interface between phases is clearly defined, but is not at a fixed location. The interface can be assumed to be a planar surface in these situations, and therefore, a continuum approach is valid. In these problems, it is necessary to solve for both the phases as well as the interfacial location. These problems can be solved numerically on an Eulerian or Lagrangian mesh. An Eulerian mesh is stationary and defined prior to the start of a solution. When using an Eulerian mesh, the interface is tracked by solving an additional scalar equation. In the Lagrangian approach, a boundary of the mesh is aligned with the interface, and this boundary moves with the interface.
When thinking of a multiphase system from a continuum approach, in the bulk region a phase is continuous and is discontinuous at an interface between different phases. In general, the interface is free to deform based on the nature of the flow. Therefore, it is difficult to efficiently capture an interface between phases with just one model. Consequently, there have been strong efforts to track an interface based on several different techniques, each with its own pros and cons. An actual interface, represented by the different numerical techniques, is presented in Fig. 1. The techniques are as follows:
1. Stationary Grid Approach: standard CFD modeling in cells that contain only a single phase; special consideration taken in cells in the vicinity of an interface.
2. Lagrangian Techniques: grid and fluid move together, interface is directly captured.
3. Phase Interface Fitted Grid: interface directly tracked as boundary, rest of grid moves as a function of interfacial movement, “semiLagrangian”.
4. Front Tracking Methods: stationary grid is used and modified near the interface, so that the grid is aligned with the interface; combination of 2 and 3.
The above methods are discussed in detail in Faghri and Zhang (2006). The stationary grid approach, which is used widely for solving single phase problems, is presented below.
Stationary Grid Approach
The stationary grid approach is based on a stationary grid where the fluid interface is captured directly. The first of such approaches is the markerandcell approach originated by Harlow and Welch (1965). In this approach, massless particles are introduced into the flow field, and the locations are projected from their interpolated velocities. Cells with a particle are considered to have one phase in them, and cells without a particle do not have that phase in them. An interface is considered where cells with particles are neighbored with cells without particles. For efficiency, this method was extended to only track particles on the surface (Nichols and Hirt, 1975). Further development of this class of models led to the Volume of Fluid method (VOF) by Hirt and Nichols (1981) in which they used a donoracceptor method to effectively eliminate numerical diffusion at an interface. The VOF method is one of the most widely used routines to solve a free surface problem on an Eulerian mesh. In this method, there is one velocity, pressure, and temperature field, which is shared by all of the phases modeled. The interface between the phases is tracked by the volume fraction of phase k, . The volume fraction equation is the continuity equation of phase k divided by the density of that phase.

where Π is the number of phases. When the volume fraction is between 0 and 1 in a computational cell, the cell is considered to be an interfacial cell. For a twophase system, the phases are k and j. When the volume fraction is 1, that cell is occupied by only phase k, and when it is 0, that cell is occupied by only phase j. The sum of the volume fractions is unity,

Therefore, (Π − 1) volume fraction equations need to be solved. The fluid properties, such as density, viscosity, and thermal conductivity, are calculated by their volume weighted average.

The overall continuity equation in conjunction with the VOF method is:

The continuity equation is the same as eq. (3.38) except that it uses the effective density and the velocity field is shared by both phases; therefore, subscript k is dropped. The momentum equation is

The momentum equation is also the same as eq. (3.52), with the same exceptions as the continuity equation and the momentum transfer due to phase change. In the energy equation, the enthalpy is mass averaged instead of volume averaged.

Therefore the energy equation, neglecting pressure effects and viscous dissipation, is:

The energy equation has the same form as eq. (3.79) except effective properties are incorporated and a latent heat term due to phase change is added. The continuity, momentum, and energy equations can be solved by standard solution procedures, such as the SIMPLE class of algorithms in Patankar (1980) and Patankar (1991). However, if the volume fraction equation is solved using a standard implicit or explicit scheme, the interface will quickly lose resolution due to numerical diffusion. The numerical diffusion will lead to inaccurate solutions and/or a solution that will not converge. Therefore, special consideration must be taken on interfacial cells to construct the interface so that the advection transport of fluid is representative of the physical problem. An actual interface between two phases, as well as the corresponding interface represented by two special interpolation schemes, is presented in Fig. 2.
As noted before, the first of such methods is the donoracceptor scheme proposed by Hirt and Nichols (1981). If a cell is an interfacial cell, , the fluid will be rearranged in the cell to be on one face, as shown in Fig. 2(b). The face on which the fluid will be rearranged will depend on the normal direction of the interface. The normal direction of the interface, with respect to phase k, can be calculated by the gradient of the volume fraction:

The component in which the normal is the greatest will occur where the fluid is perpendicular to the interface while the interface is either horizontal or vertical. Once this is done, one cell is designated as a donor, while its neighbor is designated as an acceptor. The amount of fluid leaving the donor cell is exactly equal to the amount of fluid entering the acceptor through each computational face. Also, the maximum amount of fluid that can leave a cell is equal to either the amount of fluid in that cell or the amount that would make another cell fill with fluid. A more refined interface interpolation scheme was developed by Youngs (1982), in which the interface was approximated as piecewise linear in each cell. The normal of the reconstructed interface in each cell is the same as the normal calculated in eq. (4.322), as shown in Fig. 2(c). The advection of fluid through each face is calculated in a manner similar to the donoracceptor scheme. Both the donoracceptor scheme and piecewise linear interpolation can only be run in transient simulations, and the time step must be kept small enough so that the fluid near the interface will only advance by one cell at a time. Also, the resolution of the interface is limited to the grid spacing of the computational mesh. Any surface waves that are smaller than the spacing of the mesh will be smoothed out, as seen in Fig. 2 on the left side of the interface. Surface tension effects are important in many free surface problems. The surface tension effects can be applied as a body force in the momentum equations. This method is called the continuum surface force (CSF) model and was proposed by Brackbill et al. (1992). The curvature is defined as the divergence of the surface normal vector.
The volume force due to surface tension, F_{σ} , is

If only two phases are present, the body force reduces to

The stationary grid approach is based on a stationary grid where the fluid interface is captured directly. The first of such approaches is the markerandcell approach originated by Harlow and Welch (1965). In this approach, massless particles are introduced into the flow field, and the locations are projected from their interpolated velocities. Cells with a particle are considered to have one phase in them, and cells without a particle do not have that phase in them. An interface is considered where cells with particles are neighbored with cells without particles. For efficiency, this method was extended to only track particles on the surface (Nichols and Hirt, 1975). Further development of this class of models led to the Volume of Fluid method (VOF) by Hirt and Nichols (1981) in which they used a donoracceptor method to effectively eliminate numerical diffusion at an interface. The VOF method is one of the most widely used routines to solve a free surface problem on an Eulerian mesh. In this method, there is one velocity, pressure, and temperature field, which is shared by all of the phases modeled. The interface between the phases is tracked by the volume fraction of phase k, . The volume fraction equation is the continuity equation of phase k divided by the density of that phase.

where Π is the number of phases. When the volume fraction is between 0 and 1 in a computational cell, the cell is considered to be an interfacial cell. For a twophase system, the phases are k and j. When the volume fraction is 1, that cell is occupied by only phase k, and when it is 0, that cell is occupied by only phase j. The sum of the volume fractions is unity,

Therefore, (Π − 1) volume fraction equations need to be solved. The fluid properties, such as density, viscosity, and thermal conductivity, are calculated by their volume weighted average.

The overall continuity equation in conjunction with the VOF method is:

The continuity equation is the same as eq. (3.38) except that it uses the effective density and the velocity field is shared by both phases; therefore, subscript k is dropped. The momentum equation is

The momentum equation is also the same as eq. (3.52), with the same exceptions as the continuity equation and the momentum transfer due to phase change. In the energy equation, the enthalpy is mass averaged instead of volume averaged.

Therefore the energy equation, neglecting pressure effects and viscous dissipation, is:

The energy equation has the same form as eq. (3.79) except effective properties are incorporated and a latent heat term due to phase change is added. The continuity, momentum, and energy equations can be solved by standard solution procedures, such as the SIMPLE class of algorithms in Patankar (1980) and Patankar (1991). However, if the volume fraction equation is solved using a standard implicit or explicit scheme, the interface will quickly lose resolution due to numerical diffusion. The numerical diffusion will lead to inaccurate solutions and/or a solution that will not converge. Therefore, special consideration must be taken on interfacial cells to construct the interface so that the advection transport of fluid is representative of the physical problem. An actual interface between two phases, as well as the corresponding interface represented by two special interpolation schemes, is presented in Fig. 2.
As noted before, the first of such methods is the donoracceptor scheme proposed by Hirt and Nichols (1981). If a cell is an interfacial cell, , the fluid will be rearranged in the cell to be on one face, as shown in Fig. 2(b). The face on which the fluid will be rearranged will depend on the normal direction of the interface. The normal direction of the interface, with respect to phase k, can be calculated by the gradient of the volume fraction:

The component in which the normal is the greatest will occur where the fluid is perpendicular to the interface while the interface is either horizontal or vertical. Once this is done, one cell is designated as a donor, while its neighbor is designated as an acceptor. The amount of fluid leaving the donor cell is exactly equal to the amount of fluid entering the acceptor through each computational face. Also, the maximum amount of fluid that can leave a cell is equal to either the amount of fluid in that cell or the amount that would make another cell fill with fluid. A more refined interface interpolation scheme was developed by Youngs (1982), in which the interface was approximated as piecewise linear in each cell. The normal of the reconstructed interface in each cell is the same as the normal calculated in eq. (4.322), as shown in Fig. 2(c). The advection of fluid through each face is calculated in a manner similar to the donoracceptor scheme. Both the donoracceptor scheme and piecewise linear interpolation can only be run in transient simulations, and the time step must be kept small enough so that the fluid near the interface will only advance by one cell at a time. Also, the resolution of the interface is limited to the grid spacing of the computational mesh. Any surface waves that are smaller than the spacing of the mesh will be smoothed out, as seen in Fig. 2 on the left side of the interface. Surface tension effects are important in many free surface problems. The surface tension effects can be applied as a body force in the momentum equations. This method is called the continuum surface force (CSF) model and was proposed by Brackbill et al. (1992). The curvature is defined as the divergence of the surface normal vector.
The volume force due to surface tension, F_{σ} , is

If only two phases are present, the body force reduces to

It can be seen that the body force is proportional to the cell density. It is important to note that when surface tension forces are large compared to other flow characteristics, numerical inaccuracies of the surface tension forces in the CSF model create artificial currents called parasitic currents. Much work has been done to eliminate parasitic currents, such as the second gradient method proposed by Jamet et al. (2002). Despite the adverse effects of parasitic currents, the VOF method has been widely used and can give reasonably accurate results for a wide range of applications. It is robust in its handling of free surface problems with large interface distortion and can easily handle problems in which the free surface breaks apart, such as droplet formation. One drawback of the VOF method, however, is that the interface resolution is limited to the grid spacing. Therefore, a refined mesh is needed anywhere the interface is going to travel. This refinement can lead to many computational cells in regions of the mesh resided in by the interface for a short period of time, which will increase the total computational time of the solution. Therefore, advanced remeshing algorithms are needed for problems of this type.