feos.PoreProfile¶
- class feos.PoreProfile(grid, bulk, external_potential, density=None, specification=Ellipsis)¶
The base class for studying adsorption phenomena.
- Parameters:
grid (Grid) – The grid on which the density is calculated.
bulk (State) – The (initial) bulk state in equilibrium with the pore.
external_potential (SIArray) – The external potential used to model wall-fluid interactions.
density (SIArray, optional) – The initial density distribution.
specification (PoreSpecification) – The external constraint that specifies the state in the pore.
- Return type:
Methods
__init__()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.
internal_energy([contributions])Calculate the internal energy of the inhomogeneous system.
residual([log])Calculate the residual for the given profile.
solve([solver, debug])Solve the profile in-place.
Attributes
axesbulkdensitydn_dmudrho_dmudrho_dndrho_dt_nedgesenthalpy_of_adsorptionexternal_potentialfunctional_derivativegrand_potentialgrand_potential_densitygridhenry_coefficientsideal_gas_enthalpy_of_adsorptioninterfacial_tensionmolesnon_bonded_fractionspartial_molar_enthalpy_of_adsorptionsolver_logtemperaturetotal_molesweighted_densities