Thermophysical flow simulations of rapid expansion of supercritical solutions (RESS)