umu.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Computational Fluid Dynamics in 2D Game Environments
Umeå University, Faculty of Science and Technology, Department of Computing Science.
2011 (English)Independent thesis Advanced level (degree of Master (One Year)), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

Games are becoming increasingly realistic. Real-time physics simulation were almost unimaginable just decades ago but are now a vital part of many games. Even dynamic physics simulation e.g. interactive fluids has found a place in game development.This paper investigates and evaluates three methods of simulating fluids with the purpose of testing these in a 2dgame environment. These methods are allLagrangian i.e. particlebased, Sph methods, and chosen because of their dierences but also their importance to the field of interactive fluid simulation. In order to integrate the methods, they will be implemented with use of the 2dmechanics engineBox2dwhich is a popular choice in 2d game development.To evaluate the methods, water is the flluid of choice. Water is the most abundant of fluids and is bound to be found in most games containing fluids. Water is almost incompressible, therefore, the methods ability to withhold incompressibility is tested. Also, the convergence properties of kinetic energy is tested in order to find out more about stability.The results showed that the method based on Muller et al. [2003] demanded a prohibitively small time-step to be especially useful. The method from Clavet et al. [2005] managed to keep a suficiently large time-step but failed in simulating incompressible low-viscosity fluids. However, it excelled in the simulation of highly viscous fluids like gel. Finally, the method based on Bodin et al. [2011] showed impressive result in incompressibility but is more difficult to implement and requires a bit more resources and run-time.The paper concludes that if easy-to-implement cool effect is sought, then the method of Clavet et al. [2005] could be used with great results. However, Bodin et al. [2011] would be the best choice for games where physical accuracy is of greater importance. Also, Box2d is a good choice to extend with a fluid engine. However, it will never be as good as creating a physics engine with an integrated fluid engine.

Place, publisher, year, edition, pages
2011.
Series
UMNAD, 882
National Category
Engineering and Technology
Identifiers
URN: urn:nbn:se:umu:diva-48078OAI: oai:DiVA.org:umu-48078DiVA: diva2:446423
Educational program
Master of Science Programme in Computing Science and Engineering
Uppsok
Technology
Supervisors
Examiners
Available from: 2011-10-07 Created: 2011-10-07 Last updated: 2011-10-07Bibliographically approved

Open Access in DiVA

http://www.cs.umu.se/education/examina/Rapporter/KalleSjostrom_final.pdf(3185 kB)348 downloads
File information
File name FULLTEXT01.pdfFile size 3185 kBChecksum SHA-512
72135598dd88661a3ab3d957be2b1ecbb6049d6481313807b0403b0b2d8b3f85a59e27c3404651dbfee579d140b564361ddfc242fecfce14d70893610c1978a2
Type fulltextMimetype application/pdf

By organisation
Department of Computing Science
Engineering and Technology

Search outside of DiVA

GoogleGoogle Scholar
Total: 348 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 187 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf