Skip to main content

mappedFlowRate

Description

The mappedFlowRate is a velocity boundary condition that describes a volumetric/mass flow normal vector boundary condition by its magnitude as an integral over its area.

The inlet mass flux is taken from the neighbour region.

The basis of the patch (volumetric or mass) is determined by the dimensions of the flux, phi. The current density is used to correct the velocity when applying the mass basis.

Usage

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

Boundary file

<patchName>
{
type mappedPatch;
...
}

Field file

<patchName>
{
// Mandatory entries
type mappedFlowRate;

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

// Inherited entries
...
}

where:

PropertyDescriptionTypeRequiredDefault
typeType name: mappedFlowRatewordyes-
nbrPhiName of the neighbour flux setting the inlet mass fluxwordnophi
phiName of the local mass fluxwordnophi
rhoName of the density field used to normalize the mass fluxwordnorho

The inherited entries are elaborated in:

Further information

Tutorial:

Source code:

API:

History: Introduced in version 2.1.0