immiscible LB

버전 1.6.0.0 (356 KB) 작성자: Gianni Schena
Implements Immiscible Lattice Boltzmann (ILB, D2Q9) method for two phase flows
다운로드 수: 3.6K
업데이트 날짜: 2010/9/28

라이선스 보기

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.
and
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

인용 양식

Gianni Schena (2024). immiscible LB (https://www.mathworks.com/matlabcentral/fileexchange/24824-immiscible-lb), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2009b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Fluid Dynamics에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Periodic_ILB/

버전 게시됨 릴리스 정보
1.6.0.0

corrects minor bug surface tension treatment

1.5.0.0

new examples in Run* files

1.2.0.0

faster than previous submission