Numerical analysis of thin walled beams with internal unbonded cables by the Ritz method