MATLAB code: Two-phase incompressible and immiscible fluid solver based on IBM
This is a simple two-phase incompressible and immiscible fluid solver based on immersed boundary method (IBM). FFT is used to solve the Navier-Stokes equations. The MATLAB codes are pasted here.