OGS
RelPermUdellNonwettingPhase.h
Go to the documentation of this file.
1
13
#pragma once
14
15
#include "
MaterialLib/MPL/Property.h
"
16
17
namespace
MaterialPropertyLib
18
{
19
class
Medium;
20
class
Phase;
21
class
Component
;
42
class
RelPermUdellNonwettingPhase
final :
public
Property
43
{
44
private
:
45
const
double
residual_liquid_saturation_
;
46
const
double
residual_gas_saturation_
;
47
const
double
min_relative_permeability_
;
48
49
public
:
50
RelPermUdellNonwettingPhase
(std::string
name
,
51
const
double
residual_liquid_saturation
,
52
const
double
residual_gas_saturation
,
53
const
double
min_relative_permeability);
54
55
void
checkScale
()
const override
56
{
57
if
(!std::holds_alternative<Medium*>(
scale_
))
58
{
59
OGS_FATAL
(
60
"The property 'RelativePermeabilityUdellNonwettingPhase' is "
61
"implemented on the 'media' scale only."
);
62
}
63
}
64
65
PropertyDataType
value
(
VariableArray
const
& variable_array,
66
ParameterLib::SpatialPosition
const
& pos,
67
double
const
t,
double
const
dt)
const override
;
68
PropertyDataType
dValue
(
VariableArray
const
& variable_array,
69
Variable
const
variable,
70
ParameterLib::SpatialPosition
const
& pos,
71
double
const
t,
double
const
dt)
const override
;
72
};
73
74
}
// namespace MaterialPropertyLib
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::RelPermUdellNonwettingPhase
Definition
RelPermUdellNonwettingPhase.h:43
MaterialPropertyLib::RelPermUdellNonwettingPhase::dValue
PropertyDataType dValue(VariableArray const &variable_array, Variable const variable, ParameterLib::SpatialPosition const &pos, double const t, double const dt) const override
Definition
RelPermUdellNonwettingPhase.cpp:69
MaterialPropertyLib::RelPermUdellNonwettingPhase::RelPermUdellNonwettingPhase
RelPermUdellNonwettingPhase(std::string name, const double residual_liquid_saturation, const double residual_gas_saturation, const double min_relative_permeability)
Definition
RelPermUdellNonwettingPhase.cpp:23
MaterialPropertyLib::RelPermUdellNonwettingPhase::residual_gas_saturation_
const double residual_gas_saturation_
Definition
RelPermUdellNonwettingPhase.h:46
MaterialPropertyLib::RelPermUdellNonwettingPhase::checkScale
void checkScale() const override
Definition
RelPermUdellNonwettingPhase.h:55
MaterialPropertyLib::RelPermUdellNonwettingPhase::residual_liquid_saturation_
const double residual_liquid_saturation_
Definition
RelPermUdellNonwettingPhase.h:45
MaterialPropertyLib::RelPermUdellNonwettingPhase::min_relative_permeability_
const double min_relative_permeability_
Definition
RelPermUdellNonwettingPhase.h:47
MaterialPropertyLib::VariableArray
Definition
VariableType.h:99
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::residual_liquid_saturation
@ residual_liquid_saturation
Definition
PropertyType.h:81
MaterialPropertyLib::residual_gas_saturation
@ residual_gas_saturation
Definition
PropertyType.h:80
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
RelPermUdellNonwettingPhase.h
Generated by
1.11.0