modelSolubilityInterface

Solubility equilibrium model at a phase interface

Information

Equilibrium of a dissolved substance across the interface between two phases, such as a fluid and a wall, where the concentration jumps instead of being the same on both sides. For each substance, port_a.C/Ka = (port_b.C/Kb)^nb.

  • With Ka a Henry's law coefficient and Kb a Sievert's law coefficient, both sides of the equation are the substance's partial pressure when nb = 2, so port_b is the side that follows Sievert's law.

Parameters

TypeNameDefaultDescription
IntegernC1# of substances
Real[nC]nbfill(1, nC)Exponent on port_b.C/Kb, e.g. 2 for Sievert's law
Visualization
BooleanshowNametrue= true to show the component name on the icon

Connectors

TypeNameDefaultDescription
Interfaces.MolePort_Stateport_aMole port on one side of the interface
Interfaces.MolePort_Stateport_bMole port on the other side of the interface

Components

TypeNameDefaultDescription
Real[nC]Kafill(1, nC)Solubility coefficient at port_a, e.g. Henry's law
Real[nC]Kbfill(1, nC)Solubility coefficient at port_b, e.g. Sievert's law