This boundary condition provides a wide-band, diffusive radiation condition, where the patch temperature is specified. More...
Public Member Functions | |
TypeName ("wideBandDiffusiveRadiation") | |
Runtime type information. More... | |
wideBandDiffusiveRadiationMixedFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
wideBandDiffusiveRadiationMixedFvPatchScalarField (const wideBandDiffusiveRadiationMixedFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fieldMapper &) | |
Construct by mapping given GreyDiffusiveRadiationMixedFvPatchField. More... | |
wideBandDiffusiveRadiationMixedFvPatchScalarField (const wideBandDiffusiveRadiationMixedFvPatchScalarField &)=delete | |
Disallow copy without setting internal field reference. More... | |
wideBandDiffusiveRadiationMixedFvPatchScalarField (const wideBandDiffusiveRadiationMixedFvPatchScalarField &, 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 | map (const fvPatchScalarField &, const fieldMapper &) |
Map the given fvPatchField onto this fvPatchField. More... | |
virtual void | reset (const fvPatchScalarField &) |
Reset the fvPatchField to the given 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 fieldMapper &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... | |
tmp< 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 } |
Emissivity methods. More... | |
Static Public Attributes inherited from radiationCoupledBase | |
static const NamedEnum< emissivityMethodType, 2 > | emissivityMethodTypeNames_ |
Names of emissivity methods. More... | |
Protected Attributes inherited from radiationCoupledBase | |
const emissivityMethodType | method_ |
How to get emissivity. More... | |
scalarField | emissivity_ |
Emissivity. Cached locally when looked up. More... | |
This boundary condition provides a wide-band, diffusive radiation condition, where the patch temperature is specified.
Property | Description | Required | Default value |
---|---|---|---|
T | temperature field name | no | T |
Example of the boundary condition specification:
<patchName> { type wideBandDiffusiveRadiation; value uniform 0; }
Definition at line 79 of file wideBandDiffusiveRadiationMixedFvPatchScalarField.H.
wideBandDiffusiveRadiationMixedFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 40 of file wideBandDiffusiveRadiationMixedFvPatchScalarField.C.
References dict, DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimLength, radiationCoupledBase::emissivity(), fvPatchField< Type >::operator, fvPatchField< Type >::operator=(), p, Foam::constant::mathematical::pi(), Foam::pow4(), Foam::constant::physicoChemical::sigma, Foam::unitFraction, and dimensioned< Type >::value().
Referenced by wideBandDiffusiveRadiationMixedFvPatchScalarField::clone().
wideBandDiffusiveRadiationMixedFvPatchScalarField | ( | const wideBandDiffusiveRadiationMixedFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fieldMapper & | mapper | ||
) |
Construct by mapping given GreyDiffusiveRadiationMixedFvPatchField.
onto a new patch
Definition at line 85 of file wideBandDiffusiveRadiationMixedFvPatchScalarField.C.
|
delete |
Disallow copy without setting internal field reference.
wideBandDiffusiveRadiationMixedFvPatchScalarField | ( | const wideBandDiffusiveRadiationMixedFvPatchScalarField & | ptf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Copy constructor setting internal field reference.
Definition at line 106 of file wideBandDiffusiveRadiationMixedFvPatchScalarField.C.
TypeName | ( | "wideBandDiffusiveRadiation" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 130 of file wideBandDiffusiveRadiationMixedFvPatchScalarField.H.
References wideBandDiffusiveRadiationMixedFvPatchScalarField::wideBandDiffusiveRadiationMixedFvPatchScalarField().
|
inline |
Return the temperature field name.
Definition at line 147 of file wideBandDiffusiveRadiationMixedFvPatchScalarField.H.
|
inline |
Return reference to the temperature field name to allow.
adjustment
Definition at line 154 of file wideBandDiffusiveRadiationMixedFvPatchScalarField.H.
|
virtual |
Map the given fvPatchField onto this fvPatchField.
Reimplemented from radiationCoupledBase.
Definition at line 126 of file wideBandDiffusiveRadiationMixedFvPatchScalarField.C.
References radiationCoupledBase::map().
|
virtual |
Reset the fvPatchField to the given fvPatchField.
Used for mesh to mesh mapping
Reimplemented from radiationCoupledBase.
Definition at line 137 of file wideBandDiffusiveRadiationMixedFvPatchScalarField.C.
References radiationCoupledBase::reset().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 147 of file wideBandDiffusiveRadiationMixedFvPatchScalarField.C.
References fvDOM::blackBody(), blackBodyEmission::bLambda(), GeometricField< Type, PatchField, GeoMesh >::boundaryField(), GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), radiativeIntensityRay::d(), radiativeIntensityRay::dAve(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, fvDOM::IRay(), UPstream::msgType(), n, Foam::nl, fvDOM::nLambda(), fvDOM::nRay(), patchi, Foam::constant::mathematical::pi(), radiativeIntensityRay::qem(), radiativeIntensityRay::qin(), radiativeIntensityRay::qr(), and fvDOM::setRayIdLambdaId().
|
virtual |
Write.
Definition at line 241 of file wideBandDiffusiveRadiationMixedFvPatchScalarField.C.
References radiationCoupledBase::write(), and Foam::vtkWriteOps::write().