51 #ifndef radiation_viewFactor_H 52 #define radiation_viewFactor_H 193 const label fromProci,
245 virtual label
nBands()
const;
bool useDirect_
Use direct or iterative solver.
virtual tmp< volScalarField > Rp() const
Source term component (for power of T^4)
virtual label nBands() const
Number of bands.
volScalarField qr_
Net radiative heat flux [W/m2].
label iterCounter_
Iterations Counter.
autoPtr< solarLoad > solarLoad_
Solar load radiation model.
const volScalarField & qr() const
Const access to total radiative heat flux field.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
autoPtr< scalarSquareMatrix > Fmatrix_
View factor matrix.
label totalNCoarseFaces_
Total global coarse faces.
autoPtr< lduPrimitiveMesh > lduPtr_
Primitive addressing for lduMatrix.
labelList procToInterface_
Map from proc to interafce.
FieldField< Field, scalar > boundaryCoeffs_
Boundary scalar field containing pseudo-matrix coeffs for boundary cells.
labelList selectedPatches_
Selected patches.
A field of fields is a PtrList of fields with reference counting.
bool useSolarLoad() const
Use useSolarLoad.
label nBands_
Number of bands.
bool useSolarLoad_
Use Solar Load model.
autoPtr< scalarSquareMatrix > CLU_
Inverse of C matrix.
const volScalarField & T() const noexcept
Return access to the temperature field.
Calculates a unique integer (label so might not have enough room - 2G max) for processor + local inde...
bool constEmissivity_
Constant emissivity.
labelListIOList finalAgglom_
Agglomeration List.
TypeName("viewFactor")
Runtime type information.
virtual tmp< volScalarField::Internal > Ru() const
Source term component (constant)
A class for handling words, derived from Foam::string.
void insertMatrixElements(const globalIndex &index, const label fromProci, const labelListList &globalFaceFaces, const scalarListList &viewFactors, scalarSquareMatrix &matrix)
Insert view factors into main matrix.
autoPtr< singleCellFvMesh > coarseMesh_
Coarse mesh.
autoPtr< labelListIOList > globalFaceFaces_
Visible global faces.
Top level model for radiation modelling.
edgeHashSet rays_
Rays on local proc.
void initialise()
Initialise.
void calculate()
Solve system of equation(s)
FieldField< Field, scalar > internalCoeffs_
Boundary scalar field containing pseudo-matrix coeffs for internal cells.
label nLocalCoarseFaces_
Total local coarse faces.
static const word viewFactorWalls
Static name for view factor walls.
bool read()
Read radiation properties dictionary.
virtual ~viewFactor()=default
Destructor.
List< scalarField > qrBandI_
Coarse radiative heat flux.
labelList pivotIndices_
Pivot Indices for LU decomposition.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
List< label > mapRayToFmy_
Map local-ray to j-column for F.
A class for managing temporary objects.
autoPtr< IOmapDistribute > map_
Map distributed.
autoPtr< lduMatrix > matrixPtr_
Matrix formed from view factors.
View factor radiation model. The system solved is: C q = b where: Cij = deltaij/Ej - (1/Ej - 1)Fij q ...
autoPtr< radiation::radiationModel > radiation(radiation::radiationModel::New(T))
autoPtr< scalarListIOList > FmyProc_
Local view factors.