Loading...
Searching...
No Matches
greyDiffusiveViewFactorFixedValueFvPatchScalarField Class Reference

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

#include <greyDiffusiveViewFactorFixedValueFvPatchScalarField.H>

Inheritance diagram for greyDiffusiveViewFactorFixedValueFvPatchScalarField:
Collaboration diagram for greyDiffusiveViewFactorFixedValueFvPatchScalarField:

Public Member Functions

 TypeName ("greyDiffusiveRadiationViewFactor")
 Runtime type information.
 greyDiffusiveViewFactorFixedValueFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field.
 greyDiffusiveViewFactorFixedValueFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 greyDiffusiveViewFactorFixedValueFvPatchScalarField (const greyDiffusiveViewFactorFixedValueFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given a.
 greyDiffusiveViewFactorFixedValueFvPatchScalarField (const greyDiffusiveViewFactorFixedValueFvPatchScalarField &)
 Construct as copy.
 greyDiffusiveViewFactorFixedValueFvPatchScalarField (const greyDiffusiveViewFactorFixedValueFvPatchScalarField &, 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.
tmp< scalarFieldqro (label bandI=0) const
 Return external + solar load radiative heat flux.
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field.
virtual void autoMap (const fvPatchFieldMapper &)
 Map (and resize as needed) from self given a mapping object.
virtual void rmap (const fvPatchScalarField &, const labelList &)
 Reverse map the given fvPatchField onto this fvPatchField.
virtual void write (Ostream &) const
 Write.

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

Constructor & Destructor Documentation

◆ greyDiffusiveViewFactorFixedValueFvPatchScalarField() [1/5]

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

Construct from patch and internal field.

Definition at line 31 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.

References p.

Referenced by greyDiffusiveViewFactorFixedValueFvPatchScalarField(), greyDiffusiveViewFactorFixedValueFvPatchScalarField(), greyDiffusiveViewFactorFixedValueFvPatchScalarField(), rmap(), and TypeName().

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

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

Here is the call graph for this function:

◆ greyDiffusiveViewFactorFixedValueFvPatchScalarField() [3/5]

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

Construct by mapping given a.

greyDiffusiveViewFactorFixedValueFvPatchScalarField onto a new patch

Definition at line 43 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.

References greyDiffusiveViewFactorFixedValueFvPatchScalarField(), and p.

Here is the call graph for this function:

◆ greyDiffusiveViewFactorFixedValueFvPatchScalarField() [4/5]

greyDiffusiveViewFactorFixedValueFvPatchScalarField ( const greyDiffusiveViewFactorFixedValueFvPatchScalarField & ptf)

Construct as copy.

Definition at line 75 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.

References greyDiffusiveViewFactorFixedValueFvPatchScalarField().

Here is the call graph for this function:

◆ greyDiffusiveViewFactorFixedValueFvPatchScalarField() [5/5]

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

Construct as copy setting internal field reference.

Definition at line 86 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.

References greyDiffusiveViewFactorFixedValueFvPatchScalarField().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "greyDiffusiveRadiationViewFactor" )

Runtime type information.

References greyDiffusiveViewFactorFixedValueFvPatchScalarField().

Here is the call graph for this function:

◆ clone() [1/2]

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

Return a clone.

Definition at line 158 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.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 166 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.H.

References fvPatchField< Type >::Clone().

Here is the call graph for this function:

◆ qro()

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

Return external + solar load radiative heat flux.

Definition at line 153 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.

References Foam::name(), name, and tmp< T >::New().

Here is the call graph for this function:

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 126 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.

References Foam::endl(), Foam::gAverage(), Foam::gMinMax(), Foam::gWeightedSum(), Foam::Info, and limits.

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

References greyDiffusiveViewFactorFixedValueFvPatchScalarField(), and Foam::refCast().

Here is the call graph for this function:

◆ write()

void write ( Ostream & os) const
virtual

Write.

Definition at line 185 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.

References os(), and fixedValueFvPatchField< Type >::write().

Here is the call graph for this function:

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