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... | |
Public Member Functions inherited from temperatureCoupledBase | |
temperatureCoupledBase (const fvPatch &patch, const word &calculationMethod, const word &kappaName, const word &alphaAniName, const word &alphaName) | |
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... | |
virtual | ~temperatureCoupledBase ()=default |
Destructor. More... | |
word | KMethod () const |
Method to obtain K. More... | |
const word & | kappaName () const |
Name of thermal conductivity field. More... | |
const word & | alphaName () const |
Name of thermal diffusivity field. More... | |
virtual tmp< scalarField > | kappa (const scalarField &Tp) const |
Given patch temperature calculate corresponding K field. More... | |
virtual tmp< scalarField > | alpha (const scalarField &Tp) const |
Given patch temperature calculate corresponding alphaEff field. More... | |
void | write (Ostream &os) const |
Write. More... | |
Additional Inherited Members | |
Public Types inherited from temperatureCoupledBase | |
enum | KMethodType { mtFluidThermo, mtSolidThermo, mtDirectionalSolidThermo, mtLookup } |
Type of supplied Kappa. More... | |
Protected Attributes inherited from temperatureCoupledBase | |
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... | |
const word | alphaName_ |
Name of thermal diffusivity. More... | |
Static Protected Attributes inherited from temperatureCoupledBase | |
static const Enum< KMethodType > | 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 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 | |
kappaMethod | inherited from temperatureCoupledBase | inherited | |
kappa | inherited from temperatureCoupledBase | inherited | |
thermalInertia | Add thermal inertia to wall node | no | false |
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); thermalInertia false/true; kappaMethod lookup; kappa kappa; value uniform 300; }
Needs to be on underlying mapped(Wall)FvPatch.
Definition at line 141 of file turbulentTemperatureRadCoupledMixedFvPatchScalarField.H.
turbulentTemperatureRadCoupledMixedFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 47 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 98 of file turbulentTemperatureRadCoupledMixedFvPatchScalarField.C.
References dict, Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, fvPatchField< scalar >::operator=(), p, and Foam::foamVersion::patch.
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 77 of file turbulentTemperatureRadCoupledMixedFvPatchScalarField.C.
turbulentTemperatureRadCoupledMixedFvPatchScalarField | ( | const turbulentTemperatureRadCoupledMixedFvPatchScalarField & | psf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 160 of file turbulentTemperatureRadCoupledMixedFvPatchScalarField.C.
TypeName | ( | "compressible::turbulentTemperatureRadCoupledMixed" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Reimplemented in thermalBaffleFvPatchScalarField.
Definition at line 206 of file turbulentTemperatureRadCoupledMixedFvPatchScalarField.H.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Reimplemented in thermalBaffleFvPatchScalarField.
Definition at line 226 of file turbulentTemperatureRadCoupledMixedFvPatchScalarField.H.
|
virtual |
Update the coefficients associated with the patch field.
Reimplemented in thermalBaffleFvPatchScalarField.
Definition at line 179 of file turbulentTemperatureRadCoupledMixedFvPatchScalarField.C.
References temperatureCoupledBase::alpha(), Foam::constant::universal::c, Foam::expressions::patchExpr::debug, fvPatch::deltaCoeffs(), dictionary::dictName(), mappedPatchBase::distribute(), Foam::endl(), objectRegistry::findObject(), Foam::gAverage(), Foam::gMax(), Foam::gMin(), Foam::gSum(), patchIdentifier::index(), Foam::Info, temperatureCoupledBase::kappa(), fvPatch::lookupPatchField(), mesh, UPstream::msgType(), fvPatch::name(), IOobject::name(), Foam::foamVersion::patch, tmp< T >::ref(), Foam::refCast(), mappedPatchBase::sampleMesh(), mappedPatchBase::samplePolyPatch(), Foam::fvc::snGrad(), Foam::T(), and Foam::Zero.
Referenced by thermalBaffleFvPatchScalarField::updateCoeffs().
|
virtual |
Write.
Reimplemented in thermalBaffleFvPatchScalarField.
Definition at line 349 of file turbulentTemperatureRadCoupledMixedFvPatchScalarField.C.
References Foam::vtk::write(), temperatureCoupledBase::write(), and Ostream::writeEntry().
Referenced by thermalBaffleFvPatchScalarField::write().