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:
| Property | Description | Type | Required | Default |
|---|---|---|---|---|
type | Type name: uniformFixedGradient | word | yes | - |
uniformGradient | Uniform gradient values | PatchFunction1<Type> | yes | - |
The inherited entries are elaborated in:
- fixedGradientFvPatchField.H
- PatchFunction1.H
Further information
Tutorial:
- N/A
Source code:
API:
History: Introduced in version 2.2.1