I have to deal with the following problem in my research:
$$\left[\frac{1}{D}F_{x}\right]_{x} + \frac{f D_{x}}{c D^{2}}F = 0$$
with boundary conditions
$$F(0) = 0$$ $$F_{x}(L) = 0$$
where $f$ is a known constant and $D(x)$ is a known function of $x$. I should clarify that $D(x)$ is known numerically for all $x$ (I have a vector of values), but it is not known as a closed-form analytical function and is not readily approximated as such. Subscripts denote derivatives.
I note that this is a Sturm-Liouville problem:
$$[p(x)F_{x}(x)]_{x} + q(x)F(x) = -\lambda r(x) F(x)$$
with $p = 1/D$, $q = 0$, and $r = f D_{x}/D^{2}$.
$F$ are the eigenvectors and $\lambda = 1/c$ are the eigenvalues. Is there an easy way to solve for them numerically? Thanks for any help.
What have you already tried? What kind of methods have you already found and what kind of question do you have specifically?
– Wolfgang Bangerth Jul 05 '18 at 21:02