About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
See full specifications

scripts default icon2d liquid simulation (Scripts) Publisher's description

There was try to simulate 2d liquid in rectangle vessel without air in matlab


There was try to simulate 2d liquid in rectangle vessel without air in matlab. The idea was to use voronoi graph to separate liquid into pieces. Each piece has forces:
1) friction from neighbor, proportional to contact edge length
2) friction from wall if any
3) pressures from neighbor
Each piece has pressure that defined from area of polygon and compare it with initial area. Voronoi diagram is plotted over extended set of point. The extended set of point is original points plus 4 mirrored set of points. Each mirror is mirror from each wall. This trick is need to make walls.

Each piece has mass and F=m*a equations are integrated with Euler's method. In this video initial condition is liquid rotation.

Found problems:
1) Slow computation expensive code
2) There are some oscillations of masses that's looks unnatural

See animation here:

System Requirements:

MATLAB 7.9 (2009b)
Program Release Status: New Release
Program Install Support: Install and Uninstall

2d liquid simulation (Scripts) Tags:

Click on a tag to find related softwares

Is 2d liquid simulation (Scripts) your software?

Manage your software

Most Popular

scripts default icon ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
scripts default icon Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
scripts default icon M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
scripts default icon LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
scripts default icon InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.