feos.dft.PlanarInterface¶
- class feos.dft.PlanarInterface¶
A one-dimensional density profile of a vapor-liquid or liquid-liquid interface.
Methods
__init__()entropy(contributions)Calculate the entropy of the inhomogeneous system.
entropy_density(contributions)Calculate the entropy density of the inhomogeneous system.
from_density_profile(vle, n_grid, l_grid, ...)Initialize a planar interface with a provided density profile.
from_pdgt(vle, n_grid[, fix_equimolar_surface])Initialize a planar interface with a pDGT calculation.
from_tanh(vle, n_grid, l_grid, ...[, ...])Initialize a planar interface with a hyperbolic tangent.
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.
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
bulkdensitydn_dmudn_dpdn_dtdrho_dmudrho_dpdrho_dtequimolar_radiusexternal_potentialfunctional_derivativegrand_potential_densitymolessolver_logsurface_tensiontemperaturetotal_molesvleweighted_densitiesz