OGS
Pipe.cpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#include "Pipe.h"
5
7
8namespace ProcessLib
9{
10namespace HeatTransportBHE
11{
12namespace BHE
13{
15{
17 const auto diameter = config.getConfigParameter<double>("diameter");
18 const auto wall_thickness =
20 config.getConfigParameter<double>("wall_thickness");
21 const auto wall_thermal_conductivity =
23 config.getConfigParameter<double>("wall_thermal_conductivity");
24 return {diameter, wall_thickness, wall_thermal_conductivity};
25}
26} // namespace BHE
27} // namespace HeatTransportBHE
28} // namespace ProcessLib
T getConfigParameter(std::string const &param) const
Pipe createPipe(BaseLib::ConfigTree const &config)
Definition Pipe.cpp:14