www.mooseframework.org
PorousFlowMatrixInternalEnergy.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 
15 
16 template <>
18 
27 {
28 public:
29  PorousFlowMatrixInternalEnergy(const InputParameters & parameters);
30 
31 protected:
32  virtual void initQpStatefulProperties() override;
33  virtual void computeQpProperties() override;
34 
36  const Real _cp;
37 
39  const Real _density;
40 
42  const Real _heat_cap;
43 
45  const MaterialProperty<Real> & _temperature_nodal;
46 
48  const MaterialProperty<std::vector<Real>> & _dtemperature_nodal_dvar;
49 
51  MaterialProperty<Real> & _en_nodal;
52 
54  MaterialProperty<std::vector<Real>> & _den_nodal_dvar;
55 };
56 
PorousFlowMatrixInternalEnergy::_temperature_nodal
const MaterialProperty< Real > & _temperature_nodal
Temperature at the nodes.
Definition: PorousFlowMatrixInternalEnergy.h:45
PorousFlowMatrixInternalEnergy::initQpStatefulProperties
virtual void initQpStatefulProperties() override
Definition: PorousFlowMatrixInternalEnergy.C:48
PorousFlowMaterialVectorBase
Base class for all PorousFlow vector materials.
Definition: PorousFlowMaterialVectorBase.h:23
PorousFlowMatrixInternalEnergy
This material computes internal energy (J/m^3) for a rock matrix assuming constant grain density,...
Definition: PorousFlowMatrixInternalEnergy.h:26
PorousFlowMatrixInternalEnergy::_heat_cap
const Real _heat_cap
Heat capacity = _cp * _density.
Definition: PorousFlowMatrixInternalEnergy.h:42
PorousFlowMatrixInternalEnergy::_dtemperature_nodal_dvar
const MaterialProperty< std::vector< Real > > & _dtemperature_nodal_dvar
d(temperature at the nodes)/d(PorousFlow variable)
Definition: PorousFlowMatrixInternalEnergy.h:48
PorousFlowMatrixInternalEnergy::_density
const Real _density
Density of rock grains (equals the density of the matrix if porosity=0)
Definition: PorousFlowMatrixInternalEnergy.h:39
PorousFlowMatrixInternalEnergy::_den_nodal_dvar
MaterialProperty< std::vector< Real > > & _den_nodal_dvar
d(matrix internal energy)/d(PorousFlow variable)
Definition: PorousFlowMatrixInternalEnergy.h:54
PorousFlowMatrixInternalEnergy::_en_nodal
MaterialProperty< Real > & _en_nodal
Matrix internal_energy at the nodes.
Definition: PorousFlowMatrixInternalEnergy.h:51
validParams< PorousFlowMatrixInternalEnergy >
InputParameters validParams< PorousFlowMatrixInternalEnergy >()
Definition: PorousFlowMatrixInternalEnergy.C:16
PorousFlowMaterialVectorBase.h
PorousFlowMatrixInternalEnergy::computeQpProperties
virtual void computeQpProperties() override
Definition: PorousFlowMatrixInternalEnergy.C:54
PorousFlowMatrixInternalEnergy::PorousFlowMatrixInternalEnergy
PorousFlowMatrixInternalEnergy(const InputParameters &parameters)
Definition: PorousFlowMatrixInternalEnergy.C:31
PorousFlowMatrixInternalEnergy::_cp
const Real _cp
Specific heat capacity of rock grains.
Definition: PorousFlowMatrixInternalEnergy.h:36