CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Main CFD Forum (
-   -   Advection in spherical coordinates? (

lost.identity October 11, 2010 12:03

Advection in spherical coordinates?

I've written a RANS code in spherical coordinates and I want to confirm whether it produces the correct convection by running only the convection and comparing it with the analytical solution. This appears to be the standard practice for Cartesian coordinates. However, for spherical coordinates I haven't been able to find an analytical solution to the equations as I don't think the solution will simply be (u-xt) as in the Cartesian case. If anyone's got any ideas or a way to solve the equations analytically it will be much appreciated.

The convection in spherical coordinates is given by

\frac{\partial\phi}{\partial{t}} + \frac{1}{r^2}\frac{\partial{}}{\partial{r}}(r^2uc) = 0

All times are GMT -4. The time now is 10:21.