greyDiffusiveViewFactorFixedValueFvPatchScalarField Class Reference

This boundary condition provides a grey-diffuse condition for radiative heat flux, qr, for use with the view factor model. More...

Inheritance diagram for greyDiffusiveViewFactorFixedValueFvPatchScalarField:
Collaboration diagram for greyDiffusiveViewFactorFixedValueFvPatchScalarField:

Public Member Functions

 TypeName ("greyDiffusiveRadiationViewFactor")
 Runtime type information. More...
 
 greyDiffusiveViewFactorFixedValueFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 greyDiffusiveViewFactorFixedValueFvPatchScalarField (const greyDiffusiveViewFactorFixedValueFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given a. More...
 
 greyDiffusiveViewFactorFixedValueFvPatchScalarField (const greyDiffusiveViewFactorFixedValueFvPatchScalarField &)=delete
 Disallow copy without setting internal field reference. More...
 
 greyDiffusiveViewFactorFixedValueFvPatchScalarField (const greyDiffusiveViewFactorFixedValueFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Copy constructor 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 scalarListqro ()
 Return external radiative heat flux. More...
 
virtual void map (const fvPatchScalarField &, const fvPatchFieldMapper &)
 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 fvPatchFieldMapper &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< scalarFieldemissivity () const
 Calculate corresponding emissivity field. More...
 
void write (Ostream &) const
 Write. More...
 

Additional Inherited Members

- Public Types inherited from radiationCoupledBase
enum  emissivityMethodType { SOLIDRADIATION , LOOKUP }
 Type of supplied emissivity. More...
 
- Protected Attributes inherited from radiationCoupledBase
const emissivityMethodType method_
 How to get emissivity. More...
 
scalarField emissivity_
 Emissivity. More...
 

Detailed Description

This boundary condition provides a grey-diffuse condition for radiative heat flux, qr, for use with the view factor model.

Usage
Property Description Required Default value
qro external radiative heat flux yes
emissivityMode emissivity mode: solidRadiation or lookup yes

Example of the boundary condition specification:

    <patchName>
    {
        type            greyDiffusiveRadiationViewFactor;
        qro             uniform 0;
        emissivityMode  solidRadiation;
        value           uniform 0;
    }
See also
Foam::radiationCoupledBase Foam::radiationModel Foam::radiationModels::viewFactor Foam::fixedValueFvPatchField
Source files

Definition at line 89 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ greyDiffusiveViewFactorFixedValueFvPatchScalarField() [1/4]

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

Construct from patch, internal field and dictionary.

Definition at line 34 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.

References dict, fvPatchField< Type >::operator, fvPatchField< Type >::operator=(), and p.

Here is the call graph for this function:

◆ greyDiffusiveViewFactorFixedValueFvPatchScalarField() [2/4]

◆ greyDiffusiveViewFactorFixedValueFvPatchScalarField() [3/4]

Disallow copy without setting internal field reference.

◆ greyDiffusiveViewFactorFixedValueFvPatchScalarField() [4/4]

Copy constructor setting internal field reference.

Definition at line 82 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "greyDiffusiveRadiationViewFactor"  )

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 140 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.H.

◆ qro()

const scalarList& qro ( )
inline

Return external radiative heat flux.

Definition at line 161 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.H.

Referenced by viewFactor::calculate().

Here is the caller graph for this function:

◆ map()

void map ( const fvPatchScalarField ptf,
const fvPatchFieldMapper mapper 
)
virtual

Map the given fvPatchField onto this fvPatchField.

Reimplemented from radiationCoupledBase.

Definition at line 102 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.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 117 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.

References radiationCoupledBase::reset().

Here is the call graph for this function:

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 131 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.

References Foam::endl(), Foam::gAverage(), Foam::gMax(), Foam::gMin(), Foam::gSum(), and Foam::Info.

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 157 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.

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

Here is the call graph for this function:

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