Mixed boundary condition for temperature, to be used for heat-transfer on back-to-back baffles. Optional thin thermal layer resistances can be specified through thicknessLayers and kappaLayers entries. More...
Additional Inherited Members | |
![]() | |
enum | KMethodType { mtFluidThermo, mtSolidThermo, mtDirectionalSolidThermo, mtLookup, mtFunction } |
![]() | |
static const mappedPatchBase & | mapper (const fvPatch &p, const DimensionedField< scalar, volMesh > &iF) |
![]() | |
void | initRetrieveField (const objectRegistry &obr, const word ®ion, const word &patch, const labelListList &map, const word &fieldName, const Field< T > &fld) const |
void | initRetrieveField (const word &fieldName, const Field< T > &fld) const |
bool | storeAndRetrieveField (const word &fieldName, const label myComm, const labelListList &subMap, const label constructSize, const labelListList &constructMap, const labelListList &address, const scalarListList &weights, Field< T > &fld) const |
void | storeField (const objectRegistry &obr, const word ®ion, const word &patch, const label myComm, const labelListList &procToMap, const word &fieldName, const Field< T > &fld) const |
bool | retrieveField (const bool allowUnset, const objectRegistry &obr, const word ®ion, const word &patch, const label myComm, const labelListList &procToMap, const word &fieldName, Field< T > &fld) const |
![]() | |
const fvPatch & | patch_ |
const KMethodType | method_ |
const word | kappaName_ |
const word | alphaAniName_ |
const word | alphaName_ |
autoPtr< PatchFunction1< scalar > > | kappaFunction1_ |
autoPtr< PatchFunction1< scalar > > | alphaFunction1_ |
![]() | |
const mappedPatchBase & | mapper_ |
const fvPatchField< scalar > & | patchField_ |
word | fieldName_ |
const bool | setAverage_ |
const scalar | average_ |
word | interpolationScheme_ |
![]() | |
static const Enum< KMethodType > | KMethodTypeNames_ |
Mixed boundary condition for temperature, to be used for heat-transfer on back-to-back baffles. Optional thin thermal layer resistances can be specified through thicknessLayers and kappaLayers entries.
Specifies gradient and temperature such that the equations are the same on both sides:
where KDelta is heat-transfer coefficient K * deltaCoeffs
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 |
thicknessLayers | list of thicknesses per layer [m] | no | |
kappaLayers | list of thermal conductivities per layer [W/m/K] | no | |
thicknessLayer | single thickness of layer [m] | no | |
kappaLayer | corresponding thermal conductivity [W/m/K] | no | |
kappaMethod | inherited from temperatureCoupledBase | inherited | |
kappa | inherited from temperatureCoupledBase | inherited |
Example of the boundary condition specification:
<patchName> { type compressible::turbulentTemperatureCoupledBaffleMixed; Tnbr T; thicknessLayers (0.1 0.2 0.3 0.4); kappaLayers (1 2 3 4); kappaMethod lookup; kappa kappa; value uniform 300; }
Needs to be on underlying mapped(Wall)FvPatch.
Definition at line 136 of file turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.H.
turbulentTemperatureCoupledBaffleMixedFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Definition at line 39 of file turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.C.
turbulentTemperatureCoupledBaffleMixedFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
// Store patch value as initial guess when running in database mode mappedPatchFieldBase<scalar>::initRetrieveField ( this->internalField().name(), *this ); mappedPatchFieldBase<scalar>::initRetrieveField ( this->internalField().name() + "_weights", this->patch().deltaCoeffs() );
Definition at line 93 of file turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, PatchFunction1::NewIfPresent(), fvPatchField::operator=(), p, Foam::foamVersion::patch, and WarningInFunction.
turbulentTemperatureCoupledBaffleMixedFvPatchScalarField | ( | const turbulentTemperatureCoupledBaffleMixedFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Definition at line 68 of file turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.C.
turbulentTemperatureCoupledBaffleMixedFvPatchScalarField | ( | const turbulentTemperatureCoupledBaffleMixedFvPatchScalarField & | wtcsf | ) |
Definition at line 204 of file turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.C.
turbulentTemperatureCoupledBaffleMixedFvPatchScalarField | ( | const turbulentTemperatureCoupledBaffleMixedFvPatchScalarField & | wtcsf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Definition at line 181 of file turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.C.
TypeName | ( | "compressible::turbulentTemperatureCoupledBaffleMixed" | ) |
|
inlinevirtual |
Definition at line 208 of file turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.H.
|
inlinevirtual |
Definition at line 228 of file turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.H.
|
virtual |
Implements temperatureCoupledBase.
Definition at line 227 of file turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.C.
References temperatureCoupledBase::autoMap().
|
virtual |
Implements temperatureCoupledBase.
Definition at line 243 of file turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.C.
References Foam::refCast(), and temperatureCoupledBase::rmap().
|
virtual |
Reimplemented from temperatureCoupledBase.
Definition at line 268 of file turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.C.
References forAll, temperatureCoupledBase::kappa(), and Foam::foamVersion::patch.
Referenced by turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::updateCoeffs().
|
virtual |
Definition at line 308 of file turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.C.
References Foam::expressions::patchExpr::debug, mappedPatchFieldBase< scalar >::distribute(), Foam::endl(), Foam::gAverage(), Foam::gMax(), Foam::gMin(), Foam::gSum(), patchIdentifier::index(), Foam::Info, turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::kappa(), mappedPatchFieldBase< Type >::mapper(), UPstream::msgType(), Foam::name(), Foam::foamVersion::patch, tmp::ref(), Foam::refCast(), mappedPatchBase::sameWorld(), mappedPatchBase::sampleMesh(), mappedPatchBase::samplePatch(), mappedPatchBase::samplePolyPatch(), mappedPatchBase::sampleRegion(), and Foam::fvc::snGrad().
Definition at line 415 of file turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
|
virtual |
Reimplemented from mappedPatchFieldBase< scalar >.
Definition at line 462 of file turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.C.
References os(), Foam::vtk::write(), temperatureCoupledBase::write(), and mappedPatchFieldBase< Type >::write().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.