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... | |
virtual tmp< fvPatchScalarField > | clone () const |
Construct and return a clone. 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... | |
![]() | |
temperatureCoupledBase (const fvPatch &patch, const word &calculationMethod, const word &kappaName, const word &alphaAniName) | |
Construct from patch and K name. 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... | |
word | KMethod () const |
Method to obtain K. More... | |
const word & | kappaName () const |
Name of thermal conductivity field. More... | |
tmp< scalarField > | kappa (const scalarField &Tp) const |
Given patch temperature calculate corresponding K field. More... | |
void | write (Ostream &) const |
Write. More... | |
Private Attributes | |
const word | TnbrName_ |
Name of field on the neighbour region. More... | |
const word | QrNbrName_ |
Name of the radiative heat flux in the neighbout region. More... | |
const word | QrName_ |
Name of the radiative heat flux in local region. More... | |
scalarList | thicknessLayers_ |
Thickness of layers. More... | |
scalarList | kappaLayers_ |
Conductivity of layers. More... | |
scalar | contactRes_ |
Total contact resistance. More... | |
Additional Inherited Members | |
![]() | |
enum | KMethodType { mtFluidThermo, mtSolidThermo, mtDirectionalSolidThermo, mtLookup } |
Type of supplied Kappa. More... | |
![]() | |
const fvPatch & | patch_ |
Underlying patch. More... | |
const KMethodType | method_ |
How to get K. More... | |
const word | kappaName_ |
Name of thermal conductivity field (if looked up from database) More... | |
const word | alphaAniName_ |
Name of the non-Isotropic alpha (default: Anialpha) More... | |
![]() | |
static const NamedEnum< KMethodType, 4 > | KMethodTypeNames_ |
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 the mesh database using the lookup
option, or from a solidThermo
or fluidThermo
thermophysical package.
Patch usage
Property | Description | Required | Default value |
---|---|---|---|
kappa | thermal conductivity option | yes | |
kappaName | name of thermal conductivity field | no | |
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:
myPatch { type compressible::turbulentTemperatureRadCoupledMixed; Tnbr T; kappa lookup; KappaName kappa; 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.
Note: kappa : heat conduction at patch. Gets supplied how to lookup/calculate kappa:
Definition at line 138 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.
turbulentTemperatureRadCoupledMixedFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 85 of file turbulentTemperatureRadCoupledMixedFvPatchScalarField.C.
References dict, dimensionedInternalField(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, fvPatchField::operator=(), and p.
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 65 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.
Reimplemented in thermalBaffleFvPatchScalarField.
Definition at line 200 of file turbulentTemperatureRadCoupledMixedFvPatchScalarField.H.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Reimplemented in thermalBaffleFvPatchScalarField.
Definition at line 220 of file turbulentTemperatureRadCoupledMixedFvPatchScalarField.H.
|
virtual |
Update the coefficients associated with the patch field.
Reimplemented in thermalBaffleFvPatchScalarField.
Definition at line 165 of file turbulentTemperatureRadCoupledMixedFvPatchScalarField.C.
References turbulentTemperatureRadCoupledMixedFvPatchScalarField::contactRes_, fvPatch::deltaCoeffs(), dimensionedInternalField(), mappedPatchBase::distribute(), Foam::endl(), Foam::gAverage(), Foam::gMax(), Foam::gMin(), Foam::gSum(), patchIdentifier::index(), Foam::Info, temperatureCoupledBase::kappa(), fvPatch::lookupPatchField(), UPstream::msgType(), fvPatch::name(), IOobject::name(), Qr(), turbulentTemperatureRadCoupledMixedFvPatchScalarField::QrName_, turbulentTemperatureRadCoupledMixedFvPatchScalarField::QrNbrName_, Foam::refCast(), mappedPatchBase::sampleMesh(), mappedPatchBase::samplePolyPatch(), Foam::fvc::snGrad(), and turbulentTemperatureRadCoupledMixedFvPatchScalarField::TnbrName_.
Referenced by thermalBaffleFvPatchScalarField::updateCoeffs().
|
virtual |
Write.
Reimplemented in thermalBaffleFvPatchScalarField.
Definition at line 258 of file turbulentTemperatureRadCoupledMixedFvPatchScalarField.C.
References token::END_STATEMENT, Foam::nl, write(), temperatureCoupledBase::write(), and Ostream::writeKeyword().
Referenced by thermalBaffleFvPatchScalarField::write().
|
private |
Name of field on the neighbour region.
Definition at line 146 of file turbulentTemperatureRadCoupledMixedFvPatchScalarField.H.
Referenced by turbulentTemperatureRadCoupledMixedFvPatchScalarField::updateCoeffs().
|
private |
Name of the radiative heat flux in the neighbout region.
Definition at line 149 of file turbulentTemperatureRadCoupledMixedFvPatchScalarField.H.
Referenced by turbulentTemperatureRadCoupledMixedFvPatchScalarField::updateCoeffs().
|
private |
Name of the radiative heat flux in local region.
Definition at line 152 of file turbulentTemperatureRadCoupledMixedFvPatchScalarField.H.
Referenced by turbulentTemperatureRadCoupledMixedFvPatchScalarField::updateCoeffs().
|
private |
Thickness of layers.
Definition at line 155 of file turbulentTemperatureRadCoupledMixedFvPatchScalarField.H.
|
private |
Conductivity of layers.
Definition at line 158 of file turbulentTemperatureRadCoupledMixedFvPatchScalarField.H.
|
private |
Total contact resistance.
Definition at line 161 of file turbulentTemperatureRadCoupledMixedFvPatchScalarField.H.
Referenced by turbulentTemperatureRadCoupledMixedFvPatchScalarField::updateCoeffs().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.