flow diagram of ore mining to refining process