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.
Loading...
Searching...
No Matches
Classes | Namespaces | Functions | Variables
pipe_sizing.h File Reference

Declarations for compressed air pipe sizing calculations. More...

#include <cmath>
#include "physics/constants.h"

Go to the source code of this file.

Classes

struct  pipe_sizing::Input
 Input parameters for the pipe sizing calculation. More...
 
struct  pipe_sizing::Result
 Result of the pipe sizing calculation. More...
 

Namespaces

namespace  pipe_sizing
 Compressed air pipe sizing calculator.
 

Functions

Result pipe_sizing::calculate (const Input &input)
 Calculates the minimum pipe cross-sectional area and diameter for a compressed air system.
 

Variables

constexpr double pipe_sizing::kCircleAreaFactor = 0.78
 Industry-standard approximation of \(\pi / 4\) used in pipe diameter calculations.
 

Detailed Description

Provides a function to determine the required cross-sectional area and minimum internal diameter of a compressed air distribution pipe given the volumetric flow rate, operating pressure, and design velocity. All calculations use U.S. customary units.

See also
Pipe Sizing Calculator for formula derivations and symbol definitions.

Definition in file pipe_sizing.h.