Download presentation
Presentation is loading. Please wait.
Published byAlivia Collings Modified over 9 years ago
1
A Prediction-Correction Approach for Stable SPH Fluid Simulation from Liquid to Rigid François Dagenais Jonathan Gagnon Eric Paquette
2
Melting and solidification Animation of transition between ▫ Liquid phase ▫ Rigid phase Non-elastic materials Lagrangian simulation ▫ Almost rigid longer computational times 2
3
Goals Improved lagrangian simulation of melting objects ▫ Improved stability ▫ Shorter computational times ▫ Easier control 3
4
Overview Previous work Proposed Approach ▫ Melting and solidification ▫ Constraints propagation ▫ Stability improvements Results Limitations and conclusion 4
5
Previous work Melting and solidification ▫ Solved for eulerian approaches [Stam 1999] [Carlson et al. 2002] [Fält and Roble 2003] [Rasmussen et al. 2004] [Batty and Bridson 2008] ▫ Still a challenge for lagrangian approaches 5 Carlson et al. 2002 Batty and Bridson 2008
6
Previous work Lagrangian Variable viscosity [Muller et al. 2003] Elastic [Solenthaler et al. 2007] [Chang et al. 2009] Plastic [Paiva et al. 2006] 6 [Paiva et al. 2006] [Solenthaler et al. 2007]
7
Overview Previous work Proposed Approach ▫ Melting and solidification ▫ Constraints propagation ▫ Stability improvements Results Limitations and conclusion 7
8
Melting and solidification Integrated in a SPH fluid solver Minimisation problem 8
9
Deformation error Difference between ▫ Current deformation ▫ Target deformation 9
10
Target Deformation Based on relative position of neighbors 10
11
Rigidity forces correction 11
12
Rigidity forces correction 12
13
Rigidity forces correction 13
14
Integration 14 Compute density and pressure Compute forces (SPH) Update velocity and position t > t end ? no END yes Compute rigidity forces Initialize rigidity forces Predict particles position Adjust rigidity forces Stopping criterion met? no yes Compute particles deformation error
15
Integration 15 Initialise rigidity forces Predict particles position Adjust rigidity forces Stopping criterion met? no yes Compute particles deformation error
16
Overview Previous work Proposed Approach ▫ Melting and solidification ▫ Constraints propagation ▫ Stability improvements Results Limitations and conclusion 16
17
Why? Particles only affect neighbors ▫ Slow convergence Early termination 17 Almost no variation of !
18
Constraints propagation 18
19
Constraints propagation 19
20
Constraints propagation 20
21
Constraints propagation 21
22
Overview Previous work Proposed Approach ▫ Melting and solidification ▫ Constraints propagation ▫ Stability improvements Results Limitations and conclusion 22
23
Stability Other sources of instability ▫ Pressure forces ▫ Heat diffusion 23
24
Adaptative time step Advantages ▫ Stable simulation ▫ Shorter computational times « Courant–Friedrichs–Lewy » condition 24
25
Adaptative time step Maximum velocity estimation ▫ Previous maximal velocity ▫ Maximal acceleration 25
26
Heat diffusion Increases simulation realism A temperature T i is assigned to each particle ▫ Specified by the user ▫ Updated using heat diffusion equation ▫ Temperature affects rigidity 26
27
Heat diffusion Unstable when ▫ Large time step ▫ Large heat diffusion coefficient 27
28
Heat diffusion Proposed approach ▫ Implicit formulation ▫ Handle individually each pair of neighbor particles 28
29
Heat diffusion – Implicit formulation 29
30
Heat diffusion - video 30
31
Overview Previous work Proposed Approach ▫ Melting and solidification ▫ Constraints propagation ▫ Stability improvements Results Limitations and conclusion 31
32
Video 32
33
33 Exampletime per frame time per iteration avg. Δ t Ratio t rigide /t total Blocs s i = 0.0017.0s1.0s0.00257s0.33 Blocs s i = 0.2588.1s9.0s0.00429s0.88 Blocs s i = 0.5090.2s9.9s0.00463s0.89 Blocs s i = 0.7556.8s7.4s0.00548s0.91 Blocs s i = 0.9094.5s14.5s0.00651s0.92 Blocs s i = 0.9965.5s17.1s0.01096s0.94 Blocs s i = 1.0023.5s21.4s0.03787s0.97 Stanford’s bunny480.1s50.3s0.00438s0.97 Stanford’s Armadillo165.2s14.1s0.00359s0.92 « h »619.7s49.3s0.00333s0.97 « h » 2848.7s53.1s0.00262s0.98 Rigid forces computation takes most of the computational times Time per iteration increases as the fluid become more rigid Timestep independent of rigidityVariable rigidity = longer computational time, because of the propagation conditions
34
Comparison with traditionnal viscosity 34 Traditionnal viscosityOur approach μiμi ΔtΔt Total timesisi avg. Δt Total time 1 0006.1x10 -4 s47.80 min0.754.05x10 -3 s85.03 min 10 0006.1x10 -5 s484.81 min0.924.80x10 -3 s103.70 min 100 0005.9x10 -6 s4474.26 min0.986.36x10 -3 s161.65 min
35
Overview Previous work Proposed Approach ▫ Melting and solidification ▫ Constraints propagation ▫ Stability improvements Results Limitations and conclusion 35
36
Limitations Model does not support rotationnal mouvements Too slow for small s i Not physically exact, but visually plausible 36
37
Conclusion Improved lagrangian simulation of melting and solidification ▫ Smaller computational times ▫ Improved stability and control Futur works ▫ Handle rotational behaviors ▫ Further improve computational times 37
38
Thank you! 38
39
Heat diffusion Proposed approach ▫ Implicit formulation ▫ Handle individually each pair of neighbor particles 39 1 2 3 4
40
Heat diffusion Neighbors traversal order affects results Solutions ▫ Randomize traversal order ▫ Average of normal and reverse order Used in our examples 40
41
Adaptive time step 41
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.