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

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 &)
 Construct as copy. More...
 
virtual tmp< fvPatchScalarFieldclone () const
 Construct and return a clone. More...
 
 greyDiffusiveViewFactorFixedValueFvPatchScalarField (const greyDiffusiveViewFactorFixedValueFvPatchScalarField &, 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...
 
tmp< scalarFieldqro (label bandI=0) const
 Return external + solar load radiative heat flux. More...
 
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field. 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 write (Ostream &) const
 Write. 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

Example of the boundary condition specification:

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

Definition at line 88 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ greyDiffusiveViewFactorFixedValueFvPatchScalarField() [1/5]

Construct from patch and internal field.

Definition at line 40 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.

Referenced by greyDiffusiveViewFactorFixedValueFvPatchScalarField::clone().

Here is the caller graph for this function:

◆ 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 66 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.

References dict, and p.

◆ greyDiffusiveViewFactorFixedValueFvPatchScalarField() [3/5]

◆ greyDiffusiveViewFactorFixedValueFvPatchScalarField() [4/5]

◆ greyDiffusiveViewFactorFixedValueFvPatchScalarField() [5/5]

Construct as copy setting internal field reference.

Definition at line 103 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.

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

◆ qro()

Foam::tmp< Foam::scalarField > qro ( label  bandI = 0) const

Return external + solar load radiative heat flux.

Definition at line 167 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.

References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), Foam::name(), Foam::foamVersion::patch, radiation(), and tmp< T >::ref().

Referenced by viewFactor::calculate().

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 142 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.

References Foam::expressions::patchExpr::debug, Foam::endl(), Foam::gAverage(), Foam::gMax(), Foam::gMin(), Foam::gSum(), Foam::Info, and Foam::foamVersion::patch.

Here is the call graph for this function:

◆ autoMap()

void autoMap ( const fvPatchFieldMapper m)
virtual

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

Definition at line 117 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.

◆ rmap()

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

Reverse map the given fvPatchField onto this fvPatchField.

Definition at line 127 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 198 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.

References os(), and Foam::vtk::write().

Here is the call graph for this function:

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