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");
33 std::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)
45 vf[i][
j] = view_factor_uo.
getViewFactor(boundary_names[i], boundary_names[
j]);
static InputParameters validParams()
ViewFactorObjectSurfaceRadiation computes radiative heat transfer between side sets and the view fact...
GrayLambertSurfaceRadiationBase computes the heat flux on a set of surfaces in radiative heat transfe...
Real getViewFactor(BoundaryID from_id, BoundaryID to_id) const
public interface for obtaining view factors
ViewFactorObjectSurfaceRadiation(const InputParameters ¶meters)
A base class for automatic computation of view factors between sidesets.
registerMooseObject("HeatTransferApp", ViewFactorObjectSurfaceRadiation)
static InputParameters validParams()
unsigned int _n_sides
number of active boundary ids
static const std::complex< double > j(0, 1)
Complex number "j" (also known as "i")
virtual std::vector< std::vector< Real > > setViewFactors() override
a purely virtual function that defines where view factors come from