OGS
GroutParameters.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 "
GroutParameters.h
"
5
6
#include "
BaseLib/ConfigTree.h
"
7
8
namespace
ProcessLib
9
{
10
namespace
HeatTransportBHE
11
{
12
namespace
BHE
13
{
14
GroutParameters
createGroutParameters
(
BaseLib::ConfigTree
const
& config)
15
{
16
const
auto
grout_density =
18
config.
getConfigParameter
<
double
>(
"density"
);
19
const
auto
grout_porosity =
21
config.
getConfigParameter
<
double
>(
"porosity"
);
22
const
auto
grout_heat_capacity =
24
config.
getConfigParameter
<
double
>(
"specific_heat_capacity"
);
25
const
auto
grout_thermal_conductivity =
27
config.
getConfigParameter
<
double
>(
"thermal_conductivity"
);
28
return
{grout_density, grout_porosity, grout_heat_capacity,
29
grout_thermal_conductivity};
30
}
31
}
// namespace BHE
32
}
// namespace HeatTransportBHE
33
}
// namespace ProcessLib
ConfigTree.h
GroutParameters.h
BaseLib::ConfigTree
Definition
ConfigTree.h:101
BaseLib::ConfigTree::getConfigParameter
T getConfigParameter(std::string const ¶m) const
Definition
ConfigTree-impl.h:35
ProcessLib::HeatTransportBHE::BHE
Definition
BHE_1P.cpp:17
ProcessLib::HeatTransportBHE::BHE::createGroutParameters
GroutParameters createGroutParameters(BaseLib::ConfigTree const &config)
Definition
GroutParameters.cpp:14
ProcessLib::HeatTransportBHE
Definition
BHE_1P.cpp:15
ProcessLib
Definition
ProjectData.h:40
ProcessLib::HeatTransportBHE::BHE::GroutParameters
Definition
GroutParameters.h:17
ProcessLib
HeatTransportBHE
BHE
GroutParameters.cpp
Generated by
1.14.0