A Computational Model For Thin-Walled Structures With Variable Cross Sections