viewFactor2AI Class Reference

Computes view factors according to the double area integral (2AI) method. More...

Inheritance diagram for viewFactor2AI:
Collaboration diagram for viewFactor2AI:

Public Member Functions

 TypeName ("viewFactor2AI")
 Runtime type information. More...
 
 viewFactor2AI (const fvMesh &mesh, const dictionary &dict)
 Constructor. More...
 
virtual ~viewFactor2AI ()=default
 Destructor. More...
 
- Public Member Functions inherited from viewFactorModel
 TypeName ("viewFactorModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, viewFactorModel, mesh,(const fvMesh &mesh, const dictionary &dict),(mesh, dict))
 Selection table. More...
 
 viewFactorModel (const viewFactorModel &)=delete
 No copy construct. More...
 
void operator= (const viewFactorModel &)=delete
 No copy assignment. More...
 
 viewFactorModel (const fvMesh &mesh, const dictionary &dict)
 Constructor. More...
 
virtual ~viewFactorModel ()
 Destructor. More...
 
virtual void calculate ()
 Calculate the view factors. More...
 

Protected Member Functions

virtual scalarListList calculate (const labelListList &visibleFaceFaces, const pointField &compactCf, const vectorField &compactSf, const List< List< vector >> &compactFineSf, const List< List< point >> &compactFineCf, const DynamicList< List< point >> &compactPoints, const DynamicList< label > &compactPatchId) const
 Calculate. More...
 

Static Protected Member Functions

static scalar calculateFij (const point &xi, const point &xj, const vector &dAi, const vector &dAj)
 Calculate view factor using the double-area integral. More...
 
- Static Protected Member Functions inherited from viewFactorModel
static void writeRays (const fileName &fName, const pointField &compactCf, const labelListList &visibleFaceFaces)
 Write ray geometry to file. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from viewFactorModel
static autoPtr< viewFactorModelNew (const fvMesh &mesh, const dictionary &dict)
 Selector. More...
 
- Protected Attributes inherited from viewFactorModel
const fvMeshmesh_
 Reference to the mesh database. More...
 
autoPtr< raySearchEnginesearchEnginePtr_
 Run-time selectable ray search engine. More...
 
bool writeViewFactors_
 Flag to write the view factor field. More...
 
bool writeRays_
 Flag to write the ray geometry. More...
 

Detailed Description

Computes view factors according to the double area integral (2AI) method.

Usage
Minimal example in <constant>/viewFactorsDict:
// Inherited entries
...

The inherited entries are elaborated in:

Source files

Definition at line 59 of file viewFactor2AI.H.

Constructor & Destructor Documentation

◆ viewFactor2AI()

viewFactor2AI ( const fvMesh mesh,
const dictionary dict 
)

Constructor.

◆ ~viewFactor2AI()

virtual ~viewFactor2AI ( )
virtualdefault

Destructor.

Member Function Documentation

◆ calculateFij()

static scalar calculateFij ( const point xi,
const point xj,
const vector dAi,
const vector dAj 
)
staticprotected

Calculate view factor using the double-area integral.

◆ calculate()

virtual scalarListList calculate ( const labelListList visibleFaceFaces,
const pointField compactCf,
const vectorField compactSf,
const List< List< vector >> &  compactFineSf,
const List< List< point >> &  compactFineCf,
const DynamicList< List< point >> &  compactPoints,
const DynamicList< label > &  compactPatchId 
) const
protectedvirtual

Calculate.

Implements viewFactorModel.

◆ TypeName()

TypeName ( "viewFactor2AI"  )

Runtime type information.


The documentation for this class was generated from the following file: