Computational model for rotational molding of thermoplastics