You should be able to obtain an analytical solution if for example you take as being constant.
Or you can try to assume an analytical variation for this, say: =1/ Once you've picked an expression in r for you can differentiate and try to find solutions of the form: = F(r)T(t) If you are lucky you should be able to find a series solution for your function. Do |
Not to be too nit-picky but I think technically you are verifying your code. One really powerful tool for code verification is the method of manufactured solutions. Two good articles to get started are:
P. J. Roache, Code Verification by the Method of Manufactured Solutions, Journal Fluids Engineering, Vol 124 pp4-10 March 2002 K. Salari and P. Knupp, Code Verification by the Method of Manufactured Solutions, Sandia Report SAND2000-1444, June 2000 Good luck. |
All times are GMT -4. The time now is 14:43. |