All Projects → kiwonum → mlflip

kiwonum / mlflip

Licence: Apache-2.0 license
A quick implementation of MLFLIP

Programming Languages

C++
36643 projects - #6 most used programming language
python
139335 projects - #7 most used programming language
c
50402 projects - #5 most used programming language
CMake
9771 projects

Projects that are alternatives of or similar to mlflip

Gpu Gems 3d Fluid Simulation
3D fluid simulation on the in Unity
Stars: ✭ 141 (+206.52%)
Mutual labels:  fluid-simulation
unstructured-finite-volume
Unstructured Finite Volume Solver for Partial Differential Equations
Stars: ✭ 26 (-43.48%)
Mutual labels:  fluid-simulation
webgl-regl-fluid-base
Regl base for webgl fluid simulations
Stars: ✭ 14 (-69.57%)
Mutual labels:  fluid-simulation
Phillips Ocean
A ocean using Phillips spectrum in Unity
Stars: ✭ 152 (+230.43%)
Mutual labels:  fluid-simulation
CaNS
A code for fast, massively-parallel direct numerical simulations (DNS) of canonical flows
Stars: ✭ 144 (+213.04%)
Mutual labels:  fluid-simulation
unity-fluid-simulation
A fluid simulation I made for a class assignment, based on work by Jos Stam.
Stars: ✭ 26 (-43.48%)
Mutual labels:  fluid-simulation
Gpu Gems 2d Fluid Simulation
2D fluid simulation in Unity
Stars: ✭ 126 (+173.91%)
Mutual labels:  fluid-simulation
Fluid Simulation
Self advection, external force and pressure solve to a velocity field represented by a MaC grid.
Stars: ✭ 107 (+132.61%)
Mutual labels:  fluid-simulation
canvas-fluid-solver
Real-time fluid simulation in Javascript.
Stars: ✭ 45 (-2.17%)
Mutual labels:  fluid-simulation
sph-tutorial
Brandon Pelfrey's SPH fluid simulation tutorial
Stars: ✭ 36 (-21.74%)
Mutual labels:  fluid-simulation
Pysph
A framework for Smoothed Particle Hydrodynamics in Python
Stars: ✭ 223 (+384.78%)
Mutual labels:  fluid-simulation
ArteryNetwork
A pipeline to extract vessels from MR images and perform analysis.
Stars: ✭ 21 (-54.35%)
Mutual labels:  fluid-simulation
Natrix
Fast fluid simulation in Python 🐍
Stars: ✭ 25 (-45.65%)
Mutual labels:  fluid-simulation
Wave Particles With Interactive Vortices
A dx12 river renderer using wave particles with interactive vortices.
Stars: ✭ 144 (+213.04%)
Mutual labels:  fluid-simulation
sph vulkan
SPH simulation in Vulkan compute shader.
Stars: ✭ 29 (-36.96%)
Mutual labels:  fluid-simulation
Phy Net
compressing physics with neural networks
Stars: ✭ 133 (+189.13%)
Mutual labels:  fluid-simulation
Shizuku
Real time simulation and rendering of free surface fluid
Stars: ✭ 22 (-52.17%)
Mutual labels:  fluid-simulation
puddle.js
An ASCII/Node based fluid simulation library.
Stars: ✭ 102 (+121.74%)
Mutual labels:  fluid-simulation
jflowsim
Highly interactive, thread-parallel Lattice Boltzmann CFD solver
Stars: ✭ 18 (-60.87%)
Mutual labels:  fluid-simulation
FluidSimulationSurface
UE4 plugin that show a simple Fluid Simulation Surface
Stars: ✭ 23 (-50%)
Mutual labels:  fluid-simulation

MLFLIP

You can find the source codes for the SCA paper: [Um et al., 2018, "Liquid Splash Modeling with Neural Networks"].

Requirements

Activate your tensorflow environment on your machine; e.g.,

source ~/tensorflow/bin/activate

You need to compile the delivered mantaflow sources. Please refer to the general guideline to compile mantaflow: http://mantaflow.com/install.html

MLFLIP requires a special cmake option for numpy support; e.g., in your build directory,

cmake .. -DGUI=ON -DNUMPY=ON

Run training simulations

for i in {00..09}; do
  ./manta ../scenes/tsim_flip.py --nogui --seed=$i -o /tmp/tsim_flip_$i
done

Generate training data

for i in {00..09}; do
  ./manta ../scenes/tdata_gen.py -o /tmp/tdata/tsim_flip_$i /tmp/tsim_flip_$i
done

Train a model

../scenes/tf_train.py --mve -o /tmp/tfmodel/ /tmp/tdata/

Run MLFLIP

./manta ../scenes/mlflip.py --load /tmp/tfmodel/

If you want to use a pre-trained model, please try:

./manta ../scenes/mlflip.py --load ../scenes/tfmodel/
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].