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.");
37 std::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);
void paramError(const std::string ¶m, Args... args) const
GrayLambertSurfaceRadiationBase computes the heat flux on a set of surfaces in radiative heat transfe...
virtual void initialize() override
void mooseDeprecated(Args &&... args) const
virtual std::vector< std::vector< Real > > setViewFactors() override
a purely virtual function that defines where view factors come from
ConstantViewFactorSurfaceRadiation(const InputParameters ¶meters)
virtual void initialize() override
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
unsigned int _n_sides
number of active boundary ids
std::vector< std::vector< Real > > _view_factors
the view factors which are set by setViewFactors by derived classes
void mooseError(Args &&... args) const
ConstantViewFactorSurfaceRadiation computes radiative heat transfer between side sets and the view fa...
registerMooseObjectDeprecated("HeatTransferApp", ConstantViewFactorSurfaceRadiation, "08/30/2026 24:00")
static InputParameters validParams()