Giter Site home page Giter Site logo

bimocq_solver_implementation's Introduction

Implementation of smoke simulation by BiMocq2 Algorithm in Houdini

Abstract

This is an implementation of the smoke fluid settlement based on theBiMocq2(2 levels of Bi-directionalmapping of convective quantities) method to obtain a more detailed, more precise and stable fluid sim-ulation.
This implementation is done using houdini so that Houdini users can easily apply it in theirdaily work. This implementation is slightly different from the original paper.
The order of the algorithmsteps is slightly adjusted, and the final method of affecting the speed variable is changed to better fit Houdini’s original smoke simulation.

the left one is the Houdini preset billowy Smoke. The right one is the result of replacing the MacCormack advection in the preset with BiMocq2
The BiMocq2 method is implemented in Houdini mainly to get a more accurate solution with more details. From the results, the original setting is reached. The BiMocq2 method not only gets more details under the same conditions, which leads to the better visual richness, but also leads to more turbulence.

The left one is Semi-Lagrangian. The right one is BiMocq2 It is a comparison between the Semi-Lagrangian method and the Bimocq2 method. It can be found that the difference between the two methods is not obvious without the influence of too many other factors. This is mainly because in this simple case, the fluid dissipation and error are small, and the difference between various algorithms is not too large.

The left one is Semi-Lagrangian with Noise. The right one is BiMocq2 with Noise But the situation is different when other noise parameters are added. The Figure above is the result of adding some other parameters(disturbance turbulence) on the basis of the Semi-Lagrangian simulation. It can be found that BiMocq2 gives more credible details:

The left one is MacCormack with Noise. The right one is MacCormack + BiMocq2 with Noise In addition, the BiMocq2 method shows strong compatibility and can be applied with Houdini in-built fluid solution to get better results. From the Figure above, it can be found that MacCormack obtains better and more detailed calculation results than Semi-Lagrangian without changing all parameters, and BiMocq2 can add more credible details on the basis of MacCormack. The left one is Semi-Lagrangian with Collision. The right one is BiMocq2 with Collision The left one is MacCormack with Collision. The right one is MacCormack + BiMocq2 with Collision Also tested the situation with collision. It can be found that it works well with collision. In this implementation, the abandonment of monitoring the dissipation of the target field caused by the process of force and projection did not cause too much loss.

bimocq_solver_implementation's People

Contributors

yangdissy avatar

Stargazers

Webb Hinton avatar Jason Ting avatar jordibares avatar

Watchers

jordibares avatar  avatar  avatar

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.