www.mooseframework.org
Functions
PorousFlowMatrixInternalEnergy.C File Reference

Go to the source code of this file.

Functions

 registerMooseObject ("PorousFlowApp", PorousFlowMatrixInternalEnergy)
 
template<>
InputParameters validParams< PorousFlowMatrixInternalEnergy > ()
 

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "PorousFlowApp"  ,
PorousFlowMatrixInternalEnergy   
)

◆ validParams< PorousFlowMatrixInternalEnergy >()

template<>
InputParameters validParams< PorousFlowMatrixInternalEnergy > ( )

Definition at line 16 of file PorousFlowMatrixInternalEnergy.C.

17 {
18  InputParameters params = validParams<PorousFlowMaterialVectorBase>();
19  params.addRequiredParam<Real>("specific_heat_capacity",
20  "Specific heat capacity of the rock grains (J/kg/K).");
21  params.addRequiredParam<Real>("density", "Density of the rock grains");
22  params.set<bool>("at_nodes") = true;
23  params.addPrivateParam<std::string>("pf_material_type", "matrix_internal_energy");
24  params.addClassDescription("This Material calculates the internal energy of solid rock grains, "
25  "which is specific_heat_capacity * density * temperature. Kernels "
26  "multiply this by (1 - porosity) to find the energy density of the "
27  "porous rock in a rock-fluid system");
28  return params;
29 }
validParams< PorousFlowMaterialVectorBase >
InputParameters validParams< PorousFlowMaterialVectorBase >()
Definition: PorousFlowMaterialVectorBase.C:14