Skip to content
Snippets Groups Projects

ENH: Added new createViewFactors utility

Merged Andrew Heather requested to merge feature-createViewFactors into develop

Creates view factors for the view factor radiation model. Planned to replace/deprecate the viewFactorsGen application in a future release.

Cross-ref EP#1418

User-selectable models:

  • raySearchEngine: model to generate rays, i.e. face-to-face connections
  • viewFactorModel: model to compute the view factors
    • note: hard-coded to use the Hottel model in 2D

For visualisation, use:

  • Write the view factors as a volume field

    writeViewFactors    yes;
  • Write the rays using OBJ format:

    writeRays       yes; // default = no

Participating patches must be in the viewFactorWall group, i.e. using the inGroups entry of the <case>/polyMesh/boundary file.

myPatch
{
    type            wall;
    inGroups        2(wall viewFactorWall);
    ...
}

Reads:

  • <constant>/viewFactorsDict : main controls
  • <constant>/finalAgglom : agglomeration addressing (from faceAgglomerate)

Generates:

  • <constant>/F : view factors (matrix)
  • <constant>/mapDist : map used for parallel running
  • <constant>/globalFaceFaces : face addressing

@Prashant - can you run the brake model?

Couple of small cases initially put together as part of the GPU pilot project by Polimi:

annulus2D.tgz cavity.tgz

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply