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
wall_heat_loss.h
Go to the documentation of this file.
1#pragma once
10#include <array>
11#include <string>
12#include <vector>
13
19namespace wall_heat_loss {
20
27struct WallType {
28 std::string wall_description;
29 double shape_factor;
30};
31
37inline const std::array<WallType, 7> kWallTypes {{{"Horizontal cylinders", 1.016},
38 {"Longer vertical cylinders", 1.235},
39 {"Vertical plates", 1.394},
40 {"Horizontal plate facing up, warmer than air", 1.79},
41 {"Horizontal plate facing down, warmer than air", 0.89},
42 {"Horizontal plate facing up, cooler than air", 0.89},
43 {"Horizontal plate facing down, cooler than air", 1.79}}};
44
51inline const std::vector<WallType>& wallTypes() {
52 static const std::vector<WallType> wall_types_vector(kWallTypes.begin(), kWallTypes.end());
53 return wall_types_vector;
54}
55
76double totalHeatLoss(double surface_area, double ambient_temperature, double surface_temperature, double wind_speed,
77 double surface_emissivity, double shape_factor, double correction_factor);
78
96double convectiveHeatLoss(double shape_factor, double wind_speed, double surface_area, double surface_temperature,
97 double ambient_temperature);
98
112double radiativeHeatLoss(double surface_emissivity, double surface_area, double surface_temperature,
113 double ambient_temperature);
114
115} // namespace wall_heat_loss
double totalHeatLoss(double surface_area, double ambient_temperature, double surface_temperature, double wind_speed, double surface_emissivity, double shape_factor, double correction_factor)
Calculates the total heat loss from a wall to the ambient (convective + radiative).
const std::vector< WallType > & wallTypes()
Retrieves the predefined shape factors for various wall types.
double radiativeHeatLoss(double surface_emissivity, double surface_area, double surface_temperature, double ambient_temperature)
Calculates the radiative heat loss from the wall to the ambient.
const std::array< WallType, 7 > kWallTypes
Predefined shape factors for various wall types.
double convectiveHeatLoss(double shape_factor, double wind_speed, double surface_area, double surface_temperature, double ambient_temperature)
Computes the convective heat loss from the wall to the ambient.
Calculates heat losses from walls of process heating equipment to the ambient.
Represents a wall type and its associated shape factor used in heat loss calculations.
double shape_factor
Shape factor associated with the wall type .
std::string wall_description
Description of the wall type.