Heat and vibration are two things that will cause bolts to loosen. Even if you don't want them to loosen. Sometimes lightly tapping, for a long time, on a cast peice that is super rusted will allow the oil to penetrate better. Especially after heating.
A heating and cooling will sometimes help the oil penetrate better. There really is no set way to get anything loose.....it's all trial and error.
A peice of 1 1/2" or two inch pipe could be cut so that it has "castlelations" protruding from the end...then put a pipe wrench on the pipe to turn.