www.mooseframework.org
PorousFlowPorosityTM.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 POROUSFLOWPOROSITYTM_H
9 #define POROUSFLOWPOROSITYTM_H
10 
12 
13 // Forward Declarations
15 
16 template <>
17 InputParameters validParams<PorousFlowPorosityTM>();
18 
24 {
25 public:
26  PorousFlowPorosityTM(const InputParameters & parameters);
27 
28 protected:
29  virtual Real atNegInfinityQp() const override;
30  virtual Real atZeroQp() const override;
31  virtual Real decayQp() const override;
32  virtual Real ddecayQp_dvar(unsigned pvar) const override;
33  virtual RealGradient ddecayQp_dgradvar(unsigned pvar) const override;
34 
36  const VariableValue & _phi0;
37 
39  const Real _exp_coeff;
40 
42  const VariableValue & _t_reference;
43 
45  const unsigned int _ndisp;
46 
48  std::vector<unsigned int> _disp_var_num;
49 
51  const MaterialProperty<Real> & _vol_strain_qp;
52 
54  const MaterialProperty<std::vector<RealGradient>> & _dvol_strain_qp_dvar;
55 
57  const MaterialProperty<Real> & _temperature;
58 
60  const MaterialProperty<std::vector<Real>> & _dtemperature_dvar;
61 };
62 
63 #endif // POROUSFLOWPOROSITYTM_H
Base class Material designed to provide the porosity.
const MaterialProperty< Real > & _vol_strain_qp
strain
PorousFlowPorosityTM(const InputParameters &parameters)
const MaterialProperty< std::vector< Real > > & _dtemperature_dvar
d(temperature)/(d porflow variable)
virtual Real decayQp() const override
Returns "decay" at the quadpoint (porosity = a + (b - a) * exp(decay))
const unsigned int _ndisp
number of displacement variables
std::vector< unsigned int > _disp_var_num
variable number of the displacements variables
const Real _exp_coeff
thermal expansion coefficient of the solid porous skeleton
virtual Real atNegInfinityQp() const override
Returns "a" at the quadpoint (porosity = a + (b - a) * exp(decay))
virtual Real atZeroQp() const override
Returns "b" at the quadpoint (porosity = a + (b - a) * exp(decay))
const MaterialProperty< Real > & _temperature
temperature at quadpoints or nodes
const VariableValue & _t_reference
reference temperature
const MaterialProperty< std::vector< RealGradient > > & _dvol_strain_qp_dvar
d(strain)/(dvar)
const VariableValue & _phi0
porosity at zero strain and zero temperature
Material designed to provide the porosity in thermo-mechanical simulations biot + (phi0 - biot)*exp(-...
InputParameters validParams< PorousFlowPorosityTM >()
virtual RealGradient ddecayQp_dgradvar(unsigned pvar) const override
d(decay)/d(grad(porous-flow variable pvar))
virtual Real ddecayQp_dvar(unsigned pvar) const override
d(decay)/d(porous-flow variable pvar)