This material computes internal energy (J/m^3) for a rock matrix assuming constant grain density, specific heat capacity, and a linear relationship with temperature. More...
#include <PorousFlowMatrixInternalEnergy.h>
Public Member Functions | |
PorousFlowMatrixInternalEnergy (const InputParameters ¶meters) | |
Protected Member Functions | |
virtual void | initQpStatefulProperties () override |
virtual void | computeQpProperties () override |
Protected Attributes | |
const Real | _cp |
Specific heat capacity of rock grains. More... | |
const Real | _density |
Density of rock grains (equals the density of the matrix if porosity=0) More... | |
const Real | _heat_cap |
Heat capacity = _cp * _density. More... | |
const MaterialProperty< Real > & | _temperature_nodal |
Temperature at the nodes. More... | |
const MaterialProperty< std::vector< Real > > & | _dtemperature_nodal_dvar |
d(temperature at the nodes)/d(PorousFlow variable) More... | |
MaterialProperty< Real > & | _en_nodal |
Matrix internal_energy at the nodes. More... | |
MaterialProperty< std::vector< Real > > & | _den_nodal_dvar |
d(matrix internal energy)/d(PorousFlow variable) More... | |
const unsigned int | _num_phases |
Number of phases. More... | |
const unsigned int | _num_components |
Number of fluid components. More... | |
const unsigned int | _num_var |
Number of PorousFlow variables. More... | |
This material computes internal energy (J/m^3) for a rock matrix assuming constant grain density, specific heat capacity, and a linear relationship with temperature.
To get the volumetric heat capacity of the rock in a rock-fluid system, the result must be multiplied by (1 - porosity).
Definition at line 26 of file PorousFlowMatrixInternalEnergy.h.
PorousFlowMatrixInternalEnergy::PorousFlowMatrixInternalEnergy | ( | const InputParameters & | parameters | ) |
Definition at line 31 of file PorousFlowMatrixInternalEnergy.C.
|
overrideprotectedvirtual |
Definition at line 54 of file PorousFlowMatrixInternalEnergy.C.
|
overrideprotectedvirtual |
Definition at line 48 of file PorousFlowMatrixInternalEnergy.C.
|
protected |
Specific heat capacity of rock grains.
Definition at line 36 of file PorousFlowMatrixInternalEnergy.h.
|
protected |
d(matrix internal energy)/d(PorousFlow variable)
Definition at line 54 of file PorousFlowMatrixInternalEnergy.h.
Referenced by computeQpProperties().
|
protected |
Density of rock grains (equals the density of the matrix if porosity=0)
Definition at line 39 of file PorousFlowMatrixInternalEnergy.h.
|
protected |
d(temperature at the nodes)/d(PorousFlow variable)
Definition at line 48 of file PorousFlowMatrixInternalEnergy.h.
Referenced by computeQpProperties().
|
protected |
Matrix internal_energy at the nodes.
Definition at line 51 of file PorousFlowMatrixInternalEnergy.h.
Referenced by computeQpProperties(), and initQpStatefulProperties().
|
protected |
Heat capacity = _cp * _density.
Definition at line 42 of file PorousFlowMatrixInternalEnergy.h.
Referenced by computeQpProperties(), and initQpStatefulProperties().
|
protectedinherited |
Number of fluid components.
Definition at line 33 of file PorousFlowMaterialVectorBase.h.
Referenced by PorousFlowDiffusivityBase::computeQpProperties(), PorousFlowMassFractionAqueousEquilibriumChemistry::computeQpProperties(), PorousFlowMassFraction::computeQpProperties(), PorousFlowAqueousPreDisChemistry::PorousFlowAqueousPreDisChemistry(), PorousFlowDiffusivityBase::PorousFlowDiffusivityBase(), and PorousFlowMassFraction::PorousFlowMassFraction().
|
protectedinherited |
Number of phases.
Definition at line 30 of file PorousFlowMaterialVectorBase.h.
Referenced by PorousFlowDiffusivityBase::computeQpProperties(), PorousFlowDiffusivityMillingtonQuirk::computeQpProperties(), PorousFlowEffectiveFluidPressure::computeQpProperties(), PorousFlowMassFraction::computeQpProperties(), PorousFlowJoiner::computeQpProperties(), PorousFlowEffectiveFluidPressure::initQpStatefulProperties(), PorousFlowJoiner::initQpStatefulProperties(), PorousFlowDiffusivityBase::PorousFlowDiffusivityBase(), PorousFlowDiffusivityConst::PorousFlowDiffusivityConst(), PorousFlowJoiner::PorousFlowJoiner(), PorousFlowMassFraction::PorousFlowMassFraction(), PorousFlowThermalConductivityFromPorosity::PorousFlowThermalConductivityFromPorosity(), PorousFlowThermalConductivityIdeal::PorousFlowThermalConductivityIdeal(), and PorousFlowTotalGravitationalDensityFullySaturatedFromPorosity::PorousFlowTotalGravitationalDensityFullySaturatedFromPorosity().
|
protectedinherited |
Number of PorousFlow variables.
Definition at line 36 of file PorousFlowMaterialVectorBase.h.
Referenced by PorousFlowDiffusivityBase::computeQpProperties(), PorousFlowPermeabilityConst::computeQpProperties(), PorousFlowVolumetricStrain::computeQpProperties(), PorousFlowDiffusivityMillingtonQuirk::computeQpProperties(), PorousFlowAqueousPreDisChemistry::computeQpProperties(), PorousFlowPorosityConst::computeQpProperties(), PorousFlowMassFractionAqueousEquilibriumChemistry::computeQpProperties(), PorousFlowThermalConductivityIdeal::computeQpProperties(), PorousFlowEffectiveFluidPressure::computeQpProperties(), PorousFlowPermeabilityTensorFromVar::computeQpProperties(), PorousFlowThermalConductivityFromPorosity::computeQpProperties(), computeQpProperties(), PorousFlowPorosityHMBiotModulus::computeQpProperties(), PorousFlowPermeabilityConstFromVar::computeQpProperties(), PorousFlowTotalGravitationalDensityFullySaturatedFromPorosity::computeQpProperties(), PorousFlowPermeabilityExponential::computeQpProperties(), PorousFlowPermeabilityKozenyCarman::computeQpProperties(), PorousFlowMassFraction::computeQpProperties(), PorousFlowJoiner::computeQpProperties(), PorousFlowPorosityExponentialBase::computeQpProperties(), and PorousFlowAqueousPreDisChemistry::initQpStatefulProperties().
|
protected |
Temperature at the nodes.
Definition at line 45 of file PorousFlowMatrixInternalEnergy.h.
Referenced by computeQpProperties(), and initQpStatefulProperties().