This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Numerical Computation of High Reynolds Number Cavity Flow Using SPH Method with Stream Function and Vorticity Formulation

Yusuke Imoto
Institute for the Advanced Study of Human Biology
Kyoto University
Kyoto, Japan
[email protected]
Abstract

When numerically computing high Reynolds number cavity flow, it is known that by formulating the Navier-Stokes equations using the stream function and vorticity as unknown functions, it is possible to reproduce finer flow structures. Although numerical computations applying methods such as the finite difference method are well known, to the best of our knowledge, there are no examples of applying particle-based methods like the SPH method to this problem. Therefore, we applied the SPH method to the Navier-Stokes equations, formulated with the stream function and vorticity as unknown functions, and conducted numerical computations of high Reynolds number cavity flow. The results confirmed the reproduction of small vortices and demonstrated the effectiveness of the scheme using the stream function and vorticity.

1 Introduction

When numerically computing high Reynolds number cavity flow, it is known that by formulating the Navier-Stokes equations using the stream function and vorticity as unknown functions, finer flow structures can be reproduced, as has been shown in cases where methods such as the finite difference method are applied; for example, Ghia et al. [1] conducted numerical experiments on cavity flow with Reynolds numbers below 10,000 using a high-order finite difference method and confirmed the reproduction of small vortices. Erturk et al. [2] performed numerical experiments on cavity flow with Reynolds numbers up to 21,000 using a different high-order finite difference formulation and observed similar results. However, to the best of our knowledge, there are no reports of applying particle-based methods such as the Smoothed Particle Hydrodynamics (SPH) method [3, 4, 5] to this problem. The objective of this study is to apply the scheme using the stream function and vorticity to the SPH method and to confirm the reproduction of small vortices in high Reynolds number cavity flows.

On the other hand, there are some examples where the SPH method has been applied to numerical computations of cavity flow using formulations with velocity and pressure as the unknown functions. For example, Xu et al.[6] used an improved SPH method, which explicitly mitigates the non-uniformity of particle distribution through shifting, to numerically compute 2D cavity flow with Reynolds numbers below 1,000, showing that the velocity and pressure distributions agree with the numerical results of Ghia et al. [1] and Erturk et al. [2]. However, we have confirmed that applying Xu’s method to 2D cavity flow with Reynolds numbers above 1,000 does not reproduce the small vortices that occur near the boundaries.

Therefore, we applied the SPH method to the Navier-Stokes equations formulated with the stream function and vorticity, conducted numerical experiments on 2D cavity flow with Reynolds numbers above 1,000, and attempted to reproduce the small vortices. In this study, the Navier-Stokes equations formulated using the stream function and vorticity are discretized by forward difference in the time direction and by approximate differential operators using the SPH method in the spatial direction. For the vorticity at the boundaries, a certain discretization method derived from Taylor expansion was used.

This paper is structured as follows. Section 2 describes the formulation for incompressible flow using the stream function and vorticity, the discretization by the SPH method, and the handling of boundary data. Section 3 confirms the reproducibility of small vortices by comparing numerical experiments of cavity flow using the SPH method and high-order finite difference methods.

2 Methods

In this chapter, we describe the formulation of the Navier-Stokes equations using the stream function and vorticity, the discretization using the SPH method, and the boundary treatment method.

2.1 Formulation using stream function and vorticity

Let Ω2\Omega\subset\mathbb{R}^{2} be a domain with a smooth boundary, and Γ\Gamma its boundary. Additionally, when the time interval is set as I:=(0,T)I:=(0,T), the problem of incompressible flow is described by the following dimensionless Navier-Stokes equations, with the velocity 𝒖=(u,v)T\bm{u}=(u,v)^{\textrm{T}} and pressure pp as unknown functions:

{D𝒖Dt(𝒙,t)=p(𝒙,t)+1ReΔ𝒖(𝒙,t)+𝒇(𝒙,t),(𝒙,t)Ω×I,𝒖(𝒙,t)=0(𝒙,t)Ω×I,𝒖(𝒙,0)=𝒖0(𝒙)𝒙Ω,𝒖(𝒙,t)=𝒖D(𝒙,t)(𝒙,t)Γ×I.\displaystyle\left\{\begin{array}[]{@{}l@{}l@{~}l@{~}l@{~}l}\displaystyle\frac{D\bm{u}}{Dt}(\bm{x},t)=-\nabla p(\bm{x},t)+\frac{1}{Re}\Delta\bm{u}(\bm{x},t)+\bm{f}(\bm{x},t),&(\bm{x},t)\in\Omega\times I,\vspace{1ex}\hfil~{}\\ \displaystyle\nabla\cdot\bm{u}(\bm{x},t)=0&(\bm{x},t)\in\Omega\times I,\vspace{1ex}\hfil~{}\\ \displaystyle\bm{u}(\bm{x},0)=\bm{u}_{0}(\bm{x})&\bm{x}\in\Omega,\vspace{1ex}\hfil~{}\\ \displaystyle\bm{u}(\bm{x},t)=\bm{u}_{D}(\bm{x},t)&(\bm{x},t)\in\Gamma\times I.\hfil~{}\end{array}\right. (5)

Here, 𝒇\bm{f}, 𝒖0\bm{u}_{0}, 𝒖D\bm{u}_{D}, and ReRe represent external force, initial velocity, boundary velocity, and Reynolds number, respectively. Additionally, D/DtD/Dt denotes the material derivative.

Next, let the stream function ϕ:Ω×I\phi:\Omega\times I\rightarrow\mathbb{R}, the vorticity ω:Ω×I\omega:\Omega\times I\rightarrow\mathbb{R}, and ξ\xi be defined as follows:

ϕ\displaystyle\nabla\phi =(v,u)T,\displaystyle=(-v,u)^{\textrm{T}},\quad
ω\displaystyle\omega =×𝒖,\displaystyle=\nabla\times\bm{u},
ξ\displaystyle\xi =×𝒇\displaystyle=\nabla\times\bm{f}

Here, TT denotes the transpose of a vector. From the first equation of motion and the continuity equation in (5), the following equations can be derived:

DωDt\displaystyle\frac{D\omega}{Dt} =1ReΔω+ξ,\displaystyle=\frac{1}{Re}\Delta\omega+\xi, (6)
Δϕ\displaystyle\Delta\phi =ω.\displaystyle=-\omega. (7)

2.2 SPH scheme using stream function and vorticity

The SPH method is a technique that defines approximate differential operators by finite particles distributed within a domain, for partial differential equations. Let the particles at time tnIt^{n}\in I be 𝒙jn=(xjn,yjn)Ω\bm{x}_{j}^{n}=(x_{j}^{n},y_{j}^{n})\in\Omega with j=1,2,Nj=1,2,\dots N. The approximate operators for the gradient and Laplacian of a function ψ:Ω×I\psi:\Omega\times I\rightarrow\mathbb{R} are defined as follows:

ψin\displaystyle\langle\nabla\psi^{n}_{i}\rangle :=jimjρj{ψjnψin}wh(|𝒓ijn|)(ψ(𝒙in,tn)),\displaystyle:=\sum_{j\neq i}\frac{m_{j}}{\rho_{j}}\left\{\psi_{j}^{n}-\psi_{i}^{n}\right\}\nabla w_{h}(|\bm{r}_{ij}^{n}|)~{}\left(\approx\nabla\psi(\bm{x}_{i}^{n},t^{n})\right), (8)
Δψin\displaystyle\langle\Delta\psi^{n}_{i}\rangle :=2jimjρjψinψjn|𝒓ijn|𝒓ijn|𝒓ijn|wh(|𝒓ijn|)(Δψ(𝒙in,tn)).\displaystyle:=2\sum_{j\neq i}\frac{m_{j}}{\rho_{j}}\frac{\psi_{i}^{n}-\psi_{j}^{n}}{|\bm{r}_{ij}^{n}|}\frac{\bm{r}_{ij}^{n}}{|\bm{r}_{ij}^{n}|}\cdot\nabla w_{h}(|\bm{r}_{ij}^{n}|)~{}\left(\approx\Delta\psi(\bm{x}_{i}^{n},t^{n})\right). (9)

Here, 𝒓ijn=𝒙in𝒙jn\bm{r}_{ij}^{n}=\bm{x}_{i}^{n}-\bm{x}_{j}^{n}, and ψin:=ψ(𝒙in,tn)\psi_{i}^{n}:=\psi(\bm{x}_{i}^{n},t^{n}). Additionally, mim_{i} and ρi\rho_{i} are the mass and density of the particle 𝒙in\bm{x}_{i}^{n}. Also, whw_{h} is called the smoothing function, which satisfies wh(r)>0w_{h}(r)>0 for 0<r<h0<r<h, wh(r)=0w_{h}(r)=0 for rhr\geq h (compact support), and

dwh(|𝒙|)𝑑𝒙=1\displaystyle\int_{\mathbb{R}^{d}}w_{h}(|\bm{x}|)d\bm{x}=1

(the unity condition) as a continuous function.

Using these approximate differential operators, we discretize (6) and (7). For the time evolution equation of vorticity (6), we apply a forward difference in the time direction and the SPH method’s approximate differential operator (9) in the spatial direction as follows:

ωin+1ωinΔtn=1ReΔωin+ξin.\displaystyle\frac{\omega^{n+1}_{i}-\omega^{n}_{i}}{\Delta t^{n}}=\frac{1}{Re}\langle\Delta\omega^{n}_{i}\rangle+\xi^{n}_{i}. (10)

Here, Δtn=tn+1tn\Delta t^{n}=t^{n+1}-t^{n} is the time step. Using this ωin+1\omega^{n+1}_{i}, the stream function’s Poisson equation;

Δϕin+1=ωin+1\displaystyle\langle\Delta\phi^{n+1}_{i}\rangle=\omega_{i}^{n+1} (11)

is solved to obtain the stream function at time tn+1t^{n+1}. Using this stream function and (8), the particle positions at time tn+1t^{n+1} are updated as follows:

𝒙in+1𝒙inΔtn=(0110)ϕin+1.\displaystyle\frac{\bm{x}_{i}^{n+1}-\bm{x}_{i}^{n}}{\Delta t^{n}}=\begin{pmatrix}0&1\\ -1&0\end{pmatrix}\langle\nabla\phi^{n+1}_{i}\rangle.

In (10) and (11), initial conditions for the vorticity, as well as boundary conditions for the vorticity and stream function, are required. The initial condition for vorticity is given by ω(𝒙,0)=×𝒖0\omega(\bm{x},0)=\nabla\times\bm{u}_{0}, based on the initial velocity condition. Additionally, the stream function’s boundary condition is set as a constant because the contour lines of the stream function represent streamlines, and particles on the boundary remain on the boundary. On the other hand, the boundary condition for vorticity cannot be obtained from (5) and requires special treatment. Therefore, the next section describes the handling of boundary data for vorticity.

2.3 Handling of boundary

Generally, boundary data for vorticity is approximated using the boundary condition of the stream function corresponding to the velocity boundary condition in (5), i.e., ϕ=(vD,uD)T(𝒖D=(uD,vD)T)\nabla\phi=(-v_{D},u_{D})^{\textrm{T}}~{}(\bm{u}_{D}=(u_{D},v_{D})^{\textrm{T}}). For example, Ghia et al.[1] approximated the vorticity on the boundary using high-order differences for the grid points 𝑿i,j\bm{X}_{i,j} on y=1y=1 in the square domain {𝒙=(x,y);0<x<1,0<y<1}\{\bm{x}=(x,y);0<x<1,0<y<1\} as follows:

ω(𝑿i,j,tn)3uD(𝑿i,j,tn)ΔX+5ϕ(𝑿i,j,tn)8ϕ(𝑿i,j1,tn)+ϕ(𝑿i,j2,tn)2ΔX2.\displaystyle\omega(\bm{X}_{i,j},t^{n})\approx-3\frac{u_{D}(\bm{X}_{i,j},t^{n})}{\Delta X}+\frac{5\phi\left(\bm{X}_{i,j},t^{n}\right)-8\phi\left(\bm{X}_{i,j-1},t^{n}\right)+\phi\left(\bm{X}_{i,j-2},t^{n}\right)}{2\Delta X^{2}}.

Here, ΔX\Delta X is the grid spacing. However, in the SPH method, since particles move over time, such boundary treatments cannot be applied.

Therefore, we approximate the vorticity for particles on the boundary using the following procedure. First, perform a Taylor expansion of the function ψ\psi up to the fourth order:

ψ(𝒙)=\displaystyle\psi(\bm{x})= ψ(𝒙i)+(𝒙𝒙i)ψ(𝒙i)\displaystyle\psi(\bm{x}_{i})+(\bm{x}-\bm{x}_{i})\cdot\nabla\psi(\bm{x}_{i})
+12!{(𝒙𝒙i)}2ψ(𝒙i)\displaystyle+\frac{1}{2!}\left\{(\bm{x}-\bm{x}_{i})\cdot\nabla\right\}^{2}\psi(\bm{x}_{i})
+13!{(𝒙𝒙i)}3ψ(𝒙i)+O((𝒙𝒙i)4).\displaystyle+\frac{1}{3!}\left\{(\bm{x}-\bm{x}_{i})\cdot\nabla\right\}^{3}\psi(\bm{x}_{i})+O\left((\bm{x}-\bm{x}_{i})^{4}\right).

By multiplying both sides of this equation by |𝒙i𝒙|2wh(|𝒙i𝒙|)|\bm{x}_{i}-\bm{x}|^{-2}w_{h}(|\bm{x}_{i}-\bm{x}|) and integrating over 2\mathbb{R}^{2}, we obtain:

2{(𝒙i𝒙)}2ψ(𝒙i)|𝒙i𝒙|2wh(|𝒙i𝒙|)𝑑𝒙\displaystyle\int_{\mathbb{R}^{2}}\frac{\{(\bm{x}_{i}-\bm{x})\cdot\nabla\}^{2}\psi(\bm{x}_{i})}{|\bm{x}_{i}-\bm{x}|^{2}}w_{h}(|\bm{x}_{i}-\bm{x}|)d\bm{x} =22ψ(𝒙)ψ(𝒙i)|𝒙i𝒙|2wh(|𝒙i𝒙|)𝑑𝒙\displaystyle=-2\int_{\mathbb{R}^{2}}\frac{\psi(\bm{x})-\psi(\bm{x}_{i})}{|\bm{x}_{i}-\bm{x}|^{2}}w_{h}(|\bm{x}_{i}-\bm{x}|)d\bm{x}
+22(𝒙i𝒙)ψ(𝒙i)|𝒙i𝒙|2wh(|𝒙i𝒙|)𝑑𝒙\displaystyle\quad+2\int_{\mathbb{R}^{2}}\frac{(\bm{x}_{i}-\bm{x})\cdot\nabla\psi(\bm{x}_{i})}{|\bm{x}_{i}-\bm{x}|^{2}}w_{h}(|\bm{x}_{i}-\bm{x}|)d\bm{x}
+23!2{(𝒙i𝒙)}3ψ(𝒙i)|𝒙i𝒙|2wh(|𝒙i𝒙|)𝑑𝒙\displaystyle\quad+\frac{2}{3!}\int_{\mathbb{R}^{2}}\frac{\{(\bm{x}_{i}-\bm{x})\cdot\nabla\}^{3}\psi(\bm{x}_{i})}{|\bm{x}_{i}-\bm{x}|^{2}}w_{h}(|\bm{x}_{i}-\bm{x}|)d\bm{x}
+O(h2).\displaystyle\quad+O\left(h^{2}\right). (12)

Here,

2(xix)(yiy)|𝒙i𝒙|22xyψ(𝒙i)wh(|𝒙i𝒙|)𝑑𝒙=0,\displaystyle\displaystyle\int_{\mathbb{R}^{2}}\frac{(x_{i}-x)(y_{i}-y)}{|\bm{x}_{i}-\bm{x}|^{2}}\frac{\partial^{2}}{\partial x\partial y}\psi(\bm{x}_{i})w_{h}(|\bm{x}_{i}-\bm{x}|)d\bm{x}=0,
2(xix)2|𝒙i𝒙|2wh(|𝒙i𝒙|)𝑑𝒙=2(yiy)2|𝒙i𝒙|2wh(|𝒙i𝒙|)𝑑𝒙.\displaystyle\displaystyle\int_{\mathbb{R}^{2}}\frac{(x_{i}-x)^{2}}{|\bm{x}_{i}-\bm{x}|^{2}}w_{h}(|\bm{x}_{i}-\bm{x}|)d\bm{x}=\displaystyle\int_{\mathbb{R}^{2}}\frac{(y_{i}-y)^{2}}{|\bm{x}_{i}-\bm{x}|^{2}}w_{h}(|\bm{x}_{i}-\bm{x}|)d\bm{x}.

From this, the left-hand side of (12) becomes:

2{(𝒙i𝒙)}2ψ(𝒙i)|𝒙i𝒙|2wh(|𝒙i𝒙|)𝑑𝒙=12Δψ(𝒙i)2wh(|𝒙i𝒙|)𝑑𝒙.\displaystyle\int_{\mathbb{R}^{2}}\frac{\{(\bm{x}_{i}-\bm{x})\cdot\nabla\}^{2}\psi(\bm{x}_{i})}{|\bm{x}_{i}-\bm{x}|^{2}}w_{h}(|\bm{x}_{i}-\bm{x}|)d\bm{x}=\frac{1}{2}\Delta\psi(\bm{x}_{i})\int_{\mathbb{R}^{2}}w_{h}(|\bm{x}_{i}-\bm{x}|)d\bm{x}.

Moreover, the third term on the right-hand side of (12) becomes zero since the integrand is an odd function with respect to 𝒙i\bm{x}_{i}. Therefore, by discretizing the integrals in (12), we obtain the following approximation for the Laplacian:

Δψ(𝒙i)4αjiψ(𝒙i)ψ(𝒙j)+𝒓ijψ(𝒙i)|𝒓ij|2wh(|𝒓ij|).\displaystyle\Delta\psi(\bm{x}_{i})\approx\frac{4}{\alpha}\sum_{j\neq i}\frac{\psi(\bm{x}_{i})-\psi(\bm{x}_{j})+\bm{r}_{ij}\cdot\nabla\psi(\bm{x}_{i})}{|\bm{r}_{ij}|^{2}}w_{h}(|\bm{r}_{ij}|).

Here, α=jiwh(|𝒓ij|)\alpha=\sum_{j\neq i}w_{h}(|\bm{r}_{ij}|). Assuming that the second equation in (7) holds on the boundary, for particles on the boundary 𝒙knΓ\bm{x}_{k}^{n}\in\Gamma at time tnt^{n}, we have:

ω(𝒙kn,tn)=\displaystyle\omega(\bm{x}_{k}^{n},t^{n})= Δϕ(𝒙kn,tn)\displaystyle-\Delta\phi(\bm{x}_{k}^{n},t^{n})
\displaystyle\approx 4αjiϕ(𝒙jn,tn)ϕ(𝒙kn,tn)|𝒓ijn|2wh(|𝒓ijn|)\displaystyle\frac{4}{\alpha}\sum_{j\neq i}\frac{\phi(\bm{x}_{j}^{n},t^{n})-\phi(\bm{x}_{k}^{n},t^{n})}{|\bm{r}_{ij}^{n}|^{2}}w_{h}(|\bm{r}_{ij}^{n}|)
+4αji(xinxjn)vD(𝒙kn,tn)|𝒓ijn|2wh(|𝒓ijn|)\displaystyle+\frac{4}{\alpha}\sum_{j\neq i}\frac{(x_{i}^{n}-x_{j}^{n})v_{D}(\bm{x}_{k}^{n},t^{n})}{|\bm{r}_{ij}^{n}|^{2}}w_{h}(|\bm{r}_{ij}^{n}|)
4αji(yinyjn)uD(𝒙kn,tn)|𝒓ijn|2wh(|𝒓ijn|).\displaystyle-\frac{4}{\alpha}\sum_{j\neq i}\frac{(y_{i}^{n}-y_{j}^{n})u_{D}(\bm{x}_{k}^{n},t^{n})}{|\bm{r}_{ij}^{n}|^{2}}w_{h}(|\bm{r}_{ij}^{n}|).

Using this approximation, the vorticity on the boundary is approximately assigned.

3 Numerical experiments on high Reynolds number cavity flow

3.1 Cavity flow

Cavity flow is a flow problem within a rectangular domain, where the boundary condition on the ceiling surface is fixed with a constant velocity along the boundary, while the velocity on all other surfaces is zero. In the case of a cubic cavity flow, the Reynolds number is given by Re=ULν1Re=UL\nu^{-1}, where LL is the length of one side of the cube, UU is the magnitude of the velocity on the boundary with fixed velocity, and ν\nu is the kinematic viscosity of the fluid. Since cavity flow has sufficient length in the depth direction, it can be treated as a two-dimensional problem.

Next, we formulate the two-dimensional cavity flow. Let the domain be Ω=(0,L)×(0,L)\Omega=(0,L)\times(0,L) and the time interval be I=(0,T)I=(0,T). Further, let Γ\Gamma be the boundary of Ω\Omega, and define ΓTop\Gamma_{\rm Top} and ΓWall\Gamma_{\rm Wall} as:

ΓTop:=Γ{(x,y);y=L},ΓWall:=ΓΓTop.\displaystyle\Gamma_{\rm Top}:=\Gamma\cap\{(x,y)~{};~{}y=L\},~{}\Gamma_{\rm Wall}:=\Gamma\setminus\Gamma_{\rm Top}.

Then, 𝒖0\bm{u}_{0} and 𝒖D\bm{u}_{D} are given as follows:

𝒖0(𝒙)\displaystyle\bm{u}_{0}(\bm{x}) =𝟎,𝒙Ω,\displaystyle=\bm{0},\quad\bm{x}\in\Omega,
𝒖D(𝒙)\displaystyle\bm{u}_{D}(\bm{x}) ={(U,0)T,(𝒙,t)ΓTop×I,𝟎,(𝒙,t)ΓWall×I.\displaystyle=\begin{cases}(U,0)^{\textrm{T}},\quad&(\bm{x},t)\in\Gamma_{\rm Top}\times I,\\ \bm{0},\quad&(\bm{x},t)\in\Gamma_{\rm Wall}\times I.\end{cases}

Since no external force is considered, we set ξ=0\xi=0.

3.2 Numerical results

Following Ghia et al. [1], we set L=1L=1, U=1U=1, and the value of the stream function on the boundary to be 0. The computation conditions for the SPH method are as follows. The particles at the initial time are arranged in a grid configuration with a spacing of 10210^{-2} (the number of particles is 1012101^{2}). T he smoothing length hh is fixed at 2.1 times the grid spacing, and the smoothing function used is the cubic spline:

wh(r)=β{16r2+6r3,0r<h2,2(1r)3,h2r<h,0,rh.\displaystyle w_{h}(r)=\beta\begin{cases}\displaystyle 1-6r^{2}+6r^{3},\quad&\displaystyle 0\leq r<\frac{h}{2},\\ \displaystyle 2(1-r)^{3},\quad&\displaystyle\frac{h}{2}\leq r<h,\\ \displaystyle 0,\quad&\displaystyle r\geq h.\end{cases}

Here, β\beta is a coefficient that satisfies the unity condition. The time step is set to Δtn=2.0×103(n=1,,M)\Delta t^{n}=2.0\times 10^{-3}~{}(n=1,\dots,M).

Using these calculation conditions, we conducted numerical experiments applying the SPH method to the formulation using stream function and vorticity (SV scheme) and the formulation using velocity and pressure (VP scheme). The VP scheme uses Xu et al.’s improved SPH method [6], and SV scheme uses the SPH method described in the previous section. In both methods, particle distribution correction using shifting, as employed in Xu et al.’s improved SPH method, is applied at each step (the shifting coefficient is empirically set to 0.1). Numerical experiments were conducted for Reynolds numbers Re=100,1,000,10,000Re=100,~{}1,000,~{}10,000, and the calculations continued until the internal state reached a steady or periodic state.

Fig. 1 show the contour plots of the stream function and vorticity obtained from the numerical calculations of cavity flow at Re=100Re=100, in the following order: SV scheme, VP scheme, and Ghia et al.’s high-order finite difference method. Tables 1 and 2 present the contour values used in these plots (the same values are used for the contour plots in Fig. 2 and subsequent ones). For Re=100Re=100, it can be said that both SV scheme and VP scheme yield the same trends in the stream function and vorticity as those obtained by Ghia et al. However, from Fig. 1a and b, it is clear that secondary vortices at the bottom corners are well reproduced in the SV scheme, whereas they are hardly reproduced in the VP scheme.

Table 1: Contour values of the stream function
Contour number value of ϕ\phi Contour number value of ϕ\phi
aa 1.0×1010-1.0\times 10^{-10} 0 1.0×1081.0\times 10^{-8}
bb 1.0×107-1.0\times 10^{-7} 11 1.0×1071.0\times 10^{-7}
cc 1.0×105-1.0\times 10^{-5} 22 1.0×1061.0\times 10^{-6}
dd 1.0×104-1.0\times 10^{-4} 33 1.0×1051.0\times 10^{-5}
ee 0.0100-0.0100 44 5.0×1055.0\times 10^{-5}
ff 0.0300-0.0300 55 1.0×1041.0\times 10^{-4}
gg 0.0500-0.0500 66 2.5×1042.5\times 10^{-4}
hh 0.0700-0.0700 77 5.0×1045.0\times 10^{-4}
ii 0.0900-0.0900 88 1.0×1031.0\times 10^{-3}
jj 0.1000-0.1000 99 1.5×1031.5\times 10^{-3}
kk 0.1100-0.1100 1010 3.0×1033.0\times 10^{-3}
ll 0.1150-0.1150
mm 0.1175-0.1175
Table 2: Contour values of vorticity
Contour number value of ω\omega
0 0.00.0
±1\pm 1 ±0.5\pm 0.5
±2\pm 2 ±1.0\pm 1.0
±3\pm 3 ±2.0\pm 2.0
±4\pm 4 ±3.0\pm 3.0
55 4.04.0
66 5.05.0
Refer to caption
Figure 1: Cavity flow with Re=100Re=100. Contour plots of stream function (a–c) and vorticity (d–f) by SV scheme (a, d), VP scheme (b, e), finite difference scheme by Ghia et al. (c, f).

Similarly, Fig. 2 presents the contour plots of the stream function and vorticity obtained from the numerical experiments for Re=1,000Re=1,000, and Fig. 3 show the results for Re=10,000Re=10,000, in the order of SV scheme, VP scheme, and Ghia et al.’s high-order finite difference method. From Ghia et al.’s numerical results, it can be observed that at Re=1,000Re=1,000 (Fig. 2c), secondary vortices form in the corners of the bottom surface, and at Re=10,000Re=10,000 (Fig. 3c), secondary and tertiary vortices form in the corners of the bottom surface, and secondary vortices form near one of the corners of the ceiling. This reproduction can also be confirmed in SV scheme (Fig. 2a, Fig. 3a). On the other hand, in VP scheme Fig. 2b, Fig. 3b), the small vortices are hardly reproduced. Additionally, the contour values of vorticity in SV scheme (Fig. 2e, Fig. 3e) and Ghia et al.’s high-order finite difference method (Fig. 2f, Fig. 3f) are generally consistent.

Refer to caption
Figure 2: Cavity flow with Re=1,000Re=1{,}000. Contour plots of stream function (a–c) and vorticity (d–f) by SV scheme (a, d), VP scheme (b, e), finite difference scheme by Ghia et al. (c, f).
Refer to caption
Figure 3: Cavity flow with Re=10,000Re=10{,}000 Contour plots of stream function (a–c) and vorticity (d–f) by SV scheme (a, d), VP scheme (b, e), finite difference scheme by Ghia et al. (c, f).

However, in the numerical experiment results of SV scheme for Re=10,000Re=10,000 (Fig. 3a, d), discrepancies with Ghia et al.’s numerical results (Fig. 3 c, f) can be seen near the center of the domain. This discrepancy is due to the fact that the velocity magnitude near the center of the domain is relatively underestimated, indicating insufficient analysis accuracy. However, since Ghia and Erturk et al. increased the grid spacing by a factor of two for the high-order finite difference method at Re=10,000Re=10,000, it is considered that the insufficient number of particles is the cause in the case of the SPH method.

4 Conclusion

In this study, we applied the SPH method to the formulation of the Navier-Stokes equations using stream function and vorticity as unknown functions and conducted numerical experiments on cavity flow with Reynolds numbers of 100, 1,000, and 10,000. The following results were obtained:

  1. (i)

    The numerical results of the SPH scheme with stream function and vorticity (SV scheme) reproduce the small vortices seen in the high-order finite difference method, in contrast to the results obtained from the formulation using velocity and pressure.

  2. (ii)

    In cavity flow with Reynolds numbers of 10,000 or higher, the analysis accuracy becomes insufficient with a particle count of approximately 10,000.

Since the stream function cannot be defined in three-dimensional problems, it is difficult to extend these results to three-dimensional problems. Therefore, future challenges include conducting numerical experiments for higher Reynolds number problems and developing alternative formulations that can handle high Reynolds number problems in three dimensions.

References

  • [1] UKNG Ghia, Kirti N Ghia, and CT Shin. High-Re solutions for incompressible flow using the Navier-Stokes equations and a multigrid method. Journal of computational physics, 48(3):387–411, 1982.
  • [2] Ercan Erturk, Thomas C Corke, and Cihan Gökçöl. Numerical solutions of 2-d steady incompressible driven cavity flow at high Reynolds numbers. International Journal for Numerical Methods in Fluids, 48(7):747–774, 2005.
  • [3] Leon B Lucy. A numerical approach to the testing of the fission hypothesis. The astronomical journal, 82:1013–1024, 1977.
  • [4] Robert A Gingold and Joseph J Monaghan. Smoothed particle hydrodynamics-theory and application to non-spherical stars. Monthly notices of the royal astronomical society, 181:375–389, 1977.
  • [5] Gui-Rong Liu and MB Liu. Smoothed particle hydrodynamics: a meshfree particle method. World Scientific, 2003.
  • [6] Rui Xu, Peter Stansby, and Dominique Laurence. Accuracy and stability in incompressible SPH (ISPH) based on the projection method and a new approach. Journal of Computational Physics, 228(18):6703–6725, 2009.