feos.Interface.planar_from_tanh¶
- static Interface.planar_from_tanh(vle, n_grid, l_grid, critical_temperature)¶
Initialize a planar interface with a hyperbolic tangent.
- Parameters:
vle (PhaseEquilibrium) – The bulk phase equilibrium.
n_grid (int) – The number of grid points.
l_grid (SINumber) – The width of the calculation domain.
critical_temperature (SINumber) – An estimate for the critical temperature of the system. Used to guess the width of the interface.
- Return type: