www.mooseframework.org
PorousFlowDesorpedMassVolumetricExpansion.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 POROUSFLOWDESORPEDMASSVOLUMETRICEXPANSION_H
9 #define POROUSFLOWDESORPEDMASSVOLUMETRICEXPANSION_H
10 
11 #include "TimeDerivative.h"
12 #include "PorousFlowDictator.h"
13 
14 // Forward Declarations
16 
17 template <>
19 
25 {
26 public:
27  PorousFlowDesorpedMassVolumetricExpansion(const InputParameters & parameters);
28 
29 protected:
30  virtual Real computeQpResidual() override;
31  virtual Real computeQpJacobian() override;
32  virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
33 
36 
38  const unsigned int _conc_var_number;
39 
41  const VariableValue & _conc;
42 
44  const MaterialProperty<Real> & _porosity;
45 
47  const MaterialProperty<std::vector<Real>> & _dporosity_dvar;
48 
50  const MaterialProperty<std::vector<RealGradient>> & _dporosity_dgradvar;
51 
53  const MaterialProperty<Real> & _strain_rate_qp;
54 
56  const MaterialProperty<std::vector<RealGradient>> & _dstrain_rate_qp_dvar;
57 
63  Real computeQpJac(unsigned int jvar) const;
64 };
65 
66 #endif // POROUSFLOWDESORPEDMASSVOLUMETRICEXPANSION_H
InputParameters validParams< PorousFlowDesorpedMassVolumetricExpansion >()
const MaterialProperty< Real > & _strain_rate_qp
strain rate
const MaterialProperty< std::vector< RealGradient > > & _dporosity_dgradvar
d(porosity)/d(grad porous-flow variable)
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
const PorousFlowDictator & _dictator
holds info on the Porous Flow variables
PorousFlowDesorpedMassVolumetricExpansion(const InputParameters &parameters)
Kernel = desorped_mass * d(volumetric_strain)/dt which is not lumped to the nodes.
const unsigned int _conc_var_number
The MOOSE variable number of the concentration variable.
const MaterialProperty< std::vector< Real > > & _dporosity_dvar
d(porosity)/d(porous-flow variable)
const MaterialProperty< std::vector< RealGradient > > & _dstrain_rate_qp_dvar
d(strain rate)/d(porous-flow variable)
This holds maps between the nonlinear variables used in a PorousFlow simulation and the variable numb...
const VariableValue & _conc
The concentration variable.
Real computeQpJac(unsigned int jvar) const
Derivative of the residual with respect to the Moose variable with variable number jvar...