SPH modeling of fluid-structure interaction