www.mooseframework.org
PorousFlowPlasticHeatEnergy.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 #ifndef POROUSFLOWPLASTICHEATENERGY_H
8 #define POROUSFLOWPLASTICHEATENERGY_H
9 
10 #include "PlasticHeatEnergy.h"
11 #include "PorousFlowDictator.h"
12 
13 // Forward Declarations
15 
16 template <>
18 
24 {
25 public:
26  PorousFlowPlasticHeatEnergy(const InputParameters & parameters);
27 
28 protected:
29  virtual Real computeQpResidual() override;
30  virtual Real computeQpJacobian() override;
31  virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
32 
35 
38 
40  const MaterialProperty<unsigned int> * const _nearest_qp;
41 
43  const MaterialProperty<Real> & _porosity;
44 
46  const MaterialProperty<std::vector<Real>> & _dporosity_dvar;
47 
49  const MaterialProperty<std::vector<RealGradient>> & _dporosity_dgradvar;
50 };
51 
52 #endif // POROUSFLOWPLASTICHEATENERGY_H
const MaterialProperty< Real > & _porosity
porosity at the nodes, but it can depend on grad(variables) which are actually evaluated at the qps ...
const PorousFlowDictator & _dictator
holds info on the PorousFlow variables
InputParameters validParams< PorousFlowPlasticHeatEnergy >()
const MaterialProperty< unsigned int > *const _nearest_qp
the nearest qp to the node
const bool _strain_at_nearest_qp
whether the porosity uses the volumetric strain at the closest quadpoint
Provides a heat source from plastic deformation: coeff * stress * plastic_strain_rate.
This holds maps between the nonlinear variables used in a PorousFlow simulation and the variable numb...
virtual Real computeQpJacobian() override
const MaterialProperty< std::vector< Real > > & _dporosity_dvar
d(porosity)/d(porous-flow variable) - these derivatives will be wrt variables at the nodes ...
Provides a heat source (J/m^3/s) from plastic deformation: (1 - porosity) * coeff * stress * plastic_...
PorousFlowPlasticHeatEnergy(const InputParameters &parameters)
virtual Real computeQpResidual() override
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
const MaterialProperty< std::vector< RealGradient > > & _dporosity_dgradvar
d(porosity)/d(grad porous-flow variable) - remember these derivatives will be wrt grad(vars) at qps ...