Radiation intensity for a ray in a given direction. More...
Public Member Functions | |
radiativeIntensityRay (const fvDOM &dom, const fvMesh &mesh, const scalar phi, const scalar theta, const scalar deltaPhi, const scalar deltaTheta, const label lambda, const absorptionEmissionModel &absEmmModel_, const blackBodyEmission &blackBody, const label rayId) | |
Construct form components. More... | |
radiativeIntensityRay (const radiativeIntensityRay &)=delete | |
Disallow default bitwise copy construction. More... | |
~radiativeIntensityRay () | |
Destructor. More... | |
scalar | correct () |
Update radiative intensity on i direction. More... | |
void | init (const scalar phi, const scalar theta, const scalar deltaPhi, const scalar deltaTheta, const scalar lambda) |
Initialise the ray in i direction. More... | |
void | addIntensity () |
Add radiative intensities from all the bands. More... | |
const volScalarField & | I () const |
Return intensity. More... | |
const volScalarField & | qr () const |
Return const access to the boundary heat flux. More... | |
volScalarField & | qr () |
Return non-const access to the boundary heat flux. More... | |
volScalarField & | qin () |
Return non-const access to the boundary incident heat flux. More... | |
volScalarField & | qem () |
Return non-const access to the boundary emitted heat flux. More... | |
const volScalarField & | qin () const |
Return const access to the boundary incident heat flux. More... | |
const volScalarField & | qem () const |
Return const access to the boundary emitted heat flux. More... | |
const vector & | d () const |
Return direction. More... | |
const vector & | dAve () const |
Return the average vector inside the solid angle. More... | |
scalar | nLambda () const |
Return the number of bands. More... | |
scalar | phi () const |
Return the phi angle. More... | |
scalar | theta () const |
Return the theta angle. More... | |
scalar | omega () const |
Return the solid angle. More... | |
const volScalarField & | ILambda (const label lambdaI) const |
Return the radiative intensity for a given wavelength. More... | |
void | operator= (const radiativeIntensityRay &)=delete |
Disallow default bitwise assignment. More... | |
Static Public Attributes | |
static const word | intensityPrefix |
Radiation intensity for a ray in a given direction.
Definition at line 55 of file radiativeIntensityRay.H.
radiativeIntensityRay | ( | const fvDOM & | dom, |
const fvMesh & | mesh, | ||
const scalar | phi, | ||
const scalar | theta, | ||
const scalar | deltaPhi, | ||
const scalar | deltaTheta, | ||
const label | lambda, | ||
const absorptionEmissionModel & | absEmmModel_, | ||
const blackBodyEmission & | blackBody, | ||
const label | rayId | ||
) |
Construct form components.
Definition at line 41 of file radiativeIntensityRay.C.
References IOobject::AUTO_WRITE, Foam::cos(), forAll, polyMesh::geometricD(), typeIOobject< Type >::headerOk(), radiativeIntensityRay::intensityPrefix, IOobject::MUST_READ, dimensioned< Type >::name(), Foam::name(), VectorSpace< Form, Cmpt, Ncmpts >::nComponents, IOobject::NO_READ, IOobject::NO_WRITE, polyMesh::nSolutionD(), radiativeIntensityRay::phi(), IOobject::readOpt(), autoPtr< T >::reset(), Foam::rotationTensor(), Foam::sin(), radiativeIntensityRay::theta(), fvMesh::time(), autoPtr< T >::valid(), and VectorSpace< Form, Cmpt, Ncmpts >::zero.
|
delete |
Disallow default bitwise copy construction.
Destructor.
Definition at line 236 of file radiativeIntensityRay.C.
Foam::scalar correct | ( | ) |
Update radiative intensity on i direction.
Definition at line 242 of file radiativeIntensityRay.C.
References Foam::fvm::div(), forAll, SolverPerformance< Type >::initialResidual(), k, Foam::max(), Foam::constant::mathematical::pi(), fvMatrix< Type >::relax(), Foam::solve(), and Foam::fvm::Sp().
void init | ( | const scalar | phi, |
const scalar | theta, | ||
const scalar | deltaPhi, | ||
const scalar | deltaTheta, | ||
const scalar | lambda | ||
) |
Initialise the ray in i direction.
void addIntensity | ( | ) |
Add radiative intensities from all the bands.
Definition at line 284 of file radiativeIntensityRay.C.
References Foam::dimMass, Foam::dimTime, forAll, and Foam::pow3().
|
inline |
Return intensity.
Definition at line 27 of file radiativeIntensityRayI.H.
|
inline |
Return const access to the boundary heat flux.
Definition at line 34 of file radiativeIntensityRayI.H.
Referenced by greyDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), and wideBandDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs().
|
inline |
Return non-const access to the boundary heat flux.
Definition at line 40 of file radiativeIntensityRayI.H.
|
inline |
Return non-const access to the boundary incident heat flux.
Definition at line 52 of file radiativeIntensityRayI.H.
Referenced by greyDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), and wideBandDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs().
|
inline |
Return non-const access to the boundary emitted heat flux.
Definition at line 65 of file radiativeIntensityRayI.H.
Referenced by greyDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), and wideBandDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs().
|
inline |
Return const access to the boundary incident heat flux.
Definition at line 45 of file radiativeIntensityRayI.H.
|
inline |
Return const access to the boundary emitted heat flux.
Definition at line 58 of file radiativeIntensityRayI.H.
|
inline |
Return direction.
Definition at line 72 of file radiativeIntensityRayI.H.
Referenced by wideBandDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs().
|
inline |
Return the average vector inside the solid angle.
Definition at line 79 of file radiativeIntensityRayI.H.
Referenced by greyDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), and wideBandDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs().
|
inline |
Return the number of bands.
Definition at line 86 of file radiativeIntensityRayI.H.
|
inline |
Return the phi angle.
Definition at line 92 of file radiativeIntensityRayI.H.
Referenced by radiativeIntensityRay::radiativeIntensityRay().
|
inline |
Return the theta angle.
Definition at line 98 of file radiativeIntensityRayI.H.
Referenced by radiativeIntensityRay::radiativeIntensityRay().
|
inline |
Return the solid angle.
Definition at line 104 of file radiativeIntensityRayI.H.
|
inline |
Return the radiative intensity for a given wavelength.
Definition at line 111 of file radiativeIntensityRayI.H.
|
delete |
Disallow default bitwise assignment.
|
static |
Definition at line 59 of file radiativeIntensityRay.H.
Referenced by radiativeIntensityRay::radiativeIntensityRay().