OGS
RefrigerantProperties.cpp
Go to the documentation of this file.
1
12
13#include "BaseLib/ConfigTree.h"
14
15namespace ProcessLib
16{
17namespace HeatTransportBHE
18{
19namespace BHE
20{
22 BaseLib::ConfigTree const& config)
23{
24 auto const refrigerant_density =
26 config.getConfigParameter<double>("density");
27 auto const refrigerant_viscosity =
29 config.getConfigParameter<double>("viscosity");
30 auto const refrigerant_heat_capacity =
32 config.getConfigParameter<double>("specific_heat_capacity");
33 auto const refrigerant_thermal_conductivity =
35 config.getConfigParameter<double>("thermal_conductivity");
36 auto const refrigerant_reference_temperature =
38 config.getConfigParameter<double>("reference_temperature");
39 return {refrigerant_viscosity, refrigerant_density,
40 refrigerant_thermal_conductivity, refrigerant_heat_capacity,
41 refrigerant_reference_temperature};
42}
43} // namespace BHE
44} // namespace HeatTransportBHE
45} // namespace ProcessLib
T getConfigParameter(std::string const &param) const
RefrigerantProperties createRefrigerantProperties(BaseLib::ConfigTree const &config)