Loading...
Searching...
No Matches
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...

#include <greyDiffusiveRadiationMixedFvPatchScalarField.H>

Inheritance diagram for greyDiffusiveRadiationMixedFvPatchScalarField:
Collaboration diagram for greyDiffusiveRadiationMixedFvPatchScalarField:

Public Member Functions

 TypeName ("greyDiffusiveRadiation")
 Runtime type information.
 greyDiffusiveRadiationMixedFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field.
 greyDiffusiveRadiationMixedFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 greyDiffusiveRadiationMixedFvPatchScalarField (const greyDiffusiveRadiationMixedFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given a greyDiffusiveRadiationMixedFvPatchScalarField onto a new patch.
 greyDiffusiveRadiationMixedFvPatchScalarField (const greyDiffusiveRadiationMixedFvPatchScalarField &)
 Construct as copy.
 greyDiffusiveRadiationMixedFvPatchScalarField (const greyDiffusiveRadiationMixedFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference.
virtual tmp< fvPatchField< scalar > > clone () const
 Return a clone.
virtual tmp< fvPatchField< scalar > > clone (const DimensionedField< scalar, volMesh > &iF) const
 Clone with an internal field reference.
const wordTName () const noexcept
 Return the temperature field name.
wordTName () noexcept
 Return reference to the temperature field name to allow adjustment.
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field.
virtual void write (Ostream &) const
 Write.

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 124 of file greyDiffusiveRadiationMixedFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ greyDiffusiveRadiationMixedFvPatchScalarField() [1/5]

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

Construct from patch and internal field.

Definition at line 37 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.

References p, and Foam::Zero.

Referenced by greyDiffusiveRadiationMixedFvPatchScalarField(), greyDiffusiveRadiationMixedFvPatchScalarField(), greyDiffusiveRadiationMixedFvPatchScalarField(), and TypeName().

Here is the caller graph for this function:

◆ 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 71 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.

References dict, IOobjectOption::MUST_READ, fvPatchField< scalar >::operator=(), p, and Foam::Zero.

Here is the call graph for this function:

◆ greyDiffusiveRadiationMixedFvPatchScalarField() [3/5]

greyDiffusiveRadiationMixedFvPatchScalarField ( const greyDiffusiveRadiationMixedFvPatchScalarField & ptf,
const fvPatch & p,
const DimensionedField< scalar, volMesh > & iF,
const fvPatchFieldMapper & mapper )

Construct by mapping given a greyDiffusiveRadiationMixedFvPatchScalarField onto a new patch.

Definition at line 55 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.

References greyDiffusiveRadiationMixedFvPatchScalarField(), and p.

Here is the call graph for this function:

◆ greyDiffusiveRadiationMixedFvPatchScalarField() [4/5]

greyDiffusiveRadiationMixedFvPatchScalarField ( const greyDiffusiveRadiationMixedFvPatchScalarField & ptf)

Construct as copy.

Definition at line 100 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.

References greyDiffusiveRadiationMixedFvPatchScalarField().

Here is the call graph for this function:

◆ greyDiffusiveRadiationMixedFvPatchScalarField() [5/5]

greyDiffusiveRadiationMixedFvPatchScalarField ( const greyDiffusiveRadiationMixedFvPatchScalarField & ptf,
const DimensionedField< scalar, volMesh > & iF )

Construct as copy setting internal field reference.

Definition at line 113 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.

References greyDiffusiveRadiationMixedFvPatchScalarField().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "greyDiffusiveRadiation" )

Runtime type information.

References greyDiffusiveRadiationMixedFvPatchScalarField().

Here is the call graph for this function:

◆ clone() [1/2]

virtual tmp< fvPatchField< scalar > > clone ( ) const
inlinevirtual

Return a clone.

Definition at line 207 of file greyDiffusiveRadiationMixedFvPatchScalarField.H.

References fvPatchField< Type >::Clone().

Here is the call graph for this function:

◆ clone() [2/2]

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

Clone with an internal field reference.

Definition at line 215 of file greyDiffusiveRadiationMixedFvPatchScalarField.H.

References fvPatchField< Type >::Clone().

Here is the call graph for this function:

◆ TName() [1/2]

const word & TName ( ) const
inlinenoexcept

Return the temperature field name.

Definition at line 231 of file greyDiffusiveRadiationMixedFvPatchScalarField.H.

References Foam::noexcept.

◆ TName() [2/2]

word & TName ( )
inlinenoexcept

Return reference to the temperature field name to allow adjustment.

Definition at line 240 of file greyDiffusiveRadiationMixedFvPatchScalarField.H.

References Foam::noexcept.

◆ updateCoeffs()

◆ write()

void write ( Ostream & os) const
virtual

Write.

Definition at line 359 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.

References os(), mixedFvPatchField< Type >::write(), and Foam::Zero.

Here is the call graph for this function:

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