Skip to content

dnpcs12/SPH-with-unreal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Real-time fluid simmulation in Unreal using smooth-particle hydrodynamics techniques (2021 SW Capstone Design)

SPH 13

Basic SPH Formulation

image

Fluid Dynamic

image

Mass-density and Pressure

image

Internal Force

image

Exteranl Force

image

Smoothing Kernel

image

image

image

Parallel programming using CUDA

To render over 10,000 particles, implemented parallel programming using CUDA. CUDA sample code was referenced for implementation, and it was created as a lib and linked with Unreal.

Boundary Handling4

image

WCSPH5

image

Marching Cube Algorithm for Visulazation

Marching cubes is a computer graphics algorithm, published in the 1987 SIGGRAPH proceedings by Lorensen and Cline,[1] for extracting a polygonal mesh of an isosurface from a three-dimensional discrete scalar field (the elements of which are sometimes called voxels). 7

Rendering with Marching Cube

ezgif com-gif-maker (12)

Before

ezgif com-gif-maker (13)

Result gif

ezgif com-gif-maker (14)

ezgif com-gif-maker (10)

Video

  • [KHU 2021] Weakly Compressible Smoothed Particle Hydrodynamics (SPH) using Unreal
  • [Pearl Abyss × KHUSWC] Smoothed-particle Hydrodynamics with Unreal Engine
  • References

    1. M. Müller, D. Charypar, and M. Gross. Particle-based fluid simulation for interactive applications. In Proceedings of the 2003 ACM SIGGRAPH/Eurographics Symposium on Computer Animation, pages 154–159, 2003.
    2. Koschier, Dan, Jan Bender, Barbara Solenthaler, and Matthias Teschner. "Smoothed particle hydrodynamics techniques for the physics based simulation of fluids and solids." arXiv preprint arXiv:2009.06944 (2020).
    3. David Staubach , "Smoothed Particle Hydrodynamics Real-Time Fluid Simulation Approach." Friedrich-Alexander-Universitaet Erlangen-Nuernberg (2010).
    4. Nadir Akinci, Markus Ihmsen, Gizem Akinci, Barbara Solenthaler and Matthias Teshner "Versatile rigid-fluid coupling for incompressible SPH." ACM Transactions on GraphicsVolume 31Issue 4July 2012 Article No.: 62pp 1– (2012).
    5. Markus Becker and Matthias Teschner. "Weakly Compressible SPH for Free Surface Flows." Proceedings of the 2007 ACM SIGGRAPH/Eurographics Symposium on Computer Animation, SCA 2007, San Diego, California, USA, August 2-4, 2007.
    6. https://en.wikipedia.org/wiki/Marching_cubes

    About

    No description, website, or topics provided.

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published