Go to the documentation of this file.
73 #ifndef radiationModelfvDOM_H
74 #define radiationModelfvDOM_H
label nRay() const
Number of rays.
label nPhi() const
Number of angles in phi.
const fvScalarMatrix & fvRayDiv(const label lambdaI, const label rayId) const
Const access to cached fvMatrix.
bool cacheDiv_
Cache convection div matrix.
const volScalarField & a() const
Const access to total absorption coefficient.
scalar convergence_
Convergence criterion.
virtual ~fvDOM()
Destructor.
A class for handling words, derived from string.
scalar omegaMax() const
Return omegaMax.
volScalarField a_
Total absorption coefficient [1/m].
A class for managing temporary objects.
const volScalarField & Qin() const
Const access to incident radiative heat flux field.
scalar maxIter_
Maximum number of iterations.
fvDOM(const fvDOM &)
Disallow default bitwise copy construct.
void updateG()
Update G and calculate total heat flux on boundary.
Radiation intensity for a ray in a given direction.
const radiativeIntensityRay & IRay(const label rayI) const
Ray intensity for rayI.
PtrList< radiativeIntensityRay > IRay_
List of pointers to radiative intensity rays.
label nLambda() const
Number of wavelengths.
volScalarField Qr_
Total radiative heat flux [W/m2].
PtrList< volScalarField > aLambda_
Wavelength total absorption coefficient [1/m].
label nLambda_
Number of wavelength bands.
A special matrix type and solver, designed for finite volume solutions of scalar equations.
void initialise()
Initialise.
const volScalarField & IRayLambda(const label rayI, const label lambdaI) const
Ray intensity for rayI and lambda bandwidth.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const volScalarField & G() const
Const access to incident radiation field.
const volScalarField & Qem() const
Const access to emitted radiative heat flux field.
const volScalarField & aLambda(const label lambdaI) const
Const access to wavelength total absorption coefficient.
label nPhi_
Number of solid angles in phi.
void updateBlackBodyEmission()
Update nlack body emission.
TypeName("fvDOM")
Runtime type information.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
virtual tmp< volScalarField > Rp() const
Source term component (for power of T^4)
bool useSolarLoad_
Use Solar Load model.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
void calculate()
Solve radiation equation(s)
volScalarField Qem_
Emmited radiative heat flux [W/m2].
autoPtr< radiation::radiationModel > radiation(radiation::radiationModel::New(T))
label nTheta() const
Number of angles in theta.
A list of keyword definitions, which are a keyword followed by any number of values (e....
label nRay_
Total number of rays (1 per direction)
const volScalarField & Qr() const
Const access to total radiative heat flux field.
vector meshOrientation() const
Return meshOrientation.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
vector meshOrientation_
Mesh orientation vector.
bool read()
Read radiation properties dictionary.
const word & name() const
Name function is needed to disambiguate those inherited.
volScalarField Qin_
Incidet radiative heat flux [W/m2].
scalar omegaMax_
Maximum omega weight.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Top level model for radiation modelling.
label nTheta_
Number of solid angles in theta.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Class black body emission.
void operator=(const fvDOM &)
Disallow default bitwise assignment.
volScalarField G_
Incident radiation [W/m2].
blackBodyEmission blackBody_
Black body.
Generic GeometricField class.
const blackBodyEmission & blackBody() const
Const access to black body.
autoPtr< solarLoad > solarLoad_
Solar load radiation model.
virtual tmp< DimensionedField< scalar, volMesh > > Ru() const
Source term component (constant)
List< PtrList< fvScalarMatrix > > fvRayDiv_
List of cached fvMatrices for rays.
void setRayIdLambdaId(const word &name, label &rayId, label &lambdaId) const
Set the rayId and lambdaId from by decomposing an intensity.
bool cacheDiv() const
Caching div(Ji, Ilamda)
Finite Volume Discrete Ordinates Method. Solves the RTE equation for n directions in a participating ...