A 'mixed' boundary condition that implements a Marshak condition for the incident radiation field (usually written as G) More...
Public Member Functions | |
TypeName ("MarshakRadiationFixedTemperature") | |
Runtime type information. More... | |
MarshakRadiationFixedTemperatureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. More... | |
MarshakRadiationFixedTemperatureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
MarshakRadiationFixedTemperatureFvPatchScalarField (const MarshakRadiationFixedTemperatureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given MarshakRadiationFvPatchField onto a new. More... | |
MarshakRadiationFixedTemperatureFvPatchScalarField (const MarshakRadiationFixedTemperatureFvPatchScalarField &) | |
Construct as copy. More... | |
virtual tmp< fvPatchScalarField > | clone () const |
Construct and return a clone. More... | |
MarshakRadiationFixedTemperatureFvPatchScalarField (const MarshakRadiationFixedTemperatureFvPatchScalarField &, 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 scalarField & | Trad () const |
Return the radiation temperature. More... | |
scalarField & | Trad () |
Return reference to the radiation temperature 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... | |
A 'mixed' boundary condition that implements a Marshak condition for the incident radiation field (usually written as G)
The radiation temperature field across the patch is supplied by the user using the Trad
entry.
Property | Description | Required | Default value |
---|---|---|---|
T | temperature field name | no | T |
Example of the boundary condition specification:
<patchName> { type MarshakRadiationFixedTemperature; Trad uniform 1000; // radiation temperature field value uniform 0; // place holder }
Definition at line 86 of file MarshakRadiationFixedTemperatureFvPatchScalarField.H.
MarshakRadiationFixedTemperatureFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 37 of file MarshakRadiationFixedTemperatureFvPatchScalarField.C.
Referenced by MarshakRadiationFixedTemperatureFvPatchScalarField::clone(), and MarshakRadiationFixedTemperatureFvPatchScalarField::MarshakRadiationFixedTemperatureFvPatchScalarField().
MarshakRadiationFixedTemperatureFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 75 of file MarshakRadiationFixedTemperatureFvPatchScalarField.C.
References MarshakRadiationFixedTemperatureFvPatchScalarField::MarshakRadiationFixedTemperatureFvPatchScalarField(), Foam::pow4(), Foam::constant::physicoChemical::sigma, and dimensioned< Type >::value().
MarshakRadiationFixedTemperatureFvPatchScalarField | ( | const MarshakRadiationFixedTemperatureFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given MarshakRadiationFvPatchField onto a new.
patch
Definition at line 54 of file MarshakRadiationFixedTemperatureFvPatchScalarField.C.
References MarshakRadiationFixedTemperatureFvPatchScalarField::MarshakRadiationFixedTemperatureFvPatchScalarField().
MarshakRadiationFixedTemperatureFvPatchScalarField | ( | const MarshakRadiationFixedTemperatureFvPatchScalarField & | ptf | ) |
Construct as copy.
Definition at line 99 of file MarshakRadiationFixedTemperatureFvPatchScalarField.C.
References MarshakRadiationFixedTemperatureFvPatchScalarField::MarshakRadiationFixedTemperatureFvPatchScalarField().
MarshakRadiationFixedTemperatureFvPatchScalarField | ( | const MarshakRadiationFixedTemperatureFvPatchScalarField & | ptf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 116 of file MarshakRadiationFixedTemperatureFvPatchScalarField.C.
References MarshakRadiationFixedTemperatureFvPatchScalarField::autoMap().
TypeName | ( | "MarshakRadiationFixedTemperature" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 138 of file MarshakRadiationFixedTemperatureFvPatchScalarField.H.
References MarshakRadiationFixedTemperatureFvPatchScalarField::MarshakRadiationFixedTemperatureFvPatchScalarField().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 155 of file MarshakRadiationFixedTemperatureFvPatchScalarField.H.
References MarshakRadiationFixedTemperatureFvPatchScalarField::MarshakRadiationFixedTemperatureFvPatchScalarField().
|
inline |
Return the radiation temperature.
Definition at line 175 of file MarshakRadiationFixedTemperatureFvPatchScalarField.H.
References MarshakRadiationFixedTemperatureFvPatchScalarField::autoMap(), MarshakRadiationFixedTemperatureFvPatchScalarField::rmap(), MarshakRadiationFixedTemperatureFvPatchScalarField::updateCoeffs(), and MarshakRadiationFixedTemperatureFvPatchScalarField::write().
|
inline |
Return reference to the radiation temperature to allow.
adjustment
Definition at line 182 of file MarshakRadiationFixedTemperatureFvPatchScalarField.H.
|
virtual |
Map (and resize as needed) from self given a mapping object.
Reimplemented from radiationCoupledBase.
Definition at line 135 of file MarshakRadiationFixedTemperatureFvPatchScalarField.C.
References MarshakRadiationFixedTemperatureFvPatchScalarField::rmap().
Referenced by MarshakRadiationFixedTemperatureFvPatchScalarField::MarshakRadiationFixedTemperatureFvPatchScalarField(), and MarshakRadiationFixedTemperatureFvPatchScalarField::Trad().
|
virtual |
Reverse map the given fvPatchField onto this fvPatchField.
Reimplemented from radiationCoupledBase.
Definition at line 146 of file MarshakRadiationFixedTemperatureFvPatchScalarField.C.
References MarshakRadiationFixedTemperatureFvPatchScalarField::rmap().
Referenced by MarshakRadiationFixedTemperatureFvPatchScalarField::autoMap(), MarshakRadiationFixedTemperatureFvPatchScalarField::rmap(), and MarshakRadiationFixedTemperatureFvPatchScalarField::Trad().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 160 of file MarshakRadiationFixedTemperatureFvPatchScalarField.C.
References radiationCoupledBase::emissivity(), UPstream::msgType(), Foam::pow4(), Foam::constant::physicoChemical::sigma, dimensioned< Type >::value(), and MarshakRadiationFixedTemperatureFvPatchScalarField::write().
Referenced by MarshakRadiationFixedTemperatureFvPatchScalarField::Trad().
|
virtual |
Write.
Definition at line 194 of file MarshakRadiationFixedTemperatureFvPatchScalarField.C.
References Foam::makePatchTypeField(), write(), radiationCoupledBase::write(), and Field< Type >::writeEntry().
Referenced by MarshakRadiationFixedTemperatureFvPatchScalarField::Trad(), and MarshakRadiationFixedTemperatureFvPatchScalarField::updateCoeffs().