www.mooseframework.org
PorousFlowVolumetricStrain.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 #include "RankTwoTensor.h"
14 
19 {
20 public:
22 
23  PorousFlowVolumetricStrain(const InputParameters & parameters);
24 
25 protected:
26  virtual void initQpStatefulProperties() override;
27  virtual void computeQpProperties() override;
28 
30  const std::string _base_name;
31 
34 
37 
39  const unsigned int _ndisp;
40 
42  std::vector<unsigned int> _disp_var_num;
43 
46 
53 
56 
63 };
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.
static InputParameters validParams()
const MaterialProperty< RankTwoTensor > & _total_strain_old
Old value of total strain calculated by a Tensor Mechanics strain calculator.
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.
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)
const MaterialProperty< RankTwoTensor > & _total_strain
total strain calculated by a Tensor Mechanics strain calculator
std::vector< unsigned int > _disp_var_num
MOOSE variable number of the displacements variables provided.
const std::string _base_name
base name used in the Tensor Mechanics strain calculator