The incompressible Navier Stokes equations can be written as
A. $$\frac{\partial (\rho \mathbf{v})}{\partial t} + \nabla \cdot (\rho \mathbf{v} \mathbf{v}) = S$$
or
B. $$\frac{\partial \mathbf{v}}{\partial t} + (\mathbf{v} \cdot \nabla) \mathbf{v} = \frac{S}{\rho}$$
where $S$ is some source term. But it seems these not the same in 1-d...?
A. $$\frac{\partial (\rho v)}{\partial t} + \frac{\partial (\rho v^2)}{\partial z}= S$$
$$\frac{\partial (\rho v)}{\partial t} + \rho\frac{\partial v^2}{\partial z} + v^2\frac{\partial \rho}{\partial z}= S$$
Let $\rho = 1$ $$\frac{\partial v}{\partial t} + \frac{\partial v^2}{\partial z} = S$$
$$\frac{\partial v}{\partial t} + 2v\frac{\partial v}{\partial z} = S$$
is not the same as
B. $$\frac{\partial v}{\partial t} + v\frac{\partial v}{\partial z} = \frac{S}{\rho}$$
Let $\rho = 1$
$$\frac{\partial v}{\partial t} + v\frac{\partial v}{\partial z} = S$$
So what am I missing? Which version is correct?
They are both correct. Remember you also have the divergence free condition: $$ \frac{\partial v}{\partial z} = 0 .$$ Note, this makes the 1D incompressible NS equation quite boring.