20 params.addRequiredParam<Real>(
"dx",
"Length between sides of sample in length_scale");
21 params.addRequiredParam<PostprocessorName>(
22 "flux",
"Heat flux out of 'cold' boundary in solution units, should always be positive");
23 params.addRequiredParam<PostprocessorName>(
"T_hot",
"Temperature on 'hot' boundary in K");
24 params.addParam<Real>(
"length_scale", 1e-8,
"Length scale of the solution, default is 1e-8");
25 params.addParam<Real>(
"k0", 0.0,
"Initial value of the thermal conductivity");
30 : SideAverageValue(parameters),
31 _dx(getParam<Real>(
"dx")),
32 _flux(getPostprocessorValue(
"flux")),
33 _T_hot(getPostprocessorValue(
"T_hot")),
34 _length_scale(getParam<Real>(
"length_scale")),
35 _k0(getParam<Real>(
"k0")),
36 _step_zero(declareRestartableData<bool>(
"step_zero", true))
43 const Real T_cold = SideAverageValue::getValue();
49 if (std::abs(
_T_hot - T_cold) > 1.0e-20)