The new model of a tidally disrupted star: further development and relativistic calculations