www.mooseframework.org
PorousFlowDiffusivityBase.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
8 #ifndef POROUSFLOWDIFFUSIVITYBASE_H
9 #define POROUSFLOWDIFFUSIVITYBASE_H
10 
12 
14 
15 template <>
17 
20 {
21 public:
22  PorousFlowDiffusivityBase(const InputParameters & parameters);
23 
24 protected:
25  virtual void computeQpProperties() override;
26 
28  MaterialProperty<std::vector<Real>> & _tortuosity;
29 
31  MaterialProperty<std::vector<std::vector<Real>>> & _dtortuosity_dvar;
32 
34  MaterialProperty<std::vector<std::vector<Real>>> & _diffusion_coeff;
35 
37  MaterialProperty<std::vector<std::vector<std::vector<Real>>>> & _ddiffusion_coeff_dvar;
38 
40  const std::vector<Real> _input_diffusion_coeff;
41 };
42 
43 #endif // POROUSFLOWDIFFUSIVITYBASE_H
virtual void computeQpProperties() override
Base class for all PorousFlow vector materials.
Base class Material designed to provide the tortuosity and diffusion coefficents. ...
MaterialProperty< std::vector< std::vector< Real > > > & _diffusion_coeff
Diffusion coefficients of component k in fluid phase alpha.
MaterialProperty< std::vector< std::vector< std::vector< Real > > > > & _ddiffusion_coeff_dvar
Derivative of the diffusion coefficients wrt PorousFlow variables.
InputParameters validParams< PorousFlowDiffusivityBase >()
PorousFlowDiffusivityBase(const InputParameters &parameters)
MaterialProperty< std::vector< std::vector< Real > > > & _dtortuosity_dvar
Derivative of tortuosity wrt PorousFlow variables.
MaterialProperty< std::vector< Real > > & _tortuosity
Tortuosity tau_0 * tau_{alpha} for fluid phase alpha.
const std::vector< Real > _input_diffusion_coeff
Input diffusion coefficients.