A 'mixed' boundary condition that implements a Marshak condition for the incident radiation field (usually written as G) More...
Public Member Functions | |
TypeName ("MarshakRadiation") | |
Runtime type information. More... | |
MarshakRadiationFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. More... | |
MarshakRadiationFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
MarshakRadiationFvPatchScalarField (const MarshakRadiationFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given MarshakRadiationFvPatchField onto a new. More... | |
MarshakRadiationFvPatchScalarField (const MarshakRadiationFvPatchScalarField &) | |
Copy constructor. More... | |
virtual tmp< fvPatchScalarField > | clone () const |
Construct and return a clone. More... | |
MarshakRadiationFvPatchScalarField (const MarshakRadiationFvPatchScalarField &, 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... | |
A 'mixed' boundary condition that implements a Marshak condition for the incident radiation field (usually written as G)
The radiation temperature is retrieved from the mesh database, using a user specified temperature field name.
Property | Description | Required | Default value |
---|---|---|---|
T | temperature field name | no | T |
Example of the boundary condition specification:
<patchName> { type MarshakRadiation; T T; value uniform 0; }
Definition at line 83 of file MarshakRadiationFvPatchScalarField.H.
MarshakRadiationFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 36 of file MarshakRadiationFvPatchScalarField.C.
Referenced by MarshakRadiationFvPatchScalarField::clone(), and MarshakRadiationFvPatchScalarField::MarshakRadiationFvPatchScalarField().
MarshakRadiationFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 72 of file MarshakRadiationFvPatchScalarField.C.
References dictionary::found(), MarshakRadiationFvPatchScalarField::MarshakRadiationFvPatchScalarField(), scalarField(), and fvPatch::size().
MarshakRadiationFvPatchScalarField | ( | const MarshakRadiationFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given MarshakRadiationFvPatchField onto a new.
patch
Definition at line 52 of file MarshakRadiationFvPatchScalarField.C.
References MarshakRadiationFvPatchScalarField::MarshakRadiationFvPatchScalarField().
Copy constructor.
Definition at line 101 of file MarshakRadiationFvPatchScalarField.C.
References MarshakRadiationFvPatchScalarField::MarshakRadiationFvPatchScalarField().
MarshakRadiationFvPatchScalarField | ( | const MarshakRadiationFvPatchScalarField & | ptf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Copy constructor setting internal field reference.
Definition at line 117 of file MarshakRadiationFvPatchScalarField.C.
References MarshakRadiationFvPatchScalarField::autoMap().
TypeName | ( | "MarshakRadiation" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 135 of file MarshakRadiationFvPatchScalarField.H.
References MarshakRadiationFvPatchScalarField::MarshakRadiationFvPatchScalarField().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 152 of file MarshakRadiationFvPatchScalarField.H.
References MarshakRadiationFvPatchScalarField::MarshakRadiationFvPatchScalarField().
|
inline |
Return the temperature field name.
Definition at line 168 of file MarshakRadiationFvPatchScalarField.H.
References MarshakRadiationFvPatchScalarField::autoMap(), MarshakRadiationFvPatchScalarField::rmap(), MarshakRadiationFvPatchScalarField::updateCoeffs(), and MarshakRadiationFvPatchScalarField::write().
|
inline |
Return reference to the temperature field name to allow.
adjustment
Definition at line 175 of file MarshakRadiationFvPatchScalarField.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 136 of file MarshakRadiationFvPatchScalarField.C.
References MarshakRadiationFvPatchScalarField::rmap().
Referenced by MarshakRadiationFvPatchScalarField::MarshakRadiationFvPatchScalarField(), and MarshakRadiationFvPatchScalarField::TName().
|
virtual |
Reverse map the given fvPatchField onto this fvPatchField.
Used to reconstruct fields
Reimplemented from radiationCoupledBase.
Definition at line 146 of file MarshakRadiationFvPatchScalarField.C.
Referenced by MarshakRadiationFvPatchScalarField::autoMap(), and MarshakRadiationFvPatchScalarField::TName().
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 156 of file MarshakRadiationFvPatchScalarField.C.
References radiationCoupledBase::emissivity(), UPstream::msgType(), Foam::pow4(), Foam::constant::physicoChemical::sigma, dimensioned< Type >::value(), and MarshakRadiationFvPatchScalarField::write().
Referenced by MarshakRadiationFvPatchScalarField::TName().
|
virtual |
Write.
Definition at line 194 of file MarshakRadiationFvPatchScalarField.C.
References Foam::makePatchTypeField(), Foam::blockMeshTools::write(), and radiationCoupledBase::write().
Referenced by MarshakRadiationFvPatchScalarField::TName(), and MarshakRadiationFvPatchScalarField::updateCoeffs().