This implements a non-isothermal two-phase model with Pw and Sn as primary unknowns. You can also use Pn and Sw as primary variables if you set the Formulation property to pNsW.