OGS
TemperatureDependentDiffusion.h
Go to the documentation of this file.
1
9
#pragma once
10
11
#include "
MaterialLib/MPL/Property.h
"
12
#include "
MaterialLib/MPL/VariableType.h
"
13
#include "
ParameterLib/Parameter.h
"
14
15
namespace
MaterialPropertyLib
16
{
32
class
TemperatureDependentDiffusion
final :
public
Property
33
{
34
public
:
35
explicit
TemperatureDependentDiffusion
(
36
ParameterLib::Parameter<double>
const
& D0,
37
double
const
Ea,
38
double
const
T0)
39
:
D0_
(D0),
Ea_
(Ea),
T0_
(T0)
40
{
41
}
42
43
void
checkScale
()
const override
;
44
45
PropertyDataType
value
(
VariableArray
const
& variable_array,
46
ParameterLib::SpatialPosition
const
& pos,
47
double
const
t,
48
double
const
/*dt*/
)
const override
;
49
50
private
:
52
ParameterLib::Parameter<double>
const
&
D0_
;
54
double
const
Ea_
;
56
double
const
T0_
;
57
};
58
}
// namespace MaterialPropertyLib
Property.h
Parameter.h
VariableType.h
MaterialPropertyLib::Property
Definition
Property.h:51
MaterialPropertyLib::Property::value
virtual PropertyDataType value() const
Definition
Property.cpp:76
MaterialPropertyLib::TemperatureDependentDiffusion
Definition
TemperatureDependentDiffusion.h:33
MaterialPropertyLib::TemperatureDependentDiffusion::D0_
ParameterLib::Parameter< double > const & D0_
the molecular diffusion at the reference temperature
Definition
TemperatureDependentDiffusion.h:52
MaterialPropertyLib::TemperatureDependentDiffusion::Ea_
double const Ea_
the activition energy for diffusion
Definition
TemperatureDependentDiffusion.h:54
MaterialPropertyLib::TemperatureDependentDiffusion::checkScale
void checkScale() const override
Definition
TemperatureDependentDiffusion.cpp:20
MaterialPropertyLib::TemperatureDependentDiffusion::T0_
double const T0_
the reference temperature
Definition
TemperatureDependentDiffusion.h:56
MaterialPropertyLib::TemperatureDependentDiffusion::TemperatureDependentDiffusion
TemperatureDependentDiffusion(ParameterLib::Parameter< double > const &D0, double const Ea, double const T0)
Definition
TemperatureDependentDiffusion.h:35
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
TemperatureDependentDiffusion.h
Generated by
1.12.0