Developing and Tailoring a CFD Code for Multiphase Multicomponent Flows