Radiation intensity for a ray in a given direction. More...
#include <radiation/radiativeIntensityRay.H>
Radiation intensity for a ray in a given direction.
Definition at line 55 of file radiativeIntensityRay.H.
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.
| |
~radiativeIntensityRay () | |
scalar | correct () |
Update radiative intensity on i direction.
| |
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.
| |
const volScalarField & | I () const |
Return intensity.
| |
const volScalarField & | Qr () const |
Return const access to the boundary heat flux.
| |
volScalarField & | Qr () |
Return non-const access to the boundary heat flux.
| |
volScalarField & | Qin () |
Return non-const access to the boundary incident heat flux.
| |
volScalarField & | Qem () |
Return non-const access to the boundary emmited heat flux.
| |
const volScalarField & | Qin () const |
Return const access to the boundary incident heat flux.
| |
const volScalarField & | Qem () const |
Return const access to the boundary emmited heat flux.
| |
const vector & | d () const |
Return direction.
| |
const vector & | dAve () const |
Return the average vector inside the solid angle.
| |
scalar | nLambda () const |
Return the number of bands.
| |
scalar | phi () const |
Return the phi angle.
| |
scalar | theta () const |
Return the theta angle.
| |
scalar | omega () const |
Return the solid angle.
| |
const volScalarField & | ILambda (const label lambdaI) const |
Return the radiative intensity for a given wavelength.
| |
Static Public Attributes | |
static const word | intensityPrefix |
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 37 of file radiativeIntensityRay.C.
References Foam::cos(), forAll, name(), IOobject::readOpt(), autoPtr< T >::reset(), Foam::sin(), and autoPtr< T >::valid().
Definition at line 195 of file radiativeIntensityRay.C.
Foam::scalar correct | ( | ) |
Update radiative intensity on i direction.
Definition at line 201 of file radiativeIntensityRay.C.
References Foam::fvm::div(), eqnResidual, forAll, k(), Foam::max(), maxResidual, Foam::mathematicalConstant::pi(), fvMatrix< Type >::relax(), Foam::solve(), fvMatrix< Type >::solver(), 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 241 of file radiativeIntensityRay.C.
References Foam::dimMass, Foam::dimTime, forAll, and Foam::pow3().
const Foam::volScalarField & I | ( | ) | const [inline]
|
Return intensity.
Definition at line 27 of file radiativeIntensityRayI.H.
const Foam::volScalarField & Qr | ( | ) | const [inline]
|
Return const access to the boundary heat flux.
Definition at line 34 of file radiativeIntensityRayI.H.
Referenced by wideBandDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), and greyDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs().
Foam::volScalarField & Qr | ( | ) | [inline]
|
Return non-const access to the boundary heat flux.
Definition at line 40 of file radiativeIntensityRayI.H.
Foam::volScalarField & Qin | ( | ) | [inline]
|
Return non-const access to the boundary incident heat flux.
Definition at line 53 of file radiativeIntensityRayI.H.
Referenced by greyDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs().
Foam::volScalarField & Qem | ( | ) | [inline]
|
Return non-const access to the boundary emmited heat flux.
Definition at line 66 of file radiativeIntensityRayI.H.
Referenced by greyDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs().
const Foam::volScalarField & Qin | ( | ) | const [inline]
|
Return const access to the boundary incident heat flux.
Definition at line 47 of file radiativeIntensityRayI.H.
const Foam::volScalarField & Qem | ( | ) | const [inline]
|
Return const access to the boundary emmited heat flux.
Definition at line 60 of file radiativeIntensityRayI.H.
const Foam::vector & d | ( | ) | const [inline]
|
Return direction.
Definition at line 72 of file radiativeIntensityRayI.H.
const Foam::vector & dAve | ( | ) | const [inline]
|
Return the average vector inside the solid angle.
Definition at line 78 of file radiativeIntensityRayI.H.
Referenced by wideBandDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), and greyDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs().
Foam::scalar nLambda | ( | ) | const [inline]
|
Return the number of bands.
Definition at line 84 of file radiativeIntensityRayI.H.
Foam::scalar phi | ( | ) | const [inline]
|
Return the phi angle.
Definition at line 90 of file radiativeIntensityRayI.H.
Foam::scalar theta | ( | ) | const [inline]
|
Return the theta angle.
Definition at line 96 of file radiativeIntensityRayI.H.
Foam::scalar omega | ( | ) | const [inline]
|
Return the solid angle.
Definition at line 102 of file radiativeIntensityRayI.H.
const Foam::volScalarField & ILambda | ( | const label | lambdaI ) | const [inline]
|
Return the radiative intensity for a given wavelength.
Definition at line 110 of file radiativeIntensityRayI.H.
const Foam::word intensityPrefix [static]
|
Definition at line 59 of file radiativeIntensityRay.H.