OGS
RelPermLiakopoulos.h
Go to the documentation of this file.
1
12
#pragma once
13
14
#include "
BaseLib/ConfigTree-fwd.h
"
15
#include "
MaterialLib/MPL/Property.h
"
16
17
namespace
MaterialPropertyLib
18
{
19
class
Medium;
20
class
Phase;
21
class
Component
;
42
class
RelPermLiakopoulos
final :
public
Property
43
{
44
private
:
54
const
double
residual_liquid_saturation_
= 0.2;
55
const
double
maximal_liquid_saturation_
= 1.;
56
const
double
parameter_a_
= 2.207;
57
const
double
parameter_b_
= 1.0121;
58
59
public
:
60
explicit
RelPermLiakopoulos
(std::string
name
);
61
62
void
checkScale
()
const override
63
{
64
if
(!std::holds_alternative<Medium*>(
scale_
))
65
{
66
OGS_FATAL
(
67
"The property 'RelPermLiakopoulos' is implemented on the "
68
"'media' scale only."
);
69
}
70
}
71
74
PropertyDataType
value
(
VariableArray
const
& variable_array,
75
ParameterLib::SpatialPosition
const
& pos,
76
double
const
t,
double
const
dt)
const override
;
77
PropertyDataType
dValue
(
VariableArray
const
& variable_array,
78
Variable
const
variable,
79
ParameterLib::SpatialPosition
const
& pos,
80
double
const
t,
double
const
dt)
const override
;
81
};
82
83
}
// namespace MaterialPropertyLib
ConfigTree-fwd.h
OGS_FATAL
#define OGS_FATAL(...)
Definition
Error.h:26
Property.h
MaterialPropertyLib::Property
Definition
Property.h:51
MaterialPropertyLib::Property::value
virtual PropertyDataType value() const
Definition
Property.cpp:76
MaterialPropertyLib::Property::scale_
std::variant< Medium *, Phase *, Component * > scale_
Definition
Property.h:297
MaterialPropertyLib::RelPermLiakopoulos
Relative permeability function for the wetting phase of the Liakopoulos experiment.
Definition
RelPermLiakopoulos.h:43
MaterialPropertyLib::RelPermLiakopoulos::residual_liquid_saturation_
const double residual_liquid_saturation_
Definition
RelPermLiakopoulos.h:54
MaterialPropertyLib::RelPermLiakopoulos::checkScale
void checkScale() const override
Definition
RelPermLiakopoulos.h:62
MaterialPropertyLib::RelPermLiakopoulos::parameter_b_
const double parameter_b_
Definition
RelPermLiakopoulos.h:57
MaterialPropertyLib::RelPermLiakopoulos::dValue
PropertyDataType dValue(VariableArray const &variable_array, Variable const variable, ParameterLib::SpatialPosition const &pos, double const t, double const dt) const override
Definition
RelPermLiakopoulos.cpp:63
MaterialPropertyLib::RelPermLiakopoulos::RelPermLiakopoulos
RelPermLiakopoulos(std::string name)
Definition
RelPermLiakopoulos.cpp:22
MaterialPropertyLib::RelPermLiakopoulos::parameter_a_
const double parameter_a_
Definition
RelPermLiakopoulos.h:56
MaterialPropertyLib::RelPermLiakopoulos::maximal_liquid_saturation_
const double maximal_liquid_saturation_
Definition
RelPermLiakopoulos.h:55
MaterialPropertyLib::VariableArray
Definition
VariableType.h:97
ParameterLib::SpatialPosition
Definition
SpatialPosition.h:27
ChemistryLib::PhreeqcIOData::ItemType::Component
@ Component
MaterialPropertyLib
Definition
ChemicalSolverInterface.h:21
MaterialPropertyLib::Variable
Variable
Definition
VariableType.h:30
MaterialPropertyLib::name
@ name
Definition
PropertyType.h:66
MaterialPropertyLib::PropertyDataType
std::variant< double, Eigen::Matrix< double, 2, 1 >, Eigen::Matrix< double, 3, 1 >, Eigen::Matrix< double, 2, 2 >, Eigen::Matrix< double, 3, 3 >, Eigen::Matrix< double, 4, 1 >, Eigen::Matrix< double, 6, 1 >, Eigen::MatrixXd > PropertyDataType
Definition
Property.h:31
MaterialLib
MPL
Properties
RelativePermeability
RelPermLiakopoulos.h
Generated by
1.12.0