Interaction of shock wave with a flexible structure