Next Article in Journal
Science—Policy Engagement to Achieve “Water for Society—Including All”
Next Article in Special Issue
Deep Learning Method Based on Physics Informed Neural Network with Resnet Block for Solving Fluid Flow Problems
Previous Article in Journal
Mechanisms of Flood-Induced Levee Breaching in Marumori Town during the 2019 Hagibis Typhoon
Previous Article in Special Issue
Improved δ-SPH Scheme with Automatic and Adaptive Numerical Dissipation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

SPH-ALE Scheme for Weakly Compressible Viscous Flow with a Posteriori Stabilization

Group of Numerical Methods in Engineering, Universidade da Coruña, Campus de Elviña, 15071 A Coruña, Spain
*
Author to whom correspondence should be addressed.
Water 2021, 13(3), 245; https://doi.org/10.3390/w13030245
Submission received: 11 December 2020 / Revised: 11 January 2021 / Accepted: 14 January 2021 / Published: 20 January 2021
(This article belongs to the Special Issue Computational Fluid Mechanics and Hydraulics)

Abstract

:
A highly accurate SPH method with a new stabilization paradigm has been introduced by the authors in a recent paper aimed to solve Euler equations for ideal gases. We present here the extension of the method to viscous incompressible flow. Incompressibility is tackled assuming a weakly compressible approach. The method adopts the SPH-ALE framework and improves accuracy by taking high-order variable reconstruction of the Riemann states at the midpoints between interacting particles. The moving least squares technique is used to estimate the derivatives required for the Taylor approximations for convective fluxes, and also provides the derivatives needed to discretize the viscous flux terms. Stability is preserved by implementing the a posteriori Multi-dimensional Optimal Order Detection (MOOD) method procedure thus avoiding the utilization of any slope/flux limiter or artificial viscosity. The capabilities of the method are illustrated by solving one- and two-dimensional Riemann problems and benchmark cases. The proposed methodology shows improvements in accuracy in the Riemann problems and does not require any parameter calibration. In addition, the method is extended to the solution of viscous flow and results are validated with the analytical Taylor–Green, Couette and Poiseuille flows, and lid-driven cavity test cases.

1. Introduction

Smoothed Particle Hydrodynamics (SPH) is a widely used mesh-free method for Computational Fluid Dynamics. The method was originally developed to simulate problems in astrophysics, but it is currently applied to many engineering fields [1,2,3]. In recent years, SPH has gained many improvements in accuracy and efficiency increasing the attention of the scientific community. However, regardless of all the unquestionable advances, SPH has not attained a complete state of maturity yet, and it faces several challenges that require to be addressed by the scientific community [4].
Similar to the Finite Volume Method [5,6], in SPH there are two main approaches to model liquids. One is based on the incompressibility assumption of the Navier–Stokes equations. This assumption leads to the decoupling of the equations and the continuity equation can be considered as a constraint the velocity field has to satisfy. The methods are based on the solution of a Poisson equation for the pressure field, using the pressure-correction idea from grid-based methods [7,8,9]. This approach is known as Incompressible SPH (ISPH). The second approach, introduced by Monaghan [10] is based on Weakly Compressible hypotheses (WCSPH). In this approach, the incompressibility is approximated by artificially allowing a slight flow compressibility. One advantage of this approach is that it avoids the need for solving a Poisson equation to compute the pressure field. The computation of pressure only requires the use of an equation of state (EOS). As the density of most liquids is nearly constant, a barotropic approximation is reasonable, and a linear EOS depending only on density is often used [11]. Both approaches has advantages and drawbacks. Thus, one advantage of weakly-compressible methods, is that these schemes are more suited for free-surface flows as the boundary condition along the free surface is implicitly satisfied, and do not require an explicit detection of the free surface during the flow evolution. ISPH schemes are more difficult to parallelize because of the need for solving an algebraic system with a sparse matrix. However, the weakly-compressible approach requires small time steps (as it is constrained by the speed of sound), whereas ISPH allows for larger time steps. On the other hand, in weakly compressible approach, oscillations in density and pressure typically appear in the solution. In order to alleviate these oscillations, several authors have proposed two different procedures. The first one was introduced by Colagrossi et al. [12], proposing a filtering of the density field. It reduces the numerical noise by restoring the consistency between mass, density and volume. The second procedure is more recent, and was introduced by Marrone et al. [13]. They developed the δ -SPH scheme, in which a density diffusive term is added to smooth the spurious density oscillations.
Some of the properties that need to be improved in SPH methods are convergence, consistency and stability. In this framework, the use of Riemann solvers is a promising option to increase the stability of the numerical methods. In particular, in this work we use the SPH-ALE method [14,15]. In this scheme, Riemann solvers are used instead of artificial dissipation to stabilize the method. The Riemann problem is solved between two neighboring particles on the direction of the line connecting them. Left and right Riemann states are defined using the values of the variables on each of the neighboring particles, and Taylor series expansions of the variables at integration points are used to improve the accuracy of the SPH scheme.
Differently from conventional SPH methods, which are purely Lagrangian schemes, the SPH-ALE is built using an Arbitrary Lagrangian–Eulerian (ALE) framework. In this method, introduced by Vila and Ben Moussa [14,15], it is possible to configure the scheme to work in both Lagrangian and Eulerian versions. This flexibility is a great advantage of the SPH-ALE method.
A well-known fact about high-order reconstructions is that they produce the so-called Gibbs phenomenon, that is, spurious numerical oscillations around sharp flow gradients or discontinuities. In order to mitigate this phenomenon and stabilize the numerical method, different procedures exist. If the stabilization procedure is performed at time t n to prevent the occurrence at time t n + 1 , the approach is labeled as a priori. Among the a priori approaches we can name limiting or stabilizing procedures used in SPH such as artificial viscosity [16,17], MUSCL with slope limiter [18], or ENO/WENO [19,20]. These methods are applied to locally increase the numerical diffusion for eliminating the nonphysical oscillations. Moreover, under the SPH-ALE framework in [11] is proposed a γ -SPH-ALE scheme that smooths spurious oscillations without the complexity induced by the resolution of Riemann problems and the use of slope limiters. The other possibility is to apply the stabilization procedure once the troubled particles are identified. This is performed by computing the solution at time t n + 1 and then identifying the particles where the computations have failed. This is called the a posteriori approach. This methodology was introduced in [21] and applied to the SPH-ALE method in [22] for the resolution of the Euler equations.
The main objective of this work is to develop a mesh-less method able to solve slightly compressible fluids, circumventing some of the drawbacks of current weakly compressible formulations or incompressible SPH. In particular, our methodology does not require any special initialization of the particles, such as the particle packing algorithm [12] in the δ -SPH method, and the oscillations in density and pressure that are typical of weakly-compressible schemes are largely reduced in our scheme. Instead of adding an explicit diffusive term to the density equation, as in the δ -SPH scheme, the dissipation required for stabilization is introduced by the Riemann solvers. Moreover, as the proposed method is an ALE method, it is an alternative to the recently developed Eulerian ISPH [9]. We note that the results obtained in the selected test cases using the proposed methodology are comparable to the current standards in CFD. Thus, the proposed methodology is a competitive alternative to current state-of-art SPH methods for incompressible flows. In this work, we extend the method proposed in [22] to weakly compressible viscous flows. The usual approach to extend the SPH-ALE methodology to viscous flows is to consider the SPH-ALE discretization of the Euler equations supplemented with an additional term that accounts for the viscous effects [23,24,25]. Here, we propose a different approach based on the use of Moving Least Squares approximations (MLS). This approach does not increase the computational complexity of the scheme since the viscous terms are computed using the same reconstruction already calculated for the convective terms.

2. Governing Equations

Navier–Stokes equations are derived by imposing the physical principles of conservation of mass, momentum, and energy to a Newtonian fluid system. Adopting an ALE approach the system of equations can be expressed in a differential conservative form by
L w f r a m e ( U ) + · 𝓕 w f r a m e U · 𝓕 v = S T
where w f r a m e stands for the velocity of the Lagrangian frame and U is the vector of conservative variables. The operator L w f r a m e is called the transport operator linked to w f r a m e . Its application over U is designated by L w f r a m e ( U ) and results in L w f r a m e ( U ) = t U + · ( w f r a m e U ) . We denote with 𝓕 the non-viscous flux tensor (convective and pressure terms), 𝓕 v represents the viscous tensor and vector S T contains the source terms.
For two-dimensional cases, the vectors and tensors previously introduced are given by
U = ρ ρ u ρ v ρ E , 𝓕 x = ρ u ρ u 2 + p ρ u v ρ H u , 𝓕 y = ρ v ρ u v ρ v 2 + p ρ H v
𝓕 x v = 0 τ x x τ y x τ x x u + τ x y v q x , 𝓕 y v = 0 τ x y τ y y τ x y u + τ y y v q y ,
S T = 0 ρ f x ρ f y ρ f x u + ρ f y v + q h ˙
where the fluxes 𝓕 x and 𝓕 y are the rows of the flux tensor 𝓕 , namely, 𝓕 = ( 𝓕 x , 𝓕 y ) T . Similarly, the viscous tensor is 𝓕 v = ( 𝓕 x v , 𝓕 y v ) T .
The fluid velocity vector and its components in x and y directions are denoted by u = ( u , v ) T . Density and pressure are designed by ρ and p. We use E for the specific total energy defined as the sum of the internal energy ( e ) and the kinetic energy according to E = e + 1 2 ( u 2 + v 2 ) . Moreover, the total enthalpy is defined as H = E + p / ρ .
For the diffusive terms, τ i j denotes the viscous tensor component and q i the thermal conduction flux component. For an incompressible Newtonian fluid, τ i j can be expressed as τ i j = μ ( u i x j + u j x i ) being μ the dynamic fluid viscosity. Similarly, the thermal flux could be expressed in terms of temperature gradients and thermal conductivity according to q i = λ ( T x i ) . Finally, in the source term vector ( S T ), f x and f y represent external force components per unit mass, whereas q h ˙ is a volumetric heat source.
In order to model a weakly-compressible flow, we consider two different equations of state (EOS): Tait and Tammann EOS.
Tait EOS models a barotropic fluid, and the pressure only depends on the density, that is, p = p ( ρ ) . Tammann EOS is more general and relates pressure with both the density and the internal energy, that is, p = p ( ρ , e ) . Tait EOS keeps the energy equation decoupled from the momentum equation and can lead to computational cost savings when energy effects on the flow are negligible. However, when shock waves are present in the flow, the Tammann EOS is a more convenient choice. Table 1 shows the expressions to evaluate pressure and acoustic sound speed for any of the EOS adopted in this work. Caloric equations are also provided although its inclusion is optional for a barotropic fluid. The last row in the table presents the whole set of constants values required to properly set each EOS. These values are fixed case by case in the validation section. Zero subindex in Tait equation means the constant is associated to the reference state of the fluid.

3. SPH-ALE Formulation

The computational domain Ω is discretized by a set of N particles at positions r i = ( x i , y i ) T . Index i is used to label particles and ranges from 1 to N. Each particle has an effective volume V i . Besides the volume, particles have other properties that we refer with a generic variable ϕ i . Moreover, each particle i has n i neighboring particles inside its compact support domain D i as schematically represented in Figure 1.
The SPH-ALE formulation was introduced by Vila and Ben Moussa [14,15] to increase the accuracy and stability of SPH methods in nonlinear systems of conservation laws. Vila and Ben Moussa applied this formulation to the Euler equations and presented a system of equations in semidiscrete form that has many similarities with the finite volume formalism. Since then, several developments were made by incorporating consolidated techniques used in mesh based methods like approximate and partial Riemann solvers, MUSCL, MOOD, and WENO [19,22,28].
In the SPH-ALE formulation, the interaction of each neighboring particle j with the particle i admits a representation as a flux at the midpoint i j located at r i j = 1 2 ( r i + r j ) . Fluxes are computed from solutions to one-dimensional moving Riemann problems. Thus, we can associate the particle i as the left state, particle j as the right state and the moving interface with the midpoint i j . Figure 2 shows the definition of one of the moving Riemann problems. Unit vector n i j points from particle i to particle j. We use index i j and i j + to denote reconstruction values at the interface from the left and from the right. The kernel gradient can be expressed in terms of the unit vector n i j . Kernel functions which depend only on the distance between particles can be expressed as W i j = W ( r i r j , h i j ) = W ( q i j ) , where q i j = r i r j h i j .
The gradient of the kernel function is given by W i j = | W q i j | 1 h i j n i j showing that n i j and W i j are vectors with the same direction.
Several authors have proposed the SPH-ALE formulation for the Navier–Stokes equations [23,24,25]. In these works, the viscous term was discretized using an approximation of the Laplacian based on a hybrid SPH gradient by means of a first-order finite difference scheme [29]. In this work, we propose a different discretization for the viscous term of the Navier–Stokes equations. Observation of the Navier–Stokes in ALE form Equations (1)–(4) suggests that the viscous terms can be computed in the form of a diffusive flux, following a similar approach as the one used for the convective terms.
Thus, the proposed resulting semi-discretized form of the Navier–Stokes equations is given by
d ( V i U i ) d t = j = 1 n i V i V j 2 G i j H i · W i j + j = 1 n i V i V j 2 F i j v F i v · W i j + S T V i
d V i d t = j = 1 n i V i V j 2 w i j w i · W i j
where Equation (5) expresses the evolution of the conservative variables and Equation (6) describes the evolution of the effective volume associated to particle i. In the above equations, W i j = W ( r i r j , h i j ) is a kernel function and h i j = 1 2 ( h i + h j ) is the smoothing length. The length h i is linked to the particle volume via equation h i = β V i 1 D , where β is a constant and D is the dimension of the computational domain. Throughout this work, we have set β = 2 . Note that, as the interparticle distance d x can be estimated as d x = V i 1 D , we adopt the practical consideration of linking the smoothing kernel length by a constant factor β to the interparticle distance d x .
Moreover, we choose the cubic spline kernel proposed by Monaghan and Lattanzio [30] as kernel function. The support radius for cubic spline kernel is given by R = 2 h i = 2 β V i 1 D = 4 V i 1 D . This implies that, for an initial uniform distribution of particles, R = 4 d x , resulting in 9 neighbors for 1D tests and 49 neighbors for 2D problems.
Tensors G i j and F i j v in Equation (5) account for the Euler and viscous fluxes in the interface i j , respectively. The terms appearing with minus sign inside the parenthesis ( H i and F i v ) are tensors evaluated at the position of particle i that assure at least zero order consistency at discrete level [19].

3.1. Discretization of the Convective Terms

The numerical flux tensor G i j is computed using the Rusanov flux in the co-moving frame according to
G i j = 1 2 ( H i j + + H i j ) 1 2 S i j + Δ U i j · n T
where H i j = H ( U i j , w i j ) and H i j + = H ( U i j + , w i j ) denote the approximations of the Lagrangian flux tensor H = 𝓕 ( U ) w U on the left and right sides of the interface i j .
The term S i j + is the maximum eigenvalue of the Jacobian matrix which in the Arbitrarian Lagrangian–Eulerian (ALE) framework reads
S i j + = max ( ( u i j + w i j ) · n i j + c i j + , ( u i j w i j ) · n i j c i j )
where Δ U i j = U i j + U i j is the jump of the reconstructed conservative variables. Moreover, the term w i j is the velocity of the reference frame at the interface i j . On an Eulerian frame, w i j = 0 , whereas on a Lagrangian frame w i j = u i j = ( u i j + + u i j ) / 2 .
We note that, despite the known diffusive behavior [31] of the Rusanov flux, it can be easily used with different EOS, so it is a convenient choice for the problems addressed here.
Tensor H i = H ( U i , w i ) is the Lagrangian flux computed as a function of the state of the i-th particle H i = 𝓕 ( U i ) w i U i .
In the SPH-ALE formulation, each particle i is associated with a velocity frame w i and a material velocity u i . The velocity frame w i can be freely chosen and determines the evolution of particle positions. For the Eulerian approach of the method we set w i = 0 and particles are fixed in space. For the Lagrangian version, we set w i = u i and perform a weighted average interpolation of the velocity [32] to update particle positions. Therefore, the evolution of the particle position must satisfy for Eulerian/Lagrangian frame Equation (7).
d r i d t = 0 o r d r i d t = j = 1 n i V j w j W i j j = 1 n i V j W i j

3.2. High-Order Reconstruction and Moving Least Squares Approximations

One way to increase the accuracy of the resulting scheme is to compute the reconstruction of the variables at each integration point i j using a high-order approximation. For a given variable ϕ , which is known on each particle, we can compute the reconstructed variable at integration point, ϕ i j , by means of Taylor series as
ϕ i j + = ϕ i + ϕ i · r i j r i + 1 2 r i j r i T 2 ϕ i r i j r i ,
where the first and successive derivatives are computed, following our previous work [22], using MLS approximations.

3.3. Viscous Terms Discretization

In this work, we propose to extend the same discretization that is typically performed in the Finite Volume method to SPH-ALE discretizations. Tensor F i v = F v ( U i , U ^ i ) is the viscous tensor computed as a function of the state of the i-th particle and the gradients obtained at integration point i j as
F i j v = 1 2 F i v + F j v
where the derivatives required to evaluate the viscous tensor are computed with MLS reconstruction. Note that since the MLS reconstruction is performed for the convective terms, it does not require any additional reconstruction procedure to obtain a highly accurate discretization of the fluxes.

4. The Multi-Dimensional Optimal Order Detection (MOOD) Method

The a posteriori MOOD paradigm, introduced by Clain et al. [21], is used in this work to determine the optimal order of the polynomial reconstruction iteratively by building a candidate solution U * for time t n + 1 based on the t n solution. The candidate solution is then run by a series of detectors that check if the solution has a certain set of desirable properties. If any of the particles is flagged as invalid, the candidate solution at that particle is discarded and recomputed from the original solution at t n but using a more dissipative scheme by lowering the polynomial reconstruction degree.

4.1. Mood Loop

The MOOD approach is composed of a Particle Polynomial Degree (PPD) and a chain of detectors. The PPD refers to the actual polynomial degree used to compute the candidate solution U * . We evaluate the flux at the midpoint i j between particles i and j, taking the minimum of the respective PPDs for the polynomial reconstruction as P P D i j = min PPD ( i ) , PPD ( j ) . The chain of detectors controls the validity of the resulting solution and the particle’s PPD is decremented where any of the detectors flag the solution as invalid.
The MOOD loop iterates through the PPD map, initialized with maximal order d max = 3 , decreasing the order of the particles that present a non-physical or invalid solution. In this work only orders 3 and 1 are used, being the order 1 called the parachute scheme that, by definition, fulfills all the detectors requirements.
If the PPD map is modified, the candidate solution is declared not valid and therefore must be recomputed. Note that only the particles where the PPD map is modified are recomputed.

4.2. Chain Detectors

In order to obtain a stable solution within the SPH formulation, a chain of detectors is used to assess whether the solution is admissible or not. In this work, we employ two detectors:
  • Physical Admissibility Detector (PAD): it checks that all the particles in the solution have positive density and pressure at all times. It also accounts for NaN (Not a Number) values that arise in the candidate solution.
  • Numerical Admissible Detector (NAD) [33]: relaxed version of the Discrete Maximum Principle (DMP) [21]. It checks that the solution is monotonic and thus, no new extrema are created. It compares the candidate solution with the solution obtained in the previous Runge–Kutta step.
min y V i U RK y δ U * ( x ) max y V i U RK y + δ
where V i is the set of closest particles and the tolerance δ is defined following [33] as
δ = max 10 4 , 10 3 · max y V i U RK y min y V i U RK y

5. Numerical Tests

We present the numerical tests selected to assess the ability of the SPH-ALE-MOOD scheme to produce accurate and robust approximations. All the numerical examples have been computed using a third-order Runge–Kutta scheme for time integration.

5.1. 1d Riemann Problems

The first test cases are devoted to assess the stability and diffusive properties of the SPH-ALE-MOOD scheme. Here, we consider several one-dimensional tests.
The first test case is the 1D Riemann problem (R1) which is one of the four proposed by Marongiu in [34]. In the context of SPH, the works presented in [11,18] also simulate this 1D Riemann problems with Tait EOS. The fluid is water modeled with Tait EOS ( ρ 0 = 1000 kg/m3, c 0 = 1466.0 m/s, γ = 7 and p 0 = 0 Pa). The domain is [ 0 , 0.1 ] m and the initial condition is defined as
( R 1 ) ( ρ , u ) = ( 1100 kg / m 3 , 0 m / s ) , if x 0.05 m ( 1000 kg / m 3 , 0 m / s ) , otherwise
A discretization of 100 particles is used and the solution is advanced up to t f i n a l = 10 5 s. The exact solution consists of a rarefaction wave traveling to the left and a shock wave traveling to the right. As a reference solution, we use the exact solution obtained with the algorithm given in [35] applied to the Tait EOS as indicated in [36].
Figure 3 plots the pressure and velocity profiles obtained with the base scheme (first-order SPH-ALE scheme) [15] and with the SPH-ALE-MOOD model. The SPH-ALE base scheme smears the solution in the shock and rarefaction wave. As expected, for the same number of particles the SPH-ALE-MOOD provides a better representation of the shock front. The front and tail of the rarefaction wave provided for the SPH-ALE-MOOD are also accurately captured and are free of overshoots near discontinuities. Both Eulerian and Lagrangian versions of the scheme produce very similar results, so we only plot here the results obtained with the Lagrangian description.
We consider a second one-dimensional Riemann problem (R2). In this case, the liquid is assumed to follow the Tamman EOS ( γ = 7.15 and p c = 3 × 10 8 Pa). This test was proposed by Ivings and Toro in [36] and has been also presented in [37] with a SPH-ALE code with MUSCL reconstruction using a minmod limiter and a finer particle resolution. The initial conditions for this problem are
( R 2 ) ( ρ , u , p ) = ( 1100 kg / m 3 , 500 m / s , 5 × 10 9 Pa ) , if x 0.5 m ( 1000 kg / m 3 , 0 , 1 × 10 5 Pa ) , otherwise
The exact solution to this problem comprises a left-going rarefaction wave, a contact discontinuity and a right-going shock wave. The computational domain [ 0 , 1 ] is discretized with 200 particles.
In Figure 4 we plot the results for pressure, velocity, density, and internal energy at the final time t f i n a l = 7 × 10 5 s obtained with the SPH base scheme and the SPH-ALE-MOOD using a Lagrangian description. The SPH-ALE-MOOD improves the results of the SPH base scheme in all the salient features present in the flow. In the density and internal energy plots, it is observed that the resolution of the contact discontinuity is not as sharp as the one obtained for the shock front. We note that the smearing in the contact discontinuity is inherent to the approximations made in the derivation of the Rusanov flux as reported in previous works [19,22].

5.2. 2d Blast Explosion

The first two-dimensional test considered here is an extension of the one-dimensional shock tube R1 assuming cylindrical symmetry. The fluid is water modeled with Tait EOS ( ρ 0 = 1000 kg / m 3 , c 0 = 1466.0 m / s , γ = 7 and p 0 = 0 Pa ). The computational domain is a circle of radius R = 0.1 m centered at the origin and the initial conditions are given by
( ρ , u , v ) = ( 1100 kg / m 3 , 0 m / s , 0 m / s ) , if r 0.05 m ( 1000 kg / m 3 , 0 m / s , 0 m / s ) , otherwise
The configuration mimics an explosion with a shockwave traveling outwards and a rarefaction moving towards the origin. The reference solution is obtained by using a one dimensional finite volume code with a very fine mesh as explained in [35].
The evolution of the flow is simulated until t f i n a l = 10 5 s with the SPH-ALE-MOOD scheme.
We consider three different particle initializations to evaluate the effects of the initial positions of the particles on the quality of the numerical results. A radial distribution disposing particles in rings, a Delaunay distribution, which places particles in barycenters of triangles and finally, the third initial layout of particles is the result of applying a random displacement to the Delaunay distribution. The number of particles of the radial distribution (∼90,000) is slightly higher than the one of the Delaunay and Random distribution (∼75,000). Figure 5 shows the initial distributions considered.
Figure 6 shows the density at final time for the three initial particle layouts. The reference solution is represented with a black solid line. It is observed that the results preserve the radial symmetry of the physical problem.
Figure 7 plots the density profiles along the radial coordinate. All the particles of the computational domain are represented and it can be noticed more clearly the ability of the model to preserve the radial symmetry. We note that the dispersion of the particles is really small for all particle distributions.

5.3. Taylor–Green Flow

The Taylor–Green flow is a classical test for numerical methods for the simulation of viscous flows. It provides an exact solution of the incompressible Navier–Stokes equations in a periodic domain [38,39]. The flow involves the decay of four counter-rotating vortices within the periodic region of size L × L as shown in Figure 8
The exact solution is given in [40] and reads
u U 0 = sin 2 π x L cos 2 π y L exp 8 π 2 R e U 0 L t
v U 0 = cos 2 π x L sin 2 π y L exp 8 π 2 R e U 0 L t
p 1 2 ρ 0 U 0 2 = 1 2 cos 4 π x L + cos 4 π y L exp 16 π 2 R e U 0 L t
where R e is the Reynolds number of the flow, defined as R e = ρ 0 U 0 L μ 0 . U 0 is a reference velocity magnitude, and ρ 0 and μ are constant values for the density and viscosity of the fluid, respectively.
A global decay kinetic energy factor, denoted by r ( t ) , is defined as the ratio of the overall kinetic energy at time t ( E k ) and the corresponding one to initial time E k 0
r ( t ) = E k E k 0 = D 1 2 [ u 2 ( x , y , t ) + v 2 ( x , y , t ) ] d x d y D 1 2 [ u 2 ( x , y , 0 ) + v 2 ( x , y , 0 ) ] d x d y
Evaluation of (15) with the velocity field given by Equations (12) and (13) results in an exponential decay according to
r ( t ) = E k E k 0 = exp 16 π 2 R e U 0 L t
and by integration in the domain results E k 0 = 1 4 U 0 2 L 2 .
For the simulations presented in this test, we consider a Taylor–Green flow with L = 1 m, U 0 = 1 m/s and ρ 0 = 1 kg/m3. According to the weakly compressible approach, we assume that the fluid obeys the Tait equation with parameters ρ 0 = 1 kg/m3, c 0 = 10 m/s, γ = 7 and p 0 = 0 Pa. The case is simulated for R e = 10 , R e = 100 and R e = 1000 with the Eulerian version of the SPH-ALE-MOOD scheme. Fluid particles are disposed inside the square domain on a Cartesian arrangement with d x = d y = 1 / 100 as shown in Figure 9.
The initial conditions are computed using Equations (12)–(14) with the value of the density obtained from the Tait EOS for the analytical pressure.
Figure 10 shows the velocity components and pressure at non-dimensional time t * = t U 0 / L = 1 . Velocity and pressure are smooth, similar to the analytical solution and no degradation of the vortical pattern is observed.
Figure 11 shows the time evolution of global decay of the kinetic energy, r ( t ) , and the maximum velocity modulus obtained using the SPH-ALE-MOOD method and the corresponding reference incompressible solution for three different Reynolds numbers: R e = 10 , R e = 100 , and R e = 1000 . The numerical results are in close agreement with the analytical solution, showing that the high-order reconstruction of the proposed scheme allows achieving a low dissipation scheme which is accurate for a wide range of R e numbers.
Following the work in [41], we have measured the time evolution of the pressure at the center of the domain for R e = 100 and R e = 1000 cases. The results are compared in Figure 12 with the theoretical solution and the solutions obtained with the δ -SPH and δ + -SPH presented by Sun et al. [41,42]. We note that the proposed scheme shows better agreement with the reference solution for all particle resolutions. Moreover, it is remarkable the reduced amount of pressure oscillations, even for coarse discretizations.
In Figure 13, the pressure field along y = 0.5 L is shown at t * = 6 for R e = 1000 . The results closely follows the theoretical solution even for the coarser discretization.
Concerning the computational cost of the proposed scheme, Figure 14 plots the CPU time consumed for different particle discretizations for a simulation until a final time of t * = 2 for R e = 100 . As expected, the Eulerian scheme is faster than the Lagrangian method. Then, a possible way for improving the efficiency of the proposed method is to combine Eulerian and Lagrangian particles. This idea has been explored previously in the context of ISPH [43] and fits very naturally in the proposed formulation.

5.4. Couette and Poiseuille Flows

Couette and Poiseuille flows are special configurations of the incompressible Navier–Stokes equations that have analytical solution [44]. In both cases, a Newtonian fluid moves between two infinite parallel plates. The Couette flow is driven by the movement of one of the plates whereas the Poiseuille flow is driven by a pressure gradient. As velocity does not vary along the flow direction, a finite length of the plates is considered with periodic boundary condition in left and right sides. Figure 15 shows the geometry model and boundary conditions considered for the simulations. In both configurations the fluid is initially at rest.
In the Couette flow, the time-dependent exact solution for the fluid velocity in the x-direction can be expressed as [44,45]
u ( y , t ) = u p L y + n = 1 2 u p n π ( 1 ) n sin n π L y exp ν n 2 π 2 L 2 t
where u p is the horizontal velocity of the upper plate and ν is the kinematic viscosity of the fluid.
Similarly, for the Poiseuille flow the transient exact solution is given by [44,45]
u ( y , t ) = f x 2 ν y ( y L ) + n = 0 4 f x L 2 ν π 3 ( 2 n + 1 ) 3 sin π y L ( 2 n + 1 ) exp ( 2 n + 1 ) 2 π 2 ν L 2 t
where f x denotes a force source term in the x-momentum equation and, as such, it must be included in the source term S T of the system of equations defined in (4). The force source term f x and the steady peak velocity in the midplane of the channel u p e a k are related by expression u p e a k = 1 8 ν f x L 2 .
For both problems, the Reynolds number is defined as R e = u m a x L ν considering the distance between plates L and the maximum velocity u m a x as the reference length and velocity scales.
In this work, we conduct Couette and Poiseuille simulations for R e = 10 . The same value was adopted in the works of Chiron [23], Ferrand [46], and Fourtakas [47]. The fluid is modeled using the Tait equation with ρ 0 = 1 kg / m 3 , γ = 7 , c 0 = 10 m / s , and p 0 = 0 Pa . The kinematic viscosity considered for the fluid is ν = 0.1 m 2 / s . The distance between plates is set to L = 1 m and half of this distance is considered for the periodic length in the flow direction.
In the Couette flow, u p is set to 1 m / s , which leads to R e = 10 . For the Poiseuille flow, we impose the force source term as f x = 0.8 m / s 2 to produce the same R e number.
Figure 16 shows the arrangement of the particles employed for both the Couette and Poiseuille tests. The number of fluid particles between walls and periodic zones is 40 and 20, respectively, resulting in a squared arrangement with distance between particles d x = L / 40 .
In addition to the fluid particles, we need to incorporate ghost particles for implementing the periodic and wall boundary conditions. For the wall ghost particles we follow the technique used in [13]. A schematic representation of this technique is shown on the right of Figure 16. Dirichlet boundary conditions for velocity on the wall require that ghost particles update their velocity u G = ( u G , v G ) T following the vector equation.
u G = 2 u W u F
where u F = ( u F , v F ) T is the velocity of the mirroring fluid particle and u W = ( u W , v W ) T is the velocity vector of the wall. In case of fixed walls u W = ( 0 , 0 ) T and for the top moving wall in Couette flow u W = ( u p , 0 ) T .
As we already have commented, one of the main advantages of the SPH-ALE method is the ability to use either Eulerian or Lagrangian description, and both configurations are able to obtain accurate solutions for this test case. Figure 17 shows the velocity profiles obtained with the SPH-ALE-MOOD scheme for Poiseuille flow at R e = 10 for the Eulerian and Lagrangian description. The exact solution is computed using Equation (18). For t = 20 s the flow is practically in the steady state condition and the obtained numerical solutions agree almost perfectly with the exact solution.
Figure 18 shows the velocity profiles obtained with the SPH-ALE-MOOD scheme for the Couette flow at R e = 1 , 10 , 100 , 1000 . The exact solution is computed using Equation (17). At t = 0 , the velocity of the moving plate changes abruptly from rest to an horizontal velocity u p forming a sharp discontinuity in the velocity field. A short time after that event, the obtained numerical results slightly deviates over the exact solution. This effect increases with the Reynolds number. For the last time instant, displayed for each Reynolds in Figure 18, the flow has practically reached the steady state, and the velocity profile is linear. The obtained results in the steady state are in close agreement with the exact solution for all the Reynolds numbers computed in this test case.
In Figure 18, the deviation from the reference solution observed in the first time instants of the simulations for R e = 100 and R e = 1000 , are due to a lack of particles. For these Reynolds numbers, the spatial discretization is not able to capture the abrupt change in the velocity. To verify this, we plot in Figure 19 the results obtained for R e = 100 at t = 0.2 (left) and R e = 1000 at t = 2 (right) for different particle resolutions. It is seen that as the particle resolution increases the deviation is reduced, as expected.

5.5. 2d Lid-Driven Cavity Flow

The final test presented to assess the behavior of the proposed method is the 2D flow inside a square lid-driven cavity of length L. A schematic setup of the geometry is shown in Figure 20. The lateral and bottom walls are stationary, while the top wall moves horizontally to the right at speed u w .
Different Reynolds numbers, namely, R e = 100 , R e = 400 , and R e = 1000 , are studied and results are compared to Ghia [48]. As in the previous case, the velocity of the frame is set to zero adopting the Eulerian version of the SPH-ALE-MOOD scheme.
Figure 21 shows the layout and the type of particles. A Cartesian layout is adopted using a discretization of 100 particles on each side. Lid-driven cavity does not introduce any new type of boundary conditions, but the wall corners need to be taken into account to properly update ghost particle information, as schematically presented in Figure 21 on the top right corner.
In order to set the velocity for the corner particle u G C , we use a similar technique to the one proposed by Szewc [49]. Focusing on the top-right wall corner and considering the nearest four particles. We have one fluid particle with velocity u F , a ghost particle attached to the moving wall with velocity u G M , a ghost particle attached to the fixed wall with velocity u G F , and a ghost particle in the corner with velocity u G C . u F evolves with the governing equations, and that u G M and u G F are updated according to Equation (19). In order to set the velocity for the corner ghost particle u G C we impose the velocity in the vertex of the corner as the average of the four particles.
Figure 22 shows the horizontal and vertical velocity profiles along the vertical and horizontal center line for R e = 100 , R e = 400 , and R e = 1000 . Simulations were run for a t f i n a l = 500 s, clearly a time much longer than the one needed to reach the steady-state condition. Results are in good agreement with the reference solution [48] for all the Reynolds number considered. Moreover, the obtained solutions are compared with the ones obtained by Lee et al. [50]. We note that the two schemes use the same number of particles for R e = 400 . For R e = 1000 , the ISPH scheme from [50] uses a finer discretization ( 160 2 particles).
The contours of the velocity magnitude superposed with the streamlines after 500 s are shown in Figure 23. It is seen that the scheme is able to reproduce the primary and secondary vortices of the flow.

6. Conclusions

In this work, we have presented a new high-accurate SPH-ALE method for weakly compressible flow, which can deal with discontinuities. A new approach to compute the viscous flows terms is presented, where Moving Least Squares approximations are used to increase the accuracy and compute the derivatives needed for viscous fluxes. The performance of the proposed scheme is validated with a series of 1D and 2D benchmark problems, and compared with other WCSPH and ISPH schemes from the literature. The proposed method alleviates some of the known drawbacks of weakly compressible schemes. Thus, pressure oscillations are reduced compared with the δ-SPH scheme, and there is no need for an special initialization of the particles. The proposed scheme obtains accurate solutions for any initial distribution of the particles. Moreover, the proposed formulation simplifies the possible combination of the proposed method with grid-based methods (such as the finite volume method, which is closely related to the proposed scheme) or the combination of Eulerian and Lagrangian particles. Even though this issue is not addressed here, it is a very interesting research that will be pursued in forthcoming works.

Author Contributions

Conceptualization, L.R. and X.N.; methodology, L.R., X.N. and A.E.; software, A.E., I.C. and J.F.-F.; validation, A.E., L.R. and I.C.; formal analysis, A.E., L.R. and X.N.; investigation, A.E., J.F.-F. and I.C.; resources, L.R. and X.N.; data curation, A.E., J.F.-F. and I.C.; writing—original draft preparation, A.E. and J.F.-F.; writing—review and editing, A.E., L.R., J.F.-F., I.C. and X.N.; visualization, A.E., L.R. and J.F.-F.; supervision, L.R. and X.N.; project administration, L.R. and X.N.; funding acquisition, L.R. and X.N. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Ministerio de Ciencia, Innovación y Universidades of the Spanish Government Grant #RTI2018-093366-B-I00, by the Consellería de Educación e Ordenación Universitaria of the Xunta de Galicia (grant#ED431C 2018/41).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Violeau, D.; Rogers, B.D. Smoothed Particle Hydrodynamics (SPH) for free-surface flows: Past, present and future. J. Hydraul. Res. 2016, 54, 1–26. [Google Scholar] [CrossRef]
  2. Ye, T.; Pan, D.; Huang, C.; Liu, M. Smoothed particle hydro-dynamics (SPH) for complex fluid flows: Recent developments in methodology and applications. Phys. Fluids 2019, 31, 011301. [Google Scholar]
  3. Pu, J.H.; Shao, S. Smoothed Particle Hydrodynamics Simulation of Wave Overtopping Characteristics for Different Coastal Structures. Sci. World J. 2012, 163613, 1–10. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  4. Vacondio, R.; Altomare, C.; De Leffe, M.; Hu, X.; Le Touzé, D.; Lind, S.; Marongiu, J.-C.; Marrone, S.; Rogers, B.D.; Souto-Iglesias, A. Grand challenges for Smoothed Particle Hydrodynamics numerical schemes. Comput. Part. Mech. 2020. [Google Scholar] [CrossRef]
  5. Ramirez, L.; Nogueira, X.; Khelladi, S.; Chassaing, J.C.; Colominas, I. A new higher-order finite volume method based on Moving Least Squares for the resolution of the incompressible Navier–Stokes equations on unstructured grids. Comput. Methods Appl. Mech. Eng. 2014, 278, 883–901. [Google Scholar] [CrossRef]
  6. Nogueira, X.; Ramirez, L.; Khelladi, S.; Chassaing, J.C.; Colominas, I. A high-order density-based finite volume method for the computation of all-speed flows. Comput. Methods Appl. Mech. Eng. 2016, 298, 229–251. [Google Scholar] [CrossRef] [Green Version]
  7. Cummins, S.J.; Rudman, M. An SPH projection method. J. Comput. Phys. 1999, 152, 584–607. [Google Scholar] [CrossRef]
  8. Garoosi, F.; Shakibaeinia, A. An SPH projection method. Powder Technol. 2020, 376, 668–696. [Google Scholar] [CrossRef]
  9. Lind, S.J.; Stansby, P.K. High-order Eulerian incompressible smoothed particle hydrodynamics with transition to Lagrangian free-surface motion. J. Comput. Phys. 2016, 326, 290–311. [Google Scholar] [CrossRef]
  10. Monaghan, J.J. Simulating free surface flows with SPH. J. Comput. Phys. 1994, 110, 399–406. [Google Scholar] [CrossRef]
  11. Collé, A.; Limido, J.; Vila, J.P. An accurate multi-regime SPH scheme for barotropic flows. J. Comput. Phys. 2019, 388, 561–600. [Google Scholar] [CrossRef]
  12. Colagrossi, A.; Bouscasse, B.; Antuono, M.; Marrone, S. Particle packing algorithm for SPH schemes. Comput. Phys. Commun. 2012, 183, 1641–1653. [Google Scholar] [CrossRef] [Green Version]
  13. Marrone, S.; Antuono, M.; Colagrossi, A.; Colicchio, G.; LeTouzé, D.; Graziani, G. δ-SPH model for simulating violent impact flows. Comput. Methods Appl. Mech. Eng. 2011, 200, 1526–1542. [Google Scholar] [CrossRef]
  14. BenMoussa, B.; Vila, J.P. Convergence of SPH method for scalar nonlinear conservation laws. Siam J. Numer. Anal. 2000, 37, 863–887. [Google Scholar] [CrossRef]
  15. Vila, J.P. On particle weighted methods and smooth particle hydrodynamics. Math. Model. Methods Appl. Sci. 1999, 9, 161–209. [Google Scholar] [CrossRef]
  16. Antuono, M.; Colagrossi, A.; Marrone, S.; Molteni, D. Free-surface flows solved by means of SPH schemes with numerical diffusive terms. Comput. Phys. Commun. 2010, 181, 532–549. [Google Scholar] [CrossRef]
  17. Krimi, A.; Ramírez, L.; Khelladi, S.; Navarrina, F.; Deligant, M.; Nogueira, X. Improved δ-SPH Scheme with Automatic and Adaptive Numerical Dissipation. Water 2020, 12, 2858. [Google Scholar] [CrossRef]
  18. Koukouvinis, P.K.; Anagnostopoulos, J.S.; Papantonis, D.E. An improved MUSCL treatment for the SPH-ALE method: Comparison with the standard SPH method for the jet impingement case. Int. J. Numer. Methods Fluids 2013, 71, 1152–1177. [Google Scholar] [CrossRef]
  19. Avesani, D.; Dumbser, M.; Bellin, A. A new class of Moving-Least-Squares WENO–SPH schemes. J. Comput. Phys. 2014, 270, 278–299. [Google Scholar] [CrossRef]
  20. Avesani, D.; Herrera, P.; Chiogna, G.; Bellin, A.; Dumbser, M. Smooth Particle Hydrodynamics with nonlinear Moving-Least-Squares WENO reconstruction to model anisotropic dispersion in porous media. Adv. Water Resour. 2015, 80, 43–59. [Google Scholar] [CrossRef]
  21. Clain, S.; Diot, S.; Loubère, R. A high-order finite volume method for systems of conservation laws Multi-dimensional Optimal Order Detection (MOOD). J. Comput. Phys. 2011, 230, 4028–4050. [Google Scholar] [CrossRef] [Green Version]
  22. Nogueira, X.; Ramírez, L.; Clain, S.; Loubère, R.; Cueto-Felgueroso, L.; Colominas, I. High-accurate SPH method with Multidimensional Optimal Order Detection limiting. Comput. Methods Appl. Mech. Eng. 2016, 310, 134–155. [Google Scholar] [CrossRef] [Green Version]
  23. Chiron, L. Couplage et AméLiorations de la Méthode SPH Pour Traiter des éCoulements à Multi-échelles Temporelles et Spatiales. Ph.D. Thesis, Ecole Centrale de Nantes, Nantes, France, 2017. [Google Scholar]
  24. Oger, G. Aspects Théoriques de la Méthode SPH et Applications à L’hydrodynamique à Surface Libre. Ph.D. Thesis, Université de Nantes and Ecole Centrale de Nantes, Nantes, France, 2006. [Google Scholar]
  25. Sjah, J. Couplage SPH DEM Pour L’étude de L’érosion Dans les Ouvrages Hydrauliques. Ph.D. Thesis, Ecole Centrale de Lyon, Écully, France, 2013. [Google Scholar]
  26. Saurel, R.; Cocchi, J.P.; Butler, P.B. Numerical Study of Cavitation in the Wake of a Hypervelocity Underwater Projectile. J. Propuls. Power 1999, 15, 513–522. [Google Scholar] [CrossRef]
  27. Paillère, H.; Corre, C.; Cascales, J.R.G. On the extension of the AUSM scheme to compressible two-fluid models. Comput. Fluids 2003, 32, 891–916. [Google Scholar] [CrossRef]
  28. Magoules, F. Computational Fluid Dynamics. In Chapman & Hall/CRC Numerical Analysis & Scientific Computing; CRC Press: Boca Raton, FL, USA, 2011. [Google Scholar]
  29. Morris, J.P. A study of the stability properties of smooth particle hydrodynamics. Publ. Astron. Soc. Aust. 1996, 13, 97–105. [Google Scholar] [CrossRef] [Green Version]
  30. Monaghan, J.J.; Lattanzio, J.C. A refined particle method for astrophysical problems. Astonomics Astrophys. 1985, 149, 135–143. [Google Scholar]
  31. Gallouet, T.; Hérard, J.M.; Seguin, N. Some recent finite volume schemes to compute Euler equations using real gas EOS. Int. J. Numer. Methods Fluids 2002, 39, 1073–1138. [Google Scholar] [CrossRef]
  32. Bonet, J.; Lok, T.S.L. Variational and momentum preservation aspects of Smooth Particle Hydrodynamic formulations. Comput. Methods Appl. Mech. Eng. 1999, 180, 97–115. [Google Scholar] [CrossRef]
  33. Dumbser, M.; Zanotti, O.; Loubère, R.; Diot, S. A posteriori subcell limiting of the discontinuous Galerkin finite element method for hyperbolic conservation laws. J. Comput. Phys. 2014, 278, 47–75. [Google Scholar] [CrossRef] [Green Version]
  34. Marongiu, J.C. Méthode Numérique Lagrangienne Pour la Simulation D’écoulements à Surface Libre-Application Aux Turbines Pelton. Ph.D. Thesis, Ecole Centrale de Lyon, Écully, France, 2007. [Google Scholar]
  35. Toro, E.F. Riemann Solvers and Numerical Methods for Fluid Dynamics, 3rd ed.; Springer: Berlin/Heidelberg, Germany, 2009. [Google Scholar]
  36. Ivings, M.J.; Causon, D.M.; Toro, E.F. On Riemann solvers for compressible liquids. Int. J. Numer. Methods Fluids 1998, 28, 395–418. [Google Scholar] [CrossRef]
  37. Pineda, S.; Marongiu, J.C.; Aubert, S.; Lance, M. Simulation of a gas bubble compression in water near a wall using the SPH-ALE method. Comput. Fluids 2019, 179, 459–475. [Google Scholar] [CrossRef]
  38. Kundu, P.K.; Cohen, I.; Dowling, D.R. Fluid Mechanics; Elsevier LTD: Oxford, UK, 2015. [Google Scholar]
  39. Taylor, G.I.; Green, A.E. Mechanism of the production of small eddies from large ones. Proc. R. Soc. Lond. Ser. A Math. Phys. Sci. 1937, 158, 499–521. [Google Scholar]
  40. Vittoz, L.; Oger, G.; deLeffe, M.; Touzé, D.L. Comparisons of weakly-compressible and truly incompressible approaches for viscous flow into a high-order Cartesian-grid finite volume framework. J. Comput. Phys. X 2019, 1, 100015. [Google Scholar] [CrossRef]
  41. Sun, P.N.; Colagrossi, A.; Marrone, S.; Antuono, M.; Zhang, A.M. A consistent approach to particle shifting in the δ-Plus-SPH model. Comput. Methods Appl. Mech. Eng. 2019, 348, 912–934. [Google Scholar] [CrossRef]
  42. Sun, P.N.; Colagrossi, A.; Marrone, S.; Zhang, A.M. The δ-Plus-SPH model: Simple procedures for a further improvement of the SPH scheme. Comput. Methods Appl. Mech. Eng. 2017, 315, 25–49. [Google Scholar] [CrossRef]
  43. Fourtakas, G.; Stansby, P.K.; Rogers, B.D.; Lind, S.J. An Eulerian–Lagrangian incompressible SPH formulation (ELI-SPH) connected with a sharp interface. Comput. Methods Appl. Mech. Eng. 2018, 329, 532–552. [Google Scholar] [CrossRef]
  44. Buresti, G. Elements of Fluid Dynamics; Imperial College Press: London, UK, 2012. [Google Scholar]
  45. Morris, J.P.; Fox, P.J.; Zhu, Y. Modeling low Reynolds number incompressible flows using SPH. J. Comput. Phys. 1997, 136, 214–226. [Google Scholar] [CrossRef]
  46. Ferrand, M.; Laurence, D.R.; Rogers, B.D.; Violeau, D.; Kassiotis, C. Unified semi-analytical wall boundary conditions for inviscid, laminar or turbulent flows in the meshless SPH method. Int. J. Numer. Methods Fluids 2013, 71, 446–472. [Google Scholar] [CrossRef] [Green Version]
  47. Fourtakas, G.; Dominguez, J.M.; Vacondio, R.; Rogers, B.D. Local uniform stencil (LUST) boundary condition for arbitrary 3-D boundaries in parallel smoothed particle hydrodynamics (SPH) models. Comput. Fluids 2018, 190, 346–361. [Google Scholar] [CrossRef]
  48. Ghia, U.; Ghia, K.N.; Shin, C.T. High-Re solutions for incompressible flow using the Navier-Stokes equations and a multigrid method. J. Comput. Phys. 1982, 48, 387–411. [Google Scholar] [CrossRef]
  49. Szewc, K.; Pozorski, J.; Minier, J.P. Analysis of the incompressibility constraint in the smoothed particle hydrodynamics method. Int. J. Numer. Methods Eng. 2012, 92, 343–369. [Google Scholar] [CrossRef] [Green Version]
  50. Lee, E.S.; Moulinec, C.; Xu, R.; Violeau, D.; Laurence, D.; Stansby, P. Comparisons of weakly compressible and truly incompressible algorithms for the SPH mesh free particle method. J. Comput. Phys. 2008, 227, 8417–8436. [Google Scholar] [CrossRef]
Figure 1. Computational domain Ω and kernel support D i of particle i.
Figure 1. Computational domain Ω and kernel support D i of particle i.
Water 13 00245 g001
Figure 2. Stencil for particle i. Interaction between particles i and j represented as a flux in the midpoint interface i j and one-dimensional moving Riemann problem at the midpoint.
Figure 2. Stencil for particle i. Interaction between particles i and j represented as a flux in the midpoint interface i j and one-dimensional moving Riemann problem at the midpoint.
Water 13 00245 g002
Figure 3. 1D shock tube problem (R1): Pressure and velocity at at time t f i n a l = 10 5 s using 100 particles in the domain [ 0 , 0.1 ] m. Results obtained using the SPH base scheme (empty squares) and the SPH-ALE-MOOD method (filled circles).
Figure 3. 1D shock tube problem (R1): Pressure and velocity at at time t f i n a l = 10 5 s using 100 particles in the domain [ 0 , 0.1 ] m. Results obtained using the SPH base scheme (empty squares) and the SPH-ALE-MOOD method (filled circles).
Water 13 00245 g003
Figure 4. 1D Sod shock tube problem (T2): Simulations results at t f i n a l = 7 · 10 5 s using 200 particles in the domain [ 0 , 1 ] m. We plot velocity (top-left), pressure (top-right), density (bottom-left), and internal energy (bottom-right). Results obtained using the SPH base scheme (empty squares) and the SPH-ALE-MOOD method (filled circles).
Figure 4. 1D Sod shock tube problem (T2): Simulations results at t f i n a l = 7 · 10 5 s using 200 particles in the domain [ 0 , 1 ] m. We plot velocity (top-left), pressure (top-right), density (bottom-left), and internal energy (bottom-right). Results obtained using the SPH base scheme (empty squares) and the SPH-ALE-MOOD method (filled circles).
Water 13 00245 g004
Figure 5. 2D Blast Explosion: Particle initializations. Radial distribution (left), Delaunay distribution (center), Random distribution (right).
Figure 5. 2D Blast Explosion: Particle initializations. Radial distribution (left), Delaunay distribution (center), Random distribution (right).
Water 13 00245 g005
Figure 6. 2D Blast Explosion: Density plot in xy domain at time t f i n a l = 10 5 s. Radial distribution (left), Delaunay distribution (center), Random distribution (right).
Figure 6. 2D Blast Explosion: Density plot in xy domain at time t f i n a l = 10 5 s. Radial distribution (left), Delaunay distribution (center), Random distribution (right).
Water 13 00245 g006
Figure 7. 2D Blast Explosion: Density profile along radial coordinate at time t f i n a l = 10 5 s. Radial distribution (top left), Delaunay distribution (top right), Random distribution (bottom).
Figure 7. 2D Blast Explosion: Density profile along radial coordinate at time t f i n a l = 10 5 s. Radial distribution (top left), Delaunay distribution (top right), Random distribution (bottom).
Water 13 00245 g007
Figure 8. Taylor–Green vortex: Schematic representation of the computational domain and streamlines.
Figure 8. Taylor–Green vortex: Schematic representation of the computational domain and streamlines.
Water 13 00245 g008
Figure 9. Taylor Green flow: Layout of the particles. Hollow red circles: ghost periodic particles. Solid blue circles: fluid particles.
Figure 9. Taylor Green flow: Layout of the particles. Hollow red circles: ghost periodic particles. Solid blue circles: fluid particles.
Water 13 00245 g009
Figure 10. Taylor Green flow: Results for R e = 100 at t * = 1 . Left: u-velocity field; center: v-velocity field: right: pressure field.
Figure 10. Taylor Green flow: Results for R e = 100 at t * = 1 . Left: u-velocity field; center: v-velocity field: right: pressure field.
Water 13 00245 g010
Figure 11. Taylor Green flow: Comparison of the numerical and theoretical decay of the kinetic energy factor defined in Equation (15) (left) and the maximum velocity (right) for R e = 10 , R e = 100 and R e = 1000 .
Figure 11. Taylor Green flow: Comparison of the numerical and theoretical decay of the kinetic energy factor defined in Equation (15) (left) and the maximum velocity (right) for R e = 10 , R e = 100 and R e = 1000 .
Water 13 00245 g011
Figure 12. Taylor Green flow: Comparison of the time evolution of the pressure at the center of the domain for R e = 100 (left) and R e = 1000 (right).
Figure 12. Taylor Green flow: Comparison of the time evolution of the pressure at the center of the domain for R e = 100 (left) and R e = 1000 (right).
Water 13 00245 g012
Figure 13. Taylor Green flow: Comparison of the pressure field along y = 0.5 L for R e = 1000 .
Figure 13. Taylor Green flow: Comparison of the pressure field along y = 0.5 L for R e = 1000 .
Water 13 00245 g013
Figure 14. Taylor Green flow: Computational costs for different particle discretization.
Figure 14. Taylor Green flow: Computational costs for different particle discretization.
Water 13 00245 g014
Figure 15. Couette and Poiseuille Flows: Schematic representation of the problems.
Figure 15. Couette and Poiseuille Flows: Schematic representation of the problems.
Water 13 00245 g015
Figure 16. Couette and Poiseuille Flows: Particle layout (left). Schematic representation of the antisymmetric technique for wall ghost particles (right).
Figure 16. Couette and Poiseuille Flows: Particle layout (left). Schematic representation of the antisymmetric technique for wall ghost particles (right).
Water 13 00245 g016
Figure 17. Time evolution of the velocity profile for the Poiseuille flow R e = 10 with Eulerian (left) and Lagrangian description (right). The numerical solution is compared with the exact solution presented in (18).
Figure 17. Time evolution of the velocity profile for the Poiseuille flow R e = 10 with Eulerian (left) and Lagrangian description (right). The numerical solution is compared with the exact solution presented in (18).
Water 13 00245 g017
Figure 18. Time evolution of the velocity profile for the Couette flow R e = 1 (top left), R e = 10 (top right), R e = 100 (bottom left), and R e = 1000 (bottom right). The numerical solution is compared with the exact solution presented in Equation (17).
Figure 18. Time evolution of the velocity profile for the Couette flow R e = 1 (top left), R e = 10 (top right), R e = 100 (bottom left), and R e = 1000 (bottom right). The numerical solution is compared with the exact solution presented in Equation (17).
Water 13 00245 g018
Figure 19. Convergence analysis for the Couette flow R e = 100 at t = 0.2 (left) and R e = 1000 at t = 2 (right).
Figure 19. Convergence analysis for the Couette flow R e = 100 at t = 0.2 (left) and R e = 1000 at t = 2 (right).
Water 13 00245 g019
Figure 20. 2D Lid-driven cavity flow: Schematic representation of the geometry and boundary conditions.
Figure 20. 2D Lid-driven cavity flow: Schematic representation of the geometry and boundary conditions.
Water 13 00245 g020
Figure 21. 2D Lid-driven cavity flow: Layout of the particles and treatment of ghost particles in corners.
Figure 21. 2D Lid-driven cavity flow: Layout of the particles and treatment of ghost particles in corners.
Water 13 00245 g021
Figure 22. 2D Lid-driven cavity flow: On the left, horizontal velocity component u along x = 0.5 L for R e = 100 , R e = 400 , and R e = 1000 . On the right, vertical velocity component v along y = 0.5 L for R e = 100 , R e = 400 , and R e = 1000 .
Figure 22. 2D Lid-driven cavity flow: On the left, horizontal velocity component u along x = 0.5 L for R e = 100 , R e = 400 , and R e = 1000 . On the right, vertical velocity component v along y = 0.5 L for R e = 100 , R e = 400 , and R e = 1000 .
Water 13 00245 g022
Figure 23. Contours of velocity and streamlines for lid driven cavity at different R e numbers. R e = 100 (top left), R e = 400 (top right), and R e = 1000 (bottom).
Figure 23. Contours of velocity and streamlines for lid driven cavity at different R e numbers. R e = 100 (top left), R e = 400 (top right), and R e = 1000 (bottom).
Water 13 00245 g023
Table 1. Constitutive equations for Tait and Tammann EOS.
Table 1. Constitutive equations for Tait and Tammann EOS.
Tait EOS [26]Tammann EOS [27]
Pressure p ( ρ ) = ρ 0 c 0 2 γ ρ ρ 0 γ 1 + p 0 p ( ρ , e ) = ( γ 1 ) ρ e γ p c
Sound speed c ( ρ ) = c 0 ρ ρ 0 γ 1 2 c ( ρ , e ) = γ ( p + p c ) ρ
Caloric equations e = c v ( T T 0 ) e = c p γ T + p c γ
Required set of constants ρ 0 , c 0 , γ , p 0 , c v γ , p c , c p
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Eirís, A.; Ramírez, L.; Fernández-Fidalgo, J.; Couceiro, I.; Nogueira, X. SPH-ALE Scheme for Weakly Compressible Viscous Flow with a Posteriori Stabilization. Water 2021, 13, 245. https://doi.org/10.3390/w13030245

AMA Style

Eirís A, Ramírez L, Fernández-Fidalgo J, Couceiro I, Nogueira X. SPH-ALE Scheme for Weakly Compressible Viscous Flow with a Posteriori Stabilization. Water. 2021; 13(3):245. https://doi.org/10.3390/w13030245

Chicago/Turabian Style

Eirís, Antonio, Luis Ramírez, Javier Fernández-Fidalgo, Iván Couceiro, and Xesús Nogueira. 2021. "SPH-ALE Scheme for Weakly Compressible Viscous Flow with a Posteriori Stabilization" Water 13, no. 3: 245. https://doi.org/10.3390/w13030245

APA Style

Eirís, A., Ramírez, L., Fernández-Fidalgo, J., Couceiro, I., & Nogueira, X. (2021). SPH-ALE Scheme for Weakly Compressible Viscous Flow with a Posteriori Stabilization. Water, 13(3), 245. https://doi.org/10.3390/w13030245

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