My recommendation is to code a pipe element of the proper length, but average the diameter and wall thickness (of the connecting pipes). You can apply SIFs at the ends if desired.
_________________________
Regards,
Richard Ay - Consultant