|
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.
|
Contains the entire hierarchy of the HeadTool classes. calculateThermalResistance(): Calculates the operating pump head. More...
#include <HeadTool.h>
Classes | |
| struct | Output |
Public Member Functions | |
| HeadToolBase (const double specificGravity, const double flowRate, const double suctionPipeDiameter, const double suctionLineLossCoefficients, const double dischargePipeDiameter, const double dischargeGaugePressure, const double dischargeGaugeElevation, const double dischargeLineLossCoefficients) | |
| virtual HeadToolBase::Output | calculate ()=0 |
| double | velocity (double diameter, double flow) |
| double | velocityHead (double velocity, double gravity) |
Public Attributes | |
| const double | specificGravity |
| specific gravity - unitless | |
| const double | flowRate |
| flow rate in gpm | |
| const double | suctionPipeDiameter |
| suction pipe diameter in inches | |
| const double | suctionLineLossCoefficients |
| suction line loss coefficient - unitless | |
| const double | dischargePipeDiameter |
| discharge pipe diameter in inches | |
| const double | dischargeGaugePressure |
| discharge gauge pressure in psi | |
| const double | dischargeGaugeElevation |
| discharge gauge elevation in ft | |
| const double | dischargeLineLossCoefficients |
| discharge line loss coefficients - unitless | |
| const double | gravity = 32.1740 |
| gravity constant | |
| const double | PI = 3.141592653589793238463 |
| value of Pi | |
Head Tool Base class Contains all of the basic properties of a head tool. Used to calculateReynoldsNumber velocity and velocity head so those values can be used in the HeadToolSuctionTank class or HeadTool class to calculateThermalResistance all of the values in the returned map.
Definition at line 20 of file HeadTool.h.
|
inline |
Constructor for the abstract HeadToolBase class with all inputs specified
| specificGravity | double, specific gravity - unitless |
| flowRate | double, flow rate in gpm (gallons per minute) |
| suctionPipeDiameter | double, diameter of suction pipe in inches |
| suctionLineLossCoefficients | double, suction line loss coefficient - unitless |
| dischargePipeDiameter | double, diameter of discharge pipe in inches |
| dischargeGaugePressure | double, gauge pressure of discharge in psig (pounds per square inch gauge) |
| dischargeGaugeElevation | double, gauge elevation of discharge in feet |
| dischargeLineLossCoefficients | double, line loss coefficients of discharge - unitless |
Definition at line 47 of file HeadTool.h.
|
pure virtual |
Calculates the operating pump head
Implemented in HeadToolSuctionTank, and HeadTool.
Calculates the velocity
| diameter | const double, diameter in inches |
| flow | const double, flow rate in gpm |
Calculates the velocity head
| velocity | const double, velocity in ft/s |
| gravity | const double, gravity in ft/s^2 |
Definition at line 93 of file HeadTool.h.
Definition at line 91 of file HeadTool.h.
Definition at line 95 of file HeadTool.h.
Definition at line 89 of file HeadTool.h.
| const double HeadToolBase::flowRate |
Definition at line 83 of file HeadTool.h.
Definition at line 97 of file HeadTool.h.
Definition at line 99 of file HeadTool.h.
Definition at line 81 of file HeadTool.h.
Definition at line 87 of file HeadTool.h.
Definition at line 85 of file HeadTool.h.