The outletInlet is a boundary condition that provides a generic inflow condition, with specified outflow for the case of reverse flow.


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

Boundary file

    type            patch;

Field file

    // Mandatory entries
    type            outletInlet;
    outletValue     <Field>;

    // Optional entries
    phi             <word>;

    // Inherited entries


Property Description Type Required Default
type Type name: outletInlet word yes -
outletValue Outlet 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 the β€œoutletValue” fixed-value
    • Negative flux (into domain): apply zero-gradient condition

Further information


Source code:



  • Introduced in version v1712