Giter Site home page Giter Site logo

pppm_vortex_bouyant_flow_sample's Introduction

To Advanturers : 

This is a more matured version of the original PPPM vortex method of the 
"fast PPPM summation for fluids and beyond" paper.

many things has been re-considered for stability purpose, in addition,
a clean and basic(but redundant and inefficient) interface is provided.

there could be bugs and issues and a huge space for performance improvements.

TO COMPILE:
I had successful builds of the hybridFastSummation on MicroSoft Visual Studio 2008,
with CUDA 5.0(one can have cuda installation from Nvidia's website)

if you are using similar environment(but with different cuda versions or so),
you would have to change the cuda_build_rule to make things work.




if you are on linux:
I am not familiar with makefile, so I just let you know:
hybridFastSummation will make use of
multigrid and particle_hash project, which shall be compiled as static libs.
(or whatever way you would like to link them)


Once you build and run the excutable, 
you'll get Particle_data%04d.bin  files, these files can be visualized using the OpenGLRenderer
again, need to be compiled with cuda and glew.

FluidRenderer.exe  [path(no space in the file name)] end_frame 1 1 1 1 (those 1's were parameters not used anymore).

one shall get visualizations as showed in ogl.gif

Particle_renderer is a CPU renderer implemented by Robert Bridson, this one does fancier rendering.
once compiled, one renders the data by
Particle_renderer.exe  [path(the folder where Particle data stores, no space in name)] particle_radius density_scale opacity light_x light_y light_z frame_start frame_end

which produces animations as shown in render.gif



Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.