Animate a pipe being bent

I am trying to figure out how to animate a pipe being bent 90 degrees at its midpoint. like an elbow between two joints of pipe. Any suggestions.

You can use a simple deform modifier set to bend. Then keyframe animate the deform angle
The most appropriate option depends on exactly what you want to do so you would need to be less vague in your question.

See attached blend file.

Attachments

bend.blend (129 KB)