8.4.1. What the MultiComponentNavierStokesInterface does
Once a MultiComponentNavierStokesInterface with the passed interface properties is added to the problem’s equations, it will add all relevant contributions of a free surface to the system. If the gas phase has just diffusion, i.e. no flow, by a CompositionDiffusionEquations() class, it will add both the kinematic and the dynamic boundary condition to the system
Here, the superscript \(\text{l}\) refers to the liquid phase. For the details of the weak form implementation, please refer to Section 6.5. \(j_\alpha\) are potential mass transfer rates, which will be calculated by a mass transfer model (cf. next section). In absence of any mass transfer (\(j_\alpha=0\) for all components \(\alpha\)), it is again the normal kinematic and dynamic boundary condition, where the gas phase is not considered due to the disregarded flow.
If gas flow is considered, i.e. when the gas phase has CompositionFlowEquations() instead of CompositionDiffusionEquations(), also the gas velocity and pressure will also couple into the system and the MultiComponentNavierStokesInterface solves the following boundary conditions
The tangential velocity is hence continuous whereas the normal velocity will have a jump (Stefan flow) when evaporation is considered and the mass densities differs. Also the stress and the pressure are now coupled. The vapor recoil pressure is not considered in these terms, since it is usually a tiny contribution. Such additional contributions must be added manually.
On a moving mesh, the kinematic boundary conditions are enforced by moving the mesh accordingly. If the mesh is static, i.e. no equations for the mesh motion are added, the kinematic boundary condition is enforced on the velocity instead (with interface velocity \(\vec{u}_\text{I}=0\)). Optionally, one can also use a static interface on a moving mesh with the keyword argument static=True.
Finally, if the mass transfer rates \(j_\alpha\) are non-zero, the fluid composition on both sides changes as well. Therefore, let the species velocity of component \(\alpha\) in phase \(\phi=\text{l,g}\) be given by \(\vec{u}_\alpha^\phi\). The species velocity is not the same as the mass-averaged velocity \(\vec{u}^\phi\) since in a mixture, different species may move into different directions (e.g. in case of diffusion). The mass-averaged velocity is connected to the species velocities via
A transfer rate of \(j_\alpha\) (mass per interface area and time) of component \(\alpha\) crossing the interface means that indeed this particle flux is crossing the interface, i.e.
Summing over all \(\alpha\) gives the kinematic boundary conditions due to \(\sum_\alpha w_\alpha=1\) and the definition of the mass-averaged velocity. Since the mass has to be conserved when crossing the interface, both sides are the same, i.e. \(j_\alpha=j_\alpha^\text{l}=j_\alpha^\text{g}\).
As mentioned, diffusion can lead to a relative motion of species with respect to the mass-averaged velocity. In fact, the diffusive flux mass flux \(\vec{J}_\alpha\) is connected to the relative motion of species \(\alpha\) with respect to the averaged velocity by
Thereby, the species velocity \(\vec{u}_\alpha^\phi\) can be replaced by the diffusive fluxes in the mass transfer rate
Thereby, the normal diffusive flux at the interface, which is exactly the Neumann term which can be imposed for the mass fraction advection diffusion equations (8.1), can be written as
If the phase \(\phi\) consider the flow, i.e. CompositionFlowEquations() are used, these Neumann terms are applied to the equations (8.1) for \(\alpha=1,\ldots,n-1\), where the sum over \(\beta\) includes also the \(n^\text{th}\) term to account for transfer of the selected passive_field, which is not explicitly solved for.
If flow is disregarded in phase \(\phi\), i.e. using the CompositionDiffusionEquations(), the advection term is also disregarded since it stems from the relative velocity of the fluid to the interface. For domains with CompositionDiffusionEquations(), the mass transfer rates are imposed directly as diffusive fluxes: