MATLAB: Can you help me? Does anyone have a FEM code for Singular perturbation problems in 1D

femspp

Does anyone have a FEM for Differential equation epsilon u''+a(x)u'(x)+b(x)u(x)=f(x), u(a)=A, u(b)=B?

Best Answer

Although the PDE Toolbox only currently supports 2D and 3D geometries, you should be able to "simulate" a 1D geometry by using a thin "pseudo" 2D rectangular geometry with no variation in the y-directions, and homogenous boundary conditions at the y-boundaries. Alternatively, the FEATool Multiphysics toolbox fully supports defining and solving custom 1D PDEs directly.