I noticed eventual mention on this thread of gray cast iron and later ductile iron flanges, and also of water and wastewater applications typically of some lower pressure than cross-country oil and gas and some process steel lines. I believe traditional “B16.1” e.g. standards for cast iron flanges F&D 125 or less over many years have allowed either flat or raised face flanges, though F&D higher than that have been typically required to be raised face by that standard. A stipulation however was when flat face gray iron are mated to raised face, or when ring gaskets (that nest fully within the bolt circle, instead of “full face”) are employed with gray iron flanges, no higher maximum tensile strength than allowed for ASTM 307 Grade “B” steel bolts may be employed. Caveats concerning employing any higher strength bolts with gray iron flanges was carried over into other ANSI and eventual AWWA etc. standards or appendices copy, and also into some manufacturer’s literature(e.g. footnotes to page 8-4 table at
While ring gaskets or raised faces convert bolt torque to greater compressive sealing stress on at least just a flat and not "special sealing" gasket, they also result in greater overturning moment (bending) on the flange itself than, compared to when the outer part of the flange from the bolt holes to the outer diameter is instead supported by a full-face gasket design (at least in the case of flat-faced matings).
While the standards many years later continue(d) to allow gray cast iron flanges, some major manufacturers switched many product lines to ductile iron flanges only many decades ago, as the newer material though very similar chemically had basically the same dimensions but roughly twice the strength and many times the toughness of the old gray iron (tolerating some imperfect assembly/ alignment, or application of bolting etc. with understandably fewer issues).
That being said, many old cast iron flanged pipelines at least with good assembly and support have remarkable records of durability. E.g. many kms of flanged joint cast iron pipelines were reportedly designed for the French “Sun King” Louis the Fourteenth, perhaps by the famous scientist Mariotte, to carry water to the grounds and fountains in Versailles. After original installation circa 1664, and some refurbishment last I think in about 2008, I understand roughly 80% of that piping is still in service now nearly three and a half centuries later (as near as I can tell, looking at a picture I have of a piece removed from that old pipeline, I think the flange faces of that piping were basically “flat”. Everyone have a good Easter weekend!)