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
  • Last update: 5 years ago
  • Total downloads: 51
  • Operating system: Linux, Mac OS X, Win All, BSD, Solaris
  • Publisher: MATLAB 7.9 (2009b)
See full specifications

scripts default iconimmiscible LB (Scripts) Publisher's description

The MatLab code uses lattice Boltzmann (LB) method to simulate two phase flows for immiscible fluids (blue & red fluids) in 2D according to the D2Q9 scheme

The MatLab code uses lattice Boltzmann (LB) method to simulate two phase flows for immiscible fluids (blue & red fluids) in 2D according to the D2Q9 scheme.
The model is also referred to as color model or chromodynamic model or ILB (immiscible LB).
This MatLab implementation of ILB saves an AVI file in '' dir_avi='C:' '' that records frames generated by the time evolution iterations.

The code implements in D2Q9 the model originally developed by Gunstensen [Gunstensen AK, Rothman D. Lattice Boltzmann model of immiscible fluids. Phys Rev A 1991;43(8):4320?4327], which is based on the original Rothman?Keller model [Rothman DH, Keller JM. Immiscible cellular automaton fluids. J Stat Phys 1988;52:1119?1127].
see also : Gunstensen, A., Rothman, D.H., Zaleski, S., and Zanetti, G., Physical Review A 43, 4320-4327, April 15, 1991.
page 190-191 of the reference book by S. Succi, The Lattice Boltzmann Equation, Oxford Univ. Press, 2001.
Only periodic boundary conditions are implemented in this version.
Also the method suggested by Dr Sergey Lishchuk for including surface tension is implemented, see :
S. V. Lishchuk, C. M. Care, I. Halliday. Lattice Boltzmann algorithm for surface tension with greatly reduced micro-currents. Phys. Rev. E, 2003,
In order to run this code you need MatLab 2009 or later with the image processing toolbox (IPT).
The files Run* are those to execute (eg. Run_Demo_ILBGK_D2Q9_Spinodal_Decomposition OR Run_ILB_Flow_inPM_Periodic_sigle_bubble).
If you stop the execution you can restart with >Restart_Time_Evolution

System Requirements:

Gianni Schena
Program Release Status: New Release
Program Install Support: Install and Uninstall

immiscible LB (Scripts) Tags:

Click on a tag to find related softwares

Is immiscible LB (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.