Descriptionπ
The inletOutlet
is a boundary condition that provides
a generic outflow condition, with specified inflow for the case of return flow.
Usageπ
The condition requires entries in both the boundary and field files.
Boundary fileπ
<patchName>
{
type patch;
...
}
Field fileπ
<patchName>
{
// Mandatory entries
type inletOutlet;
inletValue <Field>;
// Optional entries
phi <word>;
// Inherited entries
...
}
where:
Property | Description | Type | Required | Default |
---|---|---|---|---|
type |
Type name: inletOutlet
|
word | yes | - |
inletValue |
Inlet value field | scalarField | yes | - |
phi |
Name of flux field | word | no | phi |
The inherited entries are elaborated in:
-
mixedFaPatchField.H
- The mode of operation is determined by the sign of the flux across the patch edges.
- Sign conventions:
- Positive flux (out of domain): apply zero-gradient condition
- Negative flux (into domain): apply the βinletValueβ fixed-value
Further informationπ
Tutorial:
Source code:
API:
History:
- Introduced in version v1712