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 <Function1<Type>>;
// Inherited entries
...
}
where:
Property | Description | Type | Required | Default |
---|---|---|---|---|
type |
Type name: uniformFixedGradient
|
word | yes | - |
uniformGradient |
Uniform gradient field | Function1<Type> | yes | - |
The inherited entries are elaborated in:
- fixedGradientFaPatchField.H
-
Function1.H
- The
value
entry (optional) is used for the initial values. Otherwise theuniformGradient
is used for the evaluation. In some cases (eg, coded or expression entries with references to other fields) this can be problematic and thevalue
entry will be needed.
Further information🔗
Tutorial:
- N/A
Source code:
API:
History:
- Introduced in version v2306