Flow manipulation via body morphology and elasticity