Numerical simulation of the gas flow in close binary systems.