def setState_Tsat(self, t, vaporFraction): """Set the state of a saturated liquid/vapor mixture by specifying the temperature and vapor fraction.""" _cantera.thermo_setfp(self._phase_id,7, t, vaporFraction)
def setState_SP(self, s, p): """Set the state by specifying the specific entropy energy and the pressure.""" _cantera.thermo_setfp(self._phase_id, 5, s, p)
def setElectricPotential(self, v): """Set the electric potential.""" _cantera.thermo_setfp(self._phase_id, 6, v, 0)
def setState_UV(self, u, v): """Set the state by specifying the specific internal energy and the specific volume.""" _cantera.thermo_setfp(self._phase_id, 3, u, v)
def setState_SV(self, s, v): """Set the state by specifying the specific entropy and the specific volume.""" _cantera.thermo_setfp(self._phase_id, 4, s, v)
def setPressure(self, p): """Set the pressure [Pa].""" _cantera.thermo_setfp(self._phase_id, 1, p, 0.0)
def setState_HP(self, h, p): """Set the state by specifying the specific enthalpy and the pressure.""" _cantera.thermo_setfp(self._phase_id, 2, h, p)
def setElectricPotential(self, v): """Set the electric potential.""" _cantera.thermo_setfp(self._phase_id, 6, v, 0);
def setPressure(self, p): """Set the pressure [Pa].""" _cantera.thermo_setfp(self._phase_id,1,p,0.0)
def setState_Psat(self, p, vaporFraction): """Set the state of a saturated liquid/vapor mixture by specifying the pressure and vapor fraction.""" _cantera.thermo_setfp(self._phase_id, 8, p, vaporFraction)