Shape memory polymer S-shaped mandrel for composite air duct manufacturing