Public Member Functions | Private Member Functions | Private Attributes
faceHeatShading Class Reference

faceHeatShading uses the transmissivity value in the boundaryRadiationProperties in order to evaluate which faces are "hit" by the "direction" vector. NOTE: Only transmissivity values of zero are considered for opaque walls. More...

Collaboration diagram for faceHeatShading:
Collaboration graph
[legend]

Public Member Functions

 ClassName ("faceHeatShading")
 
 faceHeatShading (const fvMesh &mesh, const vector dir, const labelList &hitFaceList)
 Construct from components. More...
 
 faceHeatShading (const fvMesh &mesh, const vector)
 Construct from mesh and vector. More...
 
 ~faceHeatShading ()
 Destructor. More...
 
const vector direction () const
 const acess to direction More...
 
vectordirection ()
 Non-const access to direction. More...
 
const labelListrayStartFaces () const
 Access to rayStartFaces. More...
 
void correct ()
 Recalculate rayStartFaces using direction vector. More...
 

Private Member Functions

void calculate ()
 Calculate ray start faces. More...
 
triSurface triangulate (const labelHashSet &includePatches, const List< labelHashSet > &includeAllFaces)
 Construct a triSurface from patches and faces on global local index. More...
 
void writeRays (const fileName &fName, const DynamicField< point > &endCf, const pointField &myFc)
 Write rays. More...
 
 faceHeatShading (const faceHeatShading &)
 Disallow default bitwise copy construct. More...
 
void operator= (const faceHeatShading &)
 Disallow default bitwise assignment. More...
 

Private Attributes

const fvMeshmesh_
 Reference to mesh. More...
 
vector direction_
 Direction. More...
 
labelList rayStartFaces_
 Faces directly hit by vector direction. More...
 

Detailed Description

faceHeatShading uses the transmissivity value in the boundaryRadiationProperties in order to evaluate which faces are "hit" by the "direction" vector. NOTE: Only transmissivity values of zero are considered for opaque walls.

Source files

Definition at line 58 of file faceHeatShading.H.

Constructor & Destructor Documentation

◆ faceHeatShading() [1/3]

faceHeatShading ( const faceHeatShading )
private

Disallow default bitwise copy construct.

◆ faceHeatShading() [2/3]

faceHeatShading ( const fvMesh mesh,
const vector  dir,
const labelList hitFaceList 
)

Construct from components.

Definition at line 480 of file faceHeatShading.C.

◆ faceHeatShading() [3/3]

faceHeatShading ( const fvMesh mesh,
const vector  dir 
)

Construct from mesh and vector.

Definition at line 494 of file faceHeatShading.C.

◆ ~faceHeatShading()

Destructor.

Definition at line 509 of file faceHeatShading.C.

Member Function Documentation

◆ calculate()

void calculate ( )
private

◆ triangulate()

Foam::triSurface triangulate ( const labelHashSet includePatches,
const List< labelHashSet > &  includeAllFaces 
)
private

◆ writeRays()

void writeRays ( const fileName fName,
const DynamicField< point > &  endCf,
const pointField myFc 
)
private

Write rays.

Definition at line 46 of file faceHeatShading.C.

References forAll, Foam::nl, and writeOBJ().

Referenced by faceHeatShading::calculate().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=()

void operator= ( const faceHeatShading )
private

Disallow default bitwise assignment.

◆ ClassName()

ClassName ( "faceHeatShading"  )

◆ direction() [1/2]

const vector direction ( ) const
inline

const acess to direction

Definition at line 133 of file faceHeatShading.H.

References faceHeatShading::direction_.

◆ direction() [2/2]

vector& direction ( )
inline

Non-const access to direction.

Definition at line 139 of file faceHeatShading.H.

References faceHeatShading::direction_.

◆ rayStartFaces()

const labelList& rayStartFaces ( ) const
inline

Access to rayStartFaces.

Definition at line 145 of file faceHeatShading.H.

References faceHeatShading::rayStartFaces_.

◆ correct()

void correct ( )

Recalculate rayStartFaces using direction vector.

Definition at line 515 of file faceHeatShading.C.

Field Documentation

◆ mesh_

const fvMesh& mesh_
private

Reference to mesh.

Definition at line 63 of file faceHeatShading.H.

Referenced by faceHeatShading::calculate().

◆ direction_

vector direction_
private

Direction.

Definition at line 66 of file faceHeatShading.H.

Referenced by faceHeatShading::calculate(), and faceHeatShading::direction().

◆ rayStartFaces_

labelList rayStartFaces_
private

Faces directly hit by vector direction.

Definition at line 69 of file faceHeatShading.H.

Referenced by faceHeatShading::calculate(), and faceHeatShading::rayStartFaces().


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