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 > &) | |
Construct from patch and internal field. 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 fvPatchFieldMapper &) | |
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 | 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 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 | ||
) |
Construct from patch and internal field.
Definition at line 42 of file wideBandDiffusiveRadiationMixedFvPatchScalarField.C.
Referenced by wideBandDiffusiveRadiationMixedFvPatchScalarField::clone(), and wideBandDiffusiveRadiationMixedFvPatchScalarField::wideBandDiffusiveRadiationMixedFvPatchScalarField().
wideBandDiffusiveRadiationMixedFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 59 of file wideBandDiffusiveRadiationMixedFvPatchScalarField.C.
References dictionary::found(), fvPatchField< Type >::operator, fvPatchField< Type >::operator=(), Foam::constant::mathematical::pi(), Foam::pow4(), Foam::constant::physicoChemical::sigma, fvPatch::size(), dimensioned< Type >::value(), and wideBandDiffusiveRadiationMixedFvPatchScalarField::wideBandDiffusiveRadiationMixedFvPatchScalarField().
wideBandDiffusiveRadiationMixedFvPatchScalarField | ( | const wideBandDiffusiveRadiationMixedFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given GreyDiffusiveRadiationMixedFvPatchField.
onto a new patch
Definition at line 95 of file wideBandDiffusiveRadiationMixedFvPatchScalarField.C.
References wideBandDiffusiveRadiationMixedFvPatchScalarField::wideBandDiffusiveRadiationMixedFvPatchScalarField().
|
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 116 of file wideBandDiffusiveRadiationMixedFvPatchScalarField.C.
References wideBandDiffusiveRadiationMixedFvPatchScalarField::autoMap().
TypeName | ( | "wideBandDiffusiveRadiation" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 138 of file wideBandDiffusiveRadiationMixedFvPatchScalarField.H.
References wideBandDiffusiveRadiationMixedFvPatchScalarField::wideBandDiffusiveRadiationMixedFvPatchScalarField().
|
inline |
Return the temperature field name.
Definition at line 154 of file wideBandDiffusiveRadiationMixedFvPatchScalarField.H.
References wideBandDiffusiveRadiationMixedFvPatchScalarField::autoMap(), wideBandDiffusiveRadiationMixedFvPatchScalarField::rmap(), wideBandDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), and wideBandDiffusiveRadiationMixedFvPatchScalarField::write().
|
inline |
Return reference to the temperature field name to allow.
adjustment
Definition at line 161 of file wideBandDiffusiveRadiationMixedFvPatchScalarField.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 135 of file wideBandDiffusiveRadiationMixedFvPatchScalarField.C.
References radiationCoupledBase::autoMap(), and wideBandDiffusiveRadiationMixedFvPatchScalarField::rmap().
Referenced by wideBandDiffusiveRadiationMixedFvPatchScalarField::TName(), and wideBandDiffusiveRadiationMixedFvPatchScalarField::wideBandDiffusiveRadiationMixedFvPatchScalarField().
|
virtual |
Reverse map the given fvPatchField onto this fvPatchField.
Used to reconstruct fields
Reimplemented from radiationCoupledBase.
Definition at line 145 of file wideBandDiffusiveRadiationMixedFvPatchScalarField.C.
References radiationCoupledBase::rmap().
Referenced by wideBandDiffusiveRadiationMixedFvPatchScalarField::autoMap(), and wideBandDiffusiveRadiationMixedFvPatchScalarField::TName().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 155 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::name(), Foam::nl, fvDOM::nLambda(), fvDOM::nRay(), patchi, Foam::constant::mathematical::pi(), radiativeIntensityRay::qem(), radiativeIntensityRay::qin(), radiativeIntensityRay::qr(), fvDOM::setRayIdLambdaId(), and wideBandDiffusiveRadiationMixedFvPatchScalarField::write().
Referenced by wideBandDiffusiveRadiationMixedFvPatchScalarField::TName().
|
virtual |
Write.
Definition at line 250 of file wideBandDiffusiveRadiationMixedFvPatchScalarField.C.
References Foam::makePatchTypeField(), Foam::vtkWriteOps::write(), and radiationCoupledBase::write().
Referenced by wideBandDiffusiveRadiationMixedFvPatchScalarField::TName(), and wideBandDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs().