Smoothed Particle Hydrodynamics Techniques for the Physics ...

22
Dan Koschier Jan Bender Barbara Solenthaler Matthias Teschner Smoothed Particle Hydrodynamics Techniques for the Physics Based Simulation of Fluids and Solids

Transcript of Smoothed Particle Hydrodynamics Techniques for the Physics ...

Page 1: Smoothed Particle Hydrodynamics Techniques for the Physics ...

Dan Koschier Jan Bender Barbara Solenthaler Matthias Teschner

Smoothed Particle Hydrodynamics Techniques

for the Physics Based Simulation of Fluids and Solids

Page 2: Smoothed Particle Hydrodynamics Techniques for the Physics ...

1

Motivation

Viscous Force

Explicit Viscosity

Implicit Viscosity

Results

Page 3: Smoothed Particle Hydrodynamics Techniques for the Physics ...

2

Page 4: Smoothed Particle Hydrodynamics Techniques for the Physics ...

3

Motivation

Viscous Force

Explicit Viscosity

Implicit Viscosity

Results

Page 5: Smoothed Particle Hydrodynamics Techniques for the Physics ...

4

Linear momentum equation:

Density

Velocity

Stress tensor

Force density

Newtonian constitutive model:

Strain rate tensor

Pressure

Identity

Dynamic viscosity

Navier-Stokes equations:

Page 6: Smoothed Particle Hydrodynamics Techniques for the Physics ...

5

Viscous force for incompressible fluids:

Recent SPH solvers either compute the divergence of the strain rate or directly determine the Laplacian of .

Note that strain rate based approaches must enforce a divergence-free velocity field to avoid undesired bulk viscosity.

Page 7: Smoothed Particle Hydrodynamics Techniques for the Physics ...

6

Motivation

Viscous Force

Explicit Viscosity

Implicit Viscosity

Results

Page 8: Smoothed Particle Hydrodynamics Techniques for the Physics ...

7

Standard SPH discretization of this Laplacian:

Disadvantages:

Sensitive to particle disorder [Mon05, Pri12]

The Laplacian of the kernel changes its sign inside the support radius

Page 9: Smoothed Particle Hydrodynamics Techniques for the Physics ...

8

Alternative: determine one derivative using SPH and the second one using finite differences.

Advantages: Galilean invariant

vanishes for rigid body rotation

conserves linear and angular momentum

Page 10: Smoothed Particle Hydrodynamics Techniques for the Physics ...

9

Core idea of XSPH: reduce the particle disorder by smoothing the velocity field:

XSPH can also be used as artificial viscosity model.

Advantage: The second derivative is not needed.

Disadvantage: is not physically meaningful.

Page 11: Smoothed Particle Hydrodynamics Techniques for the Physics ...

10

Motivation

Viscous Force

Explicit Viscosity

Implicit Viscosity

Results

Page 12: Smoothed Particle Hydrodynamics Techniques for the Physics ...

11

Compute the viscous force as divergence of the strain rate :

Implicit integration scheme

Solve linear system using the conjugate gradient method (CG).

Page 13: Smoothed Particle Hydrodynamics Techniques for the Physics ...

12

Decompose velocity gradient:

Reduce shear rate by user-defined factor :

Reconstruct velocity field by solving linear system with CG:

Page 14: Smoothed Particle Hydrodynamics Techniques for the Physics ...

13

Define velocity constraint for each particle with user-defined factor:

The constraint is a 6D function due to the symmetric strain tensor.

Solve linear system for corresponding Lagrange multipliers.

Page 15: Smoothed Particle Hydrodynamics Techniques for the Physics ...

14

The introduced methods are based on the strain rate.

However, computing the strain rate using SPH leads to errors at the free surface due to particle deficiency.

(SPH computation)

Page 16: Smoothed Particle Hydrodynamics Techniques for the Physics ...

15

Implicit integration scheme

Compute Laplacian as

Solve linear system using a meshless conjugate gradient method.

Laplacian approximation avoids problems at the free surface.

Page 17: Smoothed Particle Hydrodynamics Techniques for the Physics ...

16

The strain rate based formulation leads to errors and artifacts at the free surface, which is avoided by Weiler et al.

The viscosity parameters of Bender and Peer depend on the temporal and spatial resolution.

Peer’s reconstruction of the velocity field is fast but introduces a significant damping => not suitable for low viscous flow

Takahashi et al. require the second-ring neighbors => low performance

Page 18: Smoothed Particle Hydrodynamics Techniques for the Physics ...

17

Motivation

Viscous Force

Explicit Viscosity

Implicit Viscosity

Results

Page 19: Smoothed Particle Hydrodynamics Techniques for the Physics ...

18

Page 20: Smoothed Particle Hydrodynamics Techniques for the Physics ...

19

Page 21: Smoothed Particle Hydrodynamics Techniques for the Physics ...

20

Page 22: Smoothed Particle Hydrodynamics Techniques for the Physics ...

21

Low viscous flow

Explicit methods are cheap and well-suited

Approximation of Laplacian yields better results while XSPH is slightly faster

Highly viscous fluids

Implicit methods are recommended to guarantee stability

Strain rate based SPH formulations lead to artifacts at the free surface

Weiler et al. avoid this problem and generate more realistic results.