Numerical study of convection in the horizontal Bridgman conguration under the action of a constant magnetic eld. Part 2. Three-dimensional flow