Numerical Simulation of a Two-Phase Thermal Control System