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 &)=delete | |
Disallow copy without setting internal field reference. More... | |
greyDiffusiveRadiationMixedFvPatchScalarField (const greyDiffusiveRadiationMixedFvPatchScalarField &, 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 word & | TName () const |
Return the temperature field name. More... | |
word & | TName () |
Return reference to the temperature field name to allow. 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 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 |
emissivityMode | emissivity mode: solidRadiation or lookup | yes |
Example of the boundary condition specification:
<patchName> { type greyDiffusiveRadiation; T T; emissivityMode solidRadiation; value uniform 0; }
Definition at line 91 of file greyDiffusiveRadiationMixedFvPatchScalarField.H.
greyDiffusiveRadiationMixedFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 41 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.
Referenced by greyDiffusiveRadiationMixedFvPatchScalarField::clone(), and greyDiffusiveRadiationMixedFvPatchScalarField::greyDiffusiveRadiationMixedFvPatchScalarField().
greyDiffusiveRadiationMixedFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 58 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.
References dictionary::found(), greyDiffusiveRadiationMixedFvPatchScalarField::greyDiffusiveRadiationMixedFvPatchScalarField(), fvPatchField< Type >::operator, fvPatchField< Type >::operator=(), and fvPatch::size().
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 91 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.
References greyDiffusiveRadiationMixedFvPatchScalarField::greyDiffusiveRadiationMixedFvPatchScalarField().
|
delete |
Disallow copy without setting internal field reference.
greyDiffusiveRadiationMixedFvPatchScalarField | ( | const greyDiffusiveRadiationMixedFvPatchScalarField & | ptf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Copy constructor setting internal field reference.
Definition at line 112 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.
References greyDiffusiveRadiationMixedFvPatchScalarField::autoMap().
TypeName | ( | "greyDiffusiveRadiation" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 150 of file greyDiffusiveRadiationMixedFvPatchScalarField.H.
References greyDiffusiveRadiationMixedFvPatchScalarField::greyDiffusiveRadiationMixedFvPatchScalarField().
|
inline |
Return the temperature field name.
Definition at line 166 of file greyDiffusiveRadiationMixedFvPatchScalarField.H.
References greyDiffusiveRadiationMixedFvPatchScalarField::autoMap(), greyDiffusiveRadiationMixedFvPatchScalarField::rmap(), greyDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), and greyDiffusiveRadiationMixedFvPatchScalarField::write().
|
inline |
Return reference to the temperature field name to allow.
adjustment
Definition at line 173 of file greyDiffusiveRadiationMixedFvPatchScalarField.H.
|
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 131 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.
References radiationCoupledBase::autoMap(), and greyDiffusiveRadiationMixedFvPatchScalarField::rmap().
Referenced by greyDiffusiveRadiationMixedFvPatchScalarField::greyDiffusiveRadiationMixedFvPatchScalarField(), and greyDiffusiveRadiationMixedFvPatchScalarField::TName().
|
virtual |
Reverse map the given fvPatchField onto this fvPatchField.
Used to reconstruct fields
Reimplemented from radiationCoupledBase.
Definition at line 141 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.
References radiationCoupledBase::rmap().
Referenced by greyDiffusiveRadiationMixedFvPatchScalarField::autoMap(), and greyDiffusiveRadiationMixedFvPatchScalarField::TName().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 151 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), radiativeIntensityRay::dAve(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, UPstream::msgType(), n, Foam::name(), Foam::nl, patchi, Foam::constant::mathematical::pi(), Foam::pow4(), radiativeIntensityRay::qem(), radiativeIntensityRay::qin(), radiativeIntensityRay::qr(), fvDOM::setRayIdLambdaId(), Foam::constant::physicoChemical::sigma, and greyDiffusiveRadiationMixedFvPatchScalarField::write().
Referenced by greyDiffusiveRadiationMixedFvPatchScalarField::TName().
|
virtual |
Write.
Definition at line 245 of file greyDiffusiveRadiationMixedFvPatchScalarField.C.
References Foam::makePatchTypeField(), Foam::vtkWriteOps::write(), and radiationCoupledBase::write().
Referenced by greyDiffusiveRadiationMixedFvPatchScalarField::TName(), and greyDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs().