Skip to content

timeDependentTemperatureFvPatchScalarField

Description

The timeDependentTemperature boundary condition allows to impose a time dependent temperature on a patch.

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


Options

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

Parameters in the patch subdictionary for timeDependentTemperature:

temperatureSeries Dictionary containing the information related to the time-dependent temperature.
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 for temperatureSeries:

values Inside the dictionary temperatureSeries, a list of tuples of (time, temperature) values.
interpolationScheme Inside the dictionary temperatureSeries, a keyword for selecting the type of interpolation. By default is linear.


Usage

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

claddingOuterSurface
{
    type            timeDependentTemperature;

    // Time dependent temperature
    temperatureSeries
    {
        // Including an external file containing the time dependent table
        // for a more readable input
        values #include    "$FOAM_CASE/constant/lists/claddingTemperature";

        // optional out-of-bounds handling
        outOfBounds         clamp;

        // optional interpolation method
        interpolationScheme linear;
    }

    // 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;
}

An example of the time dependent table included in the previous example under the keyword values is given hereafter. The first column represents time units, while the second columns represent temperatures (K).

(
    (0      300.0)
    (3600   500.0)
    (7200   500.0)
    (10800  300.0)
);