A new theoretical model is introduced which is able to describe the initial compression and thermalization stage of an ultrarelativistic heavy-ion collision in a hydrodynamical three-flow picture. The first and second fluid is attributed to the nucleons of target and projectile, while a third component is introduced in order to take into account the gradual thermalization of the incoming flow. Based on relativistic transport theory, hydrodynamic equations of motion are derived for each component including transitions of target and projectile nucleons to the thermalized matter component as well as mutual deceleration accompanied with gradual heat transfer between the components. Hence, the multicomponent formalism contains the former two fluid approach as a limiting case.