Skip to main content

uniformFixedGradient

Description

The uniformFixedGradient is a boundary condition that provides a uniform fixed gradient condition.

Usage

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

Boundary file

<patchName>
{
type patch;
...
}

Field file

<patchName>
{
// Mandatory entries
type uniformFixedGradient;
uniformGradient <PatchFunction1<Type>>;

// Inherited entries
...
}

where:

PropertyDescriptionTypeRequiredDefault
typeType name: uniformFixedGradientwordyes-
uniformGradientUniform gradient valuesPatchFunction1<Type>yes-

The inherited entries are elaborated in:

Further information

Tutorial:

  • N/A

Source code:

API:

History: Introduced in version 2.2.1