- #1
fluidistic
Gold Member
- 3,949
- 264
I've got a PDE that I derived from a physical problem, so I suppose it has a solution and that it is unique. I am solving for streamlines in the region having a quarter of an annulus shape, so ##\theta## ranges between ##0## and ##\pi/2## and ##r## ranges between ##r_i## and ##r_o##. The boundary conditions are that the streamlines have to be constant over the edges of the region, and this constant is arbitrary so we can take it as ##0## to simplify things.
The PDE is
##\frac{\partial ^2 \psi}{\partial \theta^2}+r^2\frac{\partial^2\psi}{\partial r^2}+r\frac{\partial \psi}{r}=A\frac{\cos(2\theta)}{r^2}##. EDIT: I made a typo, there is no 1/r^2 factor. As is, I cannot apply separation of variables due to the inhomogeneous term (the RHS). I think that the general solution is the one of the corresponding homogeneous PDE plus the one of the particular PDE involving this homogeneous term. The problem is that, I believe, that the solution to the homogeneous PDE is... 0, i.e. a vanishing solution. If this is true, then this means that I have to solve the PDE in one shot, i.e. an Ansatz or something like that, unless I switch to another solving method.
For information, I do know the solution to this PDE except that the RHS is ##\frac{A\sin(2\theta)}{r^2}##. EDIT: same typo, no such 1/r^2 term here either. In that particular case, ##\psi(x,y)= \psi_0 \left[1-\left( \frac{1}{r_i^2+r_o^2} \right) \left( r^2+\frac{r_i^2+r_o^2}{r^2} \right) \right] \sin(2\theta)##.In
My attempt at solving the homogeneous PDE using separation of variables leads to separable solutions of the form ##\psi = \Theta(\theta)R(r)## where the equation for ##\Theta(\theta)## is ##\frac{\Theta ''}{\Theta}=-n^2## with solutions ##\Theta_m(\theta) = a_m \sin(2m\theta)##.
This makes the equation for: ##r^2R''+rR'-4m^2R=0## with solutions ##R_m(r)=c_{1,m}\cos[2m\ln(r)]+ c_{2,m}\sin[2m\ln(r)]##. We can already see this does not match the solution to the non homogeneous PDE with the sine term, so I suppose ##c_{1,m}=c_{2,m}=0##.
I tried the obvious Ansatz ##\psi(x,y)= \psi_0 \left[1-\left( \frac{1}{r_i^2+r_o^2} \right) \left( r^2+\frac{r_i^2+r_o^2}{r^2} \right) \right] \cos(2\theta)## but unfortunately this does not vanish at ##\theta=0## and ##\theta=\pi/2##) while it should. Hmm, therefore I am running out of ideas to solve the original PDE. Any idea is greatly welcome.
The PDE is
##\frac{\partial ^2 \psi}{\partial \theta^2}+r^2\frac{\partial^2\psi}{\partial r^2}+r\frac{\partial \psi}{r}=A\frac{\cos(2\theta)}{r^2}##. EDIT: I made a typo, there is no 1/r^2 factor. As is, I cannot apply separation of variables due to the inhomogeneous term (the RHS). I think that the general solution is the one of the corresponding homogeneous PDE plus the one of the particular PDE involving this homogeneous term. The problem is that, I believe, that the solution to the homogeneous PDE is... 0, i.e. a vanishing solution. If this is true, then this means that I have to solve the PDE in one shot, i.e. an Ansatz or something like that, unless I switch to another solving method.
For information, I do know the solution to this PDE except that the RHS is ##\frac{A\sin(2\theta)}{r^2}##. EDIT: same typo, no such 1/r^2 term here either. In that particular case, ##\psi(x,y)= \psi_0 \left[1-\left( \frac{1}{r_i^2+r_o^2} \right) \left( r^2+\frac{r_i^2+r_o^2}{r^2} \right) \right] \sin(2\theta)##.In
My attempt at solving the homogeneous PDE using separation of variables leads to separable solutions of the form ##\psi = \Theta(\theta)R(r)## where the equation for ##\Theta(\theta)## is ##\frac{\Theta ''}{\Theta}=-n^2## with solutions ##\Theta_m(\theta) = a_m \sin(2m\theta)##.
This makes the equation for: ##r^2R''+rR'-4m^2R=0## with solutions ##R_m(r)=c_{1,m}\cos[2m\ln(r)]+ c_{2,m}\sin[2m\ln(r)]##. We can already see this does not match the solution to the non homogeneous PDE with the sine term, so I suppose ##c_{1,m}=c_{2,m}=0##.
I tried the obvious Ansatz ##\psi(x,y)= \psi_0 \left[1-\left( \frac{1}{r_i^2+r_o^2} \right) \left( r^2+\frac{r_i^2+r_o^2}{r^2} \right) \right] \cos(2\theta)## but unfortunately this does not vanish at ##\theta=0## and ##\theta=\pi/2##) while it should. Hmm, therefore I am running out of ideas to solve the original PDE. Any idea is greatly welcome.
Last edited: