This boundary condition applies a heat flux condition to temperature on an external wall in one of three modes: More...
Public Types | |
enum | operationMode { fixedPower, fixedHeatFlux, fixedHeatTransferCoeff } |
![]() | |
enum | KMethodType { mtFluidThermo, mtSolidThermo, mtDirectionalSolidThermo, mtLookup, mtFunction } |
Static Public Attributes | |
static const Enum< operationMode > | operationModeNames |
Additional Inherited Members | |
![]() | |
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_ |
This boundary condition applies a heat flux condition to temperature on an external wall in one of three modes:
where:
![]() | = | Power [W] |
![]() | = | Heat flux [W/m^2] |
![]() | = | Heat transfer coefficient [W/m^2/K] |
![]() | = | Ambient temperature [K] |
For heat transfer coefficient mode 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.
The ambient temperature Ta is specified as a Foam::Function1 of time but uniform in space.
Property | Description | Required | Default |
---|---|---|---|
mode | 'power', 'flux' or 'coefficient' | yes | |
Q | Power [W] | for mode 'power' | |
q | Heat flux [W/m^2] | for mode 'flux' | |
h | Heat transfer coefficient [W/m^2/K] | for mode 'coefficient' | |
Ta | Ambient temperature [K] | for mode 'coefficient' | |
thicknessLayers | Layer thicknesses [m] | no | |
kappaLayers | Layer thermal conductivities [W/m/K] | no | |
relaxation | Relaxation for the wall temperature | no | 1 |
emissivity | Surface emissivity for radiative flux to ambient | no | 0 |
qr | Name of the radiative field | no | none |
qrRelaxation | Relaxation factor for radiative field | no | 1 |
kappaMethod | Inherited from temperatureCoupledBase | inherited | |
kappa | Inherited from temperatureCoupledBase | inherited |
Example of the boundary condition specification:
<patchName> { type externalWallHeatFluxTemperature; mode coefficient; Ta constant 300.0; h constant 10.0; thicknessLayers (0.1 0.2 0.3 0.4); kappaLayers (1 2 3 4); kappaMethod fluidThermo; value $internalField; }
Definition at line 207 of file externalWallHeatFluxTemperatureFvPatchScalarField.H.
enum operationMode |
Enumerator | |
---|---|
fixedPower | Heat power [W]. |
fixedHeatFlux | Heat flux [W/m2]. |
fixedHeatTransferCoeff | Heat transfer coefficient [W/m^2/K]. |
Definition at line 217 of file externalWallHeatFluxTemperatureFvPatchScalarField.H.
externalWallHeatFluxTemperatureFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Definition at line 48 of file externalWallHeatFluxTemperatureFvPatchScalarField.C.
Referenced by externalWallHeatFluxTemperatureFvPatchScalarField::clone().
externalWallHeatFluxTemperatureFvPatchScalarField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Definition at line 82 of file externalWallHeatFluxTemperatureFvPatchScalarField.C.
References dict, Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, Foam::New(), p, Foam::foamVersion::patch, and Foam::Zero.
externalWallHeatFluxTemperatureFvPatchScalarField | ( | const externalWallHeatFluxTemperatureFvPatchScalarField & | rhs, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Definition at line 172 of file externalWallHeatFluxTemperatureFvPatchScalarField.C.
References FieldMapper::size().
externalWallHeatFluxTemperatureFvPatchScalarField | ( | const externalWallHeatFluxTemperatureFvPatchScalarField & | rhs | ) |
Definition at line 204 of file externalWallHeatFluxTemperatureFvPatchScalarField.C.
externalWallHeatFluxTemperatureFvPatchScalarField | ( | const externalWallHeatFluxTemperatureFvPatchScalarField & | rhs, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Definition at line 227 of file externalWallHeatFluxTemperatureFvPatchScalarField.C.
TypeName | ( | "externalWallHeatFluxTemperature" | ) |
|
inlinevirtual |
Definition at line 309 of file externalWallHeatFluxTemperatureFvPatchScalarField.H.
References externalWallHeatFluxTemperatureFvPatchScalarField::externalWallHeatFluxTemperatureFvPatchScalarField().
|
inlinevirtual |
Definition at line 326 of file externalWallHeatFluxTemperatureFvPatchScalarField.H.
References externalWallHeatFluxTemperatureFvPatchScalarField::externalWallHeatFluxTemperatureFvPatchScalarField().
|
inlinevirtual |
Definition at line 342 of file externalWallHeatFluxTemperatureFvPatchScalarField.H.
|
virtual |
Implements temperatureCoupledBase.
Definition at line 252 of file externalWallHeatFluxTemperatureFvPatchScalarField.C.
|
virtual |
Implements temperatureCoupledBase.
Definition at line 276 of file externalWallHeatFluxTemperatureFvPatchScalarField.C.
|
virtual |
Definition at line 305 of file externalWallHeatFluxTemperatureFvPatchScalarField.C.
References DebugInfo, externalWallHeatFluxTemperatureFvPatchScalarField::fixedHeatFlux, externalWallHeatFluxTemperatureFvPatchScalarField::fixedHeatTransferCoeff, externalWallHeatFluxTemperatureFvPatchScalarField::fixedPower, forAll, Foam::gAverage(), Foam::gMax(), Foam::gMin(), Foam::gSum(), temperatureCoupledBase::kappa(), Foam::nl, Foam::foamVersion::patch, Foam::pow3(), Foam::pow4(), sigma(), Foam::fvc::snGrad(), and Foam::Zero.
void write | ( | Ostream & | os | ) | const |
Definition at line 448 of file externalWallHeatFluxTemperatureFvPatchScalarField.C.
References os(), temperatureCoupledBase::write(), fvPatchField::write(), and Ostream::writeEntry().
|
static |
Definition at line 224 of file externalWallHeatFluxTemperatureFvPatchScalarField.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.