OGS
TemperatureDependentDiffusion.h
Go to the documentation of this file.
1
9#pragma once
10
14
15namespace MaterialPropertyLib
16{
33{
34public:
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,
47 double const t,
48 double const /*dt*/) const override;
49
50private:
54 double const Ea_;
56 double const T0_;
57};
58} // namespace MaterialPropertyLib
virtual PropertyDataType value() const
Definition Property.cpp:76
ParameterLib::Parameter< double > const & D0_
the molecular diffusion at the reference temperature
double const Ea_
the activition energy for diffusion
TemperatureDependentDiffusion(ParameterLib::Parameter< double > const &D0, double const Ea, double const T0)
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