Corrosion-resistant flow monitoring of electromagnetic flow meters in ocean engineering