Piping components (fittings) are permitted to be used for pressure vessel construction per ASME Section VIII Division 1, Paragraph UG-11(a)(1) and Paragraph UG-38 covers the required dimensions of flued openings. Fig. UG-38 is very similar to the picture you posted.