Dynamics of flexible bodies in tree topology - A computer oriented approach