Skip to main content

fluxCorrectedVelocity

Description

The fluxCorrectedVelocity is a velocity-outlet boundary condition that corrects the extrapolated velocity to match the specified flow rate.

Usage

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

Boundary file

<patchName>
{
type patch;
...
}

Field file

<patchName>
{
// Mandatory entries
type fluxCorrectedVelocity;

// Optional entries
phi <word>;
rho <word>;

// Inherited entries
...
}


where:

PropertyDescriptionTypeRequiredDefault
typeType name: fluxCorrectedVelocitywordyes-
phiName of flux fieldwordnophi
rhoName of density fieldwordnorho

The inherited entries are elaborated in:

Method

up=ucn(nuc)+nϕpSf \mathbf{u}_p = \mathbf{u}_c - \mathbf{n} (\mathbf{n} \cdot \mathbf{u}_c) + \frac{\mathbf{n} \phi_p}{|\mathbf{S}_f|}

where:

PropertyDescription
up\mathbf{u}_pPatch velocity [m/s]
uc\mathbf{u}_cVelocity in cells adjacent to the patch [m/s]
uc\mathbf{u}_cPatch-normal vectors [-]
ϕp\phi_pPatch flux [m^3/s] or [kg/s]
Sf\mathbf{S}_fPatch face area vectors [m^2]

Further information

Tutorial:

Source code:

API:

History: Introduced in version 1.5