functiongenerateTriangles

Generates discretized triangle areas and normals

Information

This function generates discretized triangle areas and normals.

Literature

This algorithm is inherited by the view factor calculation method of Bernd Glück: Dynamisches Raummodell zur wärmetechnischen und wärmephysiologischen Bewertung, Rudolf-Otto-Meyer-Stiftung, Bericht Teil A, 2004.

Inputs

TypeNameDefaultDescription
IntegernTriNumber of the triangular areas
Real[nTri]a1
Real[nTri]a2
Real[nTri]a3
Real[nTri]b1
Real[nTri]b2
Real[nTri]b3
Real[nTri]c1
Real[nTri]c2
Real[nTri]c3
Integer[nTri]zNumber of segments
Integer[nTri]rNormal direction of the triangular areas

Outputs

TypeNameDefaultDescription
Real[nTri]w1
Real[nTri]w2
Real[nTri]w3
Real[nTri]v1
Real[nTri]v2
Real[nTri]v3
Real[nTri]ADArea of the triangle
Real[nTri]AEPArea of the parallelogram
Real[nTri]n1Surface normal 1st component
Real[nTri]n2Surface normal 2nd component
Real[nTri]n3Surface normal 3rd component

Revisions

  • March 9, 2022 by Christoph Nytsch-Geusen:
    First implementation.