Buckling of thin walled beams by refined theory