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:
[legend]
Collaboration diagram for greyDiffusiveRadiationMixedFvPatchScalarField:
[legend]

Public Member Functions

 TypeName ("greyDiffusiveRadiation")
 Runtime type information. More...
 
 greyDiffusiveRadiationMixedFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field. 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 fvPatchFieldMapper &)
 
 greyDiffusiveRadiationMixedFvPatchScalarField (const greyDiffusiveRadiationMixedFvPatchScalarField &)
 Construct as copy. More...
 
virtual tmp< fvPatchScalarFieldclone () const
 Construct and return a clone. More...
 
 greyDiffusiveRadiationMixedFvPatchScalarField (const greyDiffusiveRadiationMixedFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference. More...
 
virtual tmp< fvPatchScalarFieldclone (const DimensionedField< scalar, volMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
const wordTName () const noexcept
 Return the temperature field name. More...
 
wordTName () noexcept
 
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field. More...
 
virtual void write (Ostream &) const
 Write. 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.

An external radiative heat flux can be added using qRadExt. If qRadExtDir is specified, this ray closest to this direction is used. Otherwise, the face normal is used as direction to set qRadExt.

Usage
Example of the boundary condition specification:
<patchName>
{
    // Mandatory entries
    type            greyDiffusiveRadiation;

    // Optional entries
    T               T;
    qRadExt         <scalar>;
    qRadExtDir      <vector>;

    // Inherited entries
    ...
}

where the entries mean:

Property Description Type Reqd Deflt
type Type name: greyDiffusiveRadiation word yes -
T Name of temperature field word no T
qRadExt Radiative external flux scalar no Zero
qRadExtDir Radiative external flux direction vector no Zero

The inherited entries are elaborated in:

See also
Source files

Definition at line 128 of file greyDiffusiveRadiationMixedFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ greyDiffusiveRadiationMixedFvPatchScalarField() [1/5]

Construct from patch and internal field.

Definition at line 44 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.

◆ greyDiffusiveRadiationMixedFvPatchScalarField() [2/5]

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

Construct from patch, internal field and dictionary.

Definition at line 78 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.

References dict, dictionary::found(), fvPatchField< scalar >::operator, fvPatchField< scalar >::operator=(), p, and UList< T >::size().

Here is the call graph for this function:

◆ greyDiffusiveRadiationMixedFvPatchScalarField() [3/5]

Construct by mapping given a greyDiffusiveRadiationMixedFvPatchScalarField onto a new patch

Definition at line 62 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.

◆ greyDiffusiveRadiationMixedFvPatchScalarField() [4/5]

◆ greyDiffusiveRadiationMixedFvPatchScalarField() [5/5]

Construct as copy setting internal field reference.

Definition at line 125 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "greyDiffusiveRadiation"  )

Runtime type information.

◆ clone() [1/2]

virtual tmp< fvPatchScalarField > clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 184 of file greyDiffusiveRadiationMixedFvPatchScalarField.H.

◆ clone() [2/2]

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

Construct and return a clone setting internal field reference.

Definition at line 200 of file greyDiffusiveRadiationMixedFvPatchScalarField.H.

◆ TName() [1/2]

const word & TName ( ) const
inlinenoexcept

Return the temperature field name.

Definition at line 217 of file greyDiffusiveRadiationMixedFvPatchScalarField.H.

◆ TName() [2/2]

word & TName ( )
inlinenoexcept

Return reference to the temperature field name to allow adjustment

Definition at line 224 of file greyDiffusiveRadiationMixedFvPatchScalarField.H.

◆ updateCoeffs()

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 372 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.

References os(), and Foam::Zero.

Here is the call graph for this function:

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