using pipe as a base for invert by hbree | SimScale