greyDiffusiveRadiationMixedFvPatchScalarField Class Reference

This boundary condition provides a grey-diffuse condition for radiation intensity, I, for use with the finite-volume discrete-ordinates model (fvDOM), in which the radiation temperature is retrieved from the temperature field boundary condition. More...

Inheritance diagram for greyDiffusiveRadiationMixedFvPatchScalarField:
Collaboration diagram for greyDiffusiveRadiationMixedFvPatchScalarField:

Public Member Functions

 TypeName ("greyDiffusiveRadiation")
 Runtime type information. More...
 
 greyDiffusiveRadiationMixedFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 greyDiffusiveRadiationMixedFvPatchScalarField (const greyDiffusiveRadiationMixedFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fieldMapper &)
 Construct by mapping given a. More...
 
 greyDiffusiveRadiationMixedFvPatchScalarField (const greyDiffusiveRadiationMixedFvPatchScalarField &)=delete
 Disallow copy without setting internal field reference. More...
 
 greyDiffusiveRadiationMixedFvPatchScalarField (const greyDiffusiveRadiationMixedFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Copy constructor setting internal field reference. More...
 
virtual tmp< fvPatchScalarField > clone (const DimensionedField< scalar, volMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
const word & TName () const
 Return the temperature field name. More...
 
word & TName ()
 Return reference to the temperature field name to allow. More...
 
virtual void map (const fvPatchScalarField &, const fieldMapper &)
 Map the given fvPatchField onto this fvPatchField. More...
 
virtual void reset (const fvPatchScalarField &)
 Reset the fvPatchField to the given fvPatchField. More...
 
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field. More...
 
virtual void write (Ostream &) const
 Write. More...
 
- Public Member Functions inherited from radiationCoupledBase
 TypeName ("radiationCoupledBase")
 Runtime type information. More...
 
 radiationCoupledBase (const fvPatch &patch, const word &calculationMethod, const scalarField &emissivity)
 Construct from patch, emissivity mode and emissivity. More...
 
 radiationCoupledBase (const fvPatch &patch, const word &calculationMethod, const scalarField &emissivity, const fieldMapper &mapper)
 Construct from patch, emissivity mode and emissivity and mapper. More...
 
 radiationCoupledBase (const fvPatch &patch, const dictionary &dict)
 Construct from patch and dictionary. More...
 
virtual ~radiationCoupledBase ()
 Destructor. More...
 
word emissivityMethod () const
 Method to obtain emissivity. More...
 
tmp< scalarField > emissivity () const
 Calculate corresponding emissivity field. More...
 
void write (Ostream &) const
 Write. More...
 

Additional Inherited Members

- Public Types inherited from radiationCoupledBase
enum  emissivityMethodType { SOLIDRADIATION , LOOKUP }
 Emissivity methods. More...
 
- Static Public Attributes inherited from radiationCoupledBase
static const NamedEnum< emissivityMethodType, 2 > emissivityMethodTypeNames_
 Names of emissivity methods. More...
 
- Protected Attributes inherited from radiationCoupledBase
const emissivityMethodType method_
 How to get emissivity. More...
 
scalarField emissivity_
 Emissivity. Cached locally when looked up. More...
 

Detailed Description

This boundary condition provides a grey-diffuse condition for radiation intensity, I, for use with the finite-volume discrete-ordinates model (fvDOM), in which the radiation temperature is retrieved from the temperature field boundary condition.

Usage
Property Description Required Default value
T temperature field name no T
emissivityMode emissivity mode: solidRadiation or lookup yes

Example of the boundary condition specification:

    <patchName>
    {
        type            greyDiffusiveRadiation;
        T               T;
        emissivityMode  solidRadiation;
        value           uniform 0;
    }
See also
Foam::radiationCoupledBase Foam::radiationModel Foam::radiationModels::fvDOM Foam::mixedFvPatchField
Source files

Definition at line 91 of file greyDiffusiveRadiationMixedFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ greyDiffusiveRadiationMixedFvPatchScalarField() [1/4]

greyDiffusiveRadiationMixedFvPatchScalarField ( const fvPatch &  p,
const DimensionedField< scalar, volMesh > &  iF,
const dictionary &  dict 
)

Construct from patch, internal field and dictionary.

Definition at line 39 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.

References dict, DimensionedField< Type, GeoMesh, PrimitiveField >::dimensions(), Foam::dimLength, fvPatchField< Type >::operator, fvPatchField< Type >::operator=(), p, and Foam::unitFraction.

Referenced by greyDiffusiveRadiationMixedFvPatchScalarField::clone().

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

◆ greyDiffusiveRadiationMixedFvPatchScalarField() [2/4]

Construct by mapping given a.

greyDiffusiveRadiationMixedFvPatchScalarField onto a new patch

Definition at line 81 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.

◆ greyDiffusiveRadiationMixedFvPatchScalarField() [3/4]

Disallow copy without setting internal field reference.

◆ greyDiffusiveRadiationMixedFvPatchScalarField() [4/4]

Copy constructor setting internal field reference.

Definition at line 102 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "greyDiffusiveRadiation"  )

Runtime type information.

◆ clone()

virtual tmp<fvPatchScalarField> clone ( const DimensionedField< scalar, volMesh > &  iF) const
inlinevirtual

Construct and return a clone setting internal field reference.

Definition at line 142 of file greyDiffusiveRadiationMixedFvPatchScalarField.H.

References greyDiffusiveRadiationMixedFvPatchScalarField::greyDiffusiveRadiationMixedFvPatchScalarField().

Here is the call graph for this function:

◆ TName() [1/2]

const word& TName ( ) const
inline

Return the temperature field name.

Definition at line 159 of file greyDiffusiveRadiationMixedFvPatchScalarField.H.

◆ TName() [2/2]

word& TName ( )
inline

Return reference to the temperature field name to allow.

adjustment

Definition at line 166 of file greyDiffusiveRadiationMixedFvPatchScalarField.H.

◆ map()

void map ( const fvPatchScalarField &  ptf,
const fieldMapper &  mapper 
)
virtual

Map the given fvPatchField onto this fvPatchField.

Reimplemented from radiationCoupledBase.

Definition at line 122 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.

References radiationCoupledBase::map().

Here is the call graph for this function:

◆ reset()

void reset ( const fvPatchScalarField &  ptf)
virtual

Reset the fvPatchField to the given fvPatchField.

Used for mesh to mesh mapping

Reimplemented from radiationCoupledBase.

Definition at line 133 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.

References radiationCoupledBase::reset().

Here is the call graph for this function:

◆ updateCoeffs()

◆ write()

void write ( Ostream &  os) const
virtual

Write.

Definition at line 236 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.

References radiationCoupledBase::write(), and Foam::vtkWriteOps::write().

Here is the call graph for this function:

The documentation for this class was generated from the following files: