Public Member Functions | Private Attributes
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:
Inheritance graph
[legend]
Collaboration diagram for greyDiffusiveViewFactorFixedValueFvPatchScalarField:
Collaboration graph
[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 () const
 Return external + solar load radiative heat flux. More...
 
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field. More...
 
virtual void write (Ostream &) const
 Write. More...
 

Private Attributes

scalarField Qro_
 External radiative heat flux. More...
 
bool solarLoad_
 Activate solar load. More...
 

Detailed Description

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


Patch usage

Property Description Required Default value
Qro external radiative heat flux yes

Example of the boundary condition specification:

    myPatch
    {
        type            greyDiffusiveRadiationViewFactor;
        Qro             uniform 0;
        value           uniform 0;
    }
See also
Foam::radiation::radiationModel Foam::radiation::viewFactor Foam::radiationCoupledBase Foam::fixedValueFvPatchField
Source files

Definition at line 86 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ greyDiffusiveViewFactorFixedValueFvPatchScalarField() [1/5]

Construct from patch and internal field.

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

References dict, p, and scalarField().

Here is the call graph for this function:

◆ greyDiffusiveViewFactorFixedValueFvPatchScalarField() [3/5]

Construct by mapping given a.

greyDiffusiveViewFactorFixedValueFvPatchScalarField onto a new patch

Definition at line 49 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.

◆ greyDiffusiveViewFactorFixedValueFvPatchScalarField() [4/5]

Construct as copy.

Definition at line 91 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.

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

◆ Qro()

Foam::tmp< Foam::scalarField > Qro ( ) const

Return external + solar load radiative heat flux.

Definition at line 145 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.

References radiation().

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

References dimensionedInternalField(), 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 166 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.

References token::END_STATEMENT, Foam::nl, write(), and Ostream::writeKeyword().

Here is the call graph for this function:

Field Documentation

◆ Qro_

scalarField Qro_
private

External radiative heat flux.

Definition at line 93 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.H.

◆ solarLoad_

bool solarLoad_
private

Activate solar load.

Definition at line 96 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.H.


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