20 "Name of the ViewFactor userobjects.");
22 "ViewFactorObjectSurfaceRadiation computes radiative heat transfer between side sets and the "
23 "view factors are computed by a ViewFactor object");
33std::vector<std::vector<Real>>
36 const ViewFactorBase & view_factor_uo = getUserObject<ViewFactorBase>(
"view_factor_object_name");
37 std::vector<BoundaryName> boundary_names = getParam<std::vector<BoundaryName>>(
"boundary");
38 std::vector<std::vector<Real>> vf(
_n_sides);
40 for (
unsigned int i = 0; i <
_n_sides; ++i)
44 for (
unsigned int j = 0; j <
_n_sides; ++j)
45 vf[i][j] = view_factor_uo.
getViewFactor(boundary_names[i], boundary_names[j]);
registerMooseObject("HeatTransferApp", ViewFactorObjectSurfaceRadiation)
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()
A base class for automatic computation of view factors between sidesets.
Real getViewFactor(BoundaryID from_id, BoundaryID to_id) const
public interface for obtaining view factors
ViewFactorObjectSurfaceRadiation computes radiative heat transfer between side sets and the view fact...
static InputParameters validParams()
virtual std::vector< std::vector< Real > > setViewFactors() override
a purely virtual function that defines where view factors come from
ViewFactorObjectSurfaceRadiation(const InputParameters ¶meters)