Skip to main content

totalFlowRateAdvectiveDiffusive

Description

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.

Usage

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

Boundary file

<patchName>
{
type patch;
...
}

Field file

<patchName>
{
// Mandatory entries
type totalFlowRateAdvectiveDiffusive;

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

// Inherited entries
...
}

where:

PropertyDescriptionTypeRequiredDefault
typeType name: totalFlowRateAdvectiveDiffusivewordyes-
phiName of flux fieldwordnophi
rhoName of density fieldwordnorho
massFluxFractionMass flux fractionscalarno1.0

The inherited entries are elaborated in:

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

Further information

Tutorial:

Source code:

API:

History: Introduced in version v2206