jklae / gridliquid2d Goto Github PK
View Code? Open in Web Editor NEWLiquid simulation for Eulerian and PIC/FLIP.
License: MIT License
Liquid simulation for Eulerian and PIC/FLIP.
License: MIT License
Description
Currently, the drawing coordinates and the simulation coordinates are the same. It is not good because the smaller the grid scale, the larger the calculation error. Also, some coordinates are negative to center the grid position. These coordinates are very cumbersome in simulation calculations, especially when interpolating particle variables. Therefore, the simulation calculations will be more efficient by having the drawing coordinates and the simulation coordinates separately.
Todo
Note
A method for compensating for the difference between the two coordinate systems is presented in jklae/DXViewer#25.
This issue is derived from #3.
Description
Hybrid methods PIC and FLIP are implemented.
Todo
Note
PIC is already implemented in commit ab9ea96.
Description
Further implementations are underway to support the DXViewer GUI.
Todo
Note
This issue is related to jklae/DXViewer/issues/27.
Description
Currently, center-type velocity storage is being used. Although this method is easy to implement, it is outdated and causes problems with boundary conditions. Therefore, MAC grid is adopted.
Todo
Description
Liquid simulation doesn't seem plausible, especially when falling due to gravity. It moves like gas.
The cause is probably because the gas method is being used as it is. Additional work is required for liquid simulation.
Comments
A few doubts are, first, that additional methods such as volume conservation or surface tension need to be implemented.
Second, I think that it is not necessary to update the entire velocity vector field, but only the vector field near the liquid.
The image on the right is the result of https://github.com/kbladin/Fluid_Simulation.
Description
A marker particles technique is implemented for Eulerian simulations.
Todo
Note
This issue is related to jklae/DXViewer#21.
Describe the bug
A problem occurred while implementing subWndProc in ISimulation. ISimulation object was nullptr during initialization with subWndProc.
Comments on the bug
This problem occurs because the initialization of subWndProc precedes the initialization of the ISimulation object.
The initialization order of Win32App needs to be changed.
Description
The ultimate goal, Eulerian fluid, is realized.
Todo
Note
This implementation refers to https://github.com/frostsim/StableFluids.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.