www.mooseframework.org
PorousFlowDiffusivityBase.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
13 
15 
16 template <>
18 
21 {
22 public:
23  PorousFlowDiffusivityBase(const InputParameters & parameters);
24 
25 protected:
26  virtual void computeQpProperties() override;
27 
29  MaterialProperty<std::vector<Real>> & _tortuosity;
30 
32  MaterialProperty<std::vector<std::vector<Real>>> & _dtortuosity_dvar;
33 
35  MaterialProperty<std::vector<std::vector<Real>>> & _diffusion_coeff;
36 
38  MaterialProperty<std::vector<std::vector<std::vector<Real>>>> & _ddiffusion_coeff_dvar;
39 
41  const std::vector<Real> _input_diffusion_coeff;
42 };
43 
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.