How to model a pipe expander and reducer