19 params.
addClassDescription(
"This ray boundary condition is applied on all sidesets bounding a "
20 "radiation cavity except symmetry sidesets. It kills rays that hit "
21 "the sideset and scores the ray for computation of view factors.");
28 _ray_index_start_bnd_id(_vf_study.rayIndexStartBndID()),
29 _ray_index_start_total_weight(_vf_study.rayIndexStartTotalWeight())
41 const Real value = start_total_weight / (Real)num_applying;
42 mooseAssert(!std::isnan(value),
"Encountered NaN");
boundary_id_type BoundaryID
registerMooseObject("HeatTransferApp", ViewFactorRayBC)
static InputParameters validParams()
const BoundaryID & _current_bnd_id
The ID of the current intersected boundary.
const THREAD_ID _tid
The thread id.
const std::shared_ptr< Ray > & currentRay() const
Gets the current Ray that this is working on.
RayBC used in the computation of view factors using the angular quadrature ray tracing method.
const RayDataIndex _ray_index_start_bnd_id
Index in the Ray aux data for the starting boundary ID.
const RayDataIndex _ray_index_start_total_weight
Index in the Ray aux data for the starting total weight (dot * qp weight)
void onBoundary(const unsigned int num_applying) override
Called on a Ray on the boundary to apply the Ray boundary condition.
static InputParameters validParams()
ViewFactorRayBC(const InputParameters ¶ms)
ViewFactorRayStudy & _vf_study
The ViewFactorRayStudy.
RayTracingStudy used to generate Rays for view factor computation using the angular quadrature method...
void addToViewFactorInfo(Real value, const BoundaryID from_id, const BoundaryID to_id, const THREAD_ID tid)
Adds into the view factor info; to be used in ViewFactorRayBC.