16 ViewfactorVectorPostprocessor,
25 "VectorPostprocessor for accessing view factors from GrayLambertSurfaceRadiationBase UO");
26 params.
addParam<UserObjectName>(
"view_factor_object_name",
"Name of the ViewFactorBase UO");
30 "Name of the GrayLambertSurfaceRadiationBase UO",
31 "Please use 'view_factor_object_name' instead.");
37 _view_factor_uo(isParamValid(
"view_factor_object_name")
40 _glsr_uo(isParamValid(
"surface_radiation_object_name")
43 _surface_ids(declareVector(
"subdomain_id"))
46 mooseError(
"The parameter 'view_factor_object_name' must be provided.");
48 mooseError(
"The parameters 'surface_radiation_object_name' and 'view_factor_object_name' " 49 "cannot both be provided. Please delete 'surface_radiation_object_name'.");
56 std::set<BoundaryID> bids;
62 unsigned int ns = bids.size();
65 for (
auto & bid : bids)
std::vector< VectorPostprocessorValue * > _vf
The data that this VPP harvests off the surface radiation userobject.
static InputParameters validParams()
VectorPostprocessorValue & _surface_ids
The surface ids of the data.
GrayLambertSurfaceRadiationBase computes the heat flux on a set of surfaces in radiative heat transfe...
const ViewFactorBase *const _view_factor_uo
The view factor user object.
registerMooseObject("HeatTransferApp", ViewFactorVectorPostprocessor)
Real getViewFactor(BoundaryID from_id, BoundaryID to_id) const
public interface for obtaining view factors
A base class for automatic computation of view factors between sidesets.
registerMooseObjectRenamed("HeatTransferApp", ViewfactorVectorPostprocessor, "08/30/2026 24:00", ViewFactorVectorPostprocessor)
static InputParameters validParams()
void initialize() override
VectorPostprocessorValue & declareVector(const std::string &vector_name)
std::set< BoundaryID > getSurfaceIDs() const
void mooseError(Args &&... args) const
static const std::complex< double > j(0, 1)
Complex number "j" (also known as "i")
Real getViewFactor(BoundaryID from_id, BoundaryID to_id) const
bool isParamValid(const std::string &name) const
ViewFactorVectorPostprocessor(const InputParameters ¶meters)
virtual const std::set< BoundaryID > & boundaryIDs() const
const GrayLambertSurfaceRadiationBase *const _glsr_uo
the surface radiation user object