solving xi kin bar with ode solver