Skip to content

fixedTemperatureFvPatchScalarField

Description

The fixedTemperature boundary condition allows to specify a constant fixed temperature on a patch.

It is similar to the standard fixedValue OpenFOAM fvPatchField but, in case an oxide layer is present, an additional thermal resistance corresponding to the oxide is considered.


Options

The fixedTemperature fvPatchField can be selected in the patch subdictionary inside the boundaryField subdictionary of the temperature field.

Parameters in the patch subdictionary for fixedTemperature:

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).


Usage

To apply the fixedTemperature boundary condition to a given patch, the following example can be used as a template:

claddingOuterSurface
{
    type            fixedTemperature;

    // "value" is:
    // - the initial metal-oxide interface temperature, if the corrosion
    // model is present
    // - the initial outer temperature, if the corrosion is not present
    value           uniform 300;

    outerOxideTemperature           uniform 300;
}