Numerical simulation of two-phase flows in complex geometries by using the volume-of-fluid/immersed-boundary method. (12th January 2016)