Forced Two-Dimensional Wall-Bounded Turbulence Using SPH

Similar documents
Continued Investigation of Small-Scale Air-Sea Coupled Dynamics Using CBLAST Data

Simulating three-dimensional turbulence with SPH

Quasi-3D Computation of the Taylor-Green Vortex Flow

Technical Report TR

PARALLEL SIMULATION OF A FLUID FLOW BY MEANS OF THE SPH METHOD: OPENMP VS. MPI COMPARISON. Pawe l Wróblewski, Krzysztof Boryczko

Smoke Simulation using Smoothed Particle Hydrodynamics (SPH) Shruti Jain MSc Computer Animation and Visual Eects Bournemouth University

Possibility of Implicit LES for Two-Dimensional Incompressible Lid-Driven Cavity Flow Based on COMSOL Multiphysics

3D Simulation of Dam-break effect on a Solid Wall using Smoothed Particle Hydrodynamic

Characteristic Aspects of SPH Solutions

Axisymmetric Viscous Flow Modeling for Meridional Flow Calculation in Aerodynamic Design of Half-Ducted Blade Rows

Comparison of a two-dimensional viscid and inviscid model for rotating stall analysis

MASSACHUSETTS INSTITUTE OF TECHNOLOGY. Analyzing wind flow around the square plate using ADINA Project. Ankur Bajoria

SPH: Towards the simulation of wave-body interactions in extreme seas

A Direct Simulation-Based Study of Radiance in a Dynamic Ocean

Using a Single Rotating Reference Frame

The Spalart Allmaras turbulence model

NIA CFD Futures Conference Hampton, VA; August 2012

Keywords: flows past a cylinder; detached-eddy-simulations; Spalart-Allmaras model; flow visualizations

A laboratory-dualsphysics modelling approach to support landslide-tsunami hazard assessment

Numerical Investigation of Non-Newtonian Laminar Flow in Curved Tube with Insert

Andrew Carter. Vortex shedding off a back facing step in laminar flow.

9.9 Coherent Structure Detection in a Backward-Facing Step Flow

Interpolation error in DNS simulations of turbulence: consequences for particle tracking

Driven Cavity Example

Inviscid Flows. Introduction. T. J. Craft George Begg Building, C41. The Euler Equations. 3rd Year Fluid Mechanics

Acknowledgements. Prof. Dan Negrut Prof. Darryl Thelen Prof. Michael Zinn. SBEL Colleagues: Hammad Mazar, Toby Heyn, Manoj Kumar

Table of contents for: Waves and Mean Flows by Oliver Bühler Cambridge University Press 2009 Monographs on Mechanics. Contents.

VI Workshop Brasileiro de Micrometeorologia

Application of Finite Volume Method for Structural Analysis

Divergence-Free Smoothed Particle Hydrodynamics

cuibm A GPU Accelerated Immersed Boundary Method

Geometric Acoustics in High-Speed Boundary Layers

Lagrangian methods and Smoothed Particle Hydrodynamics (SPH) Computation in Astrophysics Seminar (Spring 2006) L. J. Dursi

Pulsating flow around a stationary cylinder: An experimental study

Computational Fluid Dynamics as an advanced module of ESP-r Part 1: The numerical grid - defining resources and accuracy. Jordan A.

Modeling Surface Tension in SPH by Interface Reconstruction using Radial Basis Functions

Multi-Domain Pattern. I. Problem. II. Driving Forces. III. Solution

Non-Newtonian Transitional Flow in an Eccentric Annulus

Lagrangian and Eulerian Representations of Fluid Flow: Kinematics and the Equations of Motion

Surface effects in QG dynamics

2D numerical simulation of ocean waves

Keywords: CFD, aerofoil, URANS modeling, flapping, reciprocating movement

ENERGY-224 Reservoir Simulation Project Report. Ala Alzayer

High-Fidelity Simulation of Unsteady Flow Problems using a 3rd Order Hybrid MUSCL/CD scheme. A. West & D. Caraeni

Three-dimensional numerical simulations of flapping wings at low Reynolds numbers

Estimating Vertical Drag on Helicopter Fuselage during Hovering

CGT 581 G Fluids. Overview. Some terms. Some terms

CFD MODELING FOR PNEUMATIC CONVEYING

CFD Analysis of a Fully Developed Turbulent Flow in a Pipe with a Constriction and an Obstacle

Adarsh Krishnamurthy (cs184-bb) Bela Stepanova (cs184-bs)

PySPH: A Python Framework for Smoothed Particle Hydrodynamics

CFD STUDY OF MIXING PROCESS IN RUSHTON TURBINE STIRRED TANKS

Numerical Analysis of Shock Tube Problem by using TVD and ACM Schemes

Transfer and pouring processes of casting by smoothed particle. hydrodynamic method

Investigation of cross flow over a circular cylinder at low Re using the Immersed Boundary Method (IBM)

Mid-Year Report. Discontinuous Galerkin Euler Equation Solver. Friday, December 14, Andrey Andreyev. Advisor: Dr.

LONG-TIME SIMULATIONS OF VORTEX SHEET DYNAMICS

Vorticity dynamics & the small scales of turbulence Particle Tracking Velocimetry 3DPTV & DNS

Strömningslära Fluid Dynamics. Computer laboratories using COMSOL v4.4

FEMLAB Exercise 1 for ChE366

Computational Simulation of the Wind-force on Metal Meshes

Flow Structures of Jupiter s Great Red Spot Extracted by Using Optical Flow Method

A STUDY ON THE UNSTEADY AERODYNAMICS OF PROJECTILES IN OVERTAKING BLAST FLOWFIELDS

Introduction to ANSYS CFX

arxiv: v1 [physics.flu-dyn] 23 Oct 2018

On the Resolution Necessary to Capture Dynamics of Unsteady Detonation

MESHLESS SOLUTION OF INCOMPRESSIBLE FLOW OVER BACKWARD-FACING STEP

FLUID MECHANICS TESTS

Isotropic Porous Media Tutorial

intermittency, mixing, and dispersion High-Resolution Simulations of Turbulence: Supported by NSF (CTS)

Backward facing step Homework. Department of Fluid Mechanics. For Personal Use. Budapest University of Technology and Economics. Budapest, 2010 autumn

Microwell Mixing with Surface Tension

Numerical Simulation Study on Aerodynamic Characteristics of the High Speed Train under Crosswind

DES Turbulence Modeling for ICE Flow Simulation in OpenFOAM

Direct Numerical Simulation of a Low Pressure Turbine Cascade. Christoph Müller

Fast Multipole Method on the GPU

(LSS Erlangen, Simon Bogner, Ulrich Rüde, Thomas Pohl, Nils Thürey in collaboration with many more

Spatially localized analysis of dynamically adaptive spectralelement

Smoothed Particle Hydrodynamics

Transactions on Modelling and Simulation vol 20, 1998 WIT Press, ISSN X

A Comparative CFD Analysis of a Journal Bearing with a Microgroove on the Shaft & Journal

Zigzag instability of vortex arrays in stratified and rotating fluids

Realistic Animation of Fluids

IMPROVED WALL BOUNDARY CONDITIONS WITH IMPLICITLY DEFINED WALLS FOR PARTICLE BASED FLUID SIMULATION

Moving Interface Problems: Methods & Applications Tutorial Lecture II

Simulation of liquid cube fracture with SPH

Interaction of Fluid Simulation Based on PhysX Physics Engine. Huibai Wang, Jianfei Wan, Fengquan Zhang

Realtime Water Simulation on GPU. Nuttapong Chentanez NVIDIA Research

Computer Science Senior Thesis

Scientific Review ISSN: Vol. 1, No. 5, pp: , 2015 URL:

Improvement of Reduced Order Modeling based on POD

Numerical Simulation of Coastal Wave Processes with the Use of Smoothed Particle Hydrodynamics (SPH) Method

Numerical study of composite structures subjected to slamming loads using Smoothed Particle Hydrodynamics (SPH)

SPH Accuracy to Describe the Wave Impact on a Tall Structure (benchmark case 1)

NUMERICAL 3D TRANSONIC FLOW SIMULATION OVER A WING

Study on the Design Method of Impeller on Low Specific Speed Centrifugal Pump

A BEND GEOTHERMALTWO-PHASE PRESSURE LOSS 1. INTRODUCTION. Geothermal Institute, University of Auckland

ALE Seamless Immersed Boundary Method with Overset Grid System for Multiple Moving Objects

Three-dimensional direct numerical simulation of wake transitions of a circular cylinder

An explicit and conservative remapping strategy for semi-lagrangian advection

Transcription:

Forced Two-Dimensional Wall-Bounded Turbulence Using SPH Martin Robinson School of Mathematical Sciences Monash University Clayton, Melbourne, Australia martin.robinson@sci.monash.edu.au Joseph Monaghan School of Mathematical Sciences Monash University Clayton, Melbourne, Australia joe.monaghan@sci.monash.edu.au Abstract SPH was used to simulated forced, wall-bounded 2D turbulence in a square box. Initial results using the Cubic Spline kernel found significant particle disorder and clumping, which contributed to a large excess of kinetic energy at the smaller length scales of the simulation. This excess in turn caused a large increase in the viscous dissipation at these scales. Possibly related to this, but not proven to be, is the fact that kinetic energy does not build up at the longest wavelength, contrary to theoretical predictions and published experiments. The particle clumping was found to be caused by the tendency of particles to separate themselves at a distance equal to the location of the kernel s spline point. Using a modified Cubic Spline with the spline point set to the initial particle spacing eliminated all clumping, but had the disadvantage of decreasing the falloff of the kernel s Fourier transform. The use of the Wendland kernel gave the best results, also eliminating particle clumping while having a faster Fourier transform falloff than the Modified Cubic Spline. However, even this kernel did not eliminate the excess kinetic energy at small scales or the lack of kinetic energy buildup at larger scales. Finally, a global measure of simulation accuracy is proposed based on the homogeneous nature of the turbulence. I. INTRODUCTION As a benchmarking application for SPH, two-dimensional, isotropic, homogeneous turbulence has a number of advantages and one rather large disadvantage. Thanks to the chaotic and highly non-linear nature of turbulence, it is a challenging simulation for any numerical method and for SPH in particular. SPH can be sensitive to particle disorder, something which turbulence is excellent at producing. The method also tends to suffer from excess numerical dissipation, which could disrupt the link that exists in 2D turbulence between the small dissipative scales and the large scale energetic motions of the fluid. At the same time, while the turbulence is difficult to simulate, it provides many interesting avenues to probe what is happening in the simulation. For continually forced turbulence, where the particle dynamics are homogeneous and isotropic, spatial and temporal averages, autocorrelations and other statistical tools can be used and compared with the significant numerical, theoretical and experimental work on the subject of turbulence. But perhaps the most dominant form of analysis used in this subject would have to be the use of the Fourier transform to separate and compare the large range of turbulent length scales. This too is only useful for spatial homogeneous flows, and could provide new insights into SPH simulations. The chief disadvantage of simulating turbulence is of course the large number of particles needed to fully resolve the wide range of important length scales. This is mitigated somewhat by only considering 2D turbulence but is still a problem given that the forcing scale has to be well removed from the domain size and the smallest dissipative scale, and that the ratio between the forcing and smallest length scales is proportional to Re 0.5. For this paper we have used Re 1400 and integrated over a time period of 50 secs, which has required the calculation of 250,000 timesteps using 300x300 particles. But, thanks to the rapid rise in the use of computer clusters and multiple CPU desktop computers, a parallel SPH implementation can overcome these difficulties. Standard quasi-compressible SPH is a local method and is easily and efficiently partitioned among multiple processors. Once the parallel code is written, it scales up extremely well to an arbitrary number of processors, limited only by the number of CPUs that are available. There have been a number of SPH turbulence models proposed in the literature, based on versions of existing turbulence models (e.g. Monaghan [1], Violeau [2]). Examples of Direct Numerical Simulations (DNS), where the full range of scales is modelled, are fewer. Mansour [3] has recently completed a PhD thesis on SPH turbulence, both modelled using the α-sph model and DNS. Our work attempts to investigate questions raised by this work, as well as extending it to wall-bounded turbulence. II. SPH METHOD This work uses the standard quasi-compressible SPH method outlined in the 2005 review paper by Monaghan [4]. The viscosity term is calculated using the Monaghan [5] form, which is based on the dissipative terms used in Riemann Solvers and conserves linear and angular momentum. The density for each particle is found by integrating the continuity equation. The particle s position and velocity are integrated using the Verlet second order method. In order to preserve the reversibility of the simulation (in the absence of viscosity), dρ/dt is calculated using the particle s position and velocity at the end, rather than the middle, of the timestep.

The no-slip boundaries are modeled using four layers of immovable SPH particles. These boundary particles are identical to the other fluid particles in every way except that their positions are constant. The initial results use the Cubic Spline kernel. The kernel smoothing length is constant in time and space, and the ratio of smoothing length to particle spacing is 1.95. III. SIMULATION DESCRIPTION The domain consists of a square box with no-slip boundaries and sides of length W = 2. The forcing term used to generate the turbulence was chosen to match that used by Clercx [6]. The divergence-free forcing term is added to the momentum equation for each particle. Du Dt = P ρ + ν 2 u + F (1) F = ( ) ( ) c k W ky 2π 2π k 2 sin k x W k x + θ k (2) k where k = (k x, k y ), k x = 1, 2, 3,..., k y = 1, 2, 3,... is an integer wavenumber vector, c k is the magnitude of the complex mode amplitude a k and θ k is the phase of a k. The wavelength of each mode is λ = ( W k x, W k y ). The forcing is only applied over a narrow range of modes k [7, 9]. The complex amplitude of each mode a k = c k e iθ k is random in time, using a random walk first proposed by Lilly [7]. a k = A 1 σ 2 e iπg + σa k (3) where A = 6 and g is a random variable taken from a Gaussian distribution with zero mean and a standard deviation of one. The correlation coefficient σ is calculated from the timestep size t and the amplitude decay time, τ = 683. σ = 1 t/2τ 1 + t/2τ IV. TWO-DIMENSIONAL TURBULENCE One of the primary properties of 2D turbulence is the fact that energy is transferred to longer wavelengths over time. This is typically called the inverse energy cascade. It means that in bounded domains where a turbulent velocity field is allowed to freely evolve, the average size of the eddies will continue to grow until only one or two are left that fill the domain [8], [9]. In a square domain with no-slip walls and steadily forced turbulence, it has been observed experimentally [10] and numerically [6] that the flow quickly organises into a single large vortex structure that fills the domain. The structure persists for long periods of time, but does undergo sudden destruction and subsequent reformation into another large vortex, often with an opposite rotation to the original. While energy is continually (except during the destruction of the large vortex structure) transferred to larger length scales, the opposite is true for the vorticity. At larger scales, where the action of viscosity is negligible, vorticity is materially (4) Fig. 1. Kraichnan s predicted kinetic energy spectrum for 2D turbulence in an infinite domain. For the case of bounded 2D turbulence, the energy is expected to build up in the longest wavelength conserved and is teased out into smaller and smaller filaments by the flow. Once the vorticity gradients are great enough, viscosity takes over and diffuses the vorticity. This process is called the enstrophy cascade. For an infinite domain, where the turbulence is continually forced at mode k = k f, Kraichnan [11] predicted the well known scaling laws for the inverse energy and enstrophy cascades. For k > k f (the enstrophy cascade), the kinetic energy scales as k 3. For k < k f, the kinetic energy scales as k 5/3. V. INITIAL RESULTS The SPH simulation was setup with 300x300 particles and a kinematic viscosity of ν = 0.0003. The forcing term parameters were A = 6 and τ = 683. The Reynolds number was calculated using the half width of the box (W/2 = 1) and the RMS velocity. Once the simulation was statistically steady, the RMS velocity was v rms = 0.42 and hence Re 1394. This means that the ratio between the size of the large, energy containing eddies l and the smallest vorticity filament η is l/η Re = 37. Using the forcing length scale as the large scale gives a smallest scale of W/296. This is, however, the worst case scenario. Given that kinetic energy should be transfered to longer scales as the simulation progresses, the length scales above the forcing scale should contain most of the energy, which would increase the size of the calculated dissipation scale and decrease the required resolution. Fig. 2 shows a number of snapshots from the simulation with the particles coloured by vorticity. Initially all the eddies have sizes comparable to the forcing term length scale, and as the simulation progresses these eddies do grow significantly in size. However, some process stops the creation of the large, single vortex reported by [6] and [10], and the average size of the eddies stops well below the length scale of the box. The RMS velocity of the SPH simulation is also far below what is expected for these parameters. The pseudo-spectral simulation performed by Clercx [6] uses exactly the same 2

(a) Time = 0.6 (b) Time = 16 (c) Time = 32 (d) Time = 47 (e) Time = 62 Fig. 2. Simulation results using Cubic Spline kernel. Particles coloured by vorticity forcing term parameters as this simulation, and Clercx reports an RMS velocity of 1.5. This means that Clercx s simulations gives a total kinetic energy nine times greater than the SPH simulation. In order to examine the kinetic energy scaling, a 2D Fourier transform was applied to the particle s kinetic energy, following the method of Mansour [3]. This is done by taking the usual form of the Fourier transform and simply replacing the integral with an SPH sum over all the particles so that becomes X(k) = X(k) = N b=1 x(r)e iπk r dr, (5) x b e iπk r b m b ρ b. (6) where r b, m b and ρ b are the position, mass and density of particle b and x b is the variable that is being transformed to the Fourier domain. Mansour tested the accuracy of this SPH Fourier transform using a number of test spectrums and density profiles and found that accurate results were obtained up to wavenumber k c = 21 50N, where N is the number of particles along that dimension. All the spectrums shown in this paper stop at k c. In order to reduce the influence of the walls on the result, the particle s kinetic energy E b was reduced by the mean kinetic energy, and a Hann window was applied to the results. a x b = 0.5(1 cos(π( r b + 1)))(E b E a N ) (7) Finally, the 2D spectrum is collapsed to 1D by averaging over the angles in wavenumber space. The resultant spectrum is shown in Fig. 3. Also shown are two reference lines for the inverse energy cascade (k 3 ) and enstrophy cascade (k 5/3 ) scaling. Note that since we don t have an infinite domain, it isn t expected that the kinetic energy follow the k 3. Rather, energy should build up in the longest wavelength. For the case of this SPH simulation, however, this does not happen. While the kinetic energy roughly follows the k 3 scaling above k = 1, there is no buildup of energy in the smallest wave number. In the length scales smaller than the forcing scale k > 1, the kinetic energy spectrum follows the enstrophy cascade well until k 4 (this corresponds to a length scale of about Kinetic Energy Spectrum Fig. 3. Viscous Power Spectrum Fig. 4. 1e-05 1e-06 Kinetic Energy Spectrum using the Cubic Spline kernel Viscous Power Spectrum using the Cubic Spline kernel 10 particle spacings). After this point the spectrum levels off and then begins to climb. According to Kraichnan s theory and many subsequent numerical experiments (e.g. Clercx [6]), the spectrum should follow the k 3 scaling until viscosity becomes dominant and the kinetic energy drops to zero. It is this excess energy in the scales below 10 particle spacings that is thought to be the primary source of the excess dissipation in the simulation. Fig. 4 shows the spectrum of the viscous power P v (k). This is calculated by first finding the viscous power p v = f v u for each particle, where f v is the viscous force applied to the particle and u is it s velocity. Then an SPH Fourier transform is applied in the same manner described previously for the kinetic energy. As can be seen from Fig. 4, the viscous power rises rapidly once k > 4, due to the fact that the Fourier transform of the viscous power is proportional to k 2 times the kinetic energy P v (k) k 2 E(k). The end result is that the excess energy in 3

Particle Number Density 0.50 0.45 0.40 0.35 0.30 0.25 0.20 5 0 0.0 0.5 1.0 1.5 2.0 Normalised Particle Separation r = r/h Fig. 5. Average number density of particles at a distance r = r/h away from any particle, using the Cubic Spline Particle Number Density 0.6 0.5 0.4 0.3 0.2 0.0 0.0 0.5 1.0 1.5 2.0 Normalised Particle Separation r = r/h Fig. 6. Average number density of particles at a distance r = r/h away from any particle, using the Modified Cubic Spline the smaller wavelengths causes the viscous term to remove a significant proportion of the total energy at those wavelengths. VI. ELIMINATING PARTICLE CLUMPING FOR THE CUBIC SPLINE KERNEL One of the sources of this excess energy has been found to be the well-known SPH tensile instability. A typical characteristic of this instability is the particle s tendency to clump together, effectively reducing the simulation resolution and causing the particles to become more disordered. The homogeneous nature of the turbulence simulation means that all particles a reasonable distance away from the walls will become equally disordered, which allows for the use of statistical averages in the analysis of this instability. We can calculate a radial particle density function that is valid at all interior points in the domain. This function, p ρ (r), gives the average particle number density at a distance r away from any particle. It is calculated by randomly selecting 10,000 neighbouring particle pairs from the domain that are at least 0.25 units away from the wall. A histogram is taken of the distances between these pairs, which is then converted to a particle number density function by dividing by the area of each radial bin and the total number of particle pairs. The result is shown in Fig. 5. A clear peak can be seen at r 1. This is also the value of the smoothing length h. There is also a minimum at r 0.5, which roughly corresponds to the initial particle spacing. To compare, a particle distribution that was evenly spaced would have a clear peak at the particle spacing. Instead, the peak that can be seen at r = h means that the particles tend to form groups of particles a distance of h apart. Subsequent simulations varying the value of h (but keeping the particle spacing constant) show that the peak in p ρ (r) follows the value of h. For the Cubic Spline kernel, r = h is the location of the spline point, which is also half the total radius of the kernel. However, a new kernel, the Modified Cubic Spline, can be defined so that the spline point is located at r = α, while keeping the radius of the kernel at 2h Fig. 7. Typical particle distributions using the Cubic Spline kernel (left) and the Modified Cubic Spline kernel (right) (2 q) 3 4 α (α q) 3 if 0 q < α 2 W(q) = β (2 q) 3 if α q < 2 0 otherwise Where β = 10/(h 2 π(32+4α 3 )) in 2D. Price [12] developed a similar kernel with an arbitrary order and two spline points. Further tests using this kernel and varying α revealed that the peak in p ρ (r) followed the placement of the spine point α. This means that the tendency of particles to clump together is directly related to a property of the kernel. In the case of the Cubic Spline kernel, the location of the spline point. Using this information, it is easy to see that the location of the spline point must be set to the initial particle spacing in order to minimise particle clumping. The result is shown in Fig. 6 and 7, which show the radial particle density function when using α = p (where p is the initial particle spacing) and a typical distribution of particles with both α = h and α = p. From this point on, the Modified Cubic Spline will refer to the above kernel with α = p. VII. USING THE WENDLAND KERNEL While the modification of the spline point location eliminates particle clumping, other beneficial aspects of the Cubic Spline are reduced as a result. The Fourier transform of the Modified Cubic Spline falls off more slowly than the typical Cubic Spline, which has been shown to reduce the simulation accuracy [13]. For this reason we have also tested the Wendland kernel [14], which has been previously shown (8) 4

Fourier Transform of Kernel 10 1 Cubic Spline Modified Cubic Spline Wendland 1 2 3 4 5 6 7 8 9 10 Normalised Wavenumber k = kh Fig. 8. Fourier transforms of the three kernels. The normalised wavenumber k is scaled so that k = 1 for the mode with wavelength λ = h. The Cubic Spline transform has zeros at k = 4n, n = 1,2, 3,..., while the Modified Cubic Spline has zeros at k = 8n Kinetic Energy Spectrum Fig. 9. 1e-05 1e-06 Kinetic energy spectrum using the Wendland kernel to reduce the SPH tensile instability [15]. In 2D, the fourth order Wendland Kernel has the form W(q) = β { (2 q) 4 (1 + 2q) if 0 q < 2 0 otherwise Where β = 7/(64h 2 π) in 2D. This kernel s Fourier transform falls off at a rate between the classical and Modified Cubic Spline (see Fig. 8). Most importantly, there is little or no clumping of particles when using this kernel with the turbulence simulations (the typical particle distribution looks identical to the distribution for the Modified Cubic Spline shown in Fig. 6 and 7). Forced turbulence simulations using both the Wendland and Modified Cubic Spline kernels show that while both kernels have similar anti-clumping properties, the Wendland kernel produces more accurate results (i.e. is more successful at reducing the excess numerical dissipation). The use of this kernel in the forced turbulence simulation reduces the excess numerical dissipation significantly. It does not, however, solve the problem completely. Fig. 9 shows the kinetic energy spectrum when using the Wendland kernel. While the energy in the modes with k > 10 is greatly reduced, at wavenumbers smaller than this there is little change. The spectrum still shows the deviation from k 3 at k = 4 (or 10 particle spacings). Interestingly, the deviation from the enstrophy cascade scaling is even more sharply defined. This is more obvious when looking at the viscous power spectrum (Fig. 10), indicating that the effect of the noise could be restricted to a well-defined subset of modes. As before, there is still no buildup of energy at the largest wavelength and no formation of the single large vortex reported by Clercx [6]. The kinetic energy spectrum in Fig. 9 shows a slight increase in kinetic energy at smaller wavenumbers when using the Wendland kernel. This is also shown in the simulation snapshots of Fig. 11, which show an increase in the average size of the vorticity structures. In his paper, Clercx recorded the evolution of the normalised total angular momentum L(t) = L(t)/L u (t), where L u (t) is the total angular momentum of a similar area of fluid (9) Viscous Power Spectrum Fig. 10. Viscous power spectrum using the Wendland kernel undergoing solid body rotation with an equal total kinetic energy. When the single vortex was formed, L(t) ±0.5. Typically the vortex would take 5-10 seconds to form or reform. Fig. 12 shows a plot of the total normalised angular momentum for the SPH simulation over 60 seconds. As can be seen, L does not rise above. VIII. EFFECTIVE VISCOSITY AS A MEASURE OF ACCURACY The homogeneous nature of the turbulence in these simulations also allows us to propose a measure of simulation accuracy that is spatially and time independent. We start with the usual Navier-Stokes momentum equation with an additive Normalised Angular Momentum L 0.02 0-0.02-0.04-0.06-0.08-0 10 20 30 40 50 60 70 Time Fig. 12. Normalised total angular momentum. Clercx [6] reports that this should stay near ±0.5 with transitions between these values taking 5-10 seconds 5

(a) Time = 0.6 (b) Time = 16 (c) Time = 32 (d) Time = 47 (e) Time = 62 Fig. 11. Simulation results using Wendland kernel. Particles coloured by vorticity forcing term F Du Dt = P ρ ν ω + F (10) Taking the dot product of both sides with the velocity u gives a rate of change of kinetic energy on the left hand side and terms corresponding to the pressure, viscous and forcing term power on the right. The flow is assumed to be incompressible, so u = 0. [ ] D 1 Dt 2 u2 = [ Pu ρ ] ν [ ω 2 + (ω u) ] +F u (11) We then take the spatial average. of this equation. Assuming that the turbulence in the box is spatially homogeneous, all the divergences will integrate to zero. Of course, this will not be true near the boundaries, but should be valid over the majority of the domain. d dt [ 1 2 u2 ] = ν ω 2 + F u (12) For the SPH simulation, if the force on each particle f is divided into viscous f v, pressure f p and forcing terms f F, then the SPH equivalent to (11) for any particle will be f u = f p u + f v u + f F u (13) Making the same assumptions and spatial averages as the continuum case we end up with the SPH equivalent to (12) f u = ν eff ω 2 + f F u (14) The spatial averages in this equation are easily calculated and the Effective Viscosity for the simulation ν eff can be found. Table I shows values for the spatial averages and ν eff /ν (where ν is the actual viscosity given to the SPH simulation) for the forced turbulence simulation using the classic Cubic Spline kernel, the Modified Cubic Spline, the Wendland kernel with no-slip walls (for the square box) and the Wendland kernel using periodic boundary conditions (i.e. no walls). The results are taken from the simulation while it is statistically steady (t > 20) and they are given as mean ± standard deviation over the time period 20 < t < 50. The Effective Viscosity calculated in this way is simply a comparison between the SPH simulation and the expected continuum case. Given the velocity, vorticity and forcing terms reported by the SPH simulation, the Effective Viscosity is the viscosity expected in the continuum. It does not say anything about the source of the difference between the viscosity given to the SPH simulation ν and the Effective Viscosity ν eff. We can, however, rule out some options. The no-slip walls, even though they violate the assumption of homogeneity, do not seem to alter the results significantly from the periodic boundary conditions. The Effective Viscosity calculated using the Wendland kernel and no-slip boundaries (1.6 ± 0.042) is very close to the Effective Viscosty calculated using this kernel and the periodic boundary conditions [ (1.5 ] ± 94). Also, (12) makes the assumption that Pu ρ = 0. The SPH equivalent to this term, f p u, is also recorded in Table I. Given that the mean is very close to zero and the standard deviation is at least an order of magnitude less than then next smallest term ( f u ) for all simulations, this assumption seems to be valid for the SPH simulation and the pressure term does not seem to directly cause the increased Effective Viscosity. So the difference between the actual viscosity given to the simulation and the Effective Viscosity seems to be attributed to the SPH viscous term. It is important to note, however, that this does not mean that ν 2 u is being calculated incorrectly. Another option is that existing errors in the velocity field are contributing to the problem. IX. CONCLUSION Given the fact that the SPH simulation cannot recreate the large scale dynamics of the turbulence, the current results are far from acceptable. Even worse, the excess kinetic energy at wavelengths below 10 particle spacings would complicate the development of any SPH turbulence model. Most turbulence models work by introducing a dissipation term to mop up any energy below the resolution limit of the simulation. If the SPH method itself is causing excess dissipation at wavelengths up to 10 particle spacings, any model would most likely be overshadowed by this noise. Further investigation will concentrate on finding the cause of this excess small scale noise and the lack of kinetic energy buildup at the largest scale. The ability of the Wendland kernel to eliminate particle clumping will also be examined. The Cubic Spline kernel and the higher order spline kernels have long been popular in the SPH community, but the advantages 6

TABLE I EFFECTIVE VISCOSITY AND ACCOMPANYING SPATIAL AVERAGES USING THE CUBIC SPLINE, MODIFIED CUBIC SPLINE, WENDLAND KERNEL WITH NO-SLIP BOUNDARY CONDITIONS AND THE WENDLAND KERNEL WITH PERIODIC BOUNDARY CONDITIONS Simulation ν eff /ν f u f F u ω 2 f p u Cubic Spline 3.4 ± 05 0.0074 ± 088 802 ± 085 169.6 ± 15.58 7.467 10 5 ± 0.00345 Modified Cubic Spline 2.57 ± 0.088 72 ± 0.0988 717 ± 0.09899 200.34 ± 12.89 5.88 10 6 ± 0.0043 Wendland (no-slip boundaries) 1.6 ± 0.042 55 ± 052 849 ± 067 211.9 ± 14.49 1.35 10 4 ± 0.0033 Wendland (periodic boundaries) 1.5 ± 94 0.03399 ± 028 918 ± 015 209.7 ± 11.08 1.16 10 4 ± 997 of the Wendland kernel shows that there is still much to discover about the effect of the kernel properties on the simulation. REFERENCES [1] J. J. Monaghan, SPH compressible turbulence, Monthly Notices of the Royal Astronomical Society, vol. 335, no. 10, pp. 843 852, September 2002. [2] D. Violeau and R. Issa, Numerical modelling of complex turbulent free-surface flows with the SPH method: an overview, Int. Journal for Numerical Methods in Fluids, vol. 53, pp. 277 304, 2007. [3] J. A. Mansour, SPH and α-sph: applications and analysis, Ph.D. thesis, School of Mathematical Sciences, Monash University, Melbourne, Oct. 2007. [4] J. J. Monaghan, Smoothed particle hydrodynamics, Reports of Progress in Physics, vol. 68, pp. 1703 1759, Aug. 2005. [5], SPH and Riemann solvers, Journal of Computational Physics, vol. 136, no. 2, pp. 298 307, Sep. 1997. [6] H. J. H. Clercx, G. J. F. van Heijst, D. Molenaar, and M. G. Wells, Noslip walls as vorticity sources in two-dimensional bounded turbulence, Dynamics of Atmospheres and Oceans, vol. 40, pp. 3 21, Jun. 2005. [7] D. K. Lilly, Numerical simulation of two-dimensional turbulence, Physics of Fluids, vol. 12, no. 12, pp. II 240 II 249, 1969. [Online]. Available: http://link.aip.org/link/?pfl/12/ii-240/1 [8] P. A. Davidson, Turbulence: an introduction for scientists and engineers. New York: Oxford University Press, 2004. [9] H. J. H. Clercx, S. R. Maassen, and G. J. F. van Heijst, Decaying twodimensional turbulence in square containers with no-slip or stress-free boundaries, Physics of Fluids, vol. 11, pp. 611 626, Mar. 1999. [10] J. Sommeria, Experimental study of the two-dimensional inverse energy cascade in a square box, Journal of Fluid Mechanics, vol. 170, pp. 139 168, 1986. [11] R. K. Kraichnan, Inertial ranges in two-dimensional turbulence, Physics of Fluids, vol. 10, pp. 1417 1423, 1967. [12] D. J. Price, Magnetic fields in Astrophyiscs, Ph.D. thesis, Institute of Astronomy, University of Cambridge, Cambridge, UK, Oct. 2004. [13] J. P. Morris, Analysis of smoothed particle hydrodynamics with applications, Ph.D. thesis, School of Mathematical Sciences, Monash University, Melbourne, Jul. 1996. [14] H. Wendland, Piecewise polynomial, positive definite and compactly supported radial functions of minimal degree, Advances in Computational Mathematics, vol. 4, no. 1, pp. 389 396, 1995. [15] T. Capone, A. Panizzo, C. Cecioni, and R. A. Darlymple, Accuracy and stability of numerical schemes in SPH, in 2nd SPHERIC Workshop, May 2007, pp. 156 160. 7