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 
21 template <bool is_ad>
23 {
24 public:
26 
28 
29 protected:
30  virtual void initQpStatefulProperties() override;
31  virtual void computeQpProperties() override;
32 
34  const Real _cp;
35 
37  const Real _density;
38 
40  const Real _heat_cap;
41 
44 
47 
50 
53 };
54 
const Real _heat_cap
Heat capacity = _cp * _density.
This material computes internal energy (J/m^3) for a rock matrix assuming constant grain density...
PorousFlowMatrixInternalEnergyTempl< true > ADPorousFlowMatrixInternalEnergy
PorousFlowMatrixInternalEnergyTempl(const InputParameters &parameters)
MaterialProperty< std::vector< Real > > *const _denergy_dvar
d(matrix internal energy)/d(PorousFlow variable)
Base class for all PorousFlow vector materials.
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
const Real _density
Density of rock grains (equals the density of the matrix if porosity=0)
GenericMaterialProperty< Real, is_ad > & _energy
Matrix internal_energy at the nodes.
const GenericMaterialProperty< Real, is_ad > & _temperature
Temperature at the nodes.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const MaterialProperty< std::vector< Real > > *const _dtemperature_dvar
d(temperature at the nodes)/d(PorousFlow variable)
PorousFlowMatrixInternalEnergyTempl< false > PorousFlowMatrixInternalEnergy
const Real _cp
Specific heat capacity of rock grains.