I am solving an ode with NDSolve, from which I get an interpolating function. Since the problem I have has cylindrical symmetry I want to use RevolutionPlot3D to make a nice plot, but when I call it like RevolutionPlot3d[y[x]/.sol,{x,0,xmax}] it tells me a non-rectangular tensor is encountered, is there a way of using interpolating functions with RevolutionPlot3D, or in any case producing similar results with other plotting functions that will allow me to use an interpolating function as input?