# Pipe pressure drop # Scope: Darcy-Weisbach straight-pipe loss; Darcy friction factor supplied. # Status: illustrative worked example; engineering review pending. # Inputs are example values. Checks are editable example requirements, not standards. length = 10 m diameter = 20 mm flow = 10 L/min density = 1000 kg/m^3 darcyFactor = 0.03 velocity := 4*flow/(pi*diameter^2) [m/s] loss := darcyFactor*length/diameter*density*velocity^2/2 [Pa] check pressure loss budget: loss <= 5000 Pa scenario alternative: length = 8 m