uniformFixedValueVoidfraction

Syntax

Defined in the boundary condition of the velocity file.

fvPatchField uniformFixedValueVoidfraction;

Examples

inlet
{
    type            uniformFixedValueVoidfraction;
    uniformValue    table
    (
        (0.000 (0 -0.5 0))
        (1.000 (0 -0.5 0))
    );
    value           $internalField;
}

Description

The uniformFixedValueVoidfraction boundary condition interprets the velocity defined by uniformValue superficial velocity U_\mathrm{sup} and calculates the actual inlet velocity as U_\mathrm{sup} \alpha using the voidfraction \alpha. It is therefore not necessary to ensure voidfraction = 1 at the boundary patch to preserve the flow rate. Instead a zeroGradient boundary condition can be used for the voidfraction field.

Restrictions

If using a table entry, please make sure to use a table with at least two lines as a table with only one entry is not well defined.