www.mooseframework.org
PorousFlowVolumetricStrain.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 POROUSFLOWVOLUMETRICSTRAIN_H
9 #define POROUSFLOWVOLUMETRICSTRAIN_H
10 
12 #include "RankTwoTensor.h"
13 
18 {
19 public:
20  PorousFlowVolumetricStrain(const InputParameters & parameters);
21 
22 protected:
23  virtual void initQpStatefulProperties() override;
24  virtual void computeQpProperties() override;
25 
27  const bool _consistent;
28 
30  const unsigned int _ndisp;
31 
33  std::vector<const VariableValue *> _disp;
34 
36  std::vector<unsigned int> _disp_var_num;
37 
39  std::vector<const VariableGradient *> _grad_disp;
40 
42  std::vector<const VariableGradient *> _grad_disp_old;
43 
45  MaterialProperty<Real> & _vol_strain_rate_qp;
46 
52  MaterialProperty<std::vector<RealGradient>> & _dvol_strain_rate_qp_dvar;
53 
55  MaterialProperty<Real> & _vol_total_strain_qp;
56 
62  MaterialProperty<std::vector<RealGradient>> & _dvol_total_strain_qp_dvar;
63 };
64 
65 #endif // POROUSFLOWVOLUMETRICSTRAIN_H
MaterialProperty< std::vector< RealGradient > > & _dvol_strain_rate_qp_dvar
The derivative of the volumetric strain rate with respect to the porous flow variables.
PorousFlowVolumetricStrain computes volumetric strains, and derivatives thereof.
std::vector< const VariableGradient * > _grad_disp_old
old value of gradient of the displacements
const unsigned int _ndisp
number of displacements supplied (1 in 1D, 2 in 2D, 3 in 3D)
virtual void computeQpProperties() override
MaterialProperty< Real > & _vol_total_strain_qp
The total volumetric strain at the quadpoints.
std::vector< const VariableValue * > _disp
displacement variable values at the quad point
Base class for all PorousFlow vector materials.
virtual void initQpStatefulProperties() override
MaterialProperty< Real > & _vol_strain_rate_qp
The volumetric strain rate at the quadpoints.
MaterialProperty< std::vector< RealGradient > > & _dvol_total_strain_qp_dvar
The derivative of the total volumetric strain with respect to the porous flow variables.
PorousFlowVolumetricStrain(const InputParameters &parameters)
std::vector< const VariableGradient * > _grad_disp
gradient of the displacements
const bool _consistent
If true then the strain rate will include terms that ensure mass is conserved when doing integrals ov...
std::vector< unsigned int > _disp_var_num
moose variable number of the displacements variables provided