Computer simulation of core-shooting process with two-phase flow