Skip to main content

outletMappedUniformInlet

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:

ϕinlet=i(fiϕoutleti+ϕoffseti) \phi_{inlet} = \sum_i \left( f_i \phi_{{outlet}_i} + \phi_{{offset}_i} \right)

where:

PropertyType
ϕinlet\phi_{inlet}Spatially-uniform patch-field value at an inlet patch
ϕoutlet\phi_{outlet}Averaged patch-field value at an outlet patch
ffUser-defined fraction value
ϕoffset\phi_{offset}User-defined offset value
iiOutlet-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:

PropertyDescriptionTypeRequiredDefault
typeType name: outletMappedUniformInletwordyes-
outletsDictionary name: outletsdictyes-
fractionFraction valueFunction1<scalar>no1
offsetOffset valueFunction1<Type>noZero
timeDelayTime delayFunction1<scalar>no0
uniformValueBase inlet patch fieldPatchFunction1<Type>noZero
phiName of operand flux fieldwordnophi

The inherited entries are elaborated in:

  • Any negative input of timeDelay entry is forced to be zero without emitting any warnings.

Further information

Tutorial:

Source code:

API:

History: Introduced in version 2.0.0