Numerical study on equilibrium stability of objects in fluid flow — A case study on constructal law