Hello All,
I am a novice to numerical methods. I am trying to numerically solve the following two coupled equations using Matlab; any suggestions are greatly appreciated.
Flux balance in spherical coordinates:
d/dr(r^2*N(r)) = r^2*[Ko*Exp(-E/R/T(r))*(Vmax - V(r))].....................(1)
The term in [ ] is a source term.
N is zero at r = 0 (symmetric boundary condition);
Flux, N, is here is convective in nature and is due to pressure gradient as given below.
N = (K/u)*(P(r)/r/T(r))*dP(r)/dr..................................................(2)
P is Ps at r = R (surface).
I have already worked out the T(r) and V(r) profiles separately.
Thanks!