
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
| Type | Name | Default | Description |
| Integer | nC | 1 | # of substances |
| Real[nC] | nb | fill(1, nC) | Exponent on port_b.C/Kb, e.g. 2 for Sievert's law |
| Visualization |
| Boolean | showName | true | = true to show the component name on the icon |
Components
| Type | Name | Default | Description |
| Real[nC] | Ka | fill(1, nC) | Solubility coefficient at port_a, e.g. Henry's law |
| Real[nC] | Kb | fill(1, nC) | Solubility coefficient at port_b, e.g. Sievert's law |