21 "Name of the view factor ray study UO.");
22 params.
addClassDescription(
"Computes view factors for arbitrary geometries using raytracing.");
30 mooseError(
"View factor calculations do not support 1D");
37 for (
unsigned int i = 0; i <
_n_sides; ++i)
38 for (
unsigned int j = 0; j <
_n_sides; ++j)
45 for (
unsigned int i = 0; i <
_n_sides; ++i)
61 for (
unsigned int i = 0; i <
_n_sides; ++i)
63 const Real factor = 1. / (
_areas[i] * divisor);
boundary_id_type BoundaryID
const std::vector< double > y
registerMooseObject("HeatTransferApp", RayTracingViewFactor)
const std::vector< BoundaryName > & boundaryNames() const
void mooseError(Args &&... args) const
virtual unsigned int dimension() const
BoundaryID getBoundaryID(const BoundaryName &boundary_name) const
Computes the view factors for planar faces in unobstructed radiative heat transfer.
RayTracingViewFactor(const InputParameters ¶meters)
virtual void finalizeViewFactor() override
a purely virtural function called in finalize, must be overriden by derived class
const ViewFactorRayStudy & _ray_study
virtual void threadJoinViewFactor(const UserObject &y) override
a purely virtual function called in finalize, must be overriden by derived class
static InputParameters validParams()
A base class for automatic computation of view factors between sidesets.
unsigned int getSideNameIndex(std::string name) const
helper function to get the index from the boundary name
std::vector< std::vector< Real > > _view_factors
the view factor from side i to side j
unsigned int _n_sides
number of boundaries of this side uo
std::vector< Real > _areas
area of the sides i
static InputParameters validParams()
RayTracingStudy used to generate Rays for view factor computation using the angular quadrature method...
Real viewFactorInfo(const BoundaryID from_id, const BoundaryID to_id) const
Accessor for the finalized view factor info.