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)
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);
static InputParameters validParams()
std::vector< Real > _areas
area of the sides i
unsigned int _n_sides
number of boundaries of this side uo
virtual void threadJoinViewFactor(const UserObject &y) override
a purely virtual function called in finalize, must be overriden by derived class
const std::vector< double > y
Computes the view factors for planar faces in unobstructed radiative heat transfer.
A base class for automatic computation of view factors between sidesets.
registerMooseObject("HeatTransferApp", RayTracingViewFactor)
RayTracingStudy used to generate Rays for view factor computation using the angular quadrature method...
RayTracingViewFactor(const InputParameters ¶meters)
std::vector< std::vector< Real > > _view_factors
the view factor from side i to side j
virtual unsigned int dimension() const
boundary_id_type BoundaryID
unsigned int getSideNameIndex(std::string name) const
helper function to get the index from the boundary name
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void mooseError(Args &&... args) const
Real viewFactorInfo(const BoundaryID from_id, const BoundaryID to_id) const
Accessor for the finalized view factor info.
static const std::complex< double > j(0, 1)
Complex number "j" (also known as "i")
const ViewFactorRayStudy & _ray_study
const std::vector< BoundaryName > & boundaryNames() const
virtual void finalizeViewFactor() override
a purely virtural function called in finalize, must be overriden by derived class ...
BoundaryID getBoundaryID(const BoundaryName &boundary_name) const