I want to solve the inviscid Burgers' equation:
$$\begin{equation} \frac{\partial u}{\partial t} + u\frac{\partial u }{\partial x} = 0 \end{equation}$$ I want to reduce the PDE to an ODE by saying that$\ u $ is a function of:
$$\ u = u(x, t , u_o)$$
I expressed $\ u $ as a dimensionless quantity in terms of length (x), time(t) and the initial velocity (u0):
$$\ [u] = [x^a t^b u_o^c]$$
Yielding the similarity variable $\eta $:
$$\eta = \frac{x}{tu_0}$$
I then defined the following function:
$$u = u_0(\frac{x}{tu_0})^a = u_0F(\eta)$$
Subsequently carrying out the change of variables:
$$\begin{equation} \frac{\partial u}{\partial t} = F'(\eta)\frac{\partial \eta}{\partial t} = F'(\eta)(\frac{-x}{t^2}) \end{equation}$$
$$\begin{equation} \frac{\partial u}{\partial x} = F'(\eta)\frac{\partial \eta}{\partial x} = F'(\eta)(\frac{1}{t}) \end{equation}$$
Plugging it back into the differential equation I end up with a strange ODE:
$$\ F(\eta)F'(\eta) = \eta F'(\eta) $$
I think somewhere I made an error. If I need to show more steps please let me know. Any help would be appreciated.