Supporting any number of phases with heat and mass transfer, phase-change and reactions
and two-phase functionality separated from multiphase functionality