19 "view_factors",
"The view factors from sideset i to sideset j.");
21 "ConstantViewFactorSurfaceRadiation computes radiative heat transfer between side sets and " 22 "the view factors are provided in the input file");
32 std::vector<std::vector<Real>>
35 std::vector<std::vector<Real>> vf = getParam<std::vector<std::vector<Real>>>(
"view_factors");
40 "Leading dimension of view_factors must be equal to number of side sets.");
42 for (
unsigned int i = 0; i <
_n_sides; ++i)
45 "view_factors must be provided as square array. Row ",
59 for (
unsigned int i = 0; i <
_n_sides; ++i)
67 if (std::abs(sum - 1) > 0.05)
68 mooseError(
"view_factors row ", i,
" sums to ", sum);
GrayLambertSurfaceRadiationBase computes the heat flux on a set of surfaces in radiative heat transfe...
virtual void initialize() override
virtual std::vector< std::vector< Real > > setViewFactors() override
a purely virtual function that defines where view factors come from
ConstantViewFactorSurfaceRadiation(const InputParameters ¶meters)
void paramError(const std::string ¶m, Args... args) const
virtual void initialize() override
registerMooseObject("HeatTransferApp", ConstantViewFactorSurfaceRadiation)
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static const std::string v
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...
static InputParameters validParams()