|
MEASUR-Tools-Suite v1.0.11
The MEASUR Tools Suite is a collection of industrial efficiency calculations written in C++ and with bindings for compilation to WebAssembly.
|
Compressed air pipe sizing calculator. More...
Classes | |
| struct | Input |
| Input parameters for the pipe sizing calculation. More... | |
| struct | Result |
| Result of the pipe sizing calculation. More... | |
Functions | |
| Result | calculate (const Input &input) |
| Calculates the minimum pipe cross-sectional area and diameter for a compressed air system. | |
Variables | |
| constexpr double | kCircleAreaFactor = 0.78 |
| Industry-standard approximation of \(\pi / 4\) used in pipe diameter calculations. | |
This namespace provides a single calculation that determines the minimum internal pipe size needed to carry a given compressed air flow at a specified design velocity:
Applies the continuity equation to convert a free-air flow rate to the compressed-air volumetric flow at operating pressure, then sizes the pipe so that the resulting velocity does not exceed the design limit.
Cross-Sectional Area:
\begin{equation}\label{eq:pipe-sizing-area} A = \frac{k_{144} \cdot Q \cdot P_{atm}}{v \cdot k_{60} \cdot (P_{line} + P_{atm})} \end{equation}
Pipe Diameter:
\begin{equation}\label{eq:pipe-sizing-diameter} D = \sqrt{\frac{A}{k_c}} \end{equation}
where:
| \(A\) | Minimum required internal cross-sectional area \([\unit{ \inch\squared}]\) |
| \(k_{144}\) | Square inches per square foot (144) \([\unit{ \inch\squared\per\squareFoot}]\) |
| \(Q\) | Volumetric free-air flow rate \([\unit{ \cubicFoot\per\minute}]\) |
| \(P_{atm}\) | Atmospheric pressure \([\unit{ \psia}]\) |
| \(v\) | Design velocity (maximum allowable) \([\unit{ \foot\per\second}]\) |
| \(k_{60}\) | Seconds per minute (60) \([\unit{ \second\per\minute}]\) |
| \(P_{line}\) | Operating gauge pressure in the pipe \([\unit{ \psig}]\) |
| \(D\) | Minimum required internal pipe diameter \([\unit{ \inch}]\) |
| \(k_c\) | Circle area factor (0.78 \approx \pi/4) \([\unit{ \unitless}]\) |
| [in] | input | Input parameters |
|
inlineconstexpr |
This factor relates the cross-sectional area of a circular pipe to its diameter squared: \(A = k_c \cdot D^2\), so \(D = \sqrt{A / k_c}\). The value 0.78 is a rounded approximation of \(\pi / 4 \approx 0.7854\) used in U.S. customary pipe sizing practice.
Definition at line 45 of file pipe_sizing.h.