Numerical study of the indentation formation of a compound droplet in a constriction