OGS
Pipe.cpp
Go to the documentation of this file.
1 
11 #include "Pipe.h"
12 
13 #include "BaseLib/ConfigTree.h"
14 
15 namespace ProcessLib
16 {
17 namespace HeatTransportBHE
18 {
19 namespace BHE
20 {
22 {
24  const auto diameter = config.getConfigParameter<double>("diameter");
25  const auto wall_thickness =
27  config.getConfigParameter<double>("wall_thickness");
28  const auto wall_thermal_conductivity =
30  config.getConfigParameter<double>("wall_thermal_conductivity");
31  return {diameter, wall_thickness, wall_thermal_conductivity};
32 }
33 } // namespace BHE
34 } // namespace HeatTransportBHE
35 } // namespace ProcessLib
T getConfigParameter(std::string const &param) const
Pipe createPipe(BaseLib::ConfigTree const &config)
Definition: Pipe.cpp:21