viewFactor2LI Class Reference

Computes view factors according to the double line integral (2LI) method. More...

Inheritance diagram for viewFactor2LI:
Collaboration diagram for viewFactor2LI:

Public Member Functions

 TypeName ("viewFactor2LI")
 Runtime type information. More...
 
 viewFactor2LI (const fvMesh &mesh, const dictionary &dict)
 Constructor. More...
 
virtual ~viewFactor2LI ()=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 UList< List< vector >> &compactFineSf, const UList< List< point >> &compactFineCf, const UList< List< point >> &compactPoints, const UList< label > &compactPatchId) const
 Calculate. More...
 

Static Protected Member Functions

static scalar calculateFij (const List< point > &lPoints, const List< point > &rPoints, const scalar alpha)
 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...
 

Protected Attributes

const scalar alpha_
 Perturbation for common edges; default = 0.21. 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...
 

Additional Inherited Members

- Static Public Member Functions inherited from viewFactorModel
static autoPtr< viewFactorModelNew (const fvMesh &mesh, const dictionary &dict)
 Selector. More...
 

Detailed Description

Computes view factors according to the double line integral (2LI) method.

Usage
Minimal example in <constant>/viewFactorsDict:
// Optional entries
alpha    <scalar>;

// Inherited entries
...

where the entries mean:

Property Description Type Reqd Deflt
alpha Perturbation for common edges scalar no 0.21

The inherited entries are elaborated in:

Source files

Definition at line 80 of file viewFactor2LI.H.

Constructor & Destructor Documentation

◆ viewFactor2LI()

viewFactor2LI ( const fvMesh mesh,
const dictionary dict 
)

Constructor.

◆ ~viewFactor2LI()

virtual ~viewFactor2LI ( )
virtualdefault

Destructor.

Member Function Documentation

◆ calculateFij()

static scalar calculateFij ( const List< point > &  lPoints,
const List< point > &  rPoints,
const scalar  alpha 
)
staticprotected

Calculate view factor using the double-area integral.

◆ calculate()

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

Calculate.

Implements viewFactorModel.

◆ TypeName()

TypeName ( "viewFactor2LI"  )

Runtime type information.

Member Data Documentation

◆ alpha_

const scalar alpha_
protected

Perturbation for common edges; default = 0.21.

Definition at line 91 of file viewFactor2LI.H.


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