Next Article in Journal
Infrared Nanosecond Laser Texturing of Cu-Doped Bioresorbable Calcium Phosphate Glasses
Previous Article in Journal
FF-PCA-LDA: Intelligent Feature Fusion Based PCA-LDA Classification System for Plant Leaf Diseases
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Weighted Moving Square-Based Solver for Unsteady Incompressible Laminar Flow Simulations

1
Department of Naval Architecture and Ocean Engineering, Chosun University, Gwangju 61452, Korea
2
Department of Aerospace Engineering, Inha University, Incheon 22212, Korea
*
Author to whom correspondence should be addressed.
Appl. Sci. 2022, 12(7), 3519; https://doi.org/10.3390/app12073519
Submission received: 25 February 2022 / Revised: 25 March 2022 / Accepted: 28 March 2022 / Published: 30 March 2022

Abstract

:
For computational fluid dynamics simulations, grid systems are generally used in the Eulerian frame for both structured and unstructured grids and solvers designed for the chosen grid systems. In contrast to the grid-based method, in which the connection information with neighboring grids must be maintained, gridless methods do not require an underlying connectivity in the form of control volumes or elements. Hence, gridless methods are feasible and robust for the problems with moving boundary and/or complicated boundary shapes. In this study, a Eulerian gridless solver is proposed, and its application for simulating two-dimensional unsteady viscous flows in low Reynolds number regions is investigated. The solver utilizes the weighted moving square method to obtain the spatial derivatives of the governing equations and solve the pressure Poisson equation iteratively. Simple remedies to satisfy the boundary conditions in the finite difference method are applied. The fractional step method with the second-order Adams–Bashforth method is used for time integration. Some benchmark problems were solved using the developed solver, and the results were compared with those of other experimental and computational methods. Good agreement with the results of other methods confirmed the validity of the proposed solver.

1. Introduction

Recently, computer-aided engineering, such as computational fluid dynamics (CFD), finite element analysis, and multiphysics simulations using computers, has been getting a great deal of attention in various fields, such as the academic, research, and industrial sectors, owing to the rapid advancement of computational techniques. For CFD analysis, grid systems are generally used in the Eulerian frame for both structured and unstructured grids and solvers. Currently, it is common to adopt unstructured grids and solvers that discretize the governing equations using the finite volume method because of the ease of expressing complex objects. The accuracy of the unstructured grids and solvers is relatively lower than that of the structured ones despite its high computational cost. However, the stability and accuracy of CFD simulations using these methods vary depending on the quality of the grid, and it is inefficient to carry out grid-based simulations for flows such as in free surfaces with strong nonlinearity and/or movement of a body, where grids need to be deformed, deleted, or regenerated during the simulation. To enhance its efficiency, various numerical methods such as overset grid method [1], immersed boundary method [2], level set method [3], and so forth have been developed for the grid-based simulations.
In contrast to the grid-based method, in which the connection information with neighboring grids must be maintained, the gridless method, also called the meshless or mesh-free method, requires only the location information and physical quantities of the computational points when approximating the spatial derivatives at the points.
There are lots of gridless methods in the literature. Among them, smoothed particle hydrodynamics (SPH) [4], element-free Galerkin (EFG) method [5], reproducing kernel particle method (RPKM) [6], partition of unity [7], hp-clouds [8], finite point method (FPM) [9], generalized finite difference method (GFDM) [10], meshless local Petrov–Galerkin (MLPG) method [11], radial basis function (RBF) method [12,13], and moving particle simulation (MPS) [14] are the popular ones. These methods have been developed until recently and are being applied in various fields. The primary areas of advancement in meshfree methods are to address issues with essential boundary enforcement, numerical quadrature, and contact and large deformations [15]. The smoothed point interpolation method [16], smoothed finite element method [17] and gradient smoothing method [18] can be applied for CFD problems.
Gridless methods can be classified in several ways. According to the form of the partial differential equations, that is, the corresponding governing equations, the methods based on the weak form of the governing equations, such as EFG, RKPM, and MLPG, are generally stable and accurate but computationally expensive and require global or local meshes in the computational domain. In contrast, SPH, FPM, RBF, and MPS, which adopt strong forms of governing equations, are generally less stable and precise than the weak-form-based methods when Neumann boundary conditions are imposed [19].
Another classification may be based on the adopting frame, that is, the way in which the flow is described. MPS and SPH, which are Lagrangian gridless methods, have been widely used for estimating the impact force in free surface flows with strong nonlinearity and for approximating the motion of a floating body [20,21], especially in the field of naval architecture and ocean engineering. The method introduced by Batina [22] is a Eulerian method that has a higher accuracy for flows near a body than Lagrangian methods because the computational points do not move, and the distance between the fluid and body boundary can easily be controlled.
For fluid flows, one classification may be whether compressibility is to be considered, which depends on the flow of interest and significantly affects the numerical algorithms for CFD. For incompressible flows, the velocity and pressure are strongly coupled, and it is important to quickly and accurately solve the pressure Poisson equation with the source term as the time change of the divergence of the velocity fields. Imposing Neumann boundary conditions for pressure can be one of the causes of unstable simulations, and considering the viscous force near the wall boundary is important. CFD simulations on incompressible unsteady viscous flow adopting the Eulerian frame is of interest in this study. The recent works by EFG, RPKM, hp-clouds, FPM, GFDM, MLPG, and RBF methods applied for these simulations can be found in [23,24,25,26,27,28,29].
In this study, a Eulerian gridless solver using weighted moving least squares (WMLS) is proposed and simple remedies to impose Numeann-type boundary condition efficiently and to enhance the estimation accuracy of the viscous force near a wall boundary are adopted. Benchmark simulations of two-dimensional (2D) unsteady laminar flows were performed, and the results were compared with those of experimental and other computational methods.

2. Numerical Methods

The numerical schemes and solver developed by Jeong et al. [30] were used. The fractional step method was adopted as the simulation algorithm. The spatial differential terms in the governing equations were approximated using the WMLS method, and the second-order Adams–Bashforth method was applied for the time integration. The solution of the Poisson equation for pressure was obtained in an iterative manner based on the WMLS method. The details are explained in the following subsections.

2.1. Governing Equations

For incompressible viscous flows, the governing equations are the continuity and Navier–Stokes equations, namely Equations (1) and (2), respectively.
· u = 0 ,
u t + u · u = 1 ρ p + ν 2 u ,
where u is the velocity vector, t   is   the   time ,   ρ is the density, p is the pressure, and ν is the kinematic viscosity.

2.2. Cloud Composition and Weighting Function

Similar to any other gridless method, it is necessary to construct clouds using neighboring computational points within a specific distance, which is called the radius of influence, kernel radius, effective radius, etc., to form a calculation point of interest. As indicated in Figure 1a, if the points are distributed and the effective radius is r 0 at the calculation point colored red, ten neighboring points become members of the cloud. In Lagrangian gridless methods, a constant r 0 is generally used for all particles. However, it is not appropriate for Eulerian methods because the distances between points are not always the same, and the distances near the wall need to be shorter than in other regions. Moreover, it is desirable for the points in the cloud to be arranged in a state where information in all directions can be captured, as this reduces the adverse effect of information from points locate d far from the point of interest. To address these issues, a method [31] that divides the cloud into quadrants was used together with a weighting function, called the kernel function, as illustrated in Figure 1a. As shown in Figure 1b, after finding the closest point to the calculation point, where the distance is r m i n , the rectangular coordinate p-q is constructed around the calculation point such that it forms an angle of 45° with the line segment between the calculation point and the closest point, and the cloud is divided into four regions. Two points were selected from each quadrant, and consequently, the cloud contained eight surrounding points. The reason for fixing the number of surrounding points to eight is to reduce the computational time and improve the efficiency by making the calculation load at each calculation point as similar as possible when developing parallelization codes in the future. Near the boundary, if two points are not included in each quadrant, the p-q coordinate system is rotated gradually to satisfy this condition. The r 0 value was set as 2.5 r 1 , where the reference distance r 1 is obtained by dividing the distance from the calculation point to the farthest point in the cloud by 2 , that is, r 1   = r m a x / 2 . In the case of an equally spaced distribution, r 1 becomes Δ x   = Δ y .
The weighting function used in this study is as follows:
w r = exp ( 6.3 r 2 r 0 2 ) r r 0 0 ( r > r 0 )
Here, r is the distance from the calculation point i to the surrounding point j .

2.3. Approximated Polynomials and WMLS

The WMLS-based solver developed in this study approximates the distributions of the physical quantities as a quadratic polynomial at calculation point i from those of surrounding points j within the effective radius of calculation point r 0 . The square of the residual between the approximated and actual values is minimized to find the coefficients of the polynomials, where the coefficients are spatial derivatives of the physical quantities.
The approximate value of the physical quantity at a neighboring point j is expressed as Equation (4) using a second-order Taylor series expansion, where q is the physical quantity of a point of interest, for example, calculation point i with coordinates x i and y i .
q j = q i + q x Δ x j + q y Δ y j + 1 2 2 q x 2 Δ x j 2 + 2 q x y Δ x j Δ y j + 1 2 2 q y 2 Δ y j 2 ,
where Δ x j = x j x i ,   and   Δ y j = y j y i . Additionally, the coefficients c 1 ~ c 5 are defined as
c 1 = q x ,   c 2 = q y ,   c 3 = 1 2 2 q x 2 ,   c 4 = 2 q x y ,   c 5 = 1 2 2 q y 2 .
The sum of the squares of the residual between the physical quantity assumed by this approximate polynomial expression and the actual physical quantity is obtained at all surrounding points as shown in Equation (6). Equation (7) is the minimization condition of J. After substituting Equation (4) into Equation (6) and differentiating with respect to c 1 ~ c 5 , Equation (8) is derived.
J = j w j q j q j 2 ,
J c 1 = J c 2 = J c 3 = J c 4 = J c 5 = 0 ,
A C = Δ w j x j Δ q j   w j Δ y Δ q j   w j Δ x j 2 Δ q j   w j Δ x j Δ y j Δ q j   w j Δ y j 2 Δ q j T ,
where   A = w j Δ x j 2 w j Δ x j Δ y j w j Δ x j 3 w j Δ x j 2 Δ y j w j Δ x j Δ y j 2 w j Δ x j Δ y j w j Δ y j 2 w j Δ x j 2 Δ y j w j Δ x j Δ y j 2 w j Δ y j 3 w j Δ x j 3 w j Δ x j 2 Δ y j w j Δ x j 4 w j Δ x j 3 Δ y j w j Δ x j 2 Δ y j 2 w j Δ x j 2 Δ y j w j Δ x j Δ x j 2 w j Δ x j 3 Δ y j w j Δ x j 2 Δ y j 2 w j Δ x j Δ y j 3 w j Δ x j Δ y j 2 w j Δ y j 3 w j Δ x j 2 Δ y j 2 w j Δ x j Δ y j 3 w j Δ x j 4
Δ q j = q x j , y j q x i , y i   and   C = c 1   c 2   c 3   c 4   c 5 T .
In Equation (10), the undefined coefficients C , that is, up to second-order spatial derivatives of the physical quantity, can be found if the inverse of the coefficient matrix A C is obtained. In particular, since each component of the coefficient matrix is expressed only by the distance between the calculation points, whether the weighting function is applied or not, the coefficient matrix and its inverse always maintain a constant value even during unsteady simulations if the distribution of the calculation points does not change. Therefore, as long as the computer memory permits, if the inverse of the coefficient matrix is obtained using conventional methods such as LU or QR decomposition in advance as preprocessing for unsteady simulations, the calculation time can be significantly reduced.

2.4. Poisson Equation

Solving the Poisson equation for the pressure is important for incompressible flows. In this study, a successive over-relaxation method in WMLS is developed and applied. The second-order differential coefficient of pressure is divided into a pressure term of a calculation point and that of the surrounding points, and the pressure is sequentially adjusted using the relaxation factor.
At each arbitrarily arranged calculation point, the convergence calculation of the pressure Poisson equation at time n , as shown in Equation (11), is performed, and the pressure field at this time is obtained. The right-side term is the time change of divergence of the fields of intermediate velocity u ¯ , which is calculated using Equation (12) from the velocity field around calculation point i .
2 p n + 1 = · u ¯ Δ t
u ¯ u n Δ t = u n · u n + ν 2 u n
Here, the pressure of the surrounding point j is assumed as follows:
p j = p i + p x Δ x j + p y Δ y j + 1 2 2 p x 2 Δ x j 2 + 2 p x y Δ x j Δ y j + 1 2 2 p y 2 Δ y j 2 .
The coefficients d 1 ~ d 5 are defined as
d 1 = p x ,   d 2 = p y ,   d 3 = 1 2 2 p x 2 ,   d 4 = 2 p x y ,   d 5 = 1 2 2 p y 2 .
An expression similar to Equation (8) is derived based on the condition that the sum of the squares multiplied by the weight of the residual between the assumed pressure and the actual pressure is minimized. Splitting the terms by calculation and surrounding points, it becomes Equation (15).
A D = w j Δ x j Δ p j w j Δ y Δ p j w j Δ x j 2 Δ p j w j Δ x j Δ y j Δ p j w j Δ y j 2 Δ p j w j Δ x j w j Δ y j w j Δ x j 2 w j Δ x j Δ y j w j Δ y j 2 p i ,
where   D = d 1   d 2   d 3   d 4   d 5 T .
Equation (15) can be expressed as follows by rearranging d 3 and d 5 , which correspond to the second-order spatial derivatives of the pressure used in the solution of the Poisson equation.
d 3 = 1 2 2 p x 2 = f 3 g 3 p i ,   d 5 = 1 2 2 p y 2 = f 5 g 5 p i .
Here, the coefficients f and g can be expressed as in Equation (18). By substituting these expressions into Equation (12) and rearranging for p i , Equation (19) is derived, and this p i is updated by the relaxation method, as indicated in Equation (20).
This updated value is used for the surrounding point when the same calculation is performed at a subsequent calculation point. The update is performed in the same way for all calculation points, and the residual of the pressure ε is obtained from Equation (21).
f 1   f 2   f 3   f 4   f 5 T = A T w j Δ x j Δ p j w j Δ y Δ p j w j Δ x j 2 Δ p j w j Δ x j Δ y j Δ p j w j Δ y j 2 Δ p j ,   g 1   g 2   g 3   g 4   g 5 T = A T w j Δ x j w j Δ y j w j Δ x j 2 w j Δ x j Δ y j w j Δ y j 2 ,
p i = 2 f 3 + f 5 · u ¯ / Δ t i n 2 g 3 + g 5 ,
p i n e w = 1 ω p i o l d + ω p i ,
ε = i p i p i o l d 2 / i 1 .
If this residual is less than or equal to the reference value, the updated pressure field is regarded as a convergence solution to the Poisson equation. However, if it exceeds the reference value, the time step is not advanced, and the pressure of the entire calculation point is updated again. For this condition, p i o l d in Equations (20) and (21) is not the value in the previous time step but that of p i n e w previously updated within the same time step. Thus, the convergence solution of the Poisson equation is obtained by performing iterations within the same time step.

2.5. Boundary Treatments

If a Dirichlet condition for velocity or reference pressure is imposed on any boundary in the computational domain, special treatment is not required. The velocity and pressure boundary conditions on the outer boundaries of the domain are as follows:
u n = 0 ,     p n = 0 .  
Here, n is the unit normal vector at the point on the boundary.
For a no-slip wall boundary, the boundary conditions for the velocity and pressure are given by Equation (23):
n u = 0   ,   τ u = 0 ,   n p = n ν 2 u
where τ is the unit tangential vector at a point on the boundary.
A simple but efficient remedy for the Neumann-type boundary conditions in Equations (22) and (23) involves placing two computational points along the orthogonal line to the boundary points, as shown in Figure 2. First- and second-order one-sided differencing schemes of the finite difference method are utilized for velocity and pressure, respectively. This helps to enhance the estimation accuracy of the viscous force and avoid complex treatment for constructing a cloud near the boundaries. Moreover, it will make it easy to adopt a wall function for turbulence modeling in future studies.

3. Numerical Simulations

To validate the developed solver, some typical 2D unsteady simulations of internal and external flows were performed. For the former, lid-driven cavity flows were chosen, whereas flows around a single cylinder and two circular cylinders in tandem arrangement were analyzed for the latter. The nondimensional coefficients related to the present study for all cases are the Re and Strouhal number (St) for the external flows.
R e = U L ν = U D ν ,     S t = f D U ,
where U , L , and D are the representative speed, length, and diameter, respectively, whereas f is the frequency of vortex shedding.
The pressure, drag, and lift coefficients used for the analysis of external flows are defined by Equations (25)–(27).
C P = p p r e f 1 / 2 ρ D U 2
C D = F D 1 / 2 ρ D U 2 ,   F D = S b o d y p I + τ v i s · n · e x d s ,
C L = F L 1 / 2 ρ D U 2 ,   F L = S b o d y p I + τ v i s · n · e y d s ,
where I is an identity matrix, τ v i s is the viscous stress tensor, and e x and e y are the unit vectors in the x and y directions, respectively.
If vortex shedding occurs, the values during the last 20 periods within the simulation times are averaged, and the mean values are presented for St, C D , and C L .

3.1. Internal Flows

The lid-driven cavity problem was analyzed using the proposed method. In this problem, the fluid is contained in a square cavity consisting of three rigid walls with no-slip conditions and the lid moves with a tangential velocity on the top boundary. The kinematic viscosity was adjusted for different Re values.
Prior to the main simulations, the effect of the distribution of the calculation points was checked. Four distributions, in which the number of points in each direction was 51, were chosen for the simulation of the cavity flows when Re = 100, as displayed in Figure 3. From Figure 4, it can be observed that the velocity distributions along the central planes in the horizontal and vertical directions are similar, but the even distribution concentrated near the wall boundary shown in Figure 3c was closer to those of the experiment [32].
Simulations were performed for cases with Re = 100, 400, and 1000 and 81, 101, and 151 calculation points were uniformly distributed in the horizontal ( x ) and vertical ( y ) directions, respectively. Contour maps of the velocity component in the x direction u are depicted in Figure 5, where typical cavity flow patterns can be observed. Figure 6 shows a comparison of the velocity distributions along the central planes in the horizontal and vertical directions with the experimental results. It can be seen that there is good agreement between the two.
To show the efficiency of present method, a simple comparison for the computational time was done. Since the computing speed varies greatly depending on various things, numerical simulations of cavity flow when Re = 100 was performed by three different solvers, that is, an in-house code, icoFoam of OpenFOAM v2106, and the present one, applying only the very basic items. The CPU and operating system of the computing machine were Xeon E5-1660v3 3.0 GHz and Windows 10 pro, respectively. The in-house and present codes were compiled and linked by intel oneAPI 2021 without any optimization option in compiler level. The icoFoam was run under the environment of Ubuntu 20.04 in Window Subsystem for Linux 2. Total number of computational grids were 6400 for the grid-based solvers and that of computational points was 6651 for the present method. Time increment was 0.001 s and total simulation time was 10s. The average of elapsed time for 10 times of executions were compared in Table 1. It can be seen that present method, which responds to the distribution of unstructured computation points, shows a computational speed similar to that of the structured solver and about 30% faster than the unstructured solver, icoFoam.

3.2. External Flows

Cylindrical structural bodies are common in nature and widely used for engineering purposes. Therefore, many studies on the fundamentals of flow around a single circular cylinder have been conducted because the existence of the cylinder results in complicated flows, vortex shedding, and changes in the hydrodynamic forces acting on it, which are significantly affected by Re. Cylindrical structures can be found not only singly but also in groups such as fuel rods in nuclear reactors and risers of offshore plants. It can be expected that the flows are more complex in these cases owing to the interactions among them. The arrangement of two circular cylinders, which is the simplest case of a group or multiple structures, can be classified as tandem, side-by-side, or staggered ones. Previous studies have found that the flow patterns are dependent on the Re and ratio of the distance between the centers of the two cylinders with respect to the diameter (D) of the cylinder. It has been reported that the flow characteristics and hydrodynamic forces change suddenly at a critical spacing ratio, as summarized in [33].
In this section, the simulation results for flows around a circular cylinder under two Re values and two circular cylinders in tandem arrangement under a fixed Re value with various distances between cylinders are presented. The reason for selecting the tandem arrangement for the two cylinders is that the flows are more complicated, and a sudden drag jump is expected.

3.2.1. Single Circular Cylinder

The diameter (D) of the cylinder was 1 m, and the rectangular computational domain was set to −10D to 30D and −10D to 10D in the x and y directions, respectively. As for the arrangement of the calculation points, 401 and 201 points of equal intervals in the x and y directions were placed. For convenience, these points are hereinafter referred to as background points. Then, 101 points in the circumferential direction and 21 points concentrated around the cylinder surface in the radial direction were added. Simply put, the distributions are the same as the combination of H- and O-type structured grid systems for the entire computational domain and near the cylindrical body, respectively. Finally, the background points inside the body and those that are extremely close to the points that are not included in the background points were flagged and inactivated during the cloud construction and simulations. This method of distributing points weakens the regularity, but the authors want to show that this irregularity does not cause problems during the simulations using the proposed method. At this stage, the points in one or two layers near the boundaries were matched with the boundary points, as explained in Section 2.5. The flagging technique was used because it is effective in dealing with problems involving single or multiple moving bodies. The cloud construction near the body was not changed, and operations were performed only for the flag-changed points and those within their effective radius. Figure 7 shows the distribution of the computational points near a body (a) with and (b) without inactive points.
As boundary conditions for velocity, 1.0 and 0.0 m/s of velocity components u and v were applied to the inflow boundary, and a first-order Neumann condition was employed to other open boundaries. The reference pressure was zero for the top and bottom boundaries, and the Neumann condition was applied for the rest. A no-slip condition was imposed on the cylinder surface for the velocity. For the pressure boundary condition on the surface, Equation (23) was implemented. The Re value was set to 40, where vortices attached to the cylinder were observed, and 100, where periodic vortex shedding occurred. The time interval was chosen such that the Courant number is 0.5. The total simulation time was 400 s.
Figure 8 shows the contour maps of the velocity, pressure, and vorticity magnitude in the x and y directions when Re = 40 at t = 400 s. Symmetric flow patterns against the y centerline of the cylinder were well reconstructed. The velocity vector fields and streamlines around the cylinder are depicted in Figure 9. A pair of attached symmetric vortices is observed, and the attachment length of the vortex is approximately 2.3, which is in the range reported by other studies [34,35].
Figure 10 presents a comparison of the pressure coefficients C P on the cylinder surface with the results of the methods in [36], where good agreement can be observed. The time series of the coefficients of the hydrodynamic forces (drag and lift) are shown in Figure 11. The coefficients converge after 50 s and the viscous forces are smaller than the pressure forces, but their magnitudes are not negligible. The drag coefficients are similar to those of the experimental and other numerical simulation results, as summarized in Table 2.
When the Reynolds number was 100, vortices were shed alternately from one side to the other, and alternating low-pressure zones were generated on the downwind side of the cylinder, giving rise to a fluctuating drag force. These widely known phenomena are clearly displayed in Figure 12 and Figure 13, where the vorticity magnitude and pressure with streamlines are illustrated, respectively. Periodic changes in the drag and lift forces caused by vortex shedding are also observed in Figure 14.
The calculated drag and lift coefficients as well as the Strouhal number (St) are summarized and compared with the results of other methods (Table 3). It is evident that the accuracy of the proposed method is similar to those of the other methods.

3.2.2. Two Cylinders

Numerical simulations of the flow around two cylinders in tandem arrangement were performed by varying the spacing ratio s from 2 to 6 at Re = 100. Discontinuous changes in the Strouhal number and hydrodynamic forces are expected when s is approximately 4 and 5 [40,41].
The simulation conditions were the same as those of the single cylinder, except for the number of cylinders. The distributions of the computational points near a body (a) with and (b) without inactive points at s = 2 are exhibited in Figure 15. It can be observed that the irregularity of the distribution increases in the region between the two cylinders. The total simulation time was 1000 s when the spacing s was 4, but only 400 s for the other cases.
Figure 16 and Figure 17 show the contour maps of the velocity magnitude and pressure with streamlines, respectively, for different spacing ratios s. When s = 2, the wake of the upstream cylinder reattaches to the downstream cylinder, forming a negative pressure that results in negative drag, as indicated in Figure 18. The flows between the cylinders are symmetric against their centerlines, and long vortices are shed. This explains the small St only for the downstream cylinder in Figure 19, because the free shear layer from the upstream cylinder completely covers the downstream cylinder. When s = 4, vortex shedding starts to occur in both the downstream and upstream cylinders. The attachment of the shear layer to the downstream cylinder is marked by an increase in the pressure coefficient at the reattachment point on the downstream cylinder surface, which causes a sudden increase in the drag coefficients of both cylinders [33,40]. When s = 6, the primary vortices from the upstream cylinder do not directly reattach to the downstream cylinder, but the stretched and weakened vortices reach the downstream cylinder, which causes a decrease in the drag force acting on the downstream cylinder [40]. The drag coefficients of both cylinders and the Strouhal numbers estimated using the proposed method are compared with the results of other methods in Figure 18 and Figure 19, respectively. A discontinuous change in the values is observed near the critical spacing ratio, but the overall result is in good agreement with those of the other numerical methods.

4. Conclusions

A fast and efficient Eulerian gridless solver was proposed to solve unsteady incompressible Navier–Stokes equations using the WMLS method and simple remedies for imposing boundary conditions were adopted. To validate the developed solver, some typical 2D unsteady simulations of internal and external flows were performed. For the former, lid-driven cavity flows were chosen and analyzed for three different Reynolds numbers (Re): 100, 400, and 1000. For the latter, the simulation results of the flows around a circular cylinder at Re values of 40 and 100 and two circular cylinders in tandem arrangement with various distances between the cylinders at Re = 100 were investigated. Comparisons with other previously published methods provide evidence of the accuracy of the proposed method. It is expected that this method can be applied to simulations involving complex geometries and/or body motions in the near future. Although it seems that extension to complex 3D problems is straightforward, prior investigations are necessary for the 3D cloud construction, computational stability, and rapid computation such as parallelization.

Author Contributions

Conceptualization, S.-M.J. and C.-Y.L.; methodology, S.-M.J.; validation, S.-M.J. and C.-Y.L.; formal analysis, S.-M.J.; investigation, S.-M.J. and C.-Y.L.; resources, C.-Y.L.; writing—original draft preparation, S.-M.J.; writing—review and editing, S.-M.J. and C.-Y.L.; visualization, S.-M.J. and C.-Y.L.; supervision, S.-M.J. and C.-Y.L.; funding acquisition, S.-M.J. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by research fund from Chosun University (K207177006-1).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Ha, M.; Cheong, C.; Seol, H.; Paik, B.G.; Kim, M.J.; Jung, Y.R. Development of efficient and accurate parallel computation algorithm using moving overset grids on background multi-domains for complex two-phase flows. Appl. Sci. 2018, 8, 1937. [Google Scholar] [CrossRef] [Green Version]
  2. Mizuno, Y.; Takahashi, S.; Fukuda, K.; Obayashi, S. Direct numerical simulation of gas–particle flows with particle–wall collisions using the immersed boundary method. Appl. Sci. 2018, 8, 2387. [Google Scholar] [CrossRef] [Green Version]
  3. Wang, Z.; Yang, J.; Koo, B.; Stern, F. A coupled level set and volume-of-fluid method for sharp interface simulation of plunging breaking waves. Int. J. Multiph. Flow 2009, 35, 227–246. [Google Scholar] [CrossRef]
  4. Monaghan, J.J. An Introduction to SPH. Comput. Phys. Commun. 1988, 48, 89–96. [Google Scholar] [CrossRef]
  5. Belystchko, T.; Liu, Y.Y.; Gu, L. Element-free Galerkin methods. Int. J. Numer. Methods Eng. 1994, 37, 229–256. [Google Scholar] [CrossRef]
  6. Liu, W.K.; Jun, S.; Zhang, Y.F. Reproducing kernel particle methods. Int. J. Numer. Methods Fluids 1995, 20, 1081–1106. [Google Scholar] [CrossRef]
  7. Babuška, I.; Melenk, J.M. The partition of unity method. Int. J. Numer. Methods Eng. 1997, 40, 727–758. [Google Scholar] [CrossRef]
  8. Duarte, C.A.M.; Tworzydlo, W. hp-Meshless cloud method. J. Appl. Comput. Mech. 1996, 139, 263–288. [Google Scholar]
  9. Oñate, E.; Idelsohn, S.; Zienkiewicz, O.C.; Taylor, R.L.; Sacco, C. A stabilized finite point method for analysis of fluid mechanics problems. Comput. Methods Appl. Eng. 1996, 139, 315–346. [Google Scholar] [CrossRef]
  10. Liszka, T. An interpolation method for an irregular net of nodes. Int. J. Numer. Methods Eng. 1984, 20, 1599–1612. [Google Scholar] [CrossRef]
  11. Atluri, S.N.; Zhu, T. A new meshless local Petrov-Galerkin (MLPG) approach in computational mechanics. Comput. Mech. 1998, 22, 117–127. [Google Scholar] [CrossRef]
  12. Kansa, E.J. Multiquadrics—A scattered data approximation scheme with applications to computational fluid-dynamics—I surface approximations and partial derivative estimates. Comput. Math. Appl. 1990, 19, 127–145. [Google Scholar] [CrossRef] [Green Version]
  13. Kansa, E.J. Multiquadrics—A scattered data approximation scheme with applications to computational fluid-dynamics—II solutions to parabolic, hyperbolic and elliptic partial differential equations. Comput. Math. Appl. 1990, 19, 147–161. [Google Scholar] [CrossRef] [Green Version]
  14. Koshizuka, S.; Oka, Y. Moving-particle semi-implicit method for fragmentation of incompressible fluid. Nucl. Sci. Eng. 1996, 123, 421–434. [Google Scholar] [CrossRef]
  15. Chen, J.S.; Hillman, M.; Chi, S.W. Meshfree methods: Progress made after 20 years. J. Eng. Mech. 2017, 143, 04017001. [Google Scholar] [CrossRef] [Green Version]
  16. Liu, G.R. Meshfree Methods: Moving beyond the Finite Element Method; CRC Press: Boca Raton, FL, USA, 2009. [Google Scholar]
  17. Liu, G.R.; Trung, N. Smoothed Finite Element Methods; CRC Press: Boca Raton, FL, USA, 2016. [Google Scholar]
  18. Liu, G.R.; Xu, G.X. A gradient smoothing method (GSM) for fluid dynamics problems. Int. J. Numer. Methods Fluids 2008, 58, 1101–1133. [Google Scholar] [CrossRef]
  19. Reséndiz-Flores, E.O.; Saucedo-Zendejo, F.R. Numerical simulation of coupled fluid flow and heat transfer with phase change using the Finite Pointset Method. Int. J. Therm. Sci. 2018, 133, 13–21. [Google Scholar] [CrossRef]
  20. Jeong, S.M.; Hwang, S.C.; Park, J.C. Numerical simulation of impact loads caused by sloshing in a rectangular tank using Eulerian and Lagrangian approaches. Int. J. Offshore Polar Eng. 2014, 24, 174–180. [Google Scholar]
  21. Jeong, S.M.; Park, J.I.; Park, J.C. Numerical simulation of 2-D solitary wave run-up over various slopes using a particle-based method. Water 2019, 11, 462. [Google Scholar] [CrossRef] [Green Version]
  22. Batina, T. A Gridless Euler/Navier-Stokes Solution Algorithm for Complex Aircraft Applications. In Proceedings of the 31st Aerospace Sciences Meeting, Reno, NV, USA, 11 January 1993. [Google Scholar]
  23. Dehghan, M.; Abbaszadeh, M. Proper orthogonal decomposition variational multiscale element free Galerkin (POD-VMEFG) meshless method for solving incompressible Navier–Stokes equation. Comput. Methods Appl. Mech. Eng. 2016, 311, 856–888. [Google Scholar] [CrossRef]
  24. Sataprahm, C.; Luadsong, A. The meshless local Petrov-Galerkin method for simulating unsteady incompressible fluid flow. J. Egypt. Math. Soc. 2014, 22, 501–510. [Google Scholar] [CrossRef] [Green Version]
  25. Balmus, M.; Hoffman, J.; Massing, A.; Nordsletten, D.A. A stabilized multidomain partition of unity approach to solving incompressible viscous flow. Comput. Methods Appl. Mech. Eng. 2022, 392, 114656. [Google Scholar] [CrossRef]
  26. Oñate, E.; Sacco, C.; Idelsohn, S. A finite point method for incompressible flow problems. Comput. Vis. Sci. 2000, 3, 67–75. [Google Scholar] [CrossRef]
  27. Suchde, P.; Kuhnert, J.; Tiwari, S. On meshfree GFDM solvers for the incompressible Navier–Stokes equations. Comput. Fluids 2018, 165, 1–12. [Google Scholar] [CrossRef] [Green Version]
  28. Najafi, M.; Arefmanesh, A.; Enjilela, V. Meshless local Petrov–Galerkin method-higher Reynolds numbers fluid flow applications. Eng. Anal. Bound. Elem. 2012, 36, 1671–1685. [Google Scholar] [CrossRef]
  29. Sanyasiraju, Y.V.S.S.; Chandhini, G. Local radial basis function based gridfree scheme for unsteady incompressible viscous flows. J. Comput. Phys. 2008, 227, 8922–8948. [Google Scholar] [CrossRef]
  30. Jeong, S.M.; Park, J.C.; Heo, J.K. Numerical study on two-dimensional incompressible viscous flow based on gridless method. J. Comput. Fluids Eng. 2009, 14, 93–100. (In Korean) [Google Scholar]
  31. Mendez, B.; Velazquez, A. Finite point solver for the simulation of 2-D laminar incompressible unsteady flows. Comput. Methods Appl. Mech. Eng. 2004, 193, 825–848. [Google Scholar] [CrossRef]
  32. Ghia, U.K.N.G.; Ghia, K.N.; Shin, C.T. High Resolutions for Incompressible Flow using the Navier-Stokes Equations and a Multigrid Method. J. Comput. Phys. 1982, 48, 387–411. [Google Scholar] [CrossRef]
  33. Vu, H.C.; Ahn, J.; Hwang, J.H. Numerical simulation of flow past two circular cylinders in tandem and side-by-side arrangement at low Reynolds numbers. KSCE J. Civ. Eng. 2016, 20, 1594–1604. [Google Scholar] [CrossRef]
  34. Dennis, S.C.R.; Chang, G.Z. Numerical solutions for steady flow past a circular cylinder at Reynolds numbers up to 100. J. Fluid Mech. 1970, 42, 471–489. [Google Scholar] [CrossRef]
  35. Henderson, R.D. Details of the drag curve near the onset of vortex shedding. Phys. Fluids 1995, 7, 2102–2104. [Google Scholar] [CrossRef] [Green Version]
  36. Park, J.; Kwon, K.; Choi, H. Numerical solutions of flow past a circular cylinder at Reynolds numbers up to 160. KSME Int. J. 1998, 12, 1200–1205. [Google Scholar] [CrossRef]
  37. Taira, K.; Colonius, T. The immersed boundary method: A projection approach. J. Comput. Phys. 2009, 225, 2118–2137. [Google Scholar] [CrossRef]
  38. Shahane, S.; Radhakrishnan, A.; Vanka, S.P. A high-order accurate meshless method for solution of incompressible fluid flow problems. J. Comput. Phys. 2021, 445, 110623. [Google Scholar] [CrossRef]
  39. Ryu, S.; Lee, S.B.; Lee, B.H.; Park, J.C. Estimation of hydrodynamic coefficients for flow around cylinders in side-by-side arrangement with variation in separation gap. Ocean Eng. 2009, 36, 672–680. [Google Scholar] [CrossRef]
  40. Sharman, B.; Lien, F.S.; Davidson, L.; Norberg, C. Numerical predictions of low Reynolds number flows over two tandem circular cylinders. Int. J. Numer. Methods Fluids 2005, 47, 423–447. [Google Scholar] [CrossRef]
  41. Ishimatsu, T.; Morishita, E.; Okunuki, T.; Koyama, H. Numerical Analysis of Aerodynamic Interference between Two Circular Cylinders Using the Overset Grid Method. Trans. Jpn. Soc. Aeronaut. Space Sci. 2008, 51, 139–145. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Schematic view of (a) a cloud with weighting function and (b) ways to construct the cloud.
Figure 1. Schematic view of (a) a cloud with weighting function and (b) ways to construct the cloud.
Applsci 12 03519 g001
Figure 2. Boundary points (green) and their corresponding points (blue) for imposing boundary conditions in the case of (a) outer and (b) wall boundaries.
Figure 2. Boundary points (green) and their corresponding points (blue) for imposing boundary conditions in the case of (a) outer and (b) wall boundaries.
Applsci 12 03519 g002
Figure 3. Distributions of calculation points: (a) uniform, (b) uniform with randomization, (c) variable, and (d) variable with randomization (Re = 100; 51 × 51 points).
Figure 3. Distributions of calculation points: (a) uniform, (b) uniform with randomization, (c) variable, and (d) variable with randomization (Re = 100; 51 × 51 points).
Applsci 12 03519 g003
Figure 4. Comparison of velocity profiles (a) u and (b) v along the vertical and horizontal center planes for different point distributions (Re = 100).
Figure 4. Comparison of velocity profiles (a) u and (b) v along the vertical and horizontal center planes for different point distributions (Re = 100).
Applsci 12 03519 g004
Figure 5. Contour maps of u for Re values of (a) 100, (b) 400, and (c) 1000.
Figure 5. Contour maps of u for Re values of (a) 100, (b) 400, and (c) 1000.
Applsci 12 03519 g005
Figure 6. Comparison of velocity profiles (a) u and (b) v along the vertical and horizontal center planes for different Reynolds numbers.
Figure 6. Comparison of velocity profiles (a) u and (b) v along the vertical and horizontal center planes for different Reynolds numbers.
Applsci 12 03519 g006
Figure 7. Distribution of the computational points near a body (a) with and (b) without inactive points (flag values of −1, 0, and 1 indicate inactive, fluid, and boundary points, respectively).
Figure 7. Distribution of the computational points near a body (a) with and (b) without inactive points (flag values of −1, 0, and 1 indicate inactive, fluid, and boundary points, respectively).
Applsci 12 03519 g007
Figure 8. Contour maps of (a) u, (b) v, (c) p, and (d) vorticity magnitude around a circular cylinder (Re = 100, t = 400 s).
Figure 8. Contour maps of (a) u, (b) v, (c) p, and (d) vorticity magnitude around a circular cylinder (Re = 100, t = 400 s).
Applsci 12 03519 g008
Figure 9. (a) Velocity vector fields and (b) streamlines around a circular cylinder (Re = 100, t = 400 s).
Figure 9. (a) Velocity vector fields and (b) streamlines around a circular cylinder (Re = 100, t = 400 s).
Applsci 12 03519 g009
Figure 10. Comparison of pressure coefficients on the cylinder surface (Re = 40).
Figure 10. Comparison of pressure coefficients on the cylinder surface (Re = 40).
Applsci 12 03519 g010
Figure 11. Time history of lift and drag coefficients (Re = 40).
Figure 11. Time history of lift and drag coefficients (Re = 40).
Applsci 12 03519 g011
Figure 12. Contour maps of vorticity magnitude during approximately one cycle of vortex shedding (Re = 100).
Figure 12. Contour maps of vorticity magnitude during approximately one cycle of vortex shedding (Re = 100).
Applsci 12 03519 g012
Figure 13. Contour maps of pressure and streamlines around a circular cylinder during approximately one cycle of vortex shedding (Re = 100).
Figure 13. Contour maps of pressure and streamlines around a circular cylinder during approximately one cycle of vortex shedding (Re = 100).
Applsci 12 03519 g013
Figure 14. Lift and drag coefficients for the (a) entire and (b) partial simulation times (Re = 100).
Figure 14. Lift and drag coefficients for the (a) entire and (b) partial simulation times (Re = 100).
Applsci 12 03519 g014
Figure 15. Distribution of computational points near a body (a) with and (b) without inactive points at a spacing ratio of 2.
Figure 15. Distribution of computational points near a body (a) with and (b) without inactive points at a spacing ratio of 2.
Applsci 12 03519 g015
Figure 16. Contour maps of vorticity magnitude around two circular cylinders with spacing ratios of (a) 2, (b) 4, and (c) 6 at t = 400 s (Re = 100).
Figure 16. Contour maps of vorticity magnitude around two circular cylinders with spacing ratios of (a) 2, (b) 4, and (c) 6 at t = 400 s (Re = 100).
Applsci 12 03519 g016
Figure 17. Contour maps of pressure and streamlines around two circular cylinders with spacing ratios of (a) 2, (b) 4, and (c) 6 at t = 400 s (Re = 100).
Figure 17. Contour maps of pressure and streamlines around two circular cylinders with spacing ratios of (a) 2, (b) 4, and (c) 6 at t = 400 s (Re = 100).
Applsci 12 03519 g017
Figure 18. Comparison of drag coefficients for two circular cylinders in tandem arrangement (Re = 100).
Figure 18. Comparison of drag coefficients for two circular cylinders in tandem arrangement (Re = 100).
Applsci 12 03519 g018
Figure 19. Comparison of Strouhal numbers for two circular cylinders in tandem arrangement (Re = 100).
Figure 19. Comparison of Strouhal numbers for two circular cylinders in tandem arrangement (Re = 100).
Applsci 12 03519 g019
Table 1. Comparison of computational time (Cavity flow, Re = 100).
Table 1. Comparison of computational time (Cavity flow, Re = 100).
In-House CodeicoFoamProposed
Discretization
Grids
Variable Arrangement
Algorithm
FVM
Structured
Staggered
HSMAC
FVM
Unstructured
Collocated
PISO
WMLS
N/A
Collocated
Fractional Step
Elapsed time (1 core)49.5563.8749.98
Table 2. Comparison of drag coefficients (Re = 40).
Table 2. Comparison of drag coefficients (Re = 40).
MethodCDCDpCDf
Henderson [35]1.5441.0150.529
Taira and Colonius [37]1.54
Proposed1.5371.0310.506
Table 3. Comparison of drag and lift coefficients and Strouhal number (Re = 100).
Table 3. Comparison of drag and lift coefficients and Strouhal number (Re = 100).
MethodCDCLSt
Liu et al. [38]1.350.3390.165
Park et al. [39]1.330.3320.165
Kang [39]1.330.3200.165
Ryu et al. [39]1.330.3120.164
Shahane et al. [38]1.350.3330.166
Proposed1.3470.3300.164
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Jeong, S.-M.; Lee, C.-Y. Weighted Moving Square-Based Solver for Unsteady Incompressible Laminar Flow Simulations. Appl. Sci. 2022, 12, 3519. https://doi.org/10.3390/app12073519

AMA Style

Jeong S-M, Lee C-Y. Weighted Moving Square-Based Solver for Unsteady Incompressible Laminar Flow Simulations. Applied Sciences. 2022; 12(7):3519. https://doi.org/10.3390/app12073519

Chicago/Turabian Style

Jeong, Se-Min, and Chang-Yull Lee. 2022. "Weighted Moving Square-Based Solver for Unsteady Incompressible Laminar Flow Simulations" Applied Sciences 12, no. 7: 3519. https://doi.org/10.3390/app12073519

APA Style

Jeong, S. -M., & Lee, C. -Y. (2022). Weighted Moving Square-Based Solver for Unsteady Incompressible Laminar Flow Simulations. Applied Sciences, 12(7), 3519. https://doi.org/10.3390/app12073519

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop