#### Abstract

The variational multiscale element free Galerkin method is extended to simulate the Stokes flow problems in a circular cavity as an irregular geometry. The method is combined with Hughes’s variational multiscale formulation and element free Galerkin method; thus it inherits the advantages of variational multiscale and meshless methods. Meanwhile, a simple technique is adopted to impose the essential boundary conditions which makes it easy to solve problems with complex area. Finally, two examples are solved and good results are obtained as compared with solutions of analytical and numerical methods, which demonstrates that the proposed method is an attractive approach for solving incompressible fluid flow problems in terms of accuracy and stability, even for complex irregular boundaries.

#### 1. Introduction

The Stokes flow can be considered for a range of engineering processed and natural phenomena, and numerical solution of the Stokes equations for incompressible viscous fluids has been usually dominated by meshbased methods such as finite difference method (FDM), finite volume method (FVM), and finite element method (FEM). Although these methods have been successfully applied to computational fluid dynamics problems, their accuracy depends critically on mesh quality and they have many difficulties in dealing with some complex fluid flow problems. These difficulties can be overcome by meshless of mesh-free methods, which have attracted considerable interest over the past few years. Several review articles [1, 2] and books [3–5] which cover the classification, application, and computer implementation of meshless methods have been reported. In recent years, the meshless methods have become an extensive area of research for solving fluid dynamics problems.

It is well known that the main issues germane to the development of a successful solver for incompressible Stokes flow are proper treatments of incompressibility. Improper treatments may result in spurious oscillations for velocity or pressure solutions. For meshless methods based on Galerkin formulations, the same problems will arise from the treatment of incompressibility constraint [6]; that is, they must either satisfy or avoid the Babuŝka-Brezzi condition. So far, a number of stabilization methods have been developed to overcome numerical problems for meshless methods. The ways to deal with the Babuŝka-Brezzi condition for most of meshless methods based on Galerkin weak from are used with the ideas of finite element method (FEM) to solve such problems, such as streamline-upwind Petrov-Galerkin [7, 8], pressure-stabilizing Petrov-Galerkin (PSPG) [9, 10], Galerkin least-squares (GLS) [11, 12], projection or fractional step method [13, 14] (e.g., characteristic-based split algorithm), and finite calculus approach (FIC) [15, 16]. However, these methods are related to a stabilization parameter and it depends on the problem under consideration and the chosen numerical method. A detailed overview of stabilization approaches for meshless methods can refer to [17].

In the mid-1990s Hughes revisited the origins of the stabilization methods from a variational multiscale viewpoint and presented the variational multiscale method. In this method different stabilization methods appear as special cases of the underlying subgrid modeling concept [18]. Compared with other stabilization methods, the Hughes’ variational multiscale method can get stabilization parameter naturally and allow the equal order interpolation for the velocity and pressure which is convenient for programming. In order to take advantage of meshless method and variational multiscale methods, Zhang et al. combined the meshless method and variational multiscale method which is called variational multiscale element free Galerkin method (VMEFG) for Stokes problems [19], water wave problems [20], and magnetohydrodynamics flow problems [21]. The VMEFG method allows equal order interpolations for the velocity and the pressure field, which are easy to implement but can violate the celebrated Babuŝka-Brezzi condition. Meanwhile, the structure of the stabilization terms is derived consistently and the definition of the stabilization tensor is obtained naturally via the solution of the fine-scale problem. In this paper VMEFG method is extended to simulation of Stokes flow with complex domain, such as in a circular cavity. Study of slow and viscous flow in a cavity with rotating boundaries provides useful information on flow behavior and distributive mixing, which has many industrial applications [22].

An outline of the paper is as follows. In Section 2, the fundamental principle of EFG method is briefly described. Then, the VMEFG method for the Stokes fluid flow is expressed. In Section 4, numerical examples are presented to demonstrate the accuracy of our method. The paper ends with concluding remarks in Section 5.

#### 2. Review on the Element Free Galerkin Method

In the EFG method, the field variable is approximated by moving least squares (MLS) approximation, which consists of three parts: a basis function, a group of nonconstant coefficients, and a weight function associated with each node. According to the MLS approximation, the unknown function can be written as follows [3]: where is a complete polynomial basis of order and is a vector of coefficients (to be determined) which is a function of the space coordinate . In the paper, we choose linear basis to approximate velocity and pressure.

Assume that we have known the nodal value for the function at nodes in the domain Ω. Then the unknown vector in (1) can be obtained at any point by minimizing the following weighted, discrete error norm:

Here is the number of nodes in the support domain of in which the weight function . Usually, are functions of a distant parameter where denotes the influence domain for node . Generally, where is the dimensionless size of influence domain and is the distance between two adjacent nodes. The influence domain defines the degree of continuity between the nodes and the bandwidth of the system matrices; thus, it is crucial to solution accuracy and computational cost.

Minimization of (2) with respect to then yields the following system of linear equations for the vector : where is the vector of nodal unknowns; matrices and are defined as

If is invertible, solving (3), and then substituting back into (1), the MLS approximant can be defined as where is the vector of MLS shape functions.

In general, the use of the MLS approximation produces shape functions that do not possess the Kronecker Delta condition property; that is, . Thus, essential boundary conditions cannot be imposed as easily as that in the standard FEM. Until now, the implementation of essential boundary conditions is still an open research topic for meshless methods [23, 24]. In the paper, a simple technique proposed by Zhang et al. [20] is utilized; that is, the nodal influence domain of meshless method is extended to have arbitrary polygon shape. This technique makes MLS approximation function possess interpolation property as approach to 1 [25] and is easier to solve problems with complex area.

#### 3. The VMEFG Method for Stokes Problem

##### 3.1. The Stokes Problem and Its Standard Weak Form

The steady-state problem of a Newtonian, viscous, and incompressible fluid is governed by the Stokes equations: where the symbols , , and represent the Laplacian, gradient, and divergence operators, respectively; is the velocity vector; is the kinematic pressure; is the kinematic viscosity; and is the body force per unit mass. For the sake of simplicity, the Stokes equations are subject to the no-slip boundary condition

Let and represent the weight functions for velocity and pressure , respectively; then based on the Galerkin formulation, the standard weak form of the problem (6) is given as follows: where .

The VMEFG method essentially contains three steps for the simulation of Stokes fluid flow. In the first step, the velocity field is decomposed into coarse scale and fine scale. In the second step, it uses bubble function to determine fine scale solution analytically. In the third step, it substitutes the fine scale solution into coarse scale problem and then obtains the coarse scale solution numerically. In the following, a brief introduction of VMEFG is presented and more details about the VMEFG can refer to [19, 20].

##### 3.2. The Decomposition of the Standard Weak Form

Assume that the velocity and its weight function can be decomposed into coarse scale and fine scale, respectively; namely, where and are the coarse scale and fine scale for velocity and and are the coarse scale and fine scale for weight function , respectively. Meanwhile, we assume there exists a linearity between coarse scale and fine scale [18].

Similar to the literature [20], we further assume that and , although nonzero within background integral cell , vanish identically over the boundaries when the influence factor approaches to 1: Substituting (9) into the standard variational form (8), we get Next, employing the linearity between coarse scale and fine scale , (11) can be split into coarse scale problem and fine scale problem. The coarse scale problem and fine scale problem can be written as follows:

Subsequently, we will solve the fine scale problem (14) first to obtain the fine scale solution and then substitute it into the coarse fine problems (12) and (13), thereby eliminating the explicit appearance of the fine scale while still modeling its effect.

##### 3.3. The Solution of the Fine Scale Problem

In order to obtain fine scale solution analytically from , using the bubble function in each , finally we can obtain the fine scale solution over the as follows: where

Here, is a identity matrix, both and are vectors of gradient of the bubble function, and indicates the dimension of the problem.

##### 3.4. The Solution of the Coarse Scale Problem

Once we have obtained the fine scale solution , substituting it into the coarse fine problem, we get where

Compared with the standard variational form (see (8)), it is important to note that the third term on the left has appeared in (17) and the second term on the left appeared in (18) owing to the assumption that there exists fine scale in the problem, which in fact models the effect of the fine scale.

#### 4. Numerical Examples

##### 4.1. A Circular Cavity

The flow domain considered here is the unit circle as shown in Figure 1. The upper half of the boundary is assumed to move with a unit tangential velocity in the counterclockwise direction, while the lower half is set with no-slip and impervious Dirichlet conditions. This popular benchmark problem is used to demonstrate whether the algorithm is robust, and the numerical results will be compared with the analytical solutions that are given as follows [26, 27]:

For this problem, 905 irregular nodes distribution is employed as shown in Figure 2. Due to the fact that VMEFG method needs background mesh to calculate the integral, for example, (17), the triangle background mesh which is similar to the finite element is used in the paper for computational convenience, and seven Gaussian points are used in each triangular region for domain integral. The results obtained by VMEFG are shown as the - and -velocity contours, as well as streamline in Figures 3, 4, and 5, respectively. It can be seen that the presented results are in excellent agreement with the reported results [26, 27]. To demonstrate further the accuracy of the VMEFG method, Figure 6 shows the comparison of -velocity profile along the vertical line with the analytical solution. It can be noted that the results are very close to the analytical solution.

##### 4.2. A Circular Cavity with Eccentric Rotating Cylinder

The second example considered here is a Stokes flow confined in the two eccentric cylinders. The geometry and boundary conditions of the problem are sketched in Figure 7. The outer cylinder with radius centers on the original, and the inner cylinder with has center lying on (−0.25, 0). No-slip boundary conditions are specified on the fluid-solid interfaces. The parameters and are defined for the circumferential velocities of the outer and inner cylinders, respectively. In this study, the outer cylinders rotate clockwise and the inner cylinder is kept stationary (, ). This problem was also analyzed by a boundary-type meshless method of fundamental solutions (MFS) in [28].

In this study, 2423 nodes are irregularly distributed in the computational geometry as shown in Figure 8. The illustrations on the distributions of - and -velocity contours, as well as streamline, are shown in Figures 9, 10, and 11. It can be seen that these exhibit the symmetric characteristics of the flow variables as expected for the Stokes flow. To give a more quantitative understanding of accuracy, the comparison of computed -velocity along with the results obtained by MFS is shown in Figure 12. It can be noted that the results obtained by VMEFG are in good agreement with the results by Young et al. [28].

#### 5. Conclusion

In the paper, VMEFG method is extended to analyze two-dimensional Stokes flow in an irregular geometry. Results are compared with available analytical and other numerical results. And the results show that VMEFG is accurate and robust, even for complex irregular geometry.

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

#### Acknowledgments

The support from the Natural Sciences Foundation of China (nos. 11102101 and 11171181), the Academic Mainstay Foundation of Hubei Province of China (nos. T201103 and Q20111208), and the Science Foundation of China Three Gorges University (no. KJ2009B058) is fully acknowledged.