We detail here the model of two-phase flows with surfactant. Compared to the kernel NSAC_Comp, the equations of mass balance, impulsion balance and levelset are identical. The modification appears in the composition equation.
The mathematical model is composed of incompressible Navier-Stokes equations coupled with the phase-field equation and the composition equation. Compared to the NSAC_Comp kernel, the composition equation is modified with a counter term to impose an equilibrium profile at the interface. The model writes as follows.
where \(p_{h}\equiv p_{h}(\boldsymbol{x},t)\) is the hydrodynamic pressure, \(\varrho\) is the total densiy and \(\eta\) is the dynamic viscosity. Those quantities are obtained from the interpolation of bulk properties with the phase-field \(\phi\). Their expressions will be given in the subsection “Closure”.
Phase-field equation
The interface is followed by an additional PDE on the phase-field:
where \(\phi\equiv\phi(\boldsymbol{x},t)\) is the phase-field, \(M_{\phi}\) is the mobility and \(W\) is the interface width. That equation is called “Conservative Allen-Cahn” equation (CAC). It is also encountered in the literature as the “Levelset” equation.
Finally, the composition equation is also considered in that model:
where \(c\equiv c(\boldsymbol{x},t)\) is the composition, \(M_c\) is the diffusion coefficient and \(\mathcal{P}(\phi)\) is an interpolation polynom defined by
where \(\boldsymbol{F}_{c}\) is the capillary force, \(\boldsymbol{F}_{g}\) is the gravity force and \(\boldsymbol{F}_{M}\) is the Marangoni force. They are detailed below.
where \(W\) is the interface width and \(\textcolor{red}{\sigma(c)}\) is the surface tension varying with composition \(c\). Two phenomenological laws are given on the next tab-item.
In the last term of the righ-hand side of Eq. (55), the source term \(\mathscr{S}_{\phi}\) can be defined for phase-change problems. In that case, the \(\lambda\) coefficient must be appropriately chosen. For two immiscible fluid flows, that coefficient is set equal to zero.
Phenomenological laws for surface tension
Two models are implemented to modify the surface tension \(\sigma (c)\) with composition \(c\). The first one writes:
in that case, option Closure_Model=1 must be set and the coefficient \(\gamma\) is named beta_log in .ini file and \(\sigma_{0}\) are two coefficients to be indicated inside the .ini file.
In order to close the model, it is required to add closure relationships. The total density \(\varrho\) is interpolated by \(\phi\) and \(c\):
In section [lbm] use the keyword problem=NSAC_Comp to simulate that mathematical model. Next, the sections [params] and [params_composition] must be set.
The list of parameters are summarized in Table below.
Those analytical solutions can be run in folders Analytical_Profile1 and Analytical_Profile2 of directory TestCase19_Surfactant. The post-processing used version 5.12 of paraview.