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
gas_type_data.h
1
2#pragma once
3#include <string>
4#include <vector>
5
10namespace gas_type_data {
11
18struct GasType {
19 std::string gas_description;
20 double specific_heat;
21};
22
27inline std::vector<GasType> get_default_gas_types() {
28 return {
29 {"Nitrogen", 0.0185},
30 {"Hydrogen", 0.0182},
31 {"Exothermic Gas", 0.0185},
32 {"Endothermic Gas", 0.0185},
33 {"Air", 0.0184},
34 {"Water Vapor", 0.0212}
35 };
36}
37
38} // namespace gas_type_data
Contains default data for atmospheric gas types used in atmosphere heat loss calculations.
std::vector< GasType > get_default_gas_types()
Returns a vector of default gas types.
Struct to hold default gas type data.