Skip to main content

outletInlet

Description

The outletInlet is a generic mixed boundary condition that sets the patch value to a user-specified fixedValue for reverse flows, and treats inflow using a zeroGradient condition.

Usage

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

Boundary file

<patchName>
{
type patch;
...
}

Field file

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

// Optional entries
phi phi;

// Inherited entries
}

where:

PropertyDescriptionTypeRequiredDefault
typeType name: outletInletwordyes-
outletValueOutlet field for reverse flowFieldyes-
phiName of the local mass fluxwordnophi

The inherited entries are elaborated in:

  • The mode of operation is determined by the sign of the flux across the patch faces.
  • Sign conventions:
    • Positive flux (out of domain): apply the "outletValue" fixed-value
    • Negative flux (into domain): apply zero-gradient condition

Further information

Tutorial:

Source code:

API:

History: Introduced in version 1.5