Development of a computational instrument using a lagrangian particle method for physics teaching in the areas of fluid dynamics and transport phenomena

Particle methods are an alternative to the traditional mesh Eulerian methods for solution of fluid dynamics and transport phenomena problems. The Lagrangian Meshless Smoothed Particle Hydrodynamics (SPH) method presents advantages compared to mesh methods as a better visualisation of the spatio-temporal evolution of the flow (and the fluid properties), and a lower computational cost in the study of complex geometries with topological changes, or free surfaces. A computer code has been written for serial computation using FORTRAN Programming Language. Three classical physical problems have been simulated: diffusion in a flat plate, still fluid within an immobile reservoir and dam breaking. In code validation, numerical results obtained showed a good agreement with the analytical and experimental results reported in the literature. The numerical code developed and presented in this work is a valuable tool for the teaching of Physics.


Introduction
The Eulerian view is historically the most commonly used in modelling of physical problems involving fluids and phenomena transport.This modelling requires the use of numerical methods employing grids or meshes, such as finite differences, finite volumes and finite elements, for the solution of partial differential equations (PDEs) or integral formulations [1].The greatest difficulties in using meshes are in ensuring consistency.Employing meshes can lead to a number of difficulties when dealing with fluid flow problems with free surface, mobile interfaces, complex geometries and topological changes.If there are these features, generating a mesh, a prerequisite for the numerical simulation of quality, becomes a difficult process, both time-consuming and expensive.
Lagrangian modelling is based on the hypothesis that the problem domain can be divided into a finite number of particles that do not interact with one another (oneparticle model).Each particle center of mass receives the coordinates that define its position in space and the physical properties of each Lagrangian element are found at each instance in time.The Lagrangian particle model is meshless and has been an alternative applied in research, pointing to the use of more effective computational methods for solving complex problems, providing * Endereço de correspondência: cadff1@gmail.com.
stable and accurate numerical solutions for PDEs or integral equations.Some of the advantages of the use of Lagrangian modelling regarding the Eulerian are the simplicity and lower computational cost in complex geometries, not needing the use of meshes, non-production of numerical oscillations, conservation of mass at the Lagrangian element, and finally the graphical visualisation of the results, that allows a better understanding of the spatio-temporal evolution of the fluid and its properties.
Until a few years ago, Lagrangian particle modelling was not used in the simulation of problems in fluid mechanics and transport phenomena.In 2011, Pritchard ( [2]) reported that describing the movements of individual fluid particles would be impractical, advising the use of the control volume analysis in modelling for fluids.For a long time, Lagrangian modelling was put aside in favour of Eulerian methods due mainly to the processing time: in general, higher than that required by mesh methods.
Currently, however, the progress of the processing techniques, the rapid spread of multi-core processors, and parallelisation, made the use of particle methods possible.Graphics processing units (GPUs), using Compute Unified Device Architecture (CUDA), developed by NVIDIA, allows the use of more than one million particles in the discretisation of the fluid domain [3].
Most graduate and undergraduate students still study physical laws according to the Eulerian view, basically due to the academic domain of numerical methods that use meshes to solve the differential equations used in problem modelling.However, nowadays, the meshless particle methods have become an alternative for the solution of the physical problems, with a promising future, due mainly to the advance of the processing techniques.In this context, the learning of the Lagrangian modelling and numerical particle methods is a current need in the courses of Physics.In addition, there is an increase in researches that aim at the development of Lagrangian mathematical models and new computational tools to solve physical problems.
This paper aims to present the employment of a Lagrangian particle method (Smoothed Particle Hydrodynamics) in the implementation of a computer code for solving certain physical problems.Thus, a valuable new tool for the Physics teaching will be presented to the students and researchers.
The remainder of this article is organised as follows.Section 2 brings a briefly presentation of the SPH Lagrangian method fundamentals and numerical aspects.The computer code developed is presented in Section 3. The validation of the computer code (with numerical simulations performed and results analysis) is shown in Section 4. In Section 5 conclusions are presented.

SPH Lagrangian Particle Method Fundamentals
SPH is based on the valid mathematical identity for a scalar function f (X), defined and continuous over the whole domain, as show the equation (1): where f (X) is a scalar function defined at the fixed point X = (x, y), δ (X − X) is the Dirac Delta function: By replacing the Dirac Delta function with the smoothing function, W, the approximation to the function at positionX is obtained (equation ( 2)): where h is the support radius, dX = dx dy is the infinitesimal area element, X and X are the positions of a fixed and a variable point at domain, respectively.The essence of the SPH method is in the discretisation of the continuum domain (Ω), in a finite number of particles and in these Lagrangian elements to obtain the values of the physical properties through from weighted interpolations, from the properties of the particles in the vicinity.Only the neighbouring particles, which are within the influence domain (at a maximum distance kh of the fixed particle considered, k being a scale factor that depends on the kernel employed), contribute to its behaviour.Figure 1 shows the arrangement of particles within the influence domain.
Searching for the neighbouring particles can be performed directly or using grids, which leads to a lower number of mathematical operations and reduces the computational cost ( [4,5]).Figure 2 shows the direct search (in which all pairs of particles "ab" at the domain will have the distances calculated and compared to the kh value) and the use of a grid, which reduces the number of searching operations (only particles within the shaded region, with three, nine or 27 cells, in 1-D, 2-D or 3-D cases, respectively, will be verified, whether they are or not neighbours of a reference particle).
Different kernels can be used, and so that they are considered suitable for interpolation, it is necessary that  Fraga Filho e4401-3 each one follows certain properties: smoothness, positivity, symmetry, convergence, decay, compact support, and normalisation within the domain of influence [4].Figure 3 shows the kernel used by Lucy in his pioneer SPH work [6], and the cubic spline kernel.
SPH approaches physical properties (such as density), gradients (pressure gradients), divergence (velocity divergence) and Laplacians (temperature and velocity Laplacians) related to fluid flow, with a second-order error.
Table I presents the kernels employed in this work.

SPH Approximations for Differential Equations in Fluid Mechanics and Transport Phenomena
Modelling of fluid flows and energy transport is performed by the conservation (mass and energy) and momentum balance equations.The evolution of the field densities, velocities and energy is defined by equations ( 3)- (5).Table II shows the conservation and momentum balance equations, according to the Lagrangian frame of refer- in other case.(1 + 3q) (1 − q) 3 , 0 ≤ q ≤ h 0, in other case.
in other case.
Momentum balance: Energy conservation: where ρ is the fluid density, tis the time, ∇ is the mathematical vector operator nabla, v is the fluid velocity, W is the kernel, Xis the spatial position, g is the acceleration due to gravity, υ is the kinematic fluid viscosity, P is the absolute pressure, e is the specific internal energy, εv is the energy dissipation per unit volume, q is the conduction heat flux, q H is the heat generated by other sources per unit volume, v ab = va − v b , a and b are subscripts that refer to fixed and neighbouring particles, respectively.ence, and their approximations by SPH to a viscous and incompressible fluid.
A complete presentation of the SPH method can be found in [4].Fluid mechanics physical laws (mathematical Lagrangian modelling), computational implementations and results achieved until this moment (summarized in the this paper) can be found in [8].

Errors in the SPH approximations
The approximations to a function and its derivatives taken by the SPH method have errors.This subject will be discussed below.
Applying the expansion of the Taylor series for the function f (X), which is differentiable in the domain around the fixed positionX, we obtain equation ( 6): where f (X) is the derivative of the function and Re(h 2 ) is the residue of the second order.Due to the kernel symmetry, equation ( 6) results in: From the analysis of equation ( 7), it is seen that the approximation to the function value has a second-order error.Similarly, the approximations for derivatives of the first and second orders also have errors.

Artificial Viscosity
The transformation of kinetic energy into heat takes place in problems involving mainly shock waves and needs to be measured.That energy transformation can be represented as a form of viscous dissipation, called artificial viscosity.Its application in the simulations aims to avoid numerical instabilities and the interpenetration between particles.The formulation used in the modelling of artificial viscosity is shown in equation ( 8), as presented in [4].
where π ab is the artificial viscosity, α π and β π are coefficients used in the calculation of artificial viscosity, c a and c b are the velocities of sound in the fixed and neighbouring particles, respectively, h a and h b are the support radii of the fixed and neighbouring particles, respectively, ϕ 2 is a factor that prevents numerical differences when two particles approach one another.The linear and quadratic coefficients are parameters controlling the strength of the artificial viscosity.The viscosity associated with α π produces a bulk viscosity, while the second term associated with β π , intended to suppress the particle interpenetration at high Mach number.The best choice for their values depends on the problem being addressed.The factor ϕ 2 was set to 0.01h 2 ab .The term related to artificial viscosity (π ab ) is added to the terms of pressure in the SPH approximations for the momentum balance and energy conservation equations [8].

Particle Inconsistency
Particles near the boundaries do not have complete domains of influence, which causes truncation of the kernel and consequent lower accuracy in the interpolations [1].This phenomenon is known as particle inconsistency.Figure 4 shows the occurrence of the truncation of the kernel in the coordinate polar system.
In the border regions, as shown in Fig. 5 (b), the kernel consistency is not guaranteed.There is not a full domain of influence and the kernel is truncated.A correction method based on the Taylor series called the Corrected Smoothed Particle Method (CSPM) is used in the correction of the inconsistency [9].

Computer Code
Figure 5 shows the flowchart of the computer code implemented using FORTRAN programming language.The algorithm has been written for serial computation.
Below follows a brief presentation of the code and its routines.verification of the accuracy of numerical results be performed.
In steps 6 and 7, the correction of the particles' physical properties (density and pressure gradient) located near the boundaries can be made using the Corrected Smoothed Particle Method (CSPM), [9].
In the present work, the simulations have been performed using a computer with 8GB of RAM memory, Intel Core i5-2450M 2 nd generation processor, and Linux operational system.

Code Validation
The numerical code has been used for solution of some physical problems.Before the beginning of simulations, an examination of the physical phenomenon was carried out to select the routines to be used (Fig. 5 shows all available routines).From the numerical results analysis, made through comparisons with analytical and results reported in the literature, it has been possible to validate the computational code for application in studied cases.In this section, the set of problems, their results, and a discussion of their results are presented and discussed.

Heat Diffusion in a Homogeneous Flat Plate
The equation that governs the energy transfer in the absence of pressure fields and energy dissipation is presented below (equation ( 9)): where e is the specific energy, q is the heat flux, and q H is the heat source.
The heat flux is obtained by Fourier's law.For an isotropic and homogeneous material, thermal conductivity is constant, and this law is given by equation (10): where k is the thermal conductivity and T is the temperature.
In the absence of heat source, in a thermal steady state, the energy conservation equation is written as follows (equation ( 11)): The calculation of the SPH Laplacian of temperature for each iteration was done explicitly, in a polar coordinate system, by solving equation ( 12), [11]: where m is the current time step, b is the subscript indicating each neighbouring particle of the fixed particle, which is denoted by the subscript a, n is the number of particles within the domain of influence, r ab = |X a − X b | is the distance between two particles, and r is the radial direction.
The technique of the separation of variables was employed to obtain the solution by series for the temperature distribution in an isotropic, homogeneous and flat plane, at the stationary state, as shows equation ( 13), [12]. where sinh(N π) , T S = T (x, 0) is the temperature at the lower boundary and N is the number of terms employed in the series.
In this work the first ninety terms of the series were used.
The dimensions of the plate were 1.0 m x 1.0 m.The whole domain had temperature T 0 equal to 0 • C, at the initial time; that is, the initial temperature was uniform.The prescribed boundary conditions (Dirichlet boundary conditions) have been imposed: 0 • C at right, left and lower sides and 100 • C at upper side of the plate.
The particles have been placed in the domain separated by a lateral distance dx = 1.0/n p (n p is the number of particles on each side of the plate) and their positions did not change with time.The particles temperatures inside the domain have been initialized with 0 • C and the thermal diffusivity was defined as 1.0 m 2 /s, which was held constant for all simulations.The influence domain (kh) was defined as 2.5dx, which was invariable during simulations.The time step was 1.0 x 10 −5 s.The forecast of temperatures was performed by Euler integration method.In the defining of the boundaries, virtual particles were fixed at the contours at a ratio of two virtual particles for each real particle and the temperatures of the sides of the plate were attributed to them.Virtual particles' properties were not subject to interpolations to predict their temperatures (Dirichlet boundary condition).
Simulations were carried out starting from the transient until the steady state was reached.Different combinations of numbers of particles (50, 60, 70, 80, and 90 per side of the flat plate) / kernels have been used.
Figure 6 shows the initial distribution of 50 ×50 particles in the domain (and the prescribed temperatures at the boundaries, attributed to the virtual particles) and the temperature distribution when the steady state was reached (t = 0.431 s).
For internal regions of the domain, the approximation of the Laplacian of the temperature by the SPH method gave results that were in agreement with the analytical solution.
The largest relative errors found in the steady state (∆T p ), obtained from the analysis of the differences be-  tween the analytical solution and the SPH numerical results, occurred in a few positions of the lower corners of the flat plate.Figure 7 shows these larger relative errors for different combinations of particle numbers and kernels.
Smaller differences in temperatures in regions close to the boundaries were observed when a kernel of higher degree was utilized (quintic spline), except for the distribution with 3600 particles.The complete analysis of simulations' results is in [11,13].
From the results analysis, we can conclude that to achieve better results it is necessary to perform a correction of the temperature values in regions near the contours (due to the kernel truncation problem).
Figure 8 shows the CPU time for different combinations number of particles/kernel employed in simulations.
Figure 9 presents the algorithm implemented in a flowchart scheme (wherein the enabled routines in the computer program is shown).

Incompressible, uniform and isothermal fluid at rest within an immobile reservoir
This is one of the first problems that must be understood and solved in Fluid Mechanics.This hydrostatic problem  consists of a tank that is at rest, open to the atmosphere, and filled with a liquid.The origin of the frame of reference, with a positive vertical orientation of pointing up, is fixed at the bottom of the reservoir, as shown in Fig. 10.
The solution for a Newtonian, incompressible and isothermal fluid at rest within an immobile reservoir is well known.The application of the macroscopic view and the continuum theory (where the molecular motion of the fluid are not considered) allows the use of partial differential equations in the problem mathematical modelling.The integration of the momentum balance equation in the vertical direction leads to equation ( 14): The physical laws of mass conservation and momentum balance (equations ( 3) and ( 4)), and the concept of the modified pressure, presented in [14], have been employed in the problem solving.The modified pressure concept is presented mathematically by equation ( 15):  where P mod is the modified pressure, P 0 is the reference pressure (atmospheric pressure), y is the ordinate of fluid (with the referential frame fixed at bottom) and H is the ordinate of the fluid surface.Taking into account that (P − P 0 ) is the pressure exerted by the fluid column, the modified pressure is equal to zero, equation ( 16): where g is the gravity magnitude.The use of the modified pressure changes the form of the momentum balance equation (equation ( 4)), as shown in equation (17).
An SPH approximation for the modified momentum balance equation is: where P mod (a) and P mod (b) are the modified pressures on the fixed particle and the neighbouring particle, respectively.
The initial distribution of the particles in the domain has been performed on a regular disposition with 50 particles per side of the tank with dimensions of 1.00 ×1.00 m, or 2500 water particles in total, at 20 o C and at sea level (ρ = 1.00 × 10 3 kg/m 3 , ν = 1.00 × 10 −6 m 2 /s).The number of particles within the influence domain was twenty-one.The boundary treatment has used virtual particles.Three rows and three columns of this particle type have been added to the regular distribution of fluid particles, totalling 636 virtual particles (whose physical properties were equal to the properties of the fluid particles).Figure 11 shows the initial particle distribution at domain and the distribution of hydrostatic pressure on the fluid particles.The modified pressures for all particles (fluid and virtual), at rest, were initialized to zero.Cubic and quintic spline kernels have been used in simulations.The time step employed was 1.00 ×10 −4 s.
After the solution of equation ( 18) and updating from the particle positions and velocities by the numerical temporal integration, for each numerical iteration, those remained unchanged, and the hydrostatic equilibrium has been maintained.The modified pressures field were restored with 0 at the start of each new iteration, since the particles were at rest (and free surface has not changed).After starting the simulation, at the time instance 5.00 s (50,000 numerical iterations), the coincidence of the positions of the centers of mass at that moment and their initial positions was verified (regardless of the kernel used) in agreement with the analytical solution (Fig. 12).
In previous literature studies, standard SPH method has been employed and results have been obtained using the momentum balance equation in its traditional form, presented in equation ( 4) ( [15][16][17][18]).When the standard SPH was applied to the obtaining of approximations for the pressure and viscosity forces, terms which were present in the momentum balance equation and which were added to the gravitational force, made small mistakes appear.Despite of the small orders of magnitude from these errors, they have spread and increased during the numerical simulation.The particles did not remain in their initial positions, and their movements did not cease with time progress, which is not physically correct, considering the continuum hypothesis applied for fluids (which does not take into account the molecular motion).The particle and the continuum approaches, employed in SPH studies, can agree since the microscopic fluctuations, which are absent in continuum mechanics, can be ignored [19].
In this research, by using the modified pressure concept, the errors from the approximations provided by the SPH method for the physical laws (written mathematically in the form of partial differential equations) were eliminated.In consequence the continuum theory was obeyed and the particles oscillations haven't appeared.
The processing times were 6 h 37 min 6 s and 6 h 57 min 23 s, when the cubic and quintic spline kernels were used, respectively.
The flowchart, in Fig. 13, shows the enabled routines in the computer program used for solution of the hydrostatic problem.

Dam Breaking
This is a classic problem of fluid dynamics.Dam breaking studies are of great importance to the prevention of  accidents, which can cause serious environmental consequences and also damage to inhabitants located in the vicinity.
The fluid is considered incompressible, uniform and isothermal; the Navier-Stokes equations, mass conservation and momentum balance (equations ( 3) and ( 4)), must be solved.
Numerical simulations have been performed for two different heights of dammed water (H), and the results have been compared to the results of experiments available in literature [20]   The absolute pressure (P ) on the particles presents terms related to the hydrostatic and dynamic pressures.The estimation of the dynamic pressure field with the use of the Tait equation, suggested in [14], is presented in equation (19): where P dyn is the dynamic pressure, B is the term associated with fluctuations in the fluid density, ρ 0 is the fluid density at rest, and γ is the polytropic constant, usually 7.
The term B is obtained from equation ( 20): where c 0 is the is the magnitude of sound velocity in the fluid.
For the Tait equation to be applied in predicting the dynamic pressure, it must be ensured that the Mach number is not greater than 0.10.In simulations, the term B had the value 0.85 ×10 5 Pa.
The free surface particles were marked and the constant pressure condition (zero) was applied first and renewed in every numerical iteration.The time step employed was 1.00 ×10 −5 s.The simulations were run for a physical time of 0.30 s (30,000 numerical iterations).For both geometries simulated, the term related to the artificial viscosity has been added to the terms of pressure in the SPH approximations for the momentum balance equation (to avoid numerical instabilities and interpenetration between particles).The formulation used in the modelling of artificial viscosity is presented in [4,8].The coefficients α π and β π (present in that formulation) received the values 0.20 and 0.30; and 0.00, respectively.The laminar flow modelling has been employed.The correction of the particles' physical properties (density and pressure gradient) located near the boundaries have been made using the Corrected Smoothed Particle Method (CSPM), [9].
In the boundary treatment technique, the geometric boundary conditions have used.The collisions of the fluid particles against the solid walls (considered as welldefined planes) have been studied.
SPH is a model of one particle; that is, collisions between particles are not considered.An algorithm for the study of collisions and trajectories of the particles that collide against the solid walls of the domain has been implemented.After carrying out the temporal integration and obtaining the position of the centre of mass of each fluid particle by the SPH method (in the situation in which there are no walls delimiting the domain), the collision algorithm, based on mathematical and geometry fundamentals, brings the particles back into the domain.This is based on the fact that the fluid particles could not escape the domain due to the presence of the predefined geometrical planes.The degree of elasticity of the collisions was measured by a coefficient of restitution of kinetic energy (CR).In this work, collisions have been considered perfectly elastic (CR = 1.00), [8].
After the solution of equation ( 4), temporal integration for the position and velocity has been solved using the Euler method.
Figures 16 to 18 show the experimental and numerical results for both simulated domains.
Table III shows the percentage differences between the abscissas of the wave fronts obtained by SPH and experimentally, calculated using the equation (21): where x exp and x SP H are the abscissas of the wave fronts obtained by experiments and SPH, respectively, and ∆x p is the percentage difference between the abscissas of the wave fronts.
From the Table III analysis, it can be seen that the greatest differences between the wave fronts occurred in the initial stages of dam breaking.With the time progress, the differences decreased, as shown at time 0.20 s.The smaller differences between wave fronts (1.03% in the first and 2.33% in the second geometry) have occurred when it was used the coefficient α π with the value 0.30.The numerical results showed a good agreement with experimental results reported in the literature [20].In the first geometry simulations, CPU processing times were 2 h 21 min 24 s (α π = 0.20) and 2 h 22 min 40 s (α π = 0.30).In the second geometry, CPU times were 4 h 49 min 8 s (α π = 0.20) and 4 h 49 min 31 s (α π = 0.30).
In Figure 19, a flowchart shows the numerical code implemented for solution of dam break problem.

Conclusion
Due to the advances in computer processing techniques, there has been an increase in the applications of the particle methods for solution of problems in fluid mechanics and transport phenomena areas.SPH is a particle method that has advantages compared to traditional methods using meshes, e.g.better visualisation of the spatio-temporal evolution of the flow, and a lower computational cost in the study of complex geometries with topological changes or free surfaces beyond the control of undesirable numerical diffusion.From the graphical analysis of the results, by viewing the properties of particles (which may be fields of positions, velocities, accelerations, pressures, among others) a better understanding of the physical phenomenon that occurs is reached.
The learning of the Lagrangian modelling and numerical particle methods is a current need in the Physics courses.The recent progress of processing techniques, the rapid spread of multi-core processors, and parallelisation, make possible the use of particle methods for physicals problems solving.In addition, there is an increase in re-searches aimed at the development of Lagrangian models applicable to physical problems and the need to development and use new computational tools.
The computational code presented, and validated for the study of certain physical problems, is a valuable tool and points to the future, as an instrument for the application of particle modelling in Physics teaching.

Figure 1 :
Figure 1: Graphical representation of the influence domain.(a) The reference (fixed) particle, a, has neighbouring particles (b) within the influence domain.(b) The kernel (W ) ensures a greater contribution from the nearest neighbouring particles for the value of the physical property in the reference particle.

Figure 4 :
Figure 4: Domain of influence in a polar coordinate system.(a) Complete and (b) incomplete.It is possible see that the kernel is not defined in a whole domain.

1 .
Initial conditions: the initial positions, velocities, densities, temperatures, support radius and other fluid particles' physical properties are set to the beginning of the simulation.2. Boundary conditions definition: the technique to be employed for the boundary treatment is defined.3. Searching for the neighbouring particles: particles within the domain of influence of a reference particle may vary over time, and the search must be performed at each numerical iteration.4. Pressure calculus: in this routine, updating of the pressure field acting on the particles is performed.5. Kernel definition: smoothing function used in interpolations is chosen.6.Mass conservation equation solution: the particles' density calculus for each particle is conducted from solution of equation (3). 7. Obtaining of surface forces: approximations to surface forces acting on the particles are obtained (the first two terms of equation (4), pressure and viscous forces, respectively).8. External forces application: the last term on the right side of equation (4) is the sum of all external forces.In the class of external forces (third term on the right side of the equation (4)) is the gravity.Other forces can also be considered such as the repulsive forces exerted by the particles on the contours of fluid particles (Lennard-Jones forces) and free surface forces, if they exist in the studied problem.9. Energy conservation equation solution: SPH approximations are employed for solution of equation (5).10.Momentum balance equation solution: particles' accelerations field is obtained from solution of equation (4).11.Temporal integration: prediction of the particles' properties to the next iteration.The Courant-Friedrichs-Lewy (CFL) stability criterion was applied in the time-step setting to ensure convergence of results[10].12. Output files: these files are obtained at the end of each numerical iteration and, from their data, graphical representations of the fluid's physical properties are generated.13.Accuracy: this routine verifies whether the desirable accuracy has been achieved or if a new iteration will have to be executed.In the latter case, we must return to step 2 (boundary conditions definition) and follow the remaining steps until a new

Figure 5 :
Figure 5: Algorithm implemented with all routines.

Figure 6 :
Figure 6: (a) Initial distribution of 50 ×50 particles in the domain and the prescribed temperatures at the boundaries (attributed to the virtual particles).(b) Temperature distribution when the steady state has been reached (a cubic spline kernel has been employed).

Figure 7 :
Figure 7: Behaviour of the higher relative error.

Figure 8 :
Figure 8: CPU times for the different combinations number of particle/ kernel employed in simulations.

Figure 9 :
Figure 9: Algorithm implemented for diffusion in a homogeneous flat plane.

Figure 11 :
Figure 11: Initial distribution of fluid particles (red) and virtual particles (blue).The latter are in an expanded region of the domain.

Figure 12 :
Figure 12: Positions of the particles within the reservoir, time invariant.

Figure 13 :
Figure 13: Flowchart of the numerical code for the reservoir problem containing an incompressible fluid and open to the atmosphere.
. The 2-D computational domains simulated were: (a) a square area with height and width of 0.114 m, discretized by 1296 fluid particles, with lateral distances between their centres of mass of 3.26 mm; (b) a rectangular area with a height of 0.228 m and width of 0.114 m, discretized by 2556 fluid particles, with lateral distances between their centres of mass of 3.26 mm.The experimental apparatus is schematically shown in Fig. 14.

Figure 15
Figure15presents the 2-D computational domains simulated and the initial distribution of the particles.The absolute pressure (P ) on the particles presents terms related to the hydrostatic and dynamic pressures.The estimation of the dynamic pressure field with the use of the Tait equation, suggested in[14], is presented in equation (19):

Figure 15 :
Figure 15: The 2-D computational domains simulated and the initial distribution of particles for the dam breaking.

Figure 16 :
Figure 16: Experimental and numerical results for the first simulated geometry, with the implementation of the artificial viscosity (απ = 0.20).

Figure 17 :
Figure 17: Experimental and numerical results for the first simulated geometry, with the implementation of the artificial viscosity (απ = 0.30).

Figure 18 :
Figure 18: Experimental and numerical results for the second simulated geometry, with the implementation of the artificial viscosity.In (a), απ = 0.20 and in (b), απ = 0.30.

Figure 19 :
Figure 19: Flowchart of the numerical code implemented for dam breaking.

Table 1 :
Interpolation Kernels employed in the SPH simulations

Table 2 :
Differential Equations and SPH Approximations

Table 3 :
Percentage differences between abscissas of wave fronts (comparison between experimental and numerical results)