OGS
CubicLawPermeability.cpp
Go to the documentation of this file.
1
10
#include "
CubicLawPermeability.h
"
11
12
namespace
MaterialPropertyLib
13
{
14
PropertyDataType
CubicLawPermeability::value
(
15
VariableArray
const
&
/*variable_array*/
,
16
ParameterLib::SpatialPosition
const
& pos,
double
const
t,
17
double
const
/*dt*/
)
const
18
{
19
double
const
aperture_m =
_b
(t, pos)[0];
20
return
aperture_m * aperture_m / 12;
21
}
22
23
PropertyDataType
CubicLawPermeability::dValue
(
24
VariableArray
const
&
/*variable_array*/
,
Variable
const
/*variable*/
,
25
ParameterLib::SpatialPosition
const
&
/*pos*/
,
double
const
/*t*/
,
26
double
const
/*dt*/
)
const
27
{
28
OGS_FATAL
(
"CubicLawPermeability::dValue is not implemented."
);
29
}
30
}
// namespace MaterialPropertyLib
CubicLawPermeability.h
OGS_FATAL
#define OGS_FATAL(...)
Definition
Error.h:26
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::Variable
Variable
Definition
VariableType.h:30
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
MaterialPropertyLib::CubicLawPermeability::dValue
PropertyDataType dValue(VariableArray const &variable_array, Variable const variable, ParameterLib::SpatialPosition const &pos, double const t, double const dt) const override
Definition
CubicLawPermeability.cpp:23
MaterialPropertyLib::CubicLawPermeability::_b
ParameterLib::Parameter< double > const & _b
fracture aperture
Definition
CubicLawPermeability.h:69
MaterialLib
MPL
Properties
CubicLawPermeability.cpp
Generated by
1.12.0