Loading...
Searching...
No Matches
opaqueReflective Class Reference

Radiation boundary model for opaque reflective walls. It requires to specify a wallAbsorptionEmissionModel and the reflected fraction in boundaryRadiationProperties file fd is the diffusive reflected fraction. 0 all the incoming flux is specularly reflected and 1 all is diffusive reflected. fd is used in the calculation of the specular reflection (rSpec) and the diffusive reflection (rDiff). Absorptivity and emissivity are independent of fd. More...

#include <opaqueReflective.H>

Inheritance diagram for opaqueReflective:
Collaboration diagram for opaqueReflective:

Public Member Functions

 TypeName ("opaqueReflective")
 Runtime type information.
 opaqueReflective (const dictionary &dict, const polyPatch &pp)
 Construct from components.
virtual ~opaqueReflective ()=default
 Destructor.
virtual tmp< scalarFielde (const label bandI, const vectorField *incomingDirection, const scalarField *T) const
 Return emissivity.
virtual scalar e (const label faceI, const label bandI, const vector &dir, const scalar T) const
 Return emissivity on face.
virtual tmp< scalarFielda (const label bandI, const vectorField *incomingDirection, const scalarField *T) const
 Return absorptivity on patch.
virtual scalar a (const label faceI, const label bandI, const vector &dir, const scalar T) const
 Return absorptivity on face.
virtual tmp< scalarFieldt (const label bandI, const vectorField *incomingDirection, const scalarField *T) const
 Return transmissivity on patch.
virtual scalar t (const label faceI, const label bandI, const vector &dir, const scalar T) const
 Return transmissivity on face.
virtual tmp< scalarFieldrSpec (const label bandI, const vectorField *incomingDirection, const scalarField *T) const
 Return specular reflectivity on patch.
virtual scalar rSpec (const label faceI, const label bandI, const vector &dir, const scalar T) const
 Return specular reflectivity on face.
virtual tmp< scalarFieldrDiff (const label bandI, const vectorField *incomingDirection, const scalarField *T) const
 Return diffusive reflectivity on patch.
virtual scalar rDiff (const label faceI, const label bandI, const vector &dir, const scalar T) const
 Return diffusive reflectivity on face.
virtual bool isGrey () const
 Is Grey.
virtual label nBands () const
 Number of bands.
Public Member Functions inherited from boundaryRadiationPropertiesPatch
 TypeName ("boundaryRadiationPropertiesPatch")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, boundaryRadiationPropertiesPatch, dictionary,(const dictionary &dict, const polyPatch &pp),(dict, pp))
 boundaryRadiationPropertiesPatch (const dictionary &, const polyPatch &)
 Construct from patch, internal field and dictionary.
virtual ~boundaryRadiationPropertiesPatch ()=default
 Destructor.
const wallAbsorptionEmissionModelabsorptionEmission () const
 Return absorptionEmissionModel.
const wallTransmissivityModeltransmissiveModel () const
 Return transmissivityModel.
virtual void write (Ostream &) const
 Write.

Protected Attributes

const polyPatchpp_
 Reference to the polyPatch.
const scalar fd_
 Diffuse fraction.
Protected Attributes inherited from boundaryRadiationPropertiesPatch
autoPtr< wallAbsorptionEmissionModelabsorptionEmission_
 Absorption/emission model.
autoPtr< wallTransmissivityModeltransmissivity_
 Transmissivity model.

Additional Inherited Members

Static Public Member Functions inherited from boundaryRadiationPropertiesPatch
static autoPtr< boundaryRadiationPropertiesPatchNew (const dictionary &dict, const polyPatch &pp)
 Selector.

Detailed Description

Radiation boundary model for opaque reflective walls. It requires to specify a wallAbsorptionEmissionModel and the reflected fraction in boundaryRadiationProperties file fd is the diffusive reflected fraction. 0 all the incoming flux is specularly reflected and 1 all is diffusive reflected. fd is used in the calculation of the specular reflection (rSpec) and the diffusive reflection (rDiff). Absorptivity and emissivity are independent of fd.

Usage
    type        opaqueReflective;

    fd          0.0;

    wallAbsorptionEmissionModel
    {
        type            multiBandAbsorption;
        absorptivity    (0.3 0.7);
        emissivity      (0.3 0.7);
    };

Definition at line 66 of file opaqueReflective.H.

Constructor & Destructor Documentation

◆ opaqueReflective()

opaqueReflective ( const dictionary & dict,
const polyPatch & pp )

Construct from components.

Definition at line 43 of file opaqueReflective.C.

References boundaryRadiationPropertiesPatch::absorptionEmission_, boundaryRadiationPropertiesPatch::boundaryRadiationPropertiesPatch(), dict, fd_, wallAbsorptionEmissionModel::New(), pp(), and pp_.

Here is the call graph for this function:

◆ ~opaqueReflective()

virtual ~opaqueReflective ( )
virtualdefault

Destructor.

References Foam::T().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "opaqueReflective" )

Runtime type information.

References dict, and pp().

Here is the call graph for this function:

◆ e() [1/2]

Foam::tmp< Foam::scalarField > e ( const label bandI,
const vectorField * incomingDirection,
const scalarField * T ) const
virtual

Return emissivity.

Implements boundaryRadiationPropertiesPatch.

Definition at line 65 of file opaqueReflective.C.

References boundaryRadiationPropertiesPatch::absorptionEmission_, and Foam::T().

Here is the call graph for this function:

◆ e() [2/2]

Foam::scalar e ( const label faceI,
const label bandI,
const vector & dir,
const scalar T ) const
virtual

Return emissivity on face.

Implements boundaryRadiationPropertiesPatch.

Definition at line 76 of file opaqueReflective.C.

References boundaryRadiationPropertiesPatch::absorptionEmission_, and Foam::T().

Here is the call graph for this function:

◆ a() [1/2]

Foam::tmp< Foam::scalarField > a ( const label bandI,
const vectorField * incomingDirection,
const scalarField * T ) const
virtual

Return absorptivity on patch.

Implements boundaryRadiationPropertiesPatch.

Definition at line 88 of file opaqueReflective.C.

References boundaryRadiationPropertiesPatch::absorptionEmission_, and Foam::T().

Referenced by rDiff(), rDiff(), rSpec(), and rSpec().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ a() [2/2]

Foam::scalar a ( const label faceI,
const label bandI,
const vector & dir,
const scalar T ) const
virtual

Return absorptivity on face.

Implements boundaryRadiationPropertiesPatch.

Definition at line 99 of file opaqueReflective.C.

References boundaryRadiationPropertiesPatch::absorptionEmission_, and Foam::T().

Here is the call graph for this function:

◆ t() [1/2]

Foam::tmp< Foam::scalarField > t ( const label bandI,
const vectorField * incomingDirection,
const scalarField * T ) const
virtual

Return transmissivity on patch.

Implements boundaryRadiationPropertiesPatch.

Definition at line 111 of file opaqueReflective.C.

References tmp< T >::New(), pp_, Foam::T(), and Foam::Zero.

Here is the call graph for this function:

◆ t() [2/2]

Foam::scalar t ( const label faceI,
const label bandI,
const vector & dir,
const scalar T ) const
virtual

Return transmissivity on face.

Implements boundaryRadiationPropertiesPatch.

Definition at line 122 of file opaqueReflective.C.

References Foam::T(), and Foam::Zero.

Here is the call graph for this function:

◆ rSpec() [1/2]

Foam::tmp< Foam::scalarField > rSpec ( const label bandI,
const vectorField * incomingDirection,
const scalarField * T ) const
virtual

Return specular reflectivity on patch.

Implements boundaryRadiationPropertiesPatch.

Definition at line 134 of file opaqueReflective.C.

References a(), fd_, and Foam::T().

Here is the call graph for this function:

◆ rSpec() [2/2]

Foam::scalar rSpec ( const label faceI,
const label bandI,
const vector & dir,
const scalar T ) const
virtual

Return specular reflectivity on face.

Implements boundaryRadiationPropertiesPatch.

Definition at line 145 of file opaqueReflective.C.

References a(), fd_, and Foam::T().

Here is the call graph for this function:

◆ rDiff() [1/2]

Foam::tmp< Foam::scalarField > rDiff ( const label bandI,
const vectorField * incomingDirection,
const scalarField * T ) const
virtual

Return diffusive reflectivity on patch.

Implements boundaryRadiationPropertiesPatch.

Definition at line 157 of file opaqueReflective.C.

References a(), fd_, and Foam::T().

Here is the call graph for this function:

◆ rDiff() [2/2]

Foam::scalar rDiff ( const label faceI,
const label bandI,
const vector & dir,
const scalar T ) const
virtual

Return diffusive reflectivity on face.

Implements boundaryRadiationPropertiesPatch.

Definition at line 168 of file opaqueReflective.C.

References a(), fd_, and Foam::T().

Here is the call graph for this function:

◆ isGrey()

bool isGrey ( ) const
virtual

◆ nBands()

Foam::label nBands ( ) const
virtual

Number of bands.

Implements boundaryRadiationPropertiesPatch.

Definition at line 186 of file opaqueReflective.C.

References boundaryRadiationPropertiesPatch::absorptionEmission_.

Member Data Documentation

◆ pp_

const polyPatch& pp_
protected

Reference to the polyPatch.

Definition at line 78 of file opaqueReflective.H.

Referenced by opaqueReflective(), and t().

◆ fd_

const scalar fd_
protected

Diffuse fraction.

Definition at line 83 of file opaqueReflective.H.

Referenced by opaqueReflective(), rDiff(), rDiff(), rSpec(), and rSpec().


The documentation for this class was generated from the following files:
  • src/thermophysicalModels/radiation/submodels/boundaryRadiationProperties/opaqueReflective/opaqueReflective.H
  • src/thermophysicalModels/radiation/submodels/boundaryRadiationProperties/opaqueReflective/opaqueReflective.C