Title: Mathematical and computational modelling for the design of pipe bends and compliant systems