Predicting the location of barium sulfate scale formation in production systems