1 Modeling Highly- Deformable Liquid Chih-Wei Chiu Computer Graphics and Geometry Modeling Laboratory National Chiao Tung University June 25, 2002 Advisors:

Slides:



Advertisements
Similar presentations
Transfer coefficient algorithm for small mass nodes in material point method Xia Ma, Balaji Jayaraman, Paul T. Giguere and Duan Z. Zhang CartaBlanca Team.
Advertisements

ASME-PVP Conference - July
Scalability with Many Lights 1 Lightcuts & Multidimensonal Lightcuts Course: Realistic Rendering with Many-Light Methods Note: please see website for the.
A Prediction-Correction Approach for Stable SPH Fluid Simulation from Liquid to Rigid François Dagenais Jonathan Gagnon Eric Paquette.
Active Contours, Level Sets, and Image Segmentation
An Introduction to Light Fields Mel Slater. Outline Introduction Rendering Representing Light Fields Practical Issues Conclusions.
Matthias Müller, Barbara Solenthaler, Richard Keiser, Markus Gross Eurographics/ACM SIGGRAPH Symposium on Computer Animation (2005),
Mode-Splitting for Highly Detail, Interactive Liquid Simulation H. Cords University of Rostock Presenter: Truong Xuan Quang.
Blender Particle Fluids. Blender Particle Fluids integrate into the existent powerful Blender particle system a fluid simulation tool that allows a wide.
Coupling Continuum Model and Smoothed Particle Hydrodynamics Methods for Reactive Transport Yilin Fang, Timothy D Scheibe and Alexandre M Tartakovsky Pacific.
1cs533d-winter-2005 Notes  Please read O'Brien and Hodgins, "Graphical modeling and animation of brittle fracture", SIGGRAPH '99 O'Brien, Bargteil and.
Dynamic Real-Time Deformations using Space & Time Adaptive Sampling Gilles Debunne Marie-Paule Cani Gilles Debunne Marie-Paule Cani Mathieu Desbrun Alan.
1Notes. 2 Building implicit surfaces  Simplest examples: a plane, a sphere  Can do unions and intersections with min and max  This works great for.
More Accurate Pressure Solves. Solid Boundaries  Voxelized version works great if solids aligned with grid  If not: though the error in geometry is.
1Notes  Text:  Motion Blur A.3  Particle systems 4.5 (and 4.4.1, 6.6.2…)  Implicit Surfaces  Classic particle system papers  W. Reeves, “Particle.
1 Internal Seminar, November 14 th Effects of non conformal mesh on LES S. Rolfo The University of Manchester, M60 1QD, UK School of Mechanical,
Particle-based fluid simulation for interactive applications
University of North Carolina - Chapel Hill Fluid & Rigid Body Interaction Comp Physical Modeling Craig Bennetts April 25, 2006 Comp Physical.
Simulating Liquid Sound Will Moss Hengchin Yeh. Part I: Fluid Simulation for Sound Rendering.
Point Based Animation of Elastic, Plastic and Melting Objects Matthias Müller Richard Keiser Markus Gross Mark Pauly Andrew Nealen Marc Alexa ETH Zürich.
1cs426-winter-2008 Notes  Course project: Will be due at the end of the term You can do it in pairs Create an animation that combines an algorithm for.
Combined Lagrangian-Eulerian Approach for Accurate Advection Toshiya HACHISUKA The University of Tokyo Introduction Grid-based fluid.
Modeling Fluid Phenomena -Vinay Bondhugula (25 th & 27 th April 2006)
Modelling Realistic Water & Fire Sérgio Leal Socrates/Erasmus student at: AK Computer Graphics Institute for Computer Graphics and Vision Technical University.
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Intro to Computational Fluid Dynamics Brandon Lloyd COMP 259 April 16, 2003 Image courtesy of Prof. A.
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Introduction to Modeling Fluid Dynamics 1.
Fluid Simulation for Graphics
Modeling, Simulating and Rendering Fluids Thanks to Ron Fediw et al, Jos Stam, Henrik Jensen, Ryan.
CSE 681 Ray Tracing Implicit Surfaces. CSE 681 Overview Similar to CSG –Combine primitive objects to form complex object Primitives are “density fields”
Motivation  Movie  Game  Engineering Introduction  Ideally  Looks good  Fast simulation  Looks good?  Look plausible  Doesn’t need to be exactly.
Modeling and representation 1 – comparative review and polygon mesh models 2.1 Introduction 2.2 Polygonal representation of three-dimensional objects 2.3.
Tracking Surfaces with Evolving Topology Morten Bojsen-Hansen IST Austria Hao Li Columbia University Chris Wojtan IST Austria.
Lecture 16 - Free Surface Flows Applied Computational Fluid Dynamics
A Look at High-Order Finite- Volume Schemes for Simulating Atmospheric Flows Paul Ullrich University of Michigan.
A Hybrid Particle-Mesh Method for Viscous, Incompressible, Multiphase Flows Jie LIU, Seiichi KOSHIZUKA Yoshiaki OKA The University of Tokyo,
Animation of Fluids.
COMPUTATIONAL FLUID DYNAMICS IN REAL-TIME An Introduction to Simulation and Animation of Liquids and Gases.
A Fast Simulation Method Using Overlapping Grids for Interactions between Smoke and Rigid Objects Yoshinori Dobashi (Hokkaido University) Tsuyoshi Yamamoto.
Smoothed Particle Hydrodynamics (SPH) Fluid dynamics The fluid is represented by a particle system Some particle properties are determined by taking an.
Geometric Modeling using Polygonal Meshes Lecture 1: Introduction Hamid Laga Office: South.
A Novel Wave-Propagation Approach For Fully Conservative Eulerian Multi-Material Simulation K. Nordin-Bates Lab. for Scientific Computing, Cavendish Lab.,
A Unified Lagrangian Approach to Solid-Fluid Animation Richard Keiser, Bart Adams, Dominique Gasser, Paolo Bazzi, Philip Dutré, Markus Gross.
A cell-integrated semi-Lagrangian dynamical scheme based on a step-function representation Eigil Kaas, Bennert Machenhauer and Peter Hjort Lauritzen Danish.
A particle-gridless hybrid methods for incompressible flows
Modelling Tsunami Waves using Smoothed Particle Hydrodynamics (SPH) R.A. DALRYMPLE and B.D. ROGERS Department of Civil Engineering, Johns Hopkins University.
A Numerical Model for Multiphase Flow, I: The Interface Tracking Algorithm Frank Bierbrauer.
Simplified Smoothed Particle Hydrodynamics for Interactive Applications Zakiya Tamimi Richard McDaniel Based on work done at Siemens Corporate.
Taming a Wild River Jeff Lander Darwin 3D
Detail-Preserving Fluid Control N. Th ű rey R. Keiser M. Pauly U. R ű de SCA 2006.
Geometry Group Summer 08 Series Toon Lenaerts, Bart Adams, and Philip Dutre Presented by Michael Su May
A Computationally Efficient Framework for Modeling Soft Body Impact Sarah F. Frisken and Ronald N. Perry Mitsubishi Electric Research Laboratories.
1996 Eurographics Workshop Mathieu Desbrun, Marie-Paule Gascuel
Ale with Mixed Elements 10 – 14 September 2007 Ale with Mixed Elements Ale with Mixed Elements C. Aymard, J. Flament, J.P. Perlat.
Reconstruction of Solid Models from Oriented Point Sets Misha Kazhdan Johns Hopkins University.
Graphics Graphics Korea University cgvr.korea.ac.kr 1 Surface Rendering Methods 고려대학교 컴퓨터 그래픽스 연구실.
FlowFixer: Using BFECC for Fluid Simulation ByungMoon Kim Yingjie Liu Ignacio Llamas Jarek Rossignac Georgia Institute of Technology.
Perpetual Visualization of Particle Motion and Fluid Flow Presented by Tsui Mei Chang.
Discontinuous Displacement Mapping for Volume Graphics, Volume Graphics 2006, July 30, Boston, MA Discontinuous Displacement Mapping for Volume Graphics.
Physically based deformations of implicit surfaces Michal Remiš.
Florida State University V. Mihalef B. Unlusu D. Metaxas M. Sussman M. Y. Hussaini Physics-Based Boiling Simulation.
Particle-based Viscoelastic Fluid Simulation Simon Clavet Philippe Beaudoin Pierre Poulin LIGUM, Université de Montréal.
Real-time fluid physics library The goal was to create a physics library, specialized on water fluid physics, for real-time applications.
Efficient Simulation of Large Bodies of Water by Coupling Two and Three Dimensional Techniques SIGGRAPH 2006 Geoffrey Irving Eran Guendelman Frank Losasso.
CSE 872 Dr. Charles B. Owen Advanced Computer Graphics1 Water Computational Fluid Dynamics Volumes Lagrangian vs. Eulerian modelling Navier-Stokes equations.
Animating smoke with dynamic balance Jin-Kyung Hong Chang-Hun Kim 발표 윤종철.
Interesting papers on SIGGRAPH 2005 Korea University Computer Graphics Lab. Jin-Kyung Hong.
Numerical Modeling of Dynamics and Adhesion of Leukocytes
ATCM 6317 Procedural Animation
Procedural Animation Lecture 11: Fluid dynamics
What are Multiscale Methods?
Presentation transcript:

1 Modeling Highly- Deformable Liquid Chih-Wei Chiu Computer Graphics and Geometry Modeling Laboratory National Chiao Tung University June 25, 2002 Advisors: Cheng-Chung Lin and Jung-Hong Chuang

2 Agenda Introduction Introduction Previous Work Previous Work Method Method Result Result Conclusion Conclusion

3 Modeling Fluids Particles Particles A particle represent a fixed- mass fluid element A particle represent a fixed- mass fluid element There may be interaction forces between particles There may be interaction forces between particles Volume Volume Partition the scene into many cells Partition the scene into many cells Every cell carries a density function representing the proportion of air and liquid Every cell carries a density function representing the proportion of air and liquid Surface can be inferred from density functions Surface can be inferred from density functions

4 Computational Aspect Particles Particles Number grows with cube of resolution Number grows with cube of resolution Computationally expensive Computationally expensive Volume Volume Only one equation for each cell to evolve the density function (more on this later) Only one equation for each cell to evolve the density function (more on this later) Computationally economical Computationally economical

5 Geometry Aspect Particles Particles No straightforward way to extract a smooth surface No straightforward way to extract a smooth surface Resolve details independent of grid resolution Resolve details independent of grid resolution Volume Volume Iso-surface can be extracted from the volume data Iso-surface can be extracted from the volume data Potentially under-resolve details if the grid is too coarse Potentially under-resolve details if the grid is too coarse smooth not smooth

6 Proposed Method Since volume method and particles have nearly “complemented” strength and weakness… Since volume method and particles have nearly “complemented” strength and weakness… Combination of particles and volume method Combination of particles and volume method Track initial fluid by volume Track initial fluid by volume Resolve highly-deformed regions by particles Resolve highly-deformed regions by particles

7 Previous Work Wave Simulation Wave Simulation Surface is a parametric function can be animation over time Surface is a parametric function can be animation over time Fourier synthesis [Mastin ’87] Fourier synthesis [Mastin ’87] Wave-tracing [Ts’o ‘87] Wave-tracing [Ts’o ‘87] Particle Systems Particle Systems Very heuristic, Cheap computation Very heuristic, Cheap computation Ship wakes [Goss ‘90] Ship wakes [Goss ‘90] Thin-film water splash [Ashraf ’99] Thin-film water splash [Ashraf ’99] Splash “subsystem” – particles are generated when the water surface is under impact [O’Brien ’95] [Mould ’97] Splash “subsystem” – particles are generated when the water surface is under impact [O’Brien ’95] [Mould ’97]

8 Molecular Dynamics Molecular Dynamics Simulate elastic and inelastic objects and viscous fluids Simulate elastic and inelastic objects and viscous fluids Computational expensive for large volume of fluid Computational expensive for large volume of fluid Lack of coupling between velocity and pressure Lack of coupling between velocity and pressure SPH (Smoothed Particle Hydrodynamics) SPH (Smoothed Particle Hydrodynamics) Deformable object [Desbrun’96] Deformable object [Desbrun’96] Lava [Stora ‘99] Lava [Stora ‘99] Advantages Advantages More economical than molecular dynamics More economical than molecular dynamics Couple pressure and velocity Couple pressure and velocity Previous Work That’s why we choose it!

9 3-D Navier-Stokes Equations 3-D Navier-Stokes Equations Produce the most realistic motion but are very computationally expensive Produce the most realistic motion but are very computationally expensive Initiated by Foster ’96 Initiated by Foster ’96 Used MAC formulation dated by 1965 Used MAC formulation dated by 1965 Semi-Lagrangian integration allows large time step without harming the accuracy [Stan’99] Semi-Lagrangian integration allows large time step without harming the accuracy [Stan’99] Implicit Surface Implicit Surface Represent fluid volume by a density function [Kunimatsu ’01] Represent fluid volume by a density function [Kunimatsu ’01] Hybrid model [Foster ’01] Hybrid model [Foster ’01] Dynamic implicit surface Dynamic implicit surface Allow particles to locally correct surface value Allow particles to locally correct surface value Previous Work

10 Outline Fluid dynamics solver p n & v n Partition the scene by a grid (only in the first time-step) grid Evolve density functions v n+1 Generate particles in the drastic motion region F n+1 Move particles by SPH existing particles new particles Performed per time-step Subdivision Performed during rendering Interpolation high resolution grid high resolution F n+1 Convert particle volumes to F particles positions high resolution F n+1 with particle volumes Extract iso-surface Rendered using a ray- tracer polygon mesh Our Methods !!! FnFn

11 Modeling Splash Problem Problem Grid may be too coarse to resolve the detail features in a surface cell Grid may be too coarse to resolve the detail features in a surface cell Put particles in all surface cell is too computational expensive Put particles in all surface cell is too computational expensive Solution Solution Introduce particles in the cell with drastic motion Introduce particles in the cell with drastic motion

12 Drastic Motion Criterion Seed particles in the surface cell with drastic motion Seed particles in the surface cell with drastic motion Limit the maximum number of particles in a cell Limit the maximum number of particles in a cell Existing particles provides more accurate approximation Existing particles provides more accurate approximation Fluid particle should not travel more than one cell size in a time step; 0<γ<1 Fluid traveling distance in a time step Lower tends to produce more particles Lower γ tends to produce more particles

13 Volume Fractions

14 Particle Seeding Particles are randomly positioned inside the interface (fluid side) Particles are randomly positioned inside the interface (fluid side) Particles velocities are linearly interpolated in the cell Particles velocities are linearly interpolated in the cell u v Reconstructed interface

15 Interface Reconstruction Approximate the interface by a plane ax+by+cz+d=0 Approximate the interface by a plane ax+by+cz+d=0 (a,b,c) VfVf Normal is easy to compute, e.g. by spatial gradients Normal is easy to compute, e.g. by spatial gradients Find d so that the “cut volume” given by the interface is V f [Scardovelii ‘00] Find d so that the “cut volume” given by the interface is V f [Scardovelii ‘00] Cut volume

16 Partition the scene by a grid (only in the first time-step) grid Evolve density functions F n+1 Move particles by SPH Subdivision Performed during rendering Interpolation high resolution grid high resolution F n+1 Convert particle volumes to F particles positions high resolution F n+1 with particle volumes Extract iso-surface Rendered using a ray- tracer polygon mesh Next Slide… My own method !!!

17 Subdivision Volume Fractions Coarse grid Fine grid Smooth surface Subdivision & interpolation iso-surface extraction Convert particles volumes to F Non-smooth surface Without subdivision & interpolation Without converting particles to F iso-surface extraction Small particles are directly rendered as blobs

18 Why Blobs Doesn’t Work? Non-smooth surface

19 3x3x3 subdivision Convert particles to volume fractions

20 Result Computational grid - 28x24x28 Computational grid - 28x24x28 Simulation time per frame – 8 ~ 60 sec Simulation time per frame – 8 ~ 60 sec Cycles per frame - 5 Cycles per frame - 5 Average number of particles Average number of particles Rendering time per frame – 1.5 ~ 4 min Rendering time per frame – 1.5 ~ 4 min Subdivision – 3x3x3 Subdivision – 3x3x3 AMD Athlon 1000 MHZ AMD Athlon 1000 MHZ 512 MB DRAM 512 MB DRAM

21 Control the Number of Particles γ=0.2γ=0.1

22 Comparison 1 O'Brien,J.F.O'Brien,J.F.; Hodgins,J.K., "Dynamic Simulation of Splashing Fluids", in Proceedings of Computer Animation '95, pp , 1995.Hodgins,J.K. Mould,D.Mould,D.; Yang,Y.H., "Modeling Water for Computer Graphics", Computers & Graphics, vol.21, no.6, pp , 1997.Yang,Y.H. Generate particles when the vertical velocities of a column exceed a predefined threshold Extend O’Brien et al. Allow droplets to split.

23 Comparison 2 Enright,D.Enright,D.; Marschner,S.; Fedkiw,R., "Animation and Rendering of Complex Water Surfaces", in Procceeding os SIGGRAPH 2002, 2002 (to appear).Marschner,S.Fedkiw,R. Foster,N.Foster,N.; Fedkiw,R., "Practical Animation of Liquids", Computer Graphics, pp.23-30, 2001.Fedkiw,R. Hybrid model: Dynamic level set implicit surface. Marker particles locally correct surface. Extend Foster ’01: Put particles on both sides of the surface.

24 Comparison 3 Heuristic Approach Marker Particles Identify drastic motion region and generate particles. Place particles near the surface to capture drastic motion. Autonomous particles moves independently of the fluid. Passive particles velocities are interpolated from the grid node velocities.

25 Conclusion A hybrid approach integrating particles (Lagrangian method) and volume fractions (Eulerian method) A hybrid approach integrating particles (Lagrangian method) and volume fractions (Eulerian method) A scheme to identify drastic motion area and seed particles A scheme to identify drastic motion area and seed particles Smooth surface by converting particles to volume fractions Smooth surface by converting particles to volume fractions