Well pigs LOVE dirty water..... given a mud puddle or clean water source, it's the dang mud puddle every time! That being said, I don't think dirty water is appropriate.
I think for pig raising that troughs (for food or water) isn't a good idea. They root around and waste a TON!
I have a 55gal barrel that we drilled a hole and installed a nipple about 4" from the bottom. As the pigs grow, I raise the barrel with 4x4 studs to keep it at a good height. I also have the barrel VERY tightly strapped to fenceposts to keep them from knocking it over.
Feed I do in a creep feeder. Pour in the 50lb bag of grain and they are good for a while. Completely enclosed so no mold or getting wet.
For the occasional table scraps, I have a tiny trough but that's all it's used for.
Pigs need a TON of water. I refill that 55gal barrel about every 3 days for 3 decently small pigs.