21 "view_factors",
"The view factors from sideset i to sideset j.");
23 "ConstantViewFactorSurfaceRadiation computes radiative heat transfer between side sets and "
24 "the view factors are provided in the input file");
32 mooseDeprecated(
"ConstantViewFactorSurfaceRadiation is deprecated. Please use "
33 "ViewFactorObjectSurfaceRadiation in conjunction with SpecifiedViewFactor to "
34 "achieve the same effect as this object.");
37std::vector<std::vector<Real>>
40 std::vector<std::vector<Real>> vf = getParam<std::vector<std::vector<Real>>>(
"view_factors");
45 "Leading dimension of view_factors must be equal to number of side sets.");
47 for (
unsigned int i = 0; i <
_n_sides; ++i)
50 "view_factors must be provided as square array. Row ",
64 for (
unsigned int i = 0; i <
_n_sides; ++i)
72 if (std::abs(sum - 1) > 0.05)
73 mooseError(
"view_factors row ", i,
" sums to ", sum);
registerMooseObjectDeprecated("HeatTransferApp", ConstantViewFactorSurfaceRadiation, "08/30/2026 24:00")
ConstantViewFactorSurfaceRadiation computes radiative heat transfer between side sets and the view fa...
static InputParameters validParams()
ConstantViewFactorSurfaceRadiation(const InputParameters ¶meters)
virtual void initialize() override
virtual std::vector< std::vector< Real > > setViewFactors() override
a purely virtual function that defines where view factors come from
GrayLambertSurfaceRadiationBase computes the heat flux on a set of surfaces in radiative heat transfe...
unsigned int _n_sides
number of active boundary ids
static InputParameters validParams()
virtual void initialize() override
std::vector< std::vector< Real > > _view_factors
the view factors which are set by setViewFactors by derived classes
void mooseDeprecated(Args &&... args) const
void paramError(const std::string ¶m, Args... args) const
void mooseError(Args &&... args) const