Numerical simulation of fluid-structure interaction with application to aneurysm hemodynamics