Top Banner
SPH now and in the future Peter Stansby University of Manchester Manchester Vigo Parma Lisbon Gent Barcelona
72

University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Apr 01, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

SPH now and in the future

Peter Stansby

University of Manchester

Manchester Vigo Parma Lisbon Gent Barcelona

Page 2: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Why SPH ?

β€’ We have commercial fluids and solids codes – STAR CCM, ANSYS Fluent, Mechanical, Structural, ABAQUS, NASTRAN, Delft3D, etc

β€’ Open source codes – Code_SATURNE, Code_ASTER, OpenFOAM, Telemac, SWAN (coastal) etc

β€’ So successful that more is wanted ! β€’ So what are blockages – highly distorted free

surfaces/interfaces, multi-phase, phase change, multi-physics, complex boundaries/meshing, computational times and cost

Page 3: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Smoothed Particle Hydrodynamics (SPH)

β€’ SPH is a Lagrangian particle method

β€’ Flow variables determined according to an interpolation over discrete interpolation points (fluid particles) with kernel W

β€’ Interpolation points flow with fluid

β€’ Complex free-surface (including breaking wave) dynamics captured automatically

πœ™ π‘Ÿ β‰ˆ π‘Š π‘Ÿ βˆ’ π‘Ÿβ€² πœ™ π‘Ÿβ€² π‘‘π‘Ÿβ€² β‰ˆ π‘Š π‘Ÿ βˆ’ π‘Ÿπ‘– πœ™π‘–π‘‰π‘–π‘–

Page 4: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Typical operators

πœ™ π‘Ÿπ‘– = π‘‰π‘—πœ™ π‘Ÿπ‘— π‘Š π‘Ÿπ‘–π‘—π‘—

π›»πœ™π‘– = βˆ’ 𝑉𝑗 (πœ™π‘– βˆ’ πœ™π‘—)π›»π‘Šπ‘–π‘—π‘—

πœ‡βˆ†π’– 𝑖 = π‘šπ‘— πœ‡π‘– + πœ‡π‘— 𝒓𝑖𝑗 . 𝛻 π‘Šπ‘–π‘—πœŒπ‘— (π‘Ÿ

2𝑖𝑗 + πœ‚

2)𝑗

𝒖 𝑖𝑗

βˆ†π‘π‘– = π‘šπ‘— 𝒓𝑖𝑗 . 𝛻 π‘Šπ‘–π‘—πœŒπ‘— (π‘Ÿ

2𝑖𝑗 + πœ‚

2)𝑗

Page 5: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Basic form : weakly compressible equations

(computationally simple: no solver)

Speed of sound ~ 10 max velocity , so artificial pressure waves, noise

Page 6: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Stabilising options in WCSPH

β€’ Artificial viscosity (in momentum equation)

β€’ Shepard filter – smooths particle distribution

β€’ XSPH – extra diffusion term in momentum eq

β€’ Ξ΄ SPH – diffusion term in continuity eq

β€’ Shifting – purely numerical device

β€’ Also Riemann solver formulation with artificial viscosity

Page 7: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Noise and error in 2008

Lid driven cavity Lee, E-S., Moulinec, C., Xu, R., Violeau, D., Laurence, D., Stansby, P., 2008 , JCP, 227.

WCSPH

ISPH

Page 8: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Incompressible SPH now

β€’ Noise free with numerical stabilisation (without contriving physics)

β€’ Greater accuracy

β€’ But requires Poisson solver for pressure so less ideal for GPUs but progress made there

Page 9: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Incompressible SPH (ISPH)

β€’ Solves incompressible Navier-Stokes equations

πœŒπ‘‘π’–

𝑑𝑑= βˆ’π›»π‘ + πœ‡π›»2𝒖 + 𝒇; 𝛁 βˆ™ 𝒖 = 𝟎

β€’ Incompressible SPH uses a projection method to enforce incompressibility and solves a Poisson equation for the pressure

𝛻2𝑝 =𝜌

βˆ†π‘‘π›» βˆ™ 𝒖

β€’ Pressure field is smooth and accurate when used with particle regularisation or shifting

(Xu et al JCP, 2009, 228; Lind et al., JCP, 2012, 231)

Page 10: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

ISPH Time-Stepping Algorithm β€’ Determine intermediate positions π’“π’Š

βˆ— = π’“π’Šπ‘› + βˆ†π‘‘ 𝒖𝑖

𝑛 β€’ Determine intermediate velocity from viscous and body force terms

π’–π‘–βˆ— = 𝒖𝑖

𝑛 + πœ‡π›»2π’–π’Šπ’ + π’‡π’Š βˆ†π’•/𝜌

β€’ Pressure obtained from pressure Poisson equation for zero divergence

𝛻2𝑝𝑖𝑛+1 =

𝜌

βˆ†π‘‘π›» βˆ™ π’–π’Š

βˆ—

β€’ Intermediate velocity corrected with pressure gradient to obtain divergence-free velocity at time n+1

𝒖𝑖𝑛+1 = 𝒖𝑖

βˆ— βˆ’ (𝛻𝑝𝑖/𝜌)βˆ†π‘‘ β€’ Particle positions updated with centred differencing

𝒓𝑖𝑛+1 = 𝒓𝑖

𝑛 +𝒖𝑖𝑛+1 + 𝒖𝑖

𝑛 βˆ†π‘‘

2

β€’ Particle distributions regularised according to local particle concentration (Fick’s law, Lind et al. 2012)

𝒓𝑖𝑛+1βˆ— = 𝒓𝑖

𝑛+1 βˆ’ 𝐷𝛻𝐢𝑖𝑛+1

β€’ Velocities, pressures corrected using interpolation - Taylor expansion

Page 11: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Taylor Green vortices – Stability Problem.

Taylor-Green vortices are simulated by ISPH_DF (Cummins

& Rudman), with 4th order Runge-Kutta time marching

scheme and random initial particle distribution.

Page 12: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

The development of pressure field in

Taylor-Green Vortices, with ISPH_DFS,

Re=1,000

Stabilising with shifting to regularise gives highly accurate solutions

Page 13: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Accuracy and stability tests

β€’ Taylor Green vortices – 2D periodic array,

β€’ lid driven cavity,

β€’ dam breaks,

β€’ impulsive plate,

β€’ wave propagation

Above with analytical or high accuracy solutions

complex SPHERIC test cases

Page 14: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Dam break (wall of water problem)

Page 15: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Wave propagation

Non hydrostatic pressure below crest and trough

Page 16: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

IMPULSIVE PLATE (zero gravity analytical solution from Peregrine)

Step free surface

Thin free surface layer

Skillen,A., Lind,S., Stansby,P.K., Rogers,B.D. 2013 J. CMAME, 265.

Page 17: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Lituya Bay landslide and tsunami 1958

ISPH Non Newtonian flows Herschel–Bulkley rheology model Saturated soil with Bingham model k-Ξ΅ turbulence model

Xenakis, A.M., et al. 2017 Proc. Royal Soc. A: Math. Phys. Eng Sci, 473 (2199), 20160674

Page 18: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Lituya Bay landslide and tsunami 1958

Xenakis, A.M., et al. 2017 Proc. Royal Soc. A: Math. Phys. Eng Sci, 473 (2199), 20160674

Page 19: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

WCSPH improves Ξ΄ SPH with artificial viscosity

Molteni,D. and Colagrossi, A. 2009 Computer Physics Communications 180 , 861–872 Marrone,S. et al 2011 CMAME 2010, 1526-1542

Note both artificial diffusion in continuity and viscosity β†’ 0 as h β†’ 0

Page 20: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Ξ΄ SPH + shifting

Adaptivity to reduce number of particles

Vacondio,R., Rogers,B.D., Stansby,P.K, Mignosa,P., Feldman,J. 2013 J. CMAME, 256.

Extended to 3D

Zones of resolution

Page 21: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

CD and CL Re=100

Little noise

Page 22: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Pelton wheel Slope

collapse

Laser cleaning

Welding

Dry laser cutting

Diverse applications for WCSPH

F1 fuel tank

sloshing

Page 23: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Numerical wave basin

β€’ 3D β€’ Progressive waves, focussed waves, directional waves β€’ Breaking waves β€’ Two phase, aeration β€’ Slam, wave on deck, green water β€’ Complex bodies, multi bodies β€’ Dynamics, moorings β€’ Extreme wave definition, storm, freak, tsunami β€’ Validation – experimental uncertainty β€’ Accessible computation time

Page 24: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Available options

β€’ Linear diffraction, frequency and time domains – WAMIT, Nemoh, WECsim

β€’ 2nd order diffraction, WAMIT - drift forces, BEM - time domain

β€’ Nonlinear potential flow – QALE, HOBEM β€’ FV / VOF - OpenFOAM, Fluent, STAR CCM β€’ WCSPH - DualSPHysics β€’ PICIN β€’ ISPH β€’ Hybrids

Page 25: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Ξ΄ SPH with artificial viscosity Wave interaction with floating bodies , represented by particles

(dummy/dynamic) moving with body

Floating body subjected to a wave packet is validated with experimental data

Hadzić et al., 2015

From Alex Crespo, Vigo

Page 26: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Wave interaction with floating bodies

Page 27: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

3-D Numerical Wave Basin using Riemann solvers (2013)

Omidvar,P., Stansby,P.K. and Rogers,B.D. 2013 Int. J. Numer. Methods Fluids, 72, 427-452

Page 28: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

3-D Float Simulation

t = 3.8 s

t = 4.2 s

t = 4.4 s

t = 4.6 s

VALIDATION VITAL

Page 29: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

3-D Float Response

For a full degrees-of-freedom system, the results are very promising

Page 30: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Back to ISPH

Effect thin free surface layer

Page 31: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Importance of air in slam force

Experiment (1998)

SPH domain

Slam force on a plate

Page 32: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Plate impact on wave (5.4 m/s) (represent wave impact on plate - wave on deck)

80 m/s +

Page 33: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Air – water coupling (ICSPH)

velocity pressure

Lind,S.J., Stansby,P.K., Rogers,B.D., Lloyd, P.M. 2015, Applied Ocean Research, 49, 57-71.

Page 34: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Pressures during slam

No air

Air

Page 35: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

But new wave in deck experiments undertaken by Qinghe Fang

Lind, Fang, Stansby, Rogers, Fourtakas ISOPE Paper No. 2017-SQY-01

2D as possible

Focussed NewWave JONSWAP

Page 36: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible
Page 37: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Computational SPH domains local to deck only

Boundary pressure in water from linear theory

Air velocities damped to zero in buffer zone

Focussed NewWave JONSWAP waves defined by linear theory

Page 38: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Without Air With Air

Page 39: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

NO AIR WITH AIR t=21.029s

t=21.039s

Page 40: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Preliminary SPH results

dx = 0.00125m dx = 0.025m

Page 41: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Results with/without air

Page 42: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Uncertainty tracking In front of box surface elevation uncertainty due to reflection

Pressures measured at front and average along deck

Page 43: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Froude Krylov approximate method for extreme

inertia loading : useful fast solution

β€’ Froude Krylov force may be accurately modelled , including breaking waves

β€’ Added mass approximated from potential flow

Page 44: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Taut moored buoy in COAST basin – inertia regime

Hann, M., Greaves, D., Raby, A. 2015 β€˜Snatch loading of a single taut moored floating

wave energy converter due to focussed wave groups’

Ocean Engineering,2015, 96, 258–271

UKCMER

Page 45: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

ISPH with FK forcing and empirical added mass

Lind SJ, Stansby PK, Rogers BD 2016 Fixed and moored bodies in steep and breaking waves

using SPH with the Froude Krylov approximation. J Ocean Eng Mar Energy (special issue)

Page 46: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Snatch loads, non breaking waves

With breaking waves snatch loads overestimated ,

initially by 30%

Page 47: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Hybrid coupled schemes to reduce computation time

β€’ Adaptivity (Parma, UoM)

β€’ FV – SPH (Nantes/Rome)

β€’ Eulerian – Lagrangian SPH (UoM)

β€’ Boussinesq – SPH (UoM, Paris)

β€’ QALE-SPH (UoM, City)

Page 48: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

ISOPE-2017 San Francisco Conference The 27th International Ocean and Polar Engineering Conference

San Francisco, California, June 25βˆ’30, 2017: www.isope.org

On the coupling of Incompressible SPH with

a Finite Element potential flow solver for

nonlinear free surface flows

G. Fourtakas*, B. D. Rogers, P. Stansby

and S. Lind

School of Mechanical, Aerospace and Civil

Engineering,

University of Manchester

Manchester, UK

S. Yan, Q.W. Ma

School of Engineering and Mathematical

Sciences

City University of London

London, UK

Page 49: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

ISOPE-2017

San Francisco

Coupling methodology

The domain is decomposed into two sub-domains

– The QALE-FEM and ISPH methodology applies respectively

β€’ With ISPH denoted with Ξ“ISPH and QALE-FEM Ξ“QALE-FEM

– Between the two sub-domains an overlapping zone exists

Ξ“ QALE-FEM Ξ“ ISPH

Potential flow

solver

Navier-Stokes

solver

QALE-FEM

sub-domain ISPH sub-

domain

Overlapping

zone

Linterface + xISPH n+1

Page 50: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

ISOPE-2017

San Francisco

Coupling methodology

Overlapping zone: –Linear weighted velocity

–Free-surface matching from

and

FEMQALEISPH aa uuu )1(

ISPHISPHFEMQALE at xx

FEMQALEFEMQALEISPH at xx

ISPH

QALE-

FEM

P, u

Ξ“ ISPH

Ξ“ QALE-FEM

ISPH

QALE-FEM

fixed boundary

interface

Overlapping

weighted

zone

Ξ“ fs, ISPH on

QALE-FEM

nodes position

Ξ“ fs, QALE-FEM on

ISPH particle position

ISPH moving boundary

interface

QALE-

FEM

P

QALE SPH

Page 51: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

ISOPE-2017

San Francisco

Regular wave

Hybrid solver simulation

Page 52: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

ISOPE-2017

San Francisco

Focused wave

Time history of the wave elevations comparison

between QALE-FEM ISPH and reference

solution

Page 53: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Grand challenges in SPH - SPHERIC

β€’ Boundaries – various approaches, good progress

β€’ Weakly compressible or incompressible

β€’ Adaptivity –ongoing

β€’ Convergence (and boundaries) – good progress

And

β€’ Computing hardware – big effort

β€’ Turbulence – progress needed

Page 54: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Solid boundaries

β€’ Dynamic/dummy particles – layers fixed in solid otherwise as fluid

β€’ Mirror particles to give zero wall velocity

β€’ Renormalised boundary particle kernels - Ξ³ method

β€’ Marrone – fixed mirror particles with interpolation

β€’ Adami – fixed particles with pressure from fluid

β€’ Eulerian layer in flow with interface to Lagrangian

Adami, S., et al. (2012). JCP, 231(21), 7057–7075.

S. Marrone, et al, CMAME 200 (2011) 1526{1542

Ferrand, Met al. (2012). IJNMF 71(4), 446–472.

Fourtakas, G., et al., 2018 CMAME, 329, 532-552.

Page 55: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Accuracy for general SPH solver

Is higher order possible? Presently ~ 1.5

Affected by

β€’ Interpolation error (kernel)

β€’ Discretisation error (particle spacing)

β€’ Particle distribution (uniform is best)

β€’ Boundary condition (requires zero velocity)

Page 56: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

β€’ Use Gaussian kernel – decreasing Fourier transform and exponential convergence

β€’ Fix particle distributions , retain advection , control particle position

Eulerian SPH (sounds like a contradiction)

Lind SJ, Stansby PK 2016 High-order Eulerian incompressible smoothed particle

hydrodynamics with transition to Lagrangian free-surface motion, J. Comp. Phys.,

326, 290–311

Page 57: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Can be unstable in Lagrangian schemes with non-uniform/regular particle distributions

Gaussian kernels

Page 58: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Time stepping to 2nd order

Page 59: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Taylor Green vortices One time step test

2nd

4th

6th

Page 60: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Errors at t=0.1

Ideal convergence recovered with small time steps and solver convergence Compares well with high order finite difference

2nd

4th

6th

Page 61: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Accuracy with small number particles Lid driven cavity example

Page 62: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

ESPH

β€’ Opens opportunities β€’ Straight ESPH for internal flows with no free surface

– ease of initial particle distribution generation at expense of larger number of particle connections

β€’ Accurate boundary representation with regular fixed particles

β€’ High order opens up accurate turbulence simulation

β€’ Couple Eulerian with Lagrangian e.g. where free surface occurs – always need Lagrangian boundary particles

Page 63: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Eulerian – Lagrangian (ELI-SPH)

Eulerian region (fixed particles) efficient and of arbitrary high accuracy suitable below surface Fourtakas et al 2017 CMAME

Page 64: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Challenge for ESPH in thermal hydraulics

Page 65: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

ISPH speedup

β€’ Particle adaptivity – coalescing/splitting (Renato Vacondio

Parma, UoM)

β€’ MPC – 108 particles , PetSC Poisson solver, Zoltan library,

Hilbert space filling curve, 12000 partitions with MPI,

typically 40% efficient, petascale computing

(Xiaohu Guo STFC, UoM)

β€’ GPU – DualSPHysics+ViennaCL for PPE (Alex Chow UoM)

Page 66: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

GPU Alex Chow PhD

Page 67: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Nvidia Tesla k40c GTX 1070

Page 68: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

3D dambreak with column

Page 69: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Hardware always advances

Jack Hanson

Page 70: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

How is hardware accelerating?

β€’ Today GPUs – multi-GPUs, MPC - petascale

β€’ Tomorrow - exascale , Tensor Processing Units

β€’ FPGAs – β€˜field programmable gate array’

β€’ With quantum computing, graphene, nanotubes etc speed massive exoscale +++

β€’ But occasional faults possible – need fault tolerant algorithms – SPH with multiple particle connections potentially suited

β€’ Need to plan algorithms for hardware

Page 71: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

What are we doing tomorrow ?

β€’ 3D hybrid QALE – ISPH

β€’ Include two phase formulation

β€’ ESPH to high order for thermal hydraulics

Page 72: University of Manchester...Incompressible SPH (ISPH) β€’ Solves incompressible Navier-Stokes equations 𝜌 𝑑 𝑑𝑑 =βˆ’π›»π‘+πœ‡π›»2 +𝒇; π›βˆ™ =𝟎 β€’ Incompressible

Thanks for your attention

and questions