I encountered this problem when trying to solve a linear PDE, of the form $$ \frac{\partial f}{\partial t}= F\left(f,\frac{\partial f}{\partial r},\frac{\partial^2 f}{\partial r^2}, \cdots\right), $$ for $0\leq r\leq 1$ and $t\geq0$. The initial condition is $f(t=0,r)=0$, and the boundary condition is $f(t,r=1)=0$ and $$ \lim_{r\to0}\left(\frac{\partial f}{\partial r}-\frac{f}{r}\right)=0 $$ The last equation implies $\lim_{r\to0}f(t,r)=c(t)r$. The quantity I'm interested in is $\partial f/\partial r$ at $r=0$ for all $t$, which is essentially $c(t)$ here.
While I could solve this numerically, I'm wondering if it is actually allowed to expand the PDE near small $r$ and then solve the resulting ODE. More specifically, due to the boundary conditions, we know that $f(t,r)=c(t)r$ near $r=0$. Would it then make sense to substitute this into the PDE, transform it into $$ \dot c=\lim_{r\to 0}F(cr,c,0,\cdots) $$ and look for $c(t)$ only? I'm wondering would the boundary condition at $r=1$ have any influence if I actually do this.
I also wonder if it works, would it be extendable to a set of PDEs? e.g. $$ \frac{\partial f}{\partial t}= F\left(f,\frac{\partial f}{\partial r},\frac{\partial^2 f}{\partial r^2}, \cdots,g,\frac{\partial g}{\partial r},\frac{\partial^2 g}{\partial r^2}, \cdots\right),\\ \frac{\partial g}{\partial t}= G\left(f,\frac{\partial f}{\partial r},\frac{\partial^2 f}{\partial r^2}, \cdots,g,\frac{\partial g}{\partial r},\frac{\partial^2 g}{\partial r^2}, \cdots\right), $$ where $F$ and $G$ are nonlinear functions. If I could determine the behaviors of $f$ and $g$ at $r=0$, can I just substitute these ``local'' forms into the PDEs if I'm only interested in $f$ and $g$ at $r=0$?