This boundary condition provides a coupled temperature condition between multiple mesh regions. More...
Public Member Functions | |
TypeName ("compressible::thermalBaffle") | |
Runtime type information. More... | |
thermalBaffleFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
Construct from patch and internal field. More... | |
thermalBaffleFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
thermalBaffleFvPatchScalarField (const thermalBaffleFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given. More... | |
virtual tmp< fvPatchScalarField > | clone () const |
Construct and return a clone. More... | |
thermalBaffleFvPatchScalarField (const thermalBaffleFvPatchScalarField &, 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 | 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 turbulentTemperatureRadCoupledMixedFvPatchScalarField | |
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... | |
Public Member Functions inherited from temperatureCoupledBase | |
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... | |
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... | |
Static Protected Attributes inherited from temperatureCoupledBase | |
static const NamedEnum< KMethodType, 4 > | KMethodTypeNames_ |
This boundary condition provides a coupled temperature condition between multiple mesh regions.
The regions are generally referred to as the:
The primary region creates the baffle region and evolves its energy equation either:
The thermodynamic properties of the baffle material are specified via dictionary entries on the master patch.
<masterPatchName> { type compressible::thermalBaffle; // Underlaying coupled boundary condition Tnbr T; kappa fluidThermo; // or solidThermo KappaName none; QrNbr Qr;//or none.Name of Qr field on neighbourregion Qr none;// or none.Name of Qr field on localregion value uniform 300; // Baffle region name regionName baffleRegion; active yes; // Solid thermo in solid region thermoType { type heSolidThermo; mixture pureMixture; transport constIso; thermo hConst; equationOfState rhoConst; specie specie; energy sensibleEnthalpy; } mixture { specie { nMoles 1; molWeight 20; } transport { kappa 0.01; } thermodynamics { Hf 0; Cp 15; } density { rho 80; } } radiation { radiationModel opaqueSolid; absorptionEmissionModel none; scatterModel none; } // Extrude model for new region extrudeModel linearNormal; nLayers 50; expansionRatio 1; columnCells false; //3D or 1D linearNormalCoeffs { thickness 0.02; } }
Slave patch on primary region:
<slavePatchName> { type compressible::thermalBaffle; kappa fluidThermo; kappaName none; value uniform 300;
Patches on baffle region:
bottom { type compressible::thermalBaffle; kappa solidThermo; kappaName none; value uniform 300; } top { type compressible::thermalBaffle; kappa solidThermo; kappaName none; value uniform 300; }
Definition at line 179 of file thermalBaffleFvPatchScalarField.H.
thermalBaffleFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 43 of file thermalBaffleFvPatchScalarField.C.
Referenced by thermalBaffleFvPatchScalarField::clone(), and thermalBaffleFvPatchScalarField::thermalBaffleFvPatchScalarField().
thermalBaffleFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 81 of file thermalBaffleFvPatchScalarField.C.
References polyMesh::boundaryMesh(), polyMesh::defaultRegion, objectRegistry::foundObject(), polyBoundaryMesh::mesh(), fvMesh::name(), Foam::New(), regionName, thermalBaffleFvPatchScalarField::thermalBaffleFvPatchScalarField(), and fvMesh::time().
thermalBaffleFvPatchScalarField | ( | const thermalBaffleFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
thermalBaffleFvPatchScalarField onto a new patch
Definition at line 58 of file thermalBaffleFvPatchScalarField.C.
References thermalBaffleFvPatchScalarField::thermalBaffleFvPatchScalarField().
thermalBaffleFvPatchScalarField | ( | const thermalBaffleFvPatchScalarField & | ptf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 126 of file thermalBaffleFvPatchScalarField.C.
References thermalBaffleFvPatchScalarField::autoMap().
TypeName | ( | "compressible::thermalBaffle" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Reimplemented from turbulentTemperatureRadCoupledMixedFvPatchScalarField.
Definition at line 246 of file thermalBaffleFvPatchScalarField.H.
References thermalBaffleFvPatchScalarField::thermalBaffleFvPatchScalarField().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Reimplemented from turbulentTemperatureRadCoupledMixedFvPatchScalarField.
Definition at line 263 of file thermalBaffleFvPatchScalarField.H.
References thermalBaffleFvPatchScalarField::autoMap(), thermalBaffleFvPatchScalarField::rmap(), thermalBaffleFvPatchScalarField::thermalBaffleFvPatchScalarField(), thermalBaffleFvPatchScalarField::updateCoeffs(), and thermalBaffleFvPatchScalarField::write().
|
virtual |
Map (and resize as needed) from self given a mapping object.
Definition at line 143 of file thermalBaffleFvPatchScalarField.C.
References thermalBaffleFvPatchScalarField::rmap().
Referenced by thermalBaffleFvPatchScalarField::clone(), and thermalBaffleFvPatchScalarField::thermalBaffleFvPatchScalarField().
|
virtual |
Reverse map the given fvPatchField onto this fvPatchField.
Definition at line 152 of file thermalBaffleFvPatchScalarField.C.
References polyMesh::boundaryMesh(), mappedPatchBase::coupleGroup(), Foam::endl(), forAll, dictionary::lookup(), polyBoundaryMesh::mesh(), mappedPatchBase::mode(), polyPatch::New(), patchi, patchNames(), patchTypes(), Foam::readBool(), regionName, mappedPatchBase::sampleModeNames_, dictionary::set(), List< T >::size(), and WarningInFunction.
Referenced by thermalBaffleFvPatchScalarField::autoMap(), and thermalBaffleFvPatchScalarField::clone().
|
virtual |
Update the coefficients associated with the patch field.
Reimplemented from turbulentTemperatureRadCoupledMixedFvPatchScalarField.
Definition at line 249 of file thermalBaffleFvPatchScalarField.C.
References polyMesh::boundaryMesh(), polyMesh::defaultRegion, polyBoundaryMesh::mesh(), fvMesh::name(), and turbulentTemperatureRadCoupledMixedFvPatchScalarField::updateCoeffs().
Referenced by thermalBaffleFvPatchScalarField::clone().
|
virtual |
Write.
Reimplemented from turbulentTemperatureRadCoupledMixedFvPatchScalarField.
Definition at line 267 of file thermalBaffleFvPatchScalarField.C.
References polyMesh::boundaryMesh(), polyMesh::defaultRegion, token::END_STATEMENT, dictionary::lookup(), Foam::compressible::makePatchTypeField(), polyBoundaryMesh::mesh(), fvMesh::name(), Foam::nl, Foam::readBool(), Foam::readLabel(), Foam::readScalar(), regionName, dictionary::subDict(), turbulentTemperatureRadCoupledMixedFvPatchScalarField::write(), and Ostream::writeKeyword().
Referenced by thermalBaffleFvPatchScalarField::clone().