OGS
ThermoRichardsMechanics/ConstitutiveCommon/PermeabilityData.h
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
#pragma once
5
6
#include "
Base.h
"
7
#include "
ProcessLib/Reflection/ReflectionData.h
"
8
9
namespace
ProcessLib::ThermoRichardsMechanics
10
{
11
template
<
int
DisplacementDim>
12
struct
PermeabilityData
13
{
14
double
k_rel
;
15
double
dk_rel_dS_L
;
16
GlobalDimMatrix<DisplacementDim>
Ki
;
17
18
static
auto
reflect
()
19
{
20
using
Self =
PermeabilityData<DisplacementDim>
;
21
namespace
R =
ProcessLib::Reflection
;
22
23
return
std::tuple{
24
R::makeReflectionData(
"intrinsic_permeability"
, &Self::Ki),
25
R::makeReflectionData(
"relative_permeability"
, &Self::k_rel)};
26
}
27
};
28
// Explicit instantiation declarations to avoid multiple-definition issues.
29
extern
template
struct
PermeabilityData<2>;
30
extern
template
struct
PermeabilityData<3>;
31
}
// namespace ProcessLib::ThermoRichardsMechanics
ReflectionData.h
Base.h
ProcessLib::ConstitutiveRelations::GlobalDimMatrix
Eigen::Matrix< double, DisplacementDim, DisplacementDim, Eigen::RowMajor > GlobalDimMatrix
Definition
ConstitutiveRelations/Base.h:26
ProcessLib::Reflection
Definition
ReflectionData.h:10
ProcessLib::ThermoRichardsMechanics
Definition
ThermoRichardsMechanics/ConstitutiveCommon/Base.h:9
ProcessLib::ThermoRichardsMechanics::PermeabilityData
Definition
ThermoRichardsMechanics/ConstitutiveCommon/PermeabilityData.h:13
ProcessLib::ThermoRichardsMechanics::PermeabilityData::Ki
GlobalDimMatrix< DisplacementDim > Ki
Definition
ThermoRichardsMechanics/ConstitutiveCommon/PermeabilityData.h:16
ProcessLib::ThermoRichardsMechanics::PermeabilityData::reflect
static auto reflect()
Definition
ThermoRichardsMechanics/ConstitutiveCommon/PermeabilityData.h:18
ProcessLib::ThermoRichardsMechanics::PermeabilityData::k_rel
double k_rel
Definition
ThermoRichardsMechanics/ConstitutiveCommon/PermeabilityData.h:14
ProcessLib::ThermoRichardsMechanics::PermeabilityData::dk_rel_dS_L
double dk_rel_dS_L
Definition
ThermoRichardsMechanics/ConstitutiveCommon/PermeabilityData.h:15
ProcessLib
ThermoRichardsMechanics
ConstitutiveCommon
PermeabilityData.h
Generated by
1.14.0