In a preferred embodiment, the present invention is a system and method for performing friction stir welding of non-planar materials having high melting temperatures, wherein a process is provided for performing longitudinal and radial welds on objects such as pipes, flanges, tanks, and shrouds, and wherein an active or passive mandrel provides support for the friction stir welding process.