I want to solve the Schrödinger equation in COMSOL with some specified boundary conditions. As an ODE the schrödinger equations reads (in 1D):
af''(x) + b(x)f(x) = Ef(x),
where E is an unknown constant that will be determined by the boundary conditions.
I am not used to using COMSOL so I don't know if it is possible to solve this problem. So far all the templates for solving differential equations contains some generic form, where you have to specify the value of the constants before each term. This does not work for the eigenvalue problem above, where E is unknown. Does anyone know how to specify the differential equation as an eigenvalue equation, where E is unknown?