I'm trying to turn the following nonlinear PDE into a nonlinear ODE using dimensional reduction (since u is a velocity) and a similarity variable.
$\frac{\partial u}{\partial t} + u\frac{\partial u}{\partial x}= 0$
With conditions:
$u(x,0) = 0$ for $x < 0$ and $u(x,0) = u_{0}$ for $x > 0$.
After dimensional reduction, I find that:
$u = u_{0}F(y)$, where $y = \frac{x}{u_{0}t}$ is my similarity variable and $F$ is yet to be determined.
However, when I plug back into the PDE to try to solve for $F$ rather than getting a nonlinear ODE, most everything just cancels out and I get that:
$F(y) = y$
which doesn't seem to satisfy the conditions. I have no idea what else to do though. Any suggestions/hints? This isn't even for a differential equations class, this is just one part of a larger problem and my Diff Eq is pretty rusty so I'm even more confused.