Common functions to emissivity. It gets supplied from lookup into a dictionary or calculated by the solidThermo: More...
Public Types | |
enum | emissivityMethodType { SOLIDRADIATION, LOOKUP } |
Type of supplied emissivity. More... | |
Public Member Functions | |
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... | |
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... | |
void | write (Ostream &) const |
Write. More... | |
Protected Attributes | |
const emissivityMethodType | method_ |
How to get emissivity. More... | |
scalarField | emissivity_ |
Emissivity. More... | |
Common functions to emissivity. It gets supplied from lookup into a dictionary or calculated by the solidThermo:
- 'lookup' : Read the patch emissivity field from the dictionary
Definition at line 55 of file radiationCoupledBase.H.
enum emissivityMethodType |
Type of supplied emissivity.
Enumerator | |
---|---|
SOLIDRADIATION | |
LOOKUP |
Definition at line 60 of file radiationCoupledBase.H.
radiationCoupledBase | ( | const fvPatch & | patch, |
const word & | calculationMethod, | ||
const scalarField & | emissivity | ||
) |
Construct from patch, emissivity mode and emissivity.
Definition at line 62 of file radiationCoupledBase.C.
Referenced by NamedEnum< directionType, 3 >::names(), and radiationCoupledBase::radiationCoupledBase().
radiationCoupledBase | ( | const fvPatch & | patch, |
const word & | calculationMethod, | ||
const scalarField & | emissivity, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct from patch, emissivity mode and emissivity and mapper.
Definition at line 75 of file radiationCoupledBase.C.
References radiationCoupledBase::radiationCoupledBase().
radiationCoupledBase | ( | const fvPatch & | patch, |
const dictionary & | dict | ||
) |
Construct from patch and dictionary.
Definition at line 89 of file radiationCoupledBase.C.
References Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, and dictionary::found().
|
virtual |
Destructor.
Definition at line 139 of file radiationCoupledBase.C.
TypeName | ( | "radiationCoupledBase" | ) |
Runtime type information.
|
inline |
Method to obtain emissivity.
Definition at line 132 of file radiationCoupledBase.H.
References radiationCoupledBase::autoMap(), radiationCoupledBase::emissivity(), radiationCoupledBase::method_, radiationCoupledBase::rmap(), and radiationCoupledBase::write().
Foam::scalarField emissivity | ( | ) | const |
Calculate corresponding emissivity field.
Definition at line 145 of file radiationCoupledBase.C.
References radiationModel::absorptionEmission(), mappedPatchBase::distribute(), absorptionEmissionModel::e(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, patchIdentifier::index(), radiation(), mappedPatchBase::sampleMesh(), and mappedPatchBase::samplePolyPatch().
Referenced by viewFactor::calculate(), radiationCoupledBase::emissivityMethod(), MarshakRadiationFvPatchScalarField::updateCoeffs(), and MarshakRadiationFixedTemperatureFvPatchScalarField::updateCoeffs().
|
virtual |
Map (and resize as needed) from self given a mapping object.
Used to update fields following mesh topology change
Reimplemented in greyDiffusiveRadiationMixedFvPatchScalarField, MarshakRadiationFixedTemperatureFvPatchScalarField, greyDiffusiveViewFactorFixedValueFvPatchScalarField, MarshakRadiationFvPatchScalarField, and wideBandDiffusiveRadiationMixedFvPatchScalarField.
Definition at line 205 of file radiationCoupledBase.C.
References radiationCoupledBase::rmap().
Referenced by wideBandDiffusiveRadiationMixedFvPatchScalarField::autoMap(), greyDiffusiveRadiationMixedFvPatchScalarField::autoMap(), and radiationCoupledBase::emissivityMethod().
|
virtual |
Reverse map the given fvPatchField onto this fvPatchField.
Used to reconstruct fields
Reimplemented in greyDiffusiveRadiationMixedFvPatchScalarField, MarshakRadiationFixedTemperatureFvPatchScalarField, greyDiffusiveViewFactorFixedValueFvPatchScalarField, MarshakRadiationFvPatchScalarField, and wideBandDiffusiveRadiationMixedFvPatchScalarField.
Definition at line 212 of file radiationCoupledBase.C.
References radiationCoupledBase::emissivity_, and radiationCoupledBase::rmap().
Referenced by radiationCoupledBase::autoMap(), radiationCoupledBase::emissivityMethod(), radiationCoupledBase::rmap(), wideBandDiffusiveRadiationMixedFvPatchScalarField::rmap(), and greyDiffusiveRadiationMixedFvPatchScalarField::rmap().
void write | ( | Ostream & | os | ) | const |
Write.
Definition at line 224 of file radiationCoupledBase.C.
References Foam::writeEntry().
Referenced by radiationCoupledBase::emissivityMethod(), wideBandDiffusiveRadiationMixedFvPatchScalarField::write(), MarshakRadiationFvPatchScalarField::write(), greyDiffusiveViewFactorFixedValueFvPatchScalarField::write(), MarshakRadiationFixedTemperatureFvPatchScalarField::write(), and greyDiffusiveRadiationMixedFvPatchScalarField::write().
|
protected |
How to get emissivity.
Definition at line 83 of file radiationCoupledBase.H.
Referenced by radiationCoupledBase::emissivityMethod().
|
protected |
Emissivity.
Cached locally when is read from dictionary (lookup mode)
Definition at line 87 of file radiationCoupledBase.H.
Referenced by radiationCoupledBase::rmap().