Description

The outletMappedUniformInlet is a generic fixed-value inlet condition that - averages patch fields of specified β€œoutlet” patches and uniformly applies the averaged value over a specified inlet patch. - optionally, the averaged value can be scaled and/or offset by a specified value, and/or mapped by a specified time delay.

The governing equation of the boundary condition is:

\[\phi_{inlet} = \sum_i \left( f_i \phi_{{outlet}_i} + \phi_{{offset}_i} \right)\]

where:

Property Type
\(\phi_{inlet}\) Spatially-uniform patch-field value at an inlet patch
\(\phi_{outlet}\) Averaged patch-field value at an outlet patch
\(f\) User-defined fraction value
\(\phi_{offset}\) User-defined offset value
\(i\) Outlet-patch index

Usage

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

Boundary file

<patchName>
{
    type            patch;
    ...
}

Field file

<patchName>
{
    // Mandatory entries
    type            outletMappedUniformInlet;

    outlets
    {
        <outletName.1>
        {
            fraction    <Function1<scalar>>;
            offset      <Function1<Type>>;
            timeDelay   <Function1<scalar>>;
        }
        <outletName.2>
        {
            fraction    <Function1<scalar>>;
            offset      <Function1<Type>>;
            timeDelay   <Function1<scalar>>;
        }
        ...
    }

    // Optional entries
    uniformValue    <PatchFunction1<Type>>;
    phi             phi;

    // Inherited entries
    ...
}

where:

Property Description Type Required Default
type Type name: outletMappedUniformInlet word yes -
outlets Dictionary name: outlets dict yes -
fraction Fraction value Function1<scalar> no 1
offset Offset value Function1<Type> no Zero
timeDelay Time delay Function1<scalar> no 0
uniformValue Base inlet patch field PatchFunction1<Type> no Zero
phi Name of operand flux field word no phi

The inherited entries are elaborated in:

Further information

Tutorial:

Source code:

API:

History:

  • Introduced in version 2.0.0