Computes the view factors for planar faces in unobstructed radiative heat transfer. More...
#include <UnobstructedPlanarViewFactor.h>
Public Member Functions | |
UnobstructedPlanarViewFactor (const InputParameters ¶meters) | |
virtual void | execute () override |
virtual void | initialize () override |
virtual void | finalize () override final |
Real | getViewFactor (BoundaryID from_id, BoundaryID to_id) const |
public interface for obtaining view factors More... | |
Real | getViewFactor (BoundaryName from_name, BoundaryName to_name) const |
Static Public Member Functions | |
static InputParameters | validParams () |
Protected Member Functions | |
virtual void | threadJoinViewFactor (const UserObject &y) override |
a purely virtural function called in finalize, must be overriden by derived class More... | |
virtual void | finalizeViewFactor () override |
a purely virtural function called in finalize, must be overriden by derived class More... | |
void | reinitFace (dof_id_type elem_id, unsigned int side) |
helper function that reinits an element face More... | |
virtual void | threadJoin (const UserObject &y) override final |
void | checkAndNormalizeViewFactor () |
this function checks & normalizes view factors to sum to one, this is not always More... | |
Protected Attributes | |
BoundaryInfo * | _boundary_info |
std::vector< std::tuple< dof_id_type, unsigned short int, boundary_id_type > > | _side_list |
unsigned int | _exponent |
Real | _divisor |
unsigned int | _n_sides |
number of boundaries of this side uo More... | |
std::vector< Real > | _areas |
area of the sides i More... | |
const Real | _view_factor_tol |
view factor tolerance More... | |
const bool | _normalize_view_factor |
whether to normalize view factors so vf[from][:] sums to one More... | |
std::vector< std::vector< Real > > | _view_factors |
the view factor from side i to side j More... | |
std::unordered_map< std::string, unsigned int > | _side_name_index |
boundary name to index map More... | |
std::unique_ptr< const Elem > | _current_remote_side |
data of the to_elem side being initialized More... | |
std::unique_ptr< FEBase > | _current_remote_fe |
Real | _current_remote_side_volume |
const std::vector< Real > * | _current_remote_JxW |
const std::vector< Point > * | _current_remote_xyz |
const std::vector< Point > * | _current_remote_normals |
std::vector< Real > | _current_remote_coord |
Computes the view factors for planar faces in unobstructed radiative heat transfer.
Definition at line 23 of file UnobstructedPlanarViewFactor.h.
UnobstructedPlanarViewFactor::UnobstructedPlanarViewFactor | ( | const InputParameters & | parameters | ) |
Definition at line 36 of file UnobstructedPlanarViewFactor.C.
|
protectedinherited |
this function checks & normalizes view factors to sum to one, this is not always
Definition at line 106 of file ViewFactorBase.C.
Referenced by ViewFactorBase::finalize().
|
overridevirtual |
Definition at line 62 of file UnobstructedPlanarViewFactor.C.
|
finaloverridevirtualinherited |
Definition at line 83 of file ViewFactorBase.C.
|
overrideprotectedvirtual |
a purely virtural function called in finalize, must be overriden by derived class
Implements ViewFactorBase.
Definition at line 126 of file UnobstructedPlanarViewFactor.C.
|
inherited |
public interface for obtaining view factors
Definition at line 52 of file ViewFactorBase.C.
Referenced by ViewFactorPP::getValue(), and ViewFactorObjectSurfaceRadiation::setViewFactors().
|
inherited |
Definition at line 61 of file ViewFactorBase.C.
|
overridevirtual |
Definition at line 108 of file UnobstructedPlanarViewFactor.C.
|
protected |
helper function that reinits an element face
Definition at line 145 of file UnobstructedPlanarViewFactor.C.
Referenced by execute().
|
finaloverrideprotectedvirtualinherited |
Definition at line 94 of file ViewFactorBase.C.
|
overrideprotectedvirtual |
a purely virtural function called in finalize, must be overriden by derived class
Implements ViewFactorBase.
Definition at line 137 of file UnobstructedPlanarViewFactor.C.
|
static |
Definition at line 28 of file UnobstructedPlanarViewFactor.C.
|
protectedinherited |
area of the sides i
Definition at line 53 of file ViewFactorBase.h.
Referenced by execute(), finalizeViewFactor(), initialize(), and threadJoinViewFactor().
|
protected |
Definition at line 40 of file UnobstructedPlanarViewFactor.h.
Referenced by initialize().
|
protected |
Definition at line 50 of file UnobstructedPlanarViewFactor.h.
Referenced by execute(), and reinitFace().
|
protected |
Definition at line 45 of file UnobstructedPlanarViewFactor.h.
Referenced by reinitFace().
|
protected |
Definition at line 47 of file UnobstructedPlanarViewFactor.h.
Referenced by execute(), and reinitFace().
|
protected |
Definition at line 49 of file UnobstructedPlanarViewFactor.h.
Referenced by reinitFace().
|
protected |
data of the to_elem side being initialized
Definition at line 44 of file UnobstructedPlanarViewFactor.h.
Referenced by reinitFace().
|
protected |
Definition at line 46 of file UnobstructedPlanarViewFactor.h.
Referenced by reinitFace().
|
protected |
Definition at line 48 of file UnobstructedPlanarViewFactor.h.
Referenced by reinitFace().
|
protected |
Definition at line 54 of file UnobstructedPlanarViewFactor.h.
Referenced by finalizeViewFactor(), and UnobstructedPlanarViewFactor().
|
protected |
Definition at line 53 of file UnobstructedPlanarViewFactor.h.
Referenced by execute(), and UnobstructedPlanarViewFactor().
|
protectedinherited |
number of boundaries of this side uo
Definition at line 50 of file ViewFactorBase.h.
Referenced by ViewFactorBase::checkAndNormalizeViewFactor(), ViewFactorBase::finalize(), finalizeViewFactor(), initialize(), ViewFactorBase::threadJoin(), threadJoinViewFactor(), and ViewFactorBase::ViewFactorBase().
|
protectedinherited |
whether to normalize view factors so vf[from][:] sums to one
Definition at line 59 of file ViewFactorBase.h.
Referenced by ViewFactorBase::checkAndNormalizeViewFactor().
|
protected |
Definition at line 41 of file UnobstructedPlanarViewFactor.h.
Referenced by execute(), and initialize().
|
protectedinherited |
boundary name to index map
Definition at line 65 of file ViewFactorBase.h.
Referenced by execute(), ViewFactorBase::getViewFactor(), and ViewFactorBase::ViewFactorBase().
|
protectedinherited |
view factor tolerance
Definition at line 56 of file ViewFactorBase.h.
Referenced by ViewFactorBase::checkAndNormalizeViewFactor().
|
protectedinherited |
the view factor from side i to side j
Definition at line 62 of file ViewFactorBase.h.
Referenced by ViewFactorBase::checkAndNormalizeViewFactor(), execute(), ViewFactorBase::finalize(), finalizeViewFactor(), ViewFactorBase::getViewFactor(), initialize(), ViewFactorBase::threadJoin(), and ViewFactorBase::ViewFactorBase().