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 &) | |
Copy constructor. More... | |
virtual tmp< fvPatchScalarField > | clone () const |
Construct and return a clone. More... | |
greyDiffusiveViewFactorFixedValueFvPatchScalarField (const greyDiffusiveViewFactorFixedValueFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
Copy constructor 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... | |
const scalarList & | qro () |
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... | |
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 | |
emissivityMode | emissivity mode: solidRadiation or lookup | yes |
Example of the boundary condition specification:
<patchName> { type greyDiffusiveRadiationViewFactor; qro uniform 0; emissivityMode solidRadiation; value uniform 0; }
Definition at line 89 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(), and greyDiffusiveViewFactorFixedValueFvPatchScalarField::greyDiffusiveViewFactorFixedValueFvPatchScalarField().
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().
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.
References greyDiffusiveViewFactorFixedValueFvPatchScalarField::greyDiffusiveViewFactorFixedValueFvPatchScalarField().
greyDiffusiveViewFactorFixedValueFvPatchScalarField | ( | const greyDiffusiveViewFactorFixedValueFvPatchScalarField & | ptf | ) |
Copy constructor.
Definition at line 97 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.
References greyDiffusiveViewFactorFixedValueFvPatchScalarField::greyDiffusiveViewFactorFixedValueFvPatchScalarField().
greyDiffusiveViewFactorFixedValueFvPatchScalarField | ( | const greyDiffusiveViewFactorFixedValueFvPatchScalarField & | ptf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Copy constructor setting internal field reference.
Definition at line 114 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.
References greyDiffusiveViewFactorFixedValueFvPatchScalarField::autoMap().
TypeName | ( | "greyDiffusiveRadiationViewFactor" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 140 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.H.
References greyDiffusiveViewFactorFixedValueFvPatchScalarField::greyDiffusiveViewFactorFixedValueFvPatchScalarField().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 157 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.H.
References greyDiffusiveViewFactorFixedValueFvPatchScalarField::greyDiffusiveViewFactorFixedValueFvPatchScalarField().
|
inline |
Return external radiative heat flux.
Definition at line 177 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.H.
References greyDiffusiveViewFactorFixedValueFvPatchScalarField::autoMap(), greyDiffusiveViewFactorFixedValueFvPatchScalarField::rmap(), greyDiffusiveViewFactorFixedValueFvPatchScalarField::updateCoeffs(), and greyDiffusiveViewFactorFixedValueFvPatchScalarField::write().
Referenced by viewFactor::calculate().
|
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().
|
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().
|
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().
|
virtual |
Write.
Definition at line 184 of file greyDiffusiveViewFactorFixedValueFvPatchScalarField.C.
References Foam::makePatchTypeField(), Foam::blockMeshTools::write(), radiationCoupledBase::write(), and Foam::writeEntry().
Referenced by greyDiffusiveViewFactorFixedValueFvPatchScalarField::qro(), and greyDiffusiveViewFactorFixedValueFvPatchScalarField::updateCoeffs().