Numerical Modeling of Three-Dimensional Fluid Flow with Phase Change