Dissolution of nickel and magnesium from garnierite ore in an acid solution