In all literature I have searched, the Galilean transform between two coordinates $(\overrightarrow{x},t)$ and $(\overrightarrow{x'},t')$ have been considered for a "constant velocity".
That is, there exists a constant vector $\overrightarrow{v}$ such that \begin{equation} t'=t \text{ and } \overrightarrow{x'}=\overrightarrow{x}-\overrightarrow{v}t \end{equation} provided that the two coordinate systems share the origin.
Now, I wonder if we can exend the above transformation to cases where $\overrightarrow{v}$ itself is a smooth vector field depending on $\overrightarrow{x}$ and $t$. That is, we have $\overrightarrow{v}=\overrightarrow{v}(\overrightarrow{x},t)$.
Then, how should we make sense of the coordinate system $(\overrightarrow{x'},t')$ that is moving with the velocitiy field $\overrightarrow{v}(\overrightarrow{x},t)$ with respect to the coordinate system $(\overrightarrow{x},t)$?
Since I am remaining in the classical level, I guess it must be like \begin{equation} t'=t \text{ and } x'=x-\int_0^t \overrightarrow{v}(\overrightarrow{x},\tau) d\tau? \end{equation}
But I am not sure... because the velocity field is dependent on the position as well... Could anyone please provide any insght?