The totalFlowRateAdvectiveDiffusive is a boundary condition that provides an inlet for species. The diffusion and advection fluxes are considered to calculate the inlet value for the species.


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

Boundary file

    type            patch;

Field file

    // Mandatory entries
    type            totalFlowRateAdvectiveDiffusive;

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

    // Inherited entries


Property Description Type Required Default
type Type name: totalFlowRateAdvectiveDiffusive word yes -
phi Name of flux field word no phi
rho Name of density field word no rho
massFluxFraction Mass flux fraction scalar no 1.0

The inherited entries are elaborated in:

  • mixedFvPatchField.H

  • The massFluxFraction sets the fraction of the flux of each particular species.

Further information


Source code:



  • Introduced in version v2206