Radiation intensity for a ray in a given direction. More...
#include <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 () | |
| Destructor. | |
| 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 emitted 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 emitted heat flux. | |
| const vector & | d () const |
| Return direction. | |
| const vector & | dAve () const |
| Return the average vector inside the solid angle. | |
| vector & | d () |
| Return direction. | |
| vector & | dAve () |
| 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 |
Radiation intensity for a ray in a given direction.
Definition at line 53 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 35 of file radiativeIntensityRay.C.
References IOobjectOption::AUTO_WRITE, Foam::cos(), Foam::dimMass, Foam::dimTime, forAll, intensityPrefix, mesh, IOobjectOption::MUST_READ, Foam::name(), name, VectorSpace< Form, Cmpt, Ncmpts >::nComponents, nLambda(), IOobjectOption::NO_READ, IOobjectOption::NO_WRITE, phi(), Foam::pow3(), IOobjectOption::readOpt(), autoPtr< T >::reset(), Foam::rotationTensor(), Foam::sin(), theta(), timeName, IOobject::typeHeaderOk(), Foam::Zero, and VectorSpace< Form, Cmpt, Ncmpts >::zero.

Destructor.
Definition at line 241 of file radiativeIntensityRay.C.
| Foam::scalar correct | ( | ) |
Update radiative intensity on i direction.
Definition at line 247 of file radiativeIntensityRay.C.
References Foam::fvm::div(), forAll, SolverPerformance< Type >::initialResidual(), k, Foam::max(), Foam::constant::mathematical::pi(), fvMatrix< Type >::relax(), 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 ) |
| void addIntensity | ( | ) |
Add radiative intensities from all the bands.
Definition at line 294 of file radiativeIntensityRay.C.
References forAll, and Foam::Zero.
|
inline |
Return intensity.
Definition at line 22 of file radiativeIntensityRayI.H.
|
inline |
Return const access to the boundary heat flux.
Definition at line 29 of file radiativeIntensityRayI.H.
Referenced by greyDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), and wideBandDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs().

|
inline |
Return non-const access to the boundary heat flux.
Definition at line 35 of file radiativeIntensityRayI.H.
|
inline |
Return non-const access to the boundary incident heat flux.
Definition at line 47 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 60 of file radiativeIntensityRayI.H.
Referenced by greyDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), and wideBandDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs().

|
inline |
Return const access to the boundary incident heat flux.
Definition at line 40 of file radiativeIntensityRayI.H.
|
inline |
Return const access to the boundary emitted heat flux.
Definition at line 53 of file radiativeIntensityRayI.H.
|
inline |
Return direction.
Definition at line 66 of file radiativeIntensityRayI.H.
|
inline |
Return the average vector inside the solid angle.
Definition at line 72 of file radiativeIntensityRayI.H.
Referenced by greyDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), and wideBandDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs().

|
inline |
Return direction.
Definition at line 78 of file radiativeIntensityRayI.H.
|
inline |
Return the average vector inside the solid angle.
Definition at line 84 of file radiativeIntensityRayI.H.
|
inline |
Return the number of bands.
Definition at line 90 of file radiativeIntensityRayI.H.
Referenced by radiativeIntensityRay().

|
inline |
Return the phi angle.
Definition at line 96 of file radiativeIntensityRayI.H.
Referenced by init(), and radiativeIntensityRay().

|
inline |
Return the theta angle.
Definition at line 102 of file radiativeIntensityRayI.H.
Referenced by init(), and radiativeIntensityRay().

|
inline |
Return the solid angle.
Definition at line 108 of file radiativeIntensityRayI.H.
|
inline |
Return the radiative intensity for a given wavelength.
Definition at line 115 of file radiativeIntensityRayI.H.
|
static |
Definition at line 57 of file radiativeIntensityRay.H.
Referenced by radiativeIntensityRay().