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 greyDiffusiveRadiationMixedFvPatchScalarField onto a new patch. 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 noexcept |
| Return the temperature field name. More... | |
| word & | TName () noexcept |
| Return reference to the temperature field name to allow adjustment. More... | |
| virtual void | updateCoeffs () |
| Update the coefficients associated with the patch field. More... | |
| virtual void | write (Ostream &) const |
| Write. 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.
An external radiative heat flux can be added using qRadExt. If qRadExtDir is specified, this ray closest to this direction is used. Otherwise, the face normal is used as direction to set qRadExt.
<patchName>
{
// Mandatory entries
type greyDiffusiveRadiation;
// Optional entries
T T;
qRadExt <scalar>;
qRadExtDir <vector>;
// Inherited entries
...
}
where the entries mean:
| Property | Description | Type | Reqd | Deflt |
|---|---|---|---|---|
type | Type name: greyDiffusiveRadiation | word | yes | - |
T | Name of temperature field | word | no | T |
qRadExt | Radiative external flux | scalar | no | Zero |
qRadExtDir | Radiative external flux direction | vector | no | Zero |
The inherited entries are elaborated in:
Definition at line 124 of file greyDiffusiveRadiationMixedFvPatchScalarField.H.
| greyDiffusiveRadiationMixedFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF | ||
| ) |
Construct from patch and internal field.
Definition at line 39 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.
References Foam::Zero.
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 73 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.
References dict, IOobjectOption::MUST_READ, fvPatchField< scalar >::operator=(), and Foam::Zero.

| 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 57 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.
| greyDiffusiveRadiationMixedFvPatchScalarField | ( | const greyDiffusiveRadiationMixedFvPatchScalarField & | ptf | ) |
Construct as copy.
Definition at line 102 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.
| greyDiffusiveRadiationMixedFvPatchScalarField | ( | const greyDiffusiveRadiationMixedFvPatchScalarField & | ptf, |
| const DimensionedField< scalar, volMesh > & | iF | ||
| ) |
Construct as copy setting internal field reference.
Definition at line 115 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.
| TypeName | ( | "greyDiffusiveRadiation" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 198 of file greyDiffusiveRadiationMixedFvPatchScalarField.H.
References greyDiffusiveRadiationMixedFvPatchScalarField::greyDiffusiveRadiationMixedFvPatchScalarField().

|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 219 of file greyDiffusiveRadiationMixedFvPatchScalarField.H.
References greyDiffusiveRadiationMixedFvPatchScalarField::greyDiffusiveRadiationMixedFvPatchScalarField().

|
inlinenoexcept |
Return the temperature field name.
Definition at line 237 of file greyDiffusiveRadiationMixedFvPatchScalarField.H.
|
inlinenoexcept |
Return reference to the temperature field name to allow adjustment.
Definition at line 246 of file greyDiffusiveRadiationMixedFvPatchScalarField.H.
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 130 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), radiativeIntensityRay::dAve(), boundaryRadiationProperties::emissivity(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::mag(), mesh, UPstream::msgType(), n, Foam::name(), MeshObject< fvMesh, Foam::GeometricMeshObject, boundaryRadiationProperties >::New(), Foam::nl, Foam::foamVersion::patch, Foam::constant::mathematical::pi(), Foam::pow4(), radiativeIntensityRay::qem(), radiativeIntensityRay::qin(), radiativeIntensityRay::qr(), fvDOM::setRayIdLambdaId(), Foam::constant::physicoChemical::sigma, boundaryRadiationProperties::transmissivity(), and Foam::Zero.

|
virtual |
Write.
Definition at line 360 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.
References os(), mixedFvPatchField< Type >::write(), and Foam::Zero.

Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.