An optimal control method for fluid structure interaction systems via adjoint boundary pressure