I have two coupled second order differential equations that seem very similar to this related problem (A heat transfer textbook, https://ahtt.mit.edu/),
$$ (b-(a+x))y_1''-y_1'+c(y_1-y_2) = 0\\ (b+(a+x))y_2''+y_2'+c(y_2-y_1) = 0, $$ that I need to solve on the domain $-a\leq x\leq a$. $y_1$ and $y_2$ are dimensionless steady state temperature profiles that are only a function of $x$. I think that the profiles $y_1(x) = -y_2(-x)$ because of the symmetry in the problem if the boundaries are $y_1(-a)=-y_2(a)=T_\infty$ and $y_1'(-a)=y_2'(a)$. This would lead me to believe that I only need to solve one of the two equations. Unfortunately, quoting from the textbook, "this equation is difficult to solve because it has a variable coefficient" and I've just made it a bit more complex. Could you tell me
- if it's possible to solve this system of equations analytically? I have tried solving by replacing $y_2 \rightarrow -y_1(-x)$ and guessing some combinations of exponential functions for $y_1$ such that I could get rid of the $c$-term. The Bessel function in the textbook suggests it can't be that simple. How would I start solving the problem? Or;
- if it's possible to solve the system numerically? I am familiar with time propagating ODE solvers in Matlab, but here I have a steady state problem with boundary conditions rather than initial conditions. Any software you would recommend?