Finite Volume Discrete Ordinates Method. Solves the RTE equation for n directions in a participating media, not including scatter. More...
#include <radiation/fvDOM.H>
Finite Volume Discrete Ordinates Method. Solves the RTE equation for n directions in a participating media, not including scatter.
Available absorption models: greyMeanAbsoprtionEmission wideBandAbsorptionEmission
i.e. dictionary fvDOMCoeffs { nPhi1; // azimuthal angles in PI/2 on X-Y.(from Y to X) nTheta 2; // polar angles in PI (from Z to X-Y plane) convergence 1e-4; // convergence criteria for radiation iteration }
solverFreq 1; // Number of flow iterations per radiation iteration
The total number of solid angles is 4*nPhi*nTheta.
In 1D the direction of the rays is X (nPhi and nTheta are ignored) In 2D the direction of the rays is on X-Y plane (only nPhi is considered) In 3D (nPhi and nTheta are considered)
Definition at line 74 of file fvDOM.H.
Public Member Functions | |
TypeName ("fvDOM") | |
Runtime type information.
| |
fvDOM (const volScalarField &T) | |
Construct from components.
| |
virtual | ~fvDOM () |
Destructor.
| |
void | calculate () |
Solve radiation equation(s)
| |
bool | read () |
Read radiation properties dictionary.
| |
void | updateG () |
Update G and calculate total heat flux on boundary.
| |
void | setRayIdLambdaId (const word &name, label &rayId, label &lambdaId) const |
Set the rayId and lambdaId from by decomposing an intensity.
| |
virtual tmp< volScalarField > | Rp () const |
Source term component (for power of T^4)
| |
virtual tmp< DimensionedField < scalar, volMesh > > | Ru () const |
Source term component (constant)
| |
const radiativeIntensityRay & | IRay (const label rayI) const |
Ray intensity for rayI.
| |
const volScalarField & | IRayLambda (const label rayI, const label lambdaI) const |
Ray intensity for rayI and lambda bandwidth.
| |
label | nTheta () const |
Number of angles in theta.
| |
label | nPhi () const |
Number of angles in phi.
| |
label | nRay () const |
Number of rays.
| |
label | nLambda () const |
Number of wavelengths.
| |
const volScalarField & | a () const |
Const access to total absorption coefficient.
| |
const volScalarField & | aLambda (const label lambdaI) const |
Const access to wavelength total absorption coefficient.
| |
const volScalarField & | G () const |
Const access to incident radiation field.
| |
const volScalarField & | Qr () const |
Const access to total radiative heat flux field.
| |
const volScalarField & | Qin () const |
Const access to incident radiative heat flux field.
| |
const volScalarField & | Qem () const |
Const access to emitted radiative heat flux field.
| |
const blackBodyEmission & | blackBody () const |
Const access to black body.
|
fvDOM | ( | const volScalarField & | T ) |
Construct from components.
Definition at line 52 of file fvDOM.C.
References radiationModel::absorptionEmission_, Foam::endl(), forAll, Foam::Info, radiationModel::mesh_, Foam::name(), Foam::nl, IOobject::NO_READ, IOobject::NO_WRITE, polyMesh::nSolutionD(), Foam::mathematicalConstant::pi(), Foam::mathematicalConstant::piByTwo(), PtrList< T >::set(), PtrList< T >::setSize(), PtrList< T >::size(), fvMesh::time(), and Time::timeName().
TypeName | ( | "fvDOM" | ) |
Runtime type information.
void calculate | ( | ) | [virtual]
|
Solve radiation equation(s)
Implements radiationModel.
Definition at line 316 of file fvDOM.C.
References Foam::endl(), forAll, Foam::Info, Foam::max(), and maxResidual.
bool read | ( | ) | [virtual]
|
Read radiation properties dictionary.
Implements radiationModel.
Definition at line 298 of file fvDOM.C.
References radiationModel::read().
void updateG | ( | ) |
Update G and calculate total heat flux on boundary.
Definition at line 387 of file fvDOM.C.
References Foam::dimMass, Foam::dimTime, forAll, and Foam::pow3().
void setRayIdLambdaId | ( | const word & | name, |
label & | rayId, | ||
label & | lambdaId | ||
) | const |
Foam::tmp< Foam::volScalarField > Rp | ( | ) | const [virtual]
|
Source term component (for power of T^4)
Implements radiationModel.
Definition at line 342 of file fvDOM.C.
References IOobject::NO_READ, IOobject::NO_WRITE, and Foam::radiation::sigmaSB.
Foam::tmp< Foam::DimensionedField< Foam::scalar, Foam::volMesh > > Ru | ( | ) | const [virtual]
|
Source term component (constant)
Implements radiationModel.
Definition at line 364 of file fvDOM.C.
References E().
const Foam::radiation::radiativeIntensityRay & IRay | ( | const label | rayI ) | const [inline]
|
const Foam::volScalarField & IRayLambda | ( | const label | rayI, |
const label | lambdaI | ||
) | const [inline]
|
Foam::label nTheta | ( | ) | const [inline]
|
Foam::label nPhi | ( | ) | const [inline]
|
Foam::label nLambda | ( | ) | const [inline]
|
const Foam::volScalarField & a | ( | ) | const [inline]
|
const Foam::volScalarField & aLambda | ( | const label | lambdaI ) | const [inline]
|
const Foam::volScalarField & G | ( | ) | const [inline]
|
const Foam::volScalarField & Qr | ( | ) | const [inline]
|
const Foam::volScalarField & Qin | ( | ) | const [inline]
|
const Foam::volScalarField & Qem | ( | ) | const [inline]
|
const Foam::radiation::blackBodyEmission & blackBody | ( | ) | const [inline]
|