https://mooseframework.inl.gov
Loading...
Searching...
No Matches
PorousFlowMatrixInternalEnergy.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
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
21template <bool is_ad>
54
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
PorousFlowMatrixInternalEnergyTempl< false > PorousFlowMatrixInternalEnergy
PorousFlowMatrixInternalEnergyTempl< true > ADPorousFlowMatrixInternalEnergy
Base class for all PorousFlow vector materials.
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.
GenericMaterialProperty< Real, is_ad > & _energy
Matrix internal_energy at the nodes.
const MaterialProperty< std::vector< Real > > *const _dtemperature_dvar
d(temperature)/d(PorousFlow variable) for the non-AD FE path
const GenericMaterialProperty< Real, is_ad > & _temperature
Temperature used to compute matrix internal energy: nodal for FE, qp for AD FV.
const Real _density
Density of rock grains (equals the density of the matrix if porosity=0)
MaterialProperty< std::vector< Real > > *const _denergy_dvar
d(matrix internal energy)/d(PorousFlow variable)