Short version: in hygienic and bioprocess piping, an unswept branch that can't be cleaned by the CIP flow is a colonization site. ASME BPE handles this with an L/d limit on the branch — L being the unswept length, d the branch inside diameter. BPE-2022, SD-3.1.2.2.
The part that gets missed constantly is what L is measured from. It is not the branch fitting's face and it is not the valve body. It is the inside wall of the main tube run to the nearest point of the branch that sees the cleaning flow — which, on a diaphragm valve installed correctly, is the weir face. Measure from the fitting instead and you will pass a branch that fails.
Worked example, all inputs stated, nothing assumed silently:
- Main run: 2 in OD hygienic tube
- Branch: 1 in OD tube, 0.065 in wall → d = 0.870 in (ASSUMED: standard hygienic tube wall, confirm against your own tube spec)
- Unswept length from main-run inside wall to weir face: 1.9 in (ASSUMED — this is the number you actually have to go measure)
L/d = 1.9 / 0.870 = 2.18
Against a 2:1 target that fails. Against a 3:1 allowance it passes. Which one applies is a project-specification question, not a code-of-record question — BPE gives the method and the industry has settled on tighter numbers for higher-risk service. That distinction is worth getting explicit in your basis of design before you have forty of these fabricated. What it costs if you get it wrong: not a leak. A failed cleaning validation, a deviation, and a re-fabrication on a line that is already installed.
Two practical notes. Zero-static and radial-diaphragm valve bodies exist precisely to shrink this dimension, and they are usually cheaper than re-spooling. And L/d says nothing about whether the branch drains — check slope separately, it is a different failure.