Go to the documentation of this file.
19 params.addRequiredParam<std::vector<Real>>(
20 "tortuosity",
"List of tortuosities. Order is i) phase 0; ii) phase 1; etc");
21 params.addClassDescription(
22 "This Material provides constant tortuosity and diffusion coefficients");
28 _input_tortuosity(getParam<std::vector<Real>>(
"tortuosity"))
32 paramError(
"tortuosity",
33 "The number of tortuosity values entered is not equal to the number of phases "
34 "specified in the Dictator");
39 paramError(
"tortuosity",
40 "All tortuosities must be greater than zero and less than (or equal to) one"
41 ".\nNote: the definition of tortuosity used is l/le, where l is the straight line "
42 "length and le is the effective flow length");
InputParameters validParams< PorousFlowDiffusivityConst >()
PorousFlowDiffusivityConst(const InputParameters ¶meters)
Base class Material designed to provide the tortuosity and diffusion coefficents.
virtual void computeQpProperties() override
registerMooseObject("PorousFlowApp", PorousFlowDiffusivityConst)
MaterialProperty< std::vector< Real > > & _tortuosity
Tortuosity tau_0 * tau_{alpha} for fluid phase alpha.
const std::vector< Real > _input_tortuosity
Input tortuosity.
InputParameters validParams< PorousFlowDiffusivityBase >()
const unsigned int _num_phases
Number of phases.
Material designed to provide constant tortuosity and diffusion coefficents.
virtual void computeQpProperties() override