Corrected documentation in classes derived from temperatureCoupleBase

Patch contributed by Bruno Santos
Resolves bug-report http://bugs.openfoam.org/view.php?id=2207
This commit is contained in:
Henry Weller
2016-08-22 14:31:40 +01:00
parent 0ea2023ae0
commit e6057ee3ec
4 changed files with 28 additions and 38 deletions

View File

@ -44,22 +44,21 @@ Description
q | heat flux [W/m^2] q | heat flux [W/m^2]
\endvartable \endvartable
The thermal conductivity, \c kappa, can either be retrieved from the The thermal conductivity \c kappa can either be retrieved from various
mesh database using the \c lookup option, or from a \c solidThermo possible sources, as detailed in the class temperatureCoupledBase.
thermophysical package.
Usage Usage
\table \table
Property | Description | Required | Default value Property | Description | Required | Default value
kappa | thermal conductivity option | yes |
q | heat flux [W/m^2] | yes* | q | heat flux [W/m^2] | yes* |
Ta | ambient temperature [K] | yes* | Ta | ambient temperature [K] | yes* |
h | heat transfer coefficient [W/m^2/K] | yes*| h | heat transfer coefficient [W/m^2/K] | yes*|
thicknessLayers | list of thicknesses per layer [m] | yes | thicknessLayers | list of thicknesses per layer [m] | yes |
kappaLayers | list of thermal conductivites per layer [W/m/K] | yes | kappaLayers | list of thermal conductivities per layer [W/m/K] | yes |
kappaName | name of thermal conductivity field | yes |
Qr | name of the radiative field | no | no Qr | name of the radiative field | no | no
relaxation | relaxation factor for radiative field | no | 1 relaxation | relaxation factor for radiative field | no | 1
kappaMethod | inherited from temperatureCoupledBase | inherited |
kappa | inherited from temperatureCoupledBase | inherited |
\endtable \endtable
Example of the boundary condition specification: Example of the boundary condition specification:
@ -67,22 +66,21 @@ Usage
<patchName> <patchName>
{ {
type externalWallHeatFluxTemperature; type externalWallHeatFluxTemperature;
kappa fluidThermo;
q uniform 1000; q uniform 1000;
Ta uniform 300.0; Ta uniform 300.0;
h uniform 10.0; h uniform 10.0;
thicknessLayers (0.1 0.2 0.3 0.4); thicknessLayers (0.1 0.2 0.3 0.4);
kappaLayers (1 2 3 4); kappaLayers (1 2 3 4);
value uniform 300.0; value uniform 300.0;
kappaName none;
Qr none; Qr none;
relaxation 1; relaxation 1;
kappaMethod fluidThermo;
kappa none;
} }
\endverbatim \endverbatim
Note: Note:
- Only supply \c h and \c Ta, or \c q in the dictionary (see above) - Only supply \c h and \c Ta, or \c q in the dictionary (see above)
- \c kappa and \c kappaName are inherited from temperatureCoupledBase.
See also See also
Foam::temperatureCoupledBase Foam::temperatureCoupledBase

View File

@ -29,16 +29,19 @@ Description
heat source either specified in terms of an absolute power [W], or as a heat source either specified in terms of an absolute power [W], or as a
flux [W/m^2]. flux [W/m^2].
The thermal conductivity \c kappa can either be retrieved from various
possible sources, as detailed in the class temperatureCoupledBase.
Usage Usage
\table \table
Property | Description | Required | Default value Property | Description | Required | Default value
heatSource | 'power' [W] or 'flux' [W/m^2] | yes | heatSource | 'power' [W] or 'flux' [W/m^2] | yes |
q | heat power or flux field | yes | q | heat power or flux field | yes |
kappa | inherited from temperatureCoupledBase | yes |
kappaName | inherited from temperatureCoupledBase | yes |
Qr | name of the radiative flux field | yes | Qr | name of the radiative flux field | yes |
value | initial temperature value | no | calculated value | initial temperature value | no | calculated
gradient | initial gradient value | no | 0.0 gradient | initial gradient value | no | 0.0
kappaMethod | inherited from temperatureCoupledBase | inherited |
kappa | inherited from temperatureCoupledBase | inherited |
\endtable \endtable
Note: If needed, both 'value' and 'gradient' must be defined to be used. Note: If needed, both 'value' and 'gradient' must be defined to be used.
@ -50,13 +53,12 @@ Usage
type compressible::turbulentHeatFluxTemperature; type compressible::turbulentHeatFluxTemperature;
heatSource flux; heatSource flux;
q uniform 10; q uniform 10;
kappa fluidThermo; kappaMethod fluidThermo;
kappaName none; kappa none;
Qr none; Qr none;
} }
\endverbatim \endverbatim
See also See also
Foam::temperatureCoupledBase Foam::temperatureCoupledBase

View File

@ -30,10 +30,6 @@ Description
on back-to-back baffles. Optional thin thermal layer resistances can be on back-to-back baffles. Optional thin thermal layer resistances can be
specified through thicknessLayers and kappaLayers entries. specified through thicknessLayers and kappaLayers entries.
The thermal conductivity, \c kappa, can either be retrieved from the
mesh database using the \c lookup option, or from a \c solidThermo
or \c fluidThermo thermophysical package.
Specifies gradient and temperature such that the equations are the same Specifies gradient and temperature such that the equations are the same
on both sides: on both sides:
- refGradient = zero gradient - refGradient = zero gradient
@ -42,14 +38,17 @@ Description
where KDelta is heat-transfer coefficient K * deltaCoeffs where KDelta is heat-transfer coefficient K * deltaCoeffs
The thermal conductivity \c kappa can either be retrieved from various
possible sources, as detailed in the class temperatureCoupledBase.
Usage Usage
\table \table
Property | Description | Required | Default value Property | Description | Required | Default value
kappa | thermal conductivity option | yes |
kappaName | name of thermal conductivity field | no |
Tnbr | name of the field | no | T Tnbr | name of the field | no | T
thicknessLayers | list of thicknesses per layer [m] | no | thicknessLayers | list of thicknesses per layer [m] | no |
kappaLayers | list of thermal conductivites per layer [W/m/K] | no | kappaLayers | list of thermal conductivities per layer [W/m/K] | no |
kappaMethod | inherited from temperatureCoupledBase | inherited |
kappa | inherited from temperatureCoupledBase | inherited |
\endtable \endtable
Example of the boundary condition specification: Example of the boundary condition specification:
@ -58,20 +57,16 @@ Usage
{ {
type compressible::turbulentTemperatureCoupledBaffleMixed; type compressible::turbulentTemperatureCoupledBaffleMixed;
Tnbr T; Tnbr T;
kappa lookup;
kappaName kappa;
thicknessLayers (0.1 0.2 0.3 0.4); thicknessLayers (0.1 0.2 0.3 0.4);
kappaLayers (1 2 3 4); kappaLayers (1 2 3 4);
kappaMethod lookup;
kappa kappa;
value uniform 300; value uniform 300;
} }
\endverbatim \endverbatim
Needs to be on underlying mapped(Wall)FvPatch. Needs to be on underlying mapped(Wall)FvPatch.
Note:
- \c kappa and \c kappaName are inherited from temperatureCoupledBase.
See also See also
Foam::temperatureCoupledBase Foam::temperatureCoupledBase

View File

@ -31,20 +31,19 @@ Description
resistances can be specified through thicknessLayers and kappaLayers resistances can be specified through thicknessLayers and kappaLayers
entries. entries.
The thermal conductivity, \c kappa, can either be retrieved from the The thermal conductivity \c kappa can either be retrieved from various
mesh database using the \c lookup option, or from a \c solidThermo possible sources, as detailed in the class temperatureCoupledBase.
or \c fluidThermo thermophysical package.
Usage Usage
\table \table
Property | Description | Required | Default value Property | Description | Required | Default value
kappa | thermal conductivity option | yes |
kappaName | name of thermal conductivity field | no |
Tnbr | name of the field | no | T Tnbr | name of the field | no | T
QrNbr | name of the radiative flux in the nbr region | no | none QrNbr | name of the radiative flux in the nbr region | no | none
Qr | name of the radiative flux in this region | no | none Qr | name of the radiative flux in this region | no | none
thicknessLayers | list of thicknesses per layer [m] | no | thicknessLayers | list of thicknesses per layer [m] | no |
kappaLayers | list of thermal conductivites per layer [W/m/K] | no | kappaLayers | list of thermal conductivites per layer [W/m/K] | no |
kappaMethod | inherited from temperatureCoupledBase | inherited |
kappa | inherited from temperatureCoupledBase | inherited |
\endtable \endtable
Example of the boundary condition specification: Example of the boundary condition specification:
@ -53,22 +52,18 @@ Usage
{ {
type compressible::turbulentTemperatureRadCoupledMixed; type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T; Tnbr T;
kappa lookup;
kappaName kappa;
QrNbr Qr; // or none. Name of Qr field on neighbour region QrNbr Qr; // or none. Name of Qr field on neighbour region
Qr Qr; // or none. Name of Qr field on local region Qr Qr; // or none. Name of Qr field on local region
thicknessLayers (0.1 0.2 0.3 0.4); thicknessLayers (0.1 0.2 0.3 0.4);
kappaLayers (1 2 3 4); kappaLayers (1 2 3 4);
kappaMethod lookup;
kappa kappa;
value uniform 300; value uniform 300;
} }
\endverbatim \endverbatim
Needs to be on underlying mapped(Wall)FvPatch. Needs to be on underlying mapped(Wall)FvPatch.
Note:
- \c kappa and \c kappaName are inherited from temperatureCoupledBase.
See also See also
Foam::temperatureCoupledBase Foam::temperatureCoupledBase