1. The problem statement, all variables and given/known data A velocity field is given by [tex] \vec {u} = f(r)\vec{x}, r = | \vec{x}| = \sqrt {x^2 + y^2 + z^2} [/tex] written in rectangular cartesian coordinates, where f(r) is a scalar function. Find the most general form of f(r) so that [tex] \vec {u} [/tex] represents an incompressible flow 2. Relevant equations Incompressible flow implies [tex] \nabla . \vec {u} = 0 [/tex]. 3. The attempt at a solution The solution is [tex] \nabla . \vec {u} = 3f + rf' so f(r) = A/r^3 [/tex] (A is an arbitrary constant) but I don't see how it is arrived at. Thanks
Think I can help here. Not sure where your getting stuck as you haven't properly written out your thoughts. First thing you need to do is get the general expression for divergence in terms of your scalar function. Here are the key things for the x-component (and they have the same form for y and z). div u = d(u_{x})/dx + ...... u_{x} = f(r) r_{x} so write out div u making the substitution. But remember the product rule. http://en.wikipedia.org/wiki/Product_rule There are some further steps before you can get your answer, but this is a good start.