This boundary condition provides a grey-diffuse condition for radiative heat flux, Qr
, for use with the view factor model.
More...
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< fvPatchScalarField > | clone () const |
Construct and return a clone. More... | |
greyDiffusiveViewFactorFixedValueFvPatchScalarField (const greyDiffusiveViewFactorFixedValueFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
Construct as copy setting internal field reference. More... | |
virtual tmp< fvPatchScalarField > | clone (const DimensionedField< scalar, volMesh > &iF) const |
Construct and return a clone setting internal field reference. More... | |
tmp< scalarField > | Qro () 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... | |
This boundary condition provides a grey-diffuse condition for radiative heat flux, Qr
, for use with the view factor model.
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; }
Definition at line 86 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.H.
greyDiffusiveViewFactorFixedValueFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 36 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.
Referenced by greyDiffusiveViewFactorFixedValueFvPatchScalarField::clone().
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().
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 49 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.
greyDiffusiveViewFactorFixedValueFvPatchScalarField | ( | const greyDiffusiveViewFactorFixedValueFvPatchScalarField & | ptf | ) |
Construct as copy.
Definition at line 91 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.
greyDiffusiveViewFactorFixedValueFvPatchScalarField | ( | const greyDiffusiveViewFactorFixedValueFvPatchScalarField & | ptf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 103 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.
TypeName | ( | "greyDiffusiveRadiationViewFactor" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 139 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.H.
References greyDiffusiveViewFactorFixedValueFvPatchScalarField::greyDiffusiveViewFactorFixedValueFvPatchScalarField().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 156 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.H.
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().
|
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.
|
virtual |
Write.
Definition at line 166 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.
References token::END_STATEMENT, Foam::nl, write(), and Ostream::writeKeyword().
|
private |
External radiative heat flux.
Definition at line 93 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.H.
|
private |
Activate solar load.
Definition at line 96 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.