xzTemperatureProfileFvPatchScalarField
Description
The xzTemperatureProfile boundary condition allows to impose a temperature
profile constant in time but varying along x and z directions.
Warning
The axial locations provided to this boundary conditions are NOT normalized but absolute values expressed in \(m\).
Options
The xzTemperatureProfile fvPatchField can be selected in the patch subdictionary
inside the boundaryField subdictionary of the temperature field.
Parameters in the patch subdictionary for xzTemperatureProfile:
| axialProfileDict | Dictionary containing the information related to the temperature time-dependent axial profile. |
| outerOxideTemperature | If the corrosion model is present, this keyword specifies the initial outer temperature (i.e. the one outside the oxide layer). If not present, the initial oxide outer temperature is set to the one specified in value. |
| value | The initial temperature value (in case of oxidation model, it is the outer temperature of the metallic portion of the body). |
Parameters in the subdictionary axialProfileDict:
| xLocations | Inside the dictionary axialProfileDict, a list of x-location at witch the axial profile values are given. The x-values are NOT normalized. |
| data | Inside the dictionary axialProfileDict, a 2D table of the axial profile values in K (one row per x location; in each list one value per axial location). |
| zLocations | Inside the dictionary axialProfileDict, a list of axial z-location at witch the axial profile values are given. The axial values are NOT normalized. |
| axialInterpolationMethod | Inside the dictionary axialProfileDict, a keyword for selecting the type of axial interpolation (linear or step). By default is linear. |
| xInterpolationMethod | Inside the dictionary axialProfileDict, a keyword for selecting the type of x-interpolation (linear or step). By default is linear.
|
Usage
To apply the xzTemperatureProfile boundary condition to a given patch, the
following example can be used as a template:
claddingOuterSurface
{
type xzTemperatureProfile;
axialProfileDict
{
timePoints (0 1e2 2e2 ... );
timeInterpolationMethod linear;
// Note: axial locations are NOT normalized
axialLocations ( 0 0.5 1 1.5 ... );
axialInterpolationMethod linear;
data (
(400 420 430 425 ... )
(450 470 480 475 ... )
(440 460 470 465 ... )
:
:
:
);
}
value uniform 300;
// If the corrosion model is present, the initial outer temperature
// (i.e. the one outside the oxide layer) can be specified with the
// following keyword. Otherwise, it is set equal to "values"
outerOxideTemperature uniform 300;
}