feos.Interface¶
- class feos.Interface(grid, vle, density)¶
A one-dimensional density profile of a planar, cylindrical or spherical vapor-liquid or liquid-liquid interface.
- Parameters:
grid (Grid) – The grid on which the density is calculated (Grid.cartesian_1d, Grid.polar, or Grid.spherical).
vle (PhaseEquilibrium) – The bulk phase equilibrium.
density (SIArray2) – The initial density profile.
- Return type:
Methods
__init__()curved(planar_interface, n_grid, l_grid, ...)Initialize a curved interface from a converged planar interface.
dn_dp(bulk)Calculate the partial derivatives of the number of moles w.r.t.
dn_dt_p(bulk)Calculate the partial derivatives of the number of moles w.r.t.
drho_dp(bulk)Calculate the partial derivatives of the density profiles w.r.t.
drho_dt_p(bulk)Calculate the partial derivatives of the density profiles w.r.t.
entropy([contributions])Calculate the entropy of the inhomogeneous system.
entropy_density([contributions])Calculate the entropy density of the inhomogeneous system.
Calculates the interfacial enrichment E_i.
Calculates the interfacial thickness (90-10 number density difference)
internal_energy([contributions])Calculate the internal energy of the inhomogeneous system.
planar_from_tanh(vle, n_grid, l_grid, ...)Initialize a planar interface with a hyperbolic tangent.
Calculates the Gibbs relative adsorption of component i with respect to j: Gamma_i^(j)
residual([log])Calculate the residual for the given profile.
solve([solver, debug])Solve the profile in-place.
Attributes
axesdensitydn_dmudrho_dmudrho_dndrho_dt_nedgesexternal_potentialfunctional_derivativegrand_potential_densitygridmolesnon_bonded_fractionssolver_logsurface_of_tensionsurface_tensiontemperaturetotal_molesvleweighted_densities