OGS
KozenyCarmanModel.h
Go to the documentation of this file.
1
10
#pragma once
11
12
#include "
MaterialLib/MPL/Property.h
"
13
#include "
MaterialLib/MPL/VariableType.h
"
14
#include "
ParameterLib/Parameter.h
"
15
16
namespace
MaterialPropertyLib
17
{
28
class
KozenyCarmanModel
final :
public
Property
29
{
30
public
:
31
explicit
KozenyCarmanModel
(
ParameterLib::Parameter<double>
const
& k0,
32
ParameterLib::Parameter<double>
const
& phi0)
33
:
_k0
(k0),
_phi0
(phi0)
34
{
35
}
36
37
PropertyDataType
value
(
38
MaterialPropertyLib::VariableArray
const
& variable_array,
39
ParameterLib::SpatialPosition
const
& pos,
double
const
t,
40
double
const
/*dt*/
)
const override
;
41
42
private
:
44
ParameterLib::Parameter<double>
const
&
_k0
;
46
ParameterLib::Parameter<double>
const
&
_phi0
;
47
};
48
}
// namespace MaterialPropertyLib
Property.h
Parameter.h
VariableType.h
MaterialPropertyLib::KozenyCarmanModel
Kozeny-Carman equation.
Definition
KozenyCarmanModel.h:29
MaterialPropertyLib::KozenyCarmanModel::_k0
ParameterLib::Parameter< double > const & _k0
Initial medium permeability.
Definition
KozenyCarmanModel.h:44
MaterialPropertyLib::KozenyCarmanModel::_phi0
ParameterLib::Parameter< double > const & _phi0
Initial porosity.
Definition
KozenyCarmanModel.h:46
MaterialPropertyLib::KozenyCarmanModel::KozenyCarmanModel
KozenyCarmanModel(ParameterLib::Parameter< double > const &k0, ParameterLib::Parameter< double > const &phi0)
Definition
KozenyCarmanModel.h:31
MaterialPropertyLib::Property
Definition
Property.h:51
MaterialPropertyLib::Property::value
virtual PropertyDataType value() const
Definition
Property.cpp:76
MaterialPropertyLib::VariableArray
Definition
VariableType.h:97
ParameterLib::SpatialPosition
Definition
SpatialPosition.h:27
MaterialPropertyLib
Definition
ChemicalSolverInterface.h:21
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
ParameterLib::Parameter
Definition
WellboreGeometry.h:23
MaterialLib
MPL
Properties
KozenyCarmanModel.h
Generated by
1.12.0