I too suspect painting your tank [member=196811]Hogwarts[/member] will give you the water quality you desire for your pigs (assuming the paint will stay stuck to your tank): however, there may well be safe chemical additives you might also .. um .. add if you remain unhappy.
I seem to recall there were products for helping keep fish tanks clear when, long time ago, I kept tropicals: of course the fish were not for human consumption idc, unlike your pigs.
However, thinking aloud here, would something like 'Citrox P' (the concentrated version of Citrox horticultural disinfectant) be OK for the pigs' drinking water ? Warning (!) - I DON'T KNOW, but Citrox (from Agrilan) is touted as curbing algal growth in water tanks with as low a concentration as 1 ltr 'Citrox P' to 100,000 litres (repeat 100,000 ltrs) of water = very diluted !!
Citrox is derived from citrus oils with added "biodegradable surfactants": I have no idea what those biodegradable surfactants might be though !!
So, again, I'm just thinking aloud: if I had live-stock & was about to consider the above for my own purposes, I would definitely talk to Agrilan first before dosing my animals' drinking water with 'Citrox P'!