Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Back to top
View this page

feos.PlanarInterface

class feos.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.

interfacial_enrichment()

Calculates the interfacial enrichment E_i.

interfacial_thickness()

Calculates the interfacial thickness (90-10 number density difference)

internal_energy(contributions)

Calculate the internal energy of the inhomogeneous system.

relative_adsorption()

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

bulk

density

dn_dmu

dn_dp

dn_dt

drho_dmu

drho_dp

drho_dt

equimolar_radius

external_potential

functional_derivative

grand_potential_density

moles

solver_log

surface_tension

temperature

total_moles

vle

weighted_densities

z