feos.Interface.curved¶
- static Interface.curved(planar_interface, n_grid, l_grid, radius, geometry)¶
Initialize a curved interface from a converged planar interface.
The planar density profile is interpolated onto the new grid so that its equimolar surface is located at the specified radius.
- Parameters:
planar_interface (Interface) – A (converged) planar interface.
n_grid (int) – The number of grid points.
l_grid (SINumber) – The width of the calculation domain.
radius (SINumber) – The initial radius of the equimolar surface. A positive radius corresponds to a droplet, a negative radius to a bubble.
geometry (Geometry) – The geometry of the interface (cylindrical or spherical).
- Return type: