Description

The fixedFluxPressure is a pressure boundary condition to set the pressure gradient to the provided value such that the flux on the boundary is that specified by the velocity boundary condition. This condition ensures the correct flux at fixed-flux boundaries by compensating for the body forces (gravity in particular) with the pressure gradient.

Usage

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

Boundary file

<patchName>
{
    type            patch;
    ...
}

Field file

<patchName>
{
    // Mandatory entries
    type            fixedFluxPressure;

    // Inherited entries
    ...
}

where:

Property Description Type Required Default
type Type name: fixedFluxPressure word yes -

The inherited entries are elaborated in:

Further information

Tutorial:

Source code:

API:

History:

  • Introduced in version 1.5