Mixed boundary condition for temperature and radiation heat transfer to be used for in multiregion cases. Optional thin thermal layer resistances can be specified through thicknessLayers and kappaLayers entries. More...
Public Member Functions | |
TypeName ("compressible::turbulentTemperatureRadCoupledMixed") | |
Runtime type information. More... | |
turbulentTemperatureRadCoupledMixedFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. More... | |
turbulentTemperatureRadCoupledMixedFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
turbulentTemperatureRadCoupledMixedFvPatchScalarField (const turbulentTemperatureRadCoupledMixedFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given. More... | |
turbulentTemperatureRadCoupledMixedFvPatchScalarField (const turbulentTemperatureRadCoupledMixedFvPatchScalarField &, 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... | |
virtual void | updateCoeffs () |
Update the coefficients associated with the patch field. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
Public Member Functions inherited from temperatureCoupledBase | |
temperatureCoupledBase (const fvPatch &patch) | |
Construct from patch. More... | |
temperatureCoupledBase (const fvPatch &patch, const dictionary &dict) | |
Construct from patch and dictionary. More... | |
temperatureCoupledBase (const fvPatch &patch, const temperatureCoupledBase &base) | |
Construct from patch and temperatureCoupledBase. More... | |
tmp< scalarField > | kappa (const fvPatchScalarField &Tp) const |
Given patch temperature calculate corresponding K field. More... | |
void | write (Ostream &) const |
Write. More... | |
Mixed boundary condition for temperature and radiation heat transfer to be used for in multiregion cases. Optional thin thermal layer resistances can be specified through thicknessLayers and kappaLayers entries.
The thermal conductivity kappa
can either be retrieved from various possible sources, as detailed in the class temperatureCoupledBase.
Property | Description | Required | Default value |
---|---|---|---|
Tnbr | name of the field | no | T |
qrNbr | name of the radiative flux in the nbr region | no | none |
qr | name of the radiative flux in this region | no | none |
thicknessLayers | list of thicknesses per layer [m] | no | |
kappaLayers | list of thermal conductivites per layer [W/m/K] | no |
Example of the boundary condition specification:
<patchName> { type compressible::turbulentTemperatureRadCoupledMixed; Tnbr T; qrNbr qr; // or none. Name of qr field on neighbour region qr qr; // or none. Name of qr field on local region thicknessLayers (0.1 0.2 0.3 0.4); kappaLayers (1 2 3 4); value uniform 300; }
Needs to be on underlying mapped(Wall)FvPatch.
Definition at line 117 of file turbulentTemperatureRadCoupledMixedFvPatchScalarField.H.
turbulentTemperatureRadCoupledMixedFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 43 of file turbulentTemperatureRadCoupledMixedFvPatchScalarField.C.
Referenced by turbulentTemperatureRadCoupledMixedFvPatchScalarField::clone(), and turbulentTemperatureRadCoupledMixedFvPatchScalarField::turbulentTemperatureRadCoupledMixedFvPatchScalarField().
turbulentTemperatureRadCoupledMixedFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 65 of file turbulentTemperatureRadCoupledMixedFvPatchScalarField.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, dictionary::found(), dictionary::lookup(), fvPatch::name(), fvPatchField< Type >::operator=(), fvPatch::size(), and turbulentTemperatureRadCoupledMixedFvPatchScalarField::turbulentTemperatureRadCoupledMixedFvPatchScalarField().
turbulentTemperatureRadCoupledMixedFvPatchScalarField | ( | const turbulentTemperatureRadCoupledMixedFvPatchScalarField & | psf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
turbulentTemperatureCoupledBaffleMixedFvPatchScalarField onto a new patch
Definition at line 127 of file turbulentTemperatureRadCoupledMixedFvPatchScalarField.C.
turbulentTemperatureRadCoupledMixedFvPatchScalarField | ( | const turbulentTemperatureRadCoupledMixedFvPatchScalarField & | psf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 147 of file turbulentTemperatureRadCoupledMixedFvPatchScalarField.C.
TypeName | ( | "compressible::turbulentTemperatureRadCoupledMixed" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Reimplemented in thermalBaffleFvPatchScalarField.
Definition at line 187 of file turbulentTemperatureRadCoupledMixedFvPatchScalarField.H.
References turbulentTemperatureRadCoupledMixedFvPatchScalarField::turbulentTemperatureRadCoupledMixedFvPatchScalarField(), turbulentTemperatureRadCoupledMixedFvPatchScalarField::updateCoeffs(), and turbulentTemperatureRadCoupledMixedFvPatchScalarField::write().
|
virtual |
Update the coefficients associated with the patch field.
Reimplemented in thermalBaffleFvPatchScalarField.
Definition at line 165 of file turbulentTemperatureRadCoupledMixedFvPatchScalarField.C.
References boundary(), fvPatch::deltaCoeffs(), mappedPatchBase::distribute(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::gAverage(), Foam::gMax(), Foam::gMin(), Foam::gSum(), patchIdentifier::index(), Foam::Info, temperatureCoupledBase::kappa(), fvPatch::lookupPatchField(), UPstream::msgType(), fvPatch::name(), mappedPatchBase::sampleMesh(), mappedPatchBase::samplePolyPatch(), List< T >::setSize(), List< T >::size(), Foam::fvc::snGrad(), and turbulentTemperatureRadCoupledMixedFvPatchScalarField::write().
Referenced by turbulentTemperatureRadCoupledMixedFvPatchScalarField::clone(), and thermalBaffleFvPatchScalarField::updateCoeffs().
|
virtual |
Write.
Reimplemented in thermalBaffleFvPatchScalarField.
Definition at line 268 of file turbulentTemperatureRadCoupledMixedFvPatchScalarField.C.
References Foam::compressible::makePatchTypeField(), Foam::vtkWriteOps::write(), temperatureCoupledBase::write(), and Foam::writeEntry().
Referenced by turbulentTemperatureRadCoupledMixedFvPatchScalarField::clone(), turbulentTemperatureRadCoupledMixedFvPatchScalarField::updateCoeffs(), and thermalBaffleFvPatchScalarField::write().