A simple field function for solving complex and dynamic fluid-solid system on Cartesian grid