Author(s)
Term
4. term
Education
Publication year
2013
Submitted on
2013-05-30
Pages
66 pages
Abstract
Dette speciale dokumenterer udviklingen af en væske simulering til Unity3D spil motoren, baseret på Navier-Stokes ligningerne implementeret på en 2D Eulerian gitterstruktur kombineret med et højde felt. Fokus for denne simulering er en real time og grafisk realistisk væske simulator der kan håndtere forskellige typer væsker, samt interaktionen mellem væske og objekter med varierende massefylde. Dette speciale giver en introduktion til fysikken bag grafisk væske dynamik, en kort beskrivelse af forskellene p ̊a eksisterende simuleringer, en beskrivelse af emner, der er relevante for dette speciale, samt en beskrivelse af de ligninger der som er blevet brugt til at skabe en væske simulering. Den resulterende simulering kan h ̊andtere mindre mængder væske med just ́erbar tyktflydenhed, bruger-tilført kraftpåvirkning, to-vejs interaktion mellem væske og objekter med varierende massefylde ved interaktive hastigheder (> 60 FPS).
This thesis documents the development of a fluid simulation for the Unity3D game engine, based on the Navier-Stokes equations implemented on a 2D Eulerian grid combined with a height field. The focus of the simulation is a real-time and graphically realistic simulation, capable of handling different types of fluid as well as the interaction between fluid and solids with various densities. The thesis includes an introduction to the physics of fluid dynamics for graphics, a short description of the differences between existing simulation techniques, a description of aspects relevant to the simulation as well as a description of the equations used in the creation of a fluid simulation. The resulting simulation can handle small bodies of fluids with adjustable viscosity, user-applied force and two-way coupling with solids of adjustable densities at interactive rates (> 60 FPS).
Keywords
Documents
Colophon: This page is part of the AAU Student Projects portal, which is run by Aalborg University. Here, you can find and download publicly available bachelor's theses and master's projects from across the university dating from 2008 onwards. Student projects from before 2008 are available in printed form at Aalborg University Library.
If you have any questions about AAU Student Projects or the research registration, dissemination and analysis at Aalborg University, please feel free to contact the VBN team. You can also find more information in the AAU Student Projects FAQs.