Employs a lumped mass model for temperature. More...


Public Member Functions | |
| TypeName ("lumpedMassWallTemperature") | |
| Runtime type information. More... | |
| lumpedMassWallTemperatureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
| Construct from patch and internal field. More... | |
| lumpedMassWallTemperatureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. More... | |
| lumpedMassWallTemperatureFvPatchScalarField (const this_bctype &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
| Construct by mapping onto a new patch. More... | |
| lumpedMassWallTemperatureFvPatchScalarField (const this_bctype &, const DimensionedField< scalar, volMesh > &) | |
| Construct as copy setting internal field reference. More... | |
| lumpedMassWallTemperatureFvPatchScalarField (const this_bctype &)=delete | |
| No copy without an internal field. More... | |
| virtual tmp< fvPatchField< scalar > > | clone (const DimensionedField< scalar, volMesh > &iF) const |
| Clone with an 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 fvPatchField< scalar > &, const labelList &) |
| Reverse map the given fvPatchField onto this fvPatchField. More... | |
| virtual void | updateCoeffs () |
| Update the coefficients associated with the patch field. More... | |
| void | write (Ostream &) const |
| Write. More... | |
Public Member Functions inherited from temperatureCoupledBase | |
| temperatureCoupledBase (const fvPatch &patch, const KMethodType method=KMethodType::mtFluidThermo) | |
| Default construct from patch, using fluidThermo (default) or specified method. More... | |
| temperatureCoupledBase (const fvPatch &patch, const KMethodType method, const word &kappaName, const word &alphaName, const word &alphaAniName) | |
| Construct from patch, method type and field names. 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... | |
| temperatureCoupledBase (const temperatureCoupledBase &base) | |
| Copy construct. More... | |
| virtual | ~temperatureCoupledBase ()=default |
| Destructor. More... | |
| word | KMethod () const |
| Method to obtain K. More... | |
| const word & | kappaName () const noexcept |
| Name of thermal conductivity field. More... | |
| const word & | alphaName () const noexcept |
| 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, mtFunction } |
| 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 | alphaName_ |
| Name of thermal diffusivity. More... | |
| const word | alphaAniName_ |
| Name of the non-isotropic alpha (for directional solidThermo) More... | |
| autoPtr< PatchFunction1< scalar > > | kappaFunction1_ |
| Function1 for kappa. More... | |
| autoPtr< PatchFunction1< scalar > > | alphaFunction1_ |
| Function1 for alpha. More... | |
Static Protected Attributes inherited from temperatureCoupledBase | |
| static const Enum< KMethodType > | KMethodTypeNames_ |
Employs a lumped mass model for temperature.
It considers a single temperature value for the whole patch and evaluates the temperature evolution using the net heat flux into the patch.
| Property | Description | Required | Default value |
|---|---|---|---|
kappaMethod | thermal conductivity option | yes | |
Cp | Heat capacity [J/kg.K] | yes | |
mass | Total mass [kg] | yes |
Example of the boundary condition specification:
myPatch
{
type lumpedMassWallTemperature;
kappaMethod fluidThermo;
kappa none;
mass 1000;
Cp 4100;
value uniform 300.0;
}Definition at line 94 of file lumpedMassWallTemperatureFvPatchScalarField.H.
| lumpedMassWallTemperatureFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF | ||
| ) |
Construct from patch and internal field.
Definition at line 31 of file lumpedMassWallTemperatureFvPatchScalarField.C.
| lumpedMassWallTemperatureFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF, | ||
| const dictionary & | dict | ||
| ) |
Construct from patch, internal field and dictionary.
Definition at line 67 of file lumpedMassWallTemperatureFvPatchScalarField.C.
References dict, and Foam::Zero.
| lumpedMassWallTemperatureFvPatchScalarField | ( | const this_bctype & | ptf, |
| const fvPatch & | p, | ||
| const DimensionedField< scalar, volMesh > & | iF, | ||
| const fvPatchFieldMapper & | mapper | ||
| ) |
Construct by mapping onto a new patch.
Definition at line 50 of file lumpedMassWallTemperatureFvPatchScalarField.C.
| lumpedMassWallTemperatureFvPatchScalarField | ( | const this_bctype & | tppsf, |
| const DimensionedField< scalar, volMesh > & | iF | ||
| ) |
Construct as copy setting internal field reference.
Definition at line 89 of file lumpedMassWallTemperatureFvPatchScalarField.C.
|
delete |
No copy without an internal field.
| TypeName | ( | "lumpedMassWallTemperature" | ) |
Runtime type information.
|
inlinevirtual |
Clone with an internal field reference.
Definition at line 183 of file lumpedMassWallTemperatureFvPatchScalarField.H.
References fvPatchField< Type >::Clone().

|
virtual |
Map (and resize as needed) from self given a mapping object.
Implements temperatureCoupledBase.
Definition at line 105 of file lumpedMassWallTemperatureFvPatchScalarField.C.
|
virtual |
Reverse map the given fvPatchField onto this fvPatchField.
Implements temperatureCoupledBase.
Definition at line 115 of file lumpedMassWallTemperatureFvPatchScalarField.C.
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 128 of file lumpedMassWallTemperatureFvPatchScalarField.C.
References Foam::ensightOutput::debug, Foam::endl(), forAll, Foam::gAverage(), Foam::gMinMax(), Foam::gWeightedSum(), Foam::Info, temperatureCoupledBase::kappa(), limits, Foam::foamVersion::patch, tmp< T >::ref(), Foam::fvc::snGrad(), and timeIndex.

| void write | ( | Ostream & | os | ) | const |
Write.
Definition at line 194 of file lumpedMassWallTemperatureFvPatchScalarField.C.
References temperatureCoupledBase::write(), mixedFvPatchField< Type >::write(), and Ostream::writeEntry().
