Beruflich Dokumente
Kultur Dokumente
1
Laboratoire dHydraulique Saint-Venant
EDF R&D, Cetmef, cole des Ponts ParisTech, France
2
MFEE department, EDF R&D, France
Context
ISPH (incompressible SPH) performs well in predicting
pressure fields
However, von Neumann pressure wall BCs are difficult to
prescribe with dummy particles
In 2010, Ferrand et al. proposed new semi-analytical wall
BCs for SPH
2 / 22
Introduction
Context
ISPH (incompressible SPH) performs well in predicting
pressure fields
However, von Neumann pressure wall BCs are difficult to
prescribe with dummy particles
In 2010, Ferrand et al. proposed new semi-analytical wall
BCs for SPH
2 / 22
SPH operators in the framework of
semi-analytical wall boundary conditions
a, b F : free particles
P =F V
v V : vertex particles
ns
s S : segments
3 / 22
SPH operators in the framework of
semi-analytical wall boundary conditions
a, b F : free particles
P =F V
v V : vertex particles
ns
s S : segments
3 / 22
SPH operators in the frame of unified
semi-analytical boundary conditions
4 / 22
SPH operators in the frame of unified
semi-analytical boundary conditions
1 X Aab 2 X
La {Bb , Ab } = Vb (Ba + Bb ) 2 rab wab Bs (A)s as
a rab a
bP sS
4 / 22
Analytical computation of a in 2D
kr a r 0 k
Z X
(r a r 0 )n r 0 dS r 0 = 1
a = q= as
h
sS
Z
(q) (r a r 0 ) dS r 0
with: as + ns
s
q 5
1 5q
(for the 5th order Wendland kernel, (q) = 2 2
1 1+ + 2q 2 for q 6 2)
2h q 2 2
5 / 22
Navier-Stokes equations for an incompressible
flow
du = 1 p + (E u) + Fe
dt
2
where p = p + k and E = + T
3
(k : turbulent kinetic energy, T : eddy viscosity)
6 / 22
Navier-Stokes equations for an incompressible
flow
du = 1 p + (E u) + Fe
dt
2
where p = p + k and E = + T
3
(k : turbulent kinetic energy, T : eddy viscosity)
6 / 22
The ISPH algorithm
7 / 22
The ISPH algorithm
a
2 La {1, pbn+1 } = D {u } Pressure Poisson equation (PPE)
t a b
7 / 22
The ISPH algorithm
a
2 La {1, pbn+1 } = D {u } Pressure Poisson equation (PPE)
t a b
t ,+ n+1
3 un+1 = ua G {pb } Correction of the velocity
a
a a
7 / 22
The ISPH algorithm
a
2 La {1, pbn+1 } = D {u } Pressure Poisson equation (PPE)
t a b
t ,+ n+1
3 un+1 = ua G {pb } Correction of the velocity
a
a a
7 / 22
The ISPH algorithm
a
2 La {1, pbn+1 } = D {u } Pressure Poisson equation (PPE)
t a b
t ,+ n+1
3 un+1 = ua G {pb } Correction of the velocity
a
a a
7 / 22
Solving the new PPE : Laplacian of the
pressure
n+1
2 X pab 1 X
La {1, pbn+1 }= Vb 2 rab wab (p)n+1
s as
a rab a
bP sS
8 / 22
Imposition of the boundary condition on the
pressure
Let s be a segment. We have:
un+1
s us 1
= psn+1
t s
9 / 22
Imposition of the boundary condition on the
pressure
Let s be a segment. We have:
un+1
s us 1
= psn+1
t s
s
psn+1 ns = (u uwall
s ) ns
t s
9 / 22
Imposition of the boundary condition on the
pressure
Let s be a segment. We have:
un+1
s us 1
= psn+1
t s
s
psn+1 ns = (u uwall
s ) ns
t s
so we have:
s
(p)n+1 as = (u uwall
s ) as
s
t s
9 / 22
Treatment of the boundary correction terms
La {pbn+1 +b gzb } = Ba
The unknowns are the pbn+1 . Note that 2 (gz) = 0.
10 / 22
Treatment of the boundary correction terms
La {pbn+1 +b gzb } = Ba
The unknowns are the pbn+1 . Note that 2 (gz) = 0.
10 / 22
Instability and free-surface treatments
1 X 1 X
where: Ca Ga {1} = Vb wab as
a a
bF sS
correct the velocity, turbulent kinetic energy and dissipation rate, e.g.:
un+1
a un+1
a + G, n+1
a {ub } ra
11 / 22
Instability and free-surface treatments
1 X 1 X
where: Ca Ga {1} = Vb wab as
a a
bF sS
correct the velocity, turbulent kinetic energy and dissipation rate, e.g.:
un+1
a un+1
a + G, n+1
a {ub } ra
11 / 22
SPH k turbulence model
ka2
T ,a = C
a
dka 1 T ,b
= Pa a + La {b + , kb }
dt a k
da a 1 T ,b
= (C1 Pa C2 a ) + La {b + , b }
dt ka a
12 / 22
Lid driven cavity (Re = 1000): velocities
u+
-0.4 -0.2 0 0.2 0.4 0.6 0.8 1
0.4 1
0.2 0.8
0 0.6
v+
z+
-0.2 Ghia et al., v+ 0.4
Ghia et al., u+
-0.4 ISPH 0.2
WCSPH
FV
-0.6 0
0 0.2 0.4 0.6 0.8 1
x+
13 / 22
Lid driven cavity (Re = 1000): velocities
1%
u+
L2 error
v+
z+
WCSPH
0.01 % -0.2 Ghia et al., v+ 0.4
1e-02 1e-01 Ghia et al., u+
h/L ISPH
-0.4 0.2
WCSPH
FV
-0.6 0
0 0.2 0.4 0.6 0.8 1
x+
13 / 22
Lid driven cavity (Re = 1000): pressure
0.2 2
ISPH ISPH
0.15 WCSPH WCSPH
0.1 FV 1.5 FV
0.05
0 1
+
+
p
p
-0.05
-0.1 0.5
-0.15
0
-0.2
-0.25
0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1
x+ x+
FV 512 512 38 h
ISPH 200 200 31 h
WCSPH 200 200 32 h
14 / 22
Water collapse on a wedge
2000 VoF
1000
500
0
0 1 2 3 4 5 6
t+
ISPH simulation Pressure force on the left side of the
wedge vs. time
Computational time for 2s of physical time (on 1 CPU)
3
VoF 6.e > 1h
ISPH 6.e3 20 min
WCSPH 6.e3 30 min
15 / 22
PERIODICITY
Water wheel
PERIODICITY
16 / 22
Water wheel: comparison with VoF
1.2
ISPH
VoF ISPH t+
Pressure force on one bucket vs. time
4
VoF 8.e 5 days
ISPH 3.e4 15 h
WCSPH 3.e4 18.5 h
17 / 22
Turbulent channel flow (Re = 640)
Velocity profile
20
15
u+
10
+
60
2
40
1 20
0 0
0 100 200 300 400 500 600 0 100 200 300 400 500 600
+
z z+
18 / 22
Fish-pass
1.5
0.132
z (m)
0.612
0.5
0.3
0
0 0.5 1 1.5 2 2.5 3
x (m)
4
FV 2.5e 2.8 h (4 CPUs)
ISPH 6.e4 49 h (1 CPU)
WCSPH 6.e4 38 h (1 CPU)
19 / 22
Profiles after 20s
Velocity Pressure
2 2
ISPH ISPH
WCSPH WCSPH
1.5 FV 1.5 FV
z (m)
z (m)
1 1
0.5
0.5
0
0 0.5 1 1.5 2 2.5 3 3.5 0
5000 5500 6000 6500
|u| (m s-1)
k p (Pa)
2
1.5
z (m)
0.5 ISPH
WCSPH
FV
0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9
k (m2s-2)
20 / 22
Conclusions and future work
21 / 22
Conclusions and future work
Future work :
Extend this work to 3D on a GPU code in order to perform
simulations of realistic cases
Model active scalars effects in case of turbulent or laminar
flows
21 / 22
Thank you for your attention.
22 / 22