Loading...
Searching...
No Matches
viewFactor2LI Class Reference

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

#include <viewFactor2LI.H>

Inheritance diagram for viewFactor2LI:
Collaboration diagram for viewFactor2LI:

Public Member Functions

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

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.
Protected Member Functions inherited from viewFactorModel
virtual scalarListList calculate (const labelListList &visibleFaceFaces, const pointField &compactCoarseCf, const vectorField &compactCoarseSf, const UList< List< vector > > &compactFineSf, const UList< List< point > > &compactFineCf, const UList< List< point > > &compactPoints, const labelUList &compactPatchId) const =0
 Calculate the view factors using run-time selectable model.

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.
Static Protected Member Functions inherited from viewFactorModel
static void writeRays (const fileName &fName, const pointField &compactCf, const labelListList &visibleFaceFaces)
 Write ray geometry to file.

Protected Attributes

const scalar alpha_
 Perturbation for common edges; default = 0.21.
Protected Attributes inherited from viewFactorModel
const fvMeshmesh_
 Reference to the mesh database.
autoPtr< raySearchEnginesearchEnginePtr_
 Run-time selectable ray search engine.
bool writeViewFactors_
 Flag to write the view factor field.
bool writeRays_
 Flag to write the ray geometry.

Additional Inherited Members

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

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.

References dict, and mesh.

◆ ~viewFactor2LI()

virtual ~viewFactor2LI ( )
virtualdefault

Destructor.

Member Function Documentation

◆ calculateFij()

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

Calculate view factor using the double-area integral.

References alpha.

◆ 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.

◆ 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:
  • applications/utilities/preProcessing/createViewFactors/viewFactorModels/viewFactorModel/viewFactor2LI/viewFactor2LI.H