Hydrodynamic simulation of two-component advective flows around black holes