Employs a lumped mass model for temperature. More...
Additional Inherited Members | |
![]() | |
enum | KMethodType { mtFluidThermo, mtSolidThermo, mtDirectionalSolidThermo, mtLookup, mtFunction } |
![]() | |
const fvPatch & | patch_ |
const KMethodType | method_ |
const word | kappaName_ |
const word | alphaAniName_ |
const word | alphaName_ |
autoPtr< PatchFunction1< scalar > > | kappaFunction1_ |
autoPtr< PatchFunction1< scalar > > | alphaFunction1_ |
![]() | |
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 | ||
) |
Definition at line 31 of file lumpedMassWallTemperatureFvPatchScalarField.C.
Referenced by lumpedMassWallTemperatureFvPatchScalarField::clone().
lumpedMassWallTemperatureFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Definition at line 74 of file lumpedMassWallTemperatureFvPatchScalarField.C.
lumpedMassWallTemperatureFvPatchScalarField | ( | const lumpedMassWallTemperatureFvPatchScalarField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Definition at line 57 of file lumpedMassWallTemperatureFvPatchScalarField.C.
lumpedMassWallTemperatureFvPatchScalarField | ( | const lumpedMassWallTemperatureFvPatchScalarField & | tppsf | ) |
Definition at line 96 of file lumpedMassWallTemperatureFvPatchScalarField.C.
lumpedMassWallTemperatureFvPatchScalarField | ( | const lumpedMassWallTemperatureFvPatchScalarField & | tppsf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Definition at line 110 of file lumpedMassWallTemperatureFvPatchScalarField.C.
TypeName | ( | "lumpedMassWallTemperature" | ) |
|
inlinevirtual |
Definition at line 154 of file lumpedMassWallTemperatureFvPatchScalarField.H.
References lumpedMassWallTemperatureFvPatchScalarField::lumpedMassWallTemperatureFvPatchScalarField().
|
inlinevirtual |
Definition at line 171 of file lumpedMassWallTemperatureFvPatchScalarField.H.
References lumpedMassWallTemperatureFvPatchScalarField::lumpedMassWallTemperatureFvPatchScalarField().
|
virtual |
Implements temperatureCoupledBase.
Definition at line 126 of file lumpedMassWallTemperatureFvPatchScalarField.C.
|
virtual |
Implements temperatureCoupledBase.
Definition at line 136 of file lumpedMassWallTemperatureFvPatchScalarField.C.
References Foam::refCast().
|
virtual |
Definition at line 153 of file lumpedMassWallTemperatureFvPatchScalarField.C.
References Foam::expressions::patchExpr::debug, Foam::endl(), forAll, Foam::gAverage(), Foam::gMax(), Foam::gMin(), Foam::gSum(), Foam::Info, temperatureCoupledBase::kappa(), Foam::foamVersion::patch, tmp::ref(), Foam::fvc::snGrad(), and timeIndex.
void write | ( | Ostream & | os | ) | const |
Definition at line 216 of file lumpedMassWallTemperatureFvPatchScalarField.C.
References os(), Foam::vtk::write(), temperatureCoupledBase::write(), and Ostream::writeEntry().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.