www.mooseframework.org
PorousFlowMatrixInternalEnergy.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 POROUSFLOWMATRIXINTERNALENERGY_H
9 #define POROUSFLOWMATRIXINTERNALENERGY_H
10 
12 
14 
15 template <>
17 
26 {
27 public:
28  PorousFlowMatrixInternalEnergy(const InputParameters & parameters);
29 
30 protected:
31  virtual void initQpStatefulProperties() override;
32  virtual void computeQpProperties() override;
33 
35  const Real _cp;
36 
38  const Real _density;
39 
41  const Real _heat_cap;
42 
44  const MaterialProperty<Real> & _temperature_nodal;
45 
47  const MaterialProperty<std::vector<Real>> & _dtemperature_nodal_dvar;
48 
50  MaterialProperty<Real> & _en_nodal;
51 
53  MaterialProperty<std::vector<Real>> & _den_nodal_dvar;
54 };
55 
56 #endif // POROUSFLOWMATRIXINTERNALENERGY_H
This material computes internal energy (J/m^3) for a rock matrix assuming constant grain density...
const Real _heat_cap
Heat capacity = _cp * _density.
const Real _cp
Specific heat capacity of rock grains.
PorousFlowMatrixInternalEnergy(const InputParameters &parameters)
const MaterialProperty< std::vector< Real > > & _dtemperature_nodal_dvar
d(temperature at the nodes)/d(PorousFlow variable)
Base class for all PorousFlow vector materials.
MaterialProperty< std::vector< Real > > & _den_nodal_dvar
d(matrix internal energy)/d(PorousFlow variable)
const Real _density
Density of rock grains (equals the density of the matrix if porosity=0)
const MaterialProperty< Real > & _temperature_nodal
temperature at the nodes
InputParameters validParams< PorousFlowMatrixInternalEnergy >()
MaterialProperty< Real > & _en_nodal
Matrix internal_energy at the nodes.