FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

fvDOM Class Reference

Finite Volume Discrete Ordinates Method. Solves the RTE equation for n directions in a participating media, not including scatter. More...

#include <radiation/fvDOM.H>


Detailed Description

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)

Source files

Definition at line 74 of file fvDOM.H.

Inheritance diagram for fvDOM:
Collaboration diagram for fvDOM:

List of all members.

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.

Constructor & Destructor Documentation

~fvDOM (  ) [virtual]

Destructor.

Definition at line 292 of file fvDOM.C.


Member Function Documentation

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

Set the rayId and lambdaId from by decomposing an intensity.

field name

Definition at line 406 of file fvDOM.C.

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]

Ray intensity for rayI.

Definition at line 27 of file fvDOMI.H.

const Foam::volScalarField & IRayLambda ( const label   rayI,
const label   lambdaI  
) const [inline]

Ray intensity for rayI and lambda bandwidth.

Definition at line 35 of file fvDOMI.H.

Foam::label nTheta (  ) const [inline]

Number of angles in theta.

Definition at line 44 of file fvDOMI.H.

Foam::label nPhi (  ) const [inline]

Number of angles in phi.

Definition at line 50 of file fvDOMI.H.

Foam::label nRay (  ) const [inline]

Number of rays.

Definition at line 56 of file fvDOMI.H.

Foam::label nLambda (  ) const [inline]

Number of wavelengths.

Definition at line 62 of file fvDOMI.H.

const Foam::volScalarField & a (  ) const [inline]

Const access to total absorption coefficient.

Definition at line 68 of file fvDOMI.H.

const Foam::volScalarField & aLambda ( const label   lambdaI  ) const [inline]

Const access to wavelength total absorption coefficient.

Definition at line 75 of file fvDOMI.H.

const Foam::volScalarField & G (  ) const [inline]

Const access to incident radiation field.

Definition at line 83 of file fvDOMI.H.

const Foam::volScalarField & Qr (  ) const [inline]

Const access to total radiative heat flux field.

Definition at line 89 of file fvDOMI.H.

const Foam::volScalarField & Qin (  ) const [inline]

Const access to incident radiative heat flux field.

Definition at line 95 of file fvDOMI.H.

const Foam::volScalarField & Qem (  ) const [inline]

Const access to emitted radiative heat flux field.

Definition at line 101 of file fvDOMI.H.

const Foam::radiation::blackBodyEmission & blackBody (  ) const [inline]

Const access to black body.

Definition at line 108 of file fvDOMI.H.


The documentation for this class was generated from the following files:
  • src/thermophysicalModels/radiation/radiationModel/fvDOM/fvDOM/fvDOM.H
  • src/thermophysicalModels/radiation/radiationModel/fvDOM/fvDOM/fvDOM.C
  • src/thermophysicalModels/radiation/radiationModel/fvDOM/fvDOM/fvDOMI.H