Description

The fixedMean is a general boundary condition to extrapolate a field to the patch using the near-cell values and adjusts the distribution to match the specified, optionally time-varying, mean value.

Usage

The condition requires entries in both the boundary and field files.

Boundary file

<patchName>
{
    type            patch;
    ...
}

Field file

<patchName>
{
    // Mandatory entries
    type            fixedMean;
    meanValue       <Function1<Type>>;

    // Inherited entries
    ...
}

where:

Property Description Type Required Default
type Type name: fixedMean word yes -
meanValue Mean value that the field is adjusted to maintain Function1<Type> yes -

The inherited entries are elaborated in:

Further information

Tutorial:

Source code:

API:

History:

  • Introduced in version 2.1.1