This boundary condition provides a grey-diffuse condition for radiation intensity, I
, for use with the finite-volume discrete-ordinates model (fvDOM), in which the radiation temperature is retrieved from the temperature field boundary condition.
More...
Public Member Functions | |
TypeName ("greyDiffusiveRadiation") | |
Runtime type information. More... | |
greyDiffusiveRadiationMixedFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. More... | |
greyDiffusiveRadiationMixedFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
greyDiffusiveRadiationMixedFvPatchScalarField (const greyDiffusiveRadiationMixedFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given a. More... | |
greyDiffusiveRadiationMixedFvPatchScalarField (const greyDiffusiveRadiationMixedFvPatchScalarField &) | |
Construct as copy. More... | |
virtual tmp< fvPatchScalarField > | clone () const |
Construct and return a clone. More... | |
greyDiffusiveRadiationMixedFvPatchScalarField (const greyDiffusiveRadiationMixedFvPatchScalarField &, 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... | |
const word & | TName () const |
Return the temperature field name. More... | |
word & | TName () |
Return reference to the temperature field name to allow. More... | |
virtual void | updateCoeffs () |
Update the coefficients associated with the patch field. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
Private Attributes | |
word | TName_ |
Name of temperature field. More... | |
bool | solarLoad_ |
Activate solar load. More... | |
This boundary condition provides a grey-diffuse condition for radiation intensity, I
, for use with the finite-volume discrete-ordinates model (fvDOM), in which the radiation temperature is retrieved from the temperature field boundary condition.
Property | Description | Required | Default value |
---|---|---|---|
T | temperature field name | no | T |
Example of the boundary condition specification:
myPatch { type greyDiffusiveRadiation; T T; value uniform 0; }
Definition at line 88 of file greyDiffusiveRadiationMixedFvPatchScalarField.H.
greyDiffusiveRadiationMixedFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 42 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.
Referenced by greyDiffusiveRadiationMixedFvPatchScalarField::clone().
greyDiffusiveRadiationMixedFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 74 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.
References dict, fvPatchField::operator, fvPatchField::operator=(), and p.
greyDiffusiveRadiationMixedFvPatchScalarField | ( | const greyDiffusiveRadiationMixedFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given a.
greyDiffusiveRadiationMixedFvPatchScalarField onto a new patch
Definition at line 59 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.
greyDiffusiveRadiationMixedFvPatchScalarField | ( | const greyDiffusiveRadiationMixedFvPatchScalarField & | ptf | ) |
Construct as copy.
Definition at line 107 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.
greyDiffusiveRadiationMixedFvPatchScalarField | ( | const greyDiffusiveRadiationMixedFvPatchScalarField & | ptf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 119 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.
TypeName | ( | "greyDiffusiveRadiation" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 141 of file greyDiffusiveRadiationMixedFvPatchScalarField.H.
References greyDiffusiveRadiationMixedFvPatchScalarField::greyDiffusiveRadiationMixedFvPatchScalarField().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 158 of file greyDiffusiveRadiationMixedFvPatchScalarField.H.
References greyDiffusiveRadiationMixedFvPatchScalarField::greyDiffusiveRadiationMixedFvPatchScalarField().
|
inline |
Return the temperature field name.
Definition at line 174 of file greyDiffusiveRadiationMixedFvPatchScalarField.H.
References greyDiffusiveRadiationMixedFvPatchScalarField::TName_.
|
inline |
Return reference to the temperature field name to allow.
adjustment
Definition at line 181 of file greyDiffusiveRadiationMixedFvPatchScalarField.H.
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 133 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.
References GeometricField::boundaryField(), radiativeIntensityRay::dAve(), dimensionedInternalField(), boundaryRadiationProperties::emissivity(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, mesh, UPstream::msgType(), n, Foam::name(), Foam::compressible::New(), Foam::nl, Foam::constant::mathematical::pi(), Foam::pow4(), radiativeIntensityRay::Qem(), radiativeIntensityRay::Qin(), radiativeIntensityRay::Qr(), radiation(), and Foam::constant::physicoChemical::sigma.
|
virtual |
Write.
Definition at line 246 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.
References token::END_STATEMENT, Foam::nl, write(), and Ostream::writeKeyword().
|
private |
Name of temperature field.
Definition at line 95 of file greyDiffusiveRadiationMixedFvPatchScalarField.H.
Referenced by greyDiffusiveRadiationMixedFvPatchScalarField::TName().
|
private |
Activate solar load.
Definition at line 98 of file greyDiffusiveRadiationMixedFvPatchScalarField.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.