Go to the documentation of this file.
19 params.addRequiredParam<RealTensorValue>(
"lambda_s",
20 "The thermal conductivity of the solid matrix material");
21 params.addRequiredParam<RealTensorValue>(
"lambda_f",
22 "The thermal conductivity of the single fluid phase");
23 params.addClassDescription(
"This Material calculates rock-fluid combined thermal conductivity "
24 "for the single phase, fully saturated case by using a linear "
26 "Thermal conductivity = phi * lambda_f + (1 - phi) * lambda_s, "
27 "where phi is porosity, and lambda_f, lambda_s are "
28 "thermal conductivities of the fluid and solid (assumed constant)");
33 const InputParameters & parameters)
35 _la_s(getParam<RealTensorValue>(
"lambda_s")),
36 _la_f(getParam<RealTensorValue>(
"lambda_f")),
37 _porosity_qp(getMaterialProperty<Real>(
"PorousFlow_porosity_qp")),
38 _dporosity_qp_dvar(getMaterialProperty<std::vector<Real>>(
"dPorousFlow_porosity_qp_dvar"))
41 paramError(
"fluid_phase",
42 "The Dictator proclaims that the number of phases is ",
43 _dictator.numPhases(),
44 " whereas this material can only be used for single phase "
45 "simulations. Be aware that the Dictator has noted your mistake.");
54 for (
unsigned v = 0; v <
_num_var; ++v)
registerMooseObject("PorousFlowApp", PorousFlowThermalConductivityFromPorosity)
InputParameters validParams< PorousFlowThermalConductivityFromPorosity >()
const RealTensorValue _la_f
Thermal conductivity of the single fluid phase.
virtual void computeQpProperties() override
Base class for materials that provide thermal conducitivity.
MaterialProperty< std::vector< RealTensorValue > > & _dla_qp_dvar
d(thermal conductivity at the qps)/d(PorousFlow variable)
This Material calculates rock-fluid combined thermal conductivity for the single phase,...
MaterialProperty< RealTensorValue > & _la_qp
Thermal conducitivity at the qps.
const MaterialProperty< std::vector< Real > > & _dporosity_qp_dvar
d(quadpoint porosity)/d(PorousFlow variable)
PorousFlowThermalConductivityFromPorosity(const InputParameters ¶meters)
const unsigned int _num_var
Number of PorousFlow variables.
const unsigned int _num_phases
Number of phases.
InputParameters validParams< PorousFlowThermalConductivityBase >()
const MaterialProperty< Real > & _porosity_qp
Quadpoint porosity.
const RealTensorValue _la_s
Thermal conductivity of the solid phase.