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 > &)
 Construct from patch and internal field. 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 &)
 Copy constructor. More...
 
virtual tmp< fvPatchScalarFieldclone () const
 Construct and return a clone. 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 autoMap (const fvPatchFieldMapper &)
 Map (and resize as needed) from self given a mapping object. More...
 
virtual void rmap (const fvPatchScalarField &, const labelList &)
 Reverse map the given fvPatchField onto this 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...
 
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 }
 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/5]

◆ greyDiffusiveViewFactorFixedValueFvPatchScalarField() [2/5]

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

Construct from patch, internal field and dictionary.

Definition at line 70 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.

References dictionary::found(), greyDiffusiveViewFactorFixedValueFvPatchScalarField::greyDiffusiveViewFactorFixedValueFvPatchScalarField(), scalarField(), and fvPatch::size().

Here is the call graph for this function:

◆ greyDiffusiveViewFactorFixedValueFvPatchScalarField() [3/5]

◆ greyDiffusiveViewFactorFixedValueFvPatchScalarField() [4/5]

◆ greyDiffusiveViewFactorFixedValueFvPatchScalarField() [5/5]

Copy constructor setting internal field reference.

Definition at line 114 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.

References greyDiffusiveViewFactorFixedValueFvPatchScalarField::autoMap().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "greyDiffusiveRadiationViewFactor"  )

Runtime type information.

◆ clone() [1/2]

virtual tmp<fvPatchScalarField> clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 140 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.H.

References greyDiffusiveViewFactorFixedValueFvPatchScalarField::greyDiffusiveViewFactorFixedValueFvPatchScalarField().

Here is the call graph for this function:

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

References greyDiffusiveViewFactorFixedValueFvPatchScalarField::greyDiffusiveViewFactorFixedValueFvPatchScalarField().

Here is the call graph for this function:

◆ qro()

◆ autoMap()

void autoMap ( const fvPatchFieldMapper m)
virtual

Map (and resize as needed) from self given a mapping object.

Used to update fields following mesh topology change

Reimplemented from radiationCoupledBase.

Definition at line 133 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.

References greyDiffusiveViewFactorFixedValueFvPatchScalarField::rmap().

Referenced by greyDiffusiveViewFactorFixedValueFvPatchScalarField::greyDiffusiveViewFactorFixedValueFvPatchScalarField(), and greyDiffusiveViewFactorFixedValueFvPatchScalarField::qro().

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

◆ rmap()

void rmap ( const fvPatchScalarField ptf,
const labelList addr 
)
virtual

Reverse map the given fvPatchField onto this fvPatchField.

Used to reconstruct fields

Reimplemented from radiationCoupledBase.

Definition at line 144 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.

References greyDiffusiveViewFactorFixedValueFvPatchScalarField::rmap().

Referenced by greyDiffusiveViewFactorFixedValueFvPatchScalarField::autoMap(), greyDiffusiveViewFactorFixedValueFvPatchScalarField::qro(), and greyDiffusiveViewFactorFixedValueFvPatchScalarField::rmap().

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

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 157 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.

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

Referenced by greyDiffusiveViewFactorFixedValueFvPatchScalarField::qro().

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

◆ write()

void write ( Ostream os) const
virtual

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