19 params.addRangeCheckedParam<Real>(
20 "biot_coefficient", 1.0,
"biot_coefficient>=0 & biot_coefficient<=1",
"Biot coefficient");
21 params.addRangeCheckedParam<Real>(
"fluid_coefficient",
23 "fluid_coefficient>=0",
24 "Volumetric coefficient of thermal expansion for the fluid");
25 params.addRequiredRangeCheckedParam<Real>(
26 "drained_coefficient",
27 "drained_coefficient>=0.0",
28 "Volumetric coefficient of thermal expansion of the drained porous skeleton (ie the porous "
29 "rock without fluid, or with a fluid that is free to move in and out of the rock)");
30 params.addPrivateParam<std::string>(
"pf_material_type",
"thermal_expansion");
31 params.addClassDescription(
"Computes the effective thermal expansion coefficient, (biot_coeff - "
32 "porosity) * drained_coefficient + porosity * fluid_coefficient.");
37 const InputParameters & parameters)
39 _biot_coefficient(getParam<Real>(
"biot_coefficient")),
40 _fluid_coefficient(getParam<Real>(
"fluid_coefficient")),
41 _drained_coefficient(getParam<Real>(
"drained_coefficient")),
42 _porosity(_nodal_material ? getMaterialProperty<Real>(
"PorousFlow_porosity_nodal")
43 : getMaterialProperty<Real>(
"PorousFlow_porosity_qp")),
44 _coeff(_nodal_material
45 ? declareProperty<Real>(
"PorousFlow_constant_thermal_expansion_coefficient_nodal")
46 : declareProperty<Real>(
"PorousFlow_constant_thermal_expansion_coefficient_qp")),
47 _coeff_old(_nodal_material ? getMaterialPropertyOld<Real>(
48 "PorousFlow_constant_thermal_expansion_coefficient_nodal")
49 : getMaterialPropertyOld<Real>(
50 "PorousFlow_constant_thermal_expansion_coefficient_qp"))