Simulation of incompressible flows with heat and mass transfer using parallel finite element method