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...
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... | |
vector & | direction () |
Non-const access to direction. More... | |
const labelList & | rayStartFaces () 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 fvMesh & | mesh_ |
Reference to mesh. More... | |
vector | direction_ |
Direction. More... | |
labelList | rayStartFaces_ |
Faces directly hit by vector direction. More... | |
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.
Definition at line 58 of file faceHeatShading.H.
|
private |
Disallow default bitwise copy construct.
faceHeatShading | ( | const fvMesh & | mesh, |
const vector | dir, | ||
const labelList & | hitFaceList | ||
) |
Construct from components.
Definition at line 480 of file faceHeatShading.C.
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.
|
private |
Calculate ray start faces.
Definition at line 164 of file faceHeatShading.C.
References DynamicList::append(), DynamicField::append(), IOobject::AUTO_WRITE, GeometricField::boundaryField(), polyMesh::boundaryMesh(), polyMesh::bounds(), DynamicList::clear(), DynamicField::clear(), TimePaths::constant(), polyPatch::coupled(), dict, Foam::dimless, faceHeatShading::direction_, distributedTriSurfaceMesh::distributionTypeNames_, Foam::e, Foam::endl(), treeBoundBox::extend(), polyPatch::faceCentres(), PrimitivePatch< Face, FaceList, PointField, PointType >::faceNormals(), forAll, distributedTriSurfaceMesh::FROZEN, Foam::Info, HashSet< Key, Hash >::insert(), localSurface, Foam::mag(), boundBox::max(), faceHeatShading::mesh_, meshBb, boundBox::min(), n, MeshObject< fvMesh, Foam::GeometricMeshObject, boundaryRadiationProperties >::New(), IOobject::NO_READ, IOobject::NO_WRITE, patches, Time::path(), polyMesh::points(), faceHeatShading::rayStartFaces_, Foam::reduce(), Foam::returnReduce(), rndGen(), List::size(), polyPatch::start(), surfacesMesh(), fvMesh::time(), Time::timeName(), List::transfer(), boundaryRadiationProperties::transmissivity(), faceHeatShading::triangulate(), triSurfaceToAgglom(), and faceHeatShading::writeRays().
|
private |
Construct a triSurface from patches and faces on global local index.
Definition at line 72 of file faceHeatShading.C.
References DynamicList::append(), f(), forAll, forAllConstIter(), PrimitivePatch< Face, FaceList, PointField, PointType >::localFaces(), PrimitivePatch< Face, FaceList, PointField, PointType >::localPoints(), patchIdentifier::name(), geometryBase::name(), points, PrimitivePatch< Face, FaceList, PointField, PointType >::points(), and DynamicList::shrink().
Referenced by faceHeatShading::calculate().
|
private |
Write rays.
Definition at line 46 of file faceHeatShading.C.
References forAll, Foam::nl, and writeOBJ().
Referenced by faceHeatShading::calculate().
|
private |
Disallow default bitwise assignment.
ClassName | ( | "faceHeatShading" | ) |
const acess to direction
Definition at line 133 of file faceHeatShading.H.
References faceHeatShading::direction_.
Non-const access to direction.
Definition at line 139 of file faceHeatShading.H.
References faceHeatShading::direction_.
|
inline |
Access to rayStartFaces.
Definition at line 145 of file faceHeatShading.H.
References faceHeatShading::rayStartFaces_.
void correct | ( | ) |
Recalculate rayStartFaces using direction vector.
Definition at line 515 of file faceHeatShading.C.
|
private |
Reference to mesh.
Definition at line 63 of file faceHeatShading.H.
Referenced by faceHeatShading::calculate().
|
private |
Direction.
Definition at line 66 of file faceHeatShading.H.
Referenced by faceHeatShading::calculate(), and faceHeatShading::direction().
|
private |
Faces directly hit by vector direction.
Definition at line 69 of file faceHeatShading.H.
Referenced by faceHeatShading::calculate(), and faceHeatShading::rayStartFaces().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.