I'm trying to model heat flow in a cylinder using the heat equation PDE where heat flow is only radial:
$$ \frac{\partial u}{\partial t} = \frac{1}{r} \frac{\partial u}{\partial r} + \frac{\partial^2 u}{\partial r^2} $$ The I.C for $0<r<1$: $$ u(r,0) = 0 $$
The B.Cs for $t>0$: $$ \lim_{r \rightarrow 0} \frac{\partial u}{\partial r} = 0 $$ $$ u(1,t) = 1 $$ Now, we use separation of variables: Assume that the solution to the PDE is given by: $$ u(r,t) = U(r)T(t) $$ Then by rearranging, we have: $$ \frac{T'(t)}{T(t)} = \frac{1}{r} \frac{U'(r)}{U(r)} + \frac{U''(r)}{U(r)} = -\lambda = -m^2 $$ Here $m>0.$ The first ODE is given by: $$ T'(t) = -m^{2}T(t) $$ which has the following solution: $$ \sum_{n=1}^{\infty} C_{n} \exp(-m^2t) $$ The second ODE is given by: $$ U''(r) +\frac{1}{r}U'(r) +m^{2}U(r) = 0 $$ According to the literature, this is a second order ODE that would result in Bessel's functions. How do you then find the solution to this ODE and then apply the initial and boundary conditions to then find $u(r,t)$?
If you represent the equation in the standard form of Bessel's equation, like @Александр Пальма showed for you in the comment, then you will find a general solution $$ U(r)=c_1 J_0(m r)+c_2 Y_0(m r) $$ Then after applying two properties of Bessel's functions, 1) $$ \frac{d }{d r} J_0(m r)=-m J_1(m r),\qquad \frac{d }{d r}Y_0(m r)=-m Y_1(m r) $$ and 2) $Y_1(m r)$ has a singularity at $r=0$, you can consider the boundary condition to fix the constants.
The answer: $c_2$ is obviously zero, while $c_1=1/J_0(m)$.