fluid simulation for graphics
DESCRIPTION
Fluid Simulation for Graphics. Minor project under guidance of Prof. P. Kalra Abhinav Golas Akram Khan. Outline. Fluid animation What it is What it is not Uses Models Work done Work done earlier Current focus Future work. Fluid animation. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Fluid Simulation for Graphics](https://reader035.vdocuments.mx/reader035/viewer/2022062501/568162ca550346895dd356aa/html5/thumbnails/1.jpg)
Fluid Simulation for Fluid Simulation for GraphicsGraphics
Minor project under guidance of Prof. P. Minor project under guidance of Prof. P. KalraKalra
Abhinav GolasAbhinav GolasAkram KhanAkram Khan
![Page 2: Fluid Simulation for Graphics](https://reader035.vdocuments.mx/reader035/viewer/2022062501/568162ca550346895dd356aa/html5/thumbnails/2.jpg)
OutlineOutline• Fluid animationFluid animation
– What it isWhat it is– What it is notWhat it is not– UsesUses– ModelsModels
• Work doneWork done– Work done earlierWork done earlier– Current focusCurrent focus– Future workFuture work
![Page 3: Fluid Simulation for Graphics](https://reader035.vdocuments.mx/reader035/viewer/2022062501/568162ca550346895dd356aa/html5/thumbnails/3.jpg)
Fluid animationFluid animation• Modeling and Rendering fluids in a Modeling and Rendering fluids in a
manner which is visually appealingmanner which is visually appealing• NOT a numerically complete NOT a numerically complete
simulationsimulation• Model is scenario dependent – Model is scenario dependent –
computationally expensivecomputationally expensive
![Page 4: Fluid Simulation for Graphics](https://reader035.vdocuments.mx/reader035/viewer/2022062501/568162ca550346895dd356aa/html5/thumbnails/4.jpg)
UsesUses• Movies! – Titanic, Ice Age, LOTR etc.Movies! – Titanic, Ice Age, LOTR etc.• Games! – All!Games! – All!
![Page 5: Fluid Simulation for Graphics](https://reader035.vdocuments.mx/reader035/viewer/2022062501/568162ca550346895dd356aa/html5/thumbnails/5.jpg)
The Navier Stokes EquationThe Navier Stokes Equation• Governs all fluid behaviourGoverns all fluid behaviour• PDE – no closed formPDE – no closed form• Solutions only through numerical Solutions only through numerical
simulationsimulation• Issues of numerical errors, and stabilityIssues of numerical errors, and stability• Computationally Computationally veryvery expensive expensive• Boundary conditions and level of Boundary conditions and level of
discretisation importantdiscretisation important
![Page 6: Fluid Simulation for Graphics](https://reader035.vdocuments.mx/reader035/viewer/2022062501/568162ca550346895dd356aa/html5/thumbnails/6.jpg)
ModelsModels• Heightfield generationHeightfield generation
– For showing ocean surfacesFor showing ocean surfaces– Used when field of view is largeUsed when field of view is large– Doesn’t directly solve Navier Stokes – uses Doesn’t directly solve Navier Stokes – uses
generalised solutionsgeneralised solutions• CFD – Computational Fluid DynamicsCFD – Computational Fluid Dynamics
– Iteratively solve NS eqns for a 3D gridIteratively solve NS eqns for a 3D grid– Surface reconstruction – recent workSurface reconstruction – recent work– Fixed grid positions – Eulerian approachFixed grid positions – Eulerian approach
![Page 7: Fluid Simulation for Graphics](https://reader035.vdocuments.mx/reader035/viewer/2022062501/568162ca550346895dd356aa/html5/thumbnails/7.jpg)
ModelsModels• Smoothed Particle HydrodynamicsSmoothed Particle Hydrodynamics
– System as collection of fluid particlesSystem as collection of fluid particles– Governed by NS eqnsGoverned by NS eqns– Surface reconstructionSurface reconstruction
![Page 8: Fluid Simulation for Graphics](https://reader035.vdocuments.mx/reader035/viewer/2022062501/568162ca550346895dd356aa/html5/thumbnails/8.jpg)
Surface reconstructionSurface reconstruction• Problem:Problem:
– Given a set of particles, need to Given a set of particles, need to generate a smooth wrapping surfacegenerate a smooth wrapping surface
• Approach (currently used)Approach (currently used)– Level setsLevel sets– Hybrid approach (level sets + curvature Hybrid approach (level sets + curvature
measures)measures)
![Page 9: Fluid Simulation for Graphics](https://reader035.vdocuments.mx/reader035/viewer/2022062501/568162ca550346895dd356aa/html5/thumbnails/9.jpg)
Work done earlierWork done earlier• Literature review to find current Literature review to find current
state-of-the-artstate-of-the-art• Issues in simulation of different types Issues in simulation of different types
of fluids:of fluids:– ViscousViscous– SnowSnow– FireFire
![Page 10: Fluid Simulation for Graphics](https://reader035.vdocuments.mx/reader035/viewer/2022062501/568162ca550346895dd356aa/html5/thumbnails/10.jpg)
Current focusCurrent focus• Getting implementations of the state-of-Getting implementations of the state-of-
the-art methodsthe-art methods– HeightfieldsHeightfields– CFDCFD– SPHSPH
• ReferencesReferences– SIGGRAPH 2004 course on realistic nature SIGGRAPH 2004 course on realistic nature
animationanimation– SIGGRAPH 2006 course on fluid simulationSIGGRAPH 2006 course on fluid simulation
![Page 11: Fluid Simulation for Graphics](https://reader035.vdocuments.mx/reader035/viewer/2022062501/568162ca550346895dd356aa/html5/thumbnails/11.jpg)
ProgressProgress• Some heightfields implementedSome heightfields implemented
– Gerstner waves (video on site)Gerstner waves (video on site)– Statistics based ocean wavesStatistics based ocean waves– Velocity field based animationVelocity field based animation– Choppy waves (currently underway)Choppy waves (currently underway)
• Work on CFDWork on CFD– Making an implementationMaking an implementation
![Page 12: Fluid Simulation for Graphics](https://reader035.vdocuments.mx/reader035/viewer/2022062501/568162ca550346895dd356aa/html5/thumbnails/12.jpg)
Some resultsSome results
![Page 13: Fluid Simulation for Graphics](https://reader035.vdocuments.mx/reader035/viewer/2022062501/568162ca550346895dd356aa/html5/thumbnails/13.jpg)
Some resultsSome results
![Page 14: Fluid Simulation for Graphics](https://reader035.vdocuments.mx/reader035/viewer/2022062501/568162ca550346895dd356aa/html5/thumbnails/14.jpg)
Future workFuture work• Complete implementations of these Complete implementations of these
fluid simulation methodsfluid simulation methods• Identify areas for further Identify areas for further
improvement/researchimprovement/research– Spray/FoamSpray/Foam– BubblesBubbles