Skip to main content

fixedMean

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:

PropertyDescriptionTypeRequiredDefault
typeType name: fixedMeanwordyes-
meanValueMean value that the field is adjusted to maintainFunction1<Type>yes-

The inherited entries are elaborated in:

Further information

Tutorial:

Source code:

API:

History: Introduced in version 2.1.1