Development and preliminary assessment of a three-dimensional thermal hydraulics code, CUPID - Cho, Hyoung-Kyu.