Boundary Fluxes
All domain fluxes (vector quantities) are also available as boundary fluxes. The boundary fluxes are equal to the value of the flux on adjacent domains. Additionally, normal boundary fluxes (scalar quantities) are available on boundaries.
Boundary flux
The variable bndFlux is defined using the Boundary Flux Operators: uflux and dflux. These operators are used when the Compute boundary fluxes check box is selected, see Computing Accurate Fluxes.
On exterior boundaries, bndFlux is defined as:
bndFlux = − dflux_spatial(c)/d, if the adjacent domain is on the downside
bndFlux = − uflux_spatial(c)/d, if the adjacent domain is on the upside
The up and downside is defined by the surface normal, which points from downside to the upside. On interior boundaries, bndFlux is the mean of the fluxes on both sides:
bndFlux = 0.5(uflux_spatial(c) − dflux_spatial(c))/d
Also, d is the out-of-plane geometry extension (out-of-plane thickness for 2D systems, or cross-sectional area for a 1D or 1D axisymmetric system).
Convective boundary flux
The variable cbf is used to account for convection when defining boundary conditions and is defined as:
Normal convective flux
The variable ncflux is defined as:
Normal diffusive flux
The variable ndflux is defined as:
Normal electrophoretic flux
The variable nmflux is defined as:
Normal total flux
The variable ntflux is defined as:
for a system without convection, or a system with convection and a conservative form for the convective term.
In a system with convection, and a nonconservative convective form, the normal total flux is: