Article ID | Journal | Published Year | Pages | File Type |
---|---|---|---|---|
505372 | Computers in Biology and Medicine | 2014 | 12 Pages |
•We solve numerically a nonlinear boundary-value problem modeling corneal topography.•We use the method of lines to facilitate fast computation and include the R routines.•We derive some estimates which demonstrate the order of convergence of the algorithm.
The starting point for this paper is a nonlinear, two-point boundary value ordinary differential equation (BVODE) that defines corneal curvature according to a static force balance. A numerical solution to the BVODE is computed by first converting the BVODE to a parabolic partial differential equation (PDE) by adding an initial value (t, pseudo-time) derivative to the BVODE. A numerical solution to the PDE is then computed by the method of lines (MOL) with the calculation proceeding to a sufficiently large value of t such that the derivative in t reduces to essentially zero. The PDE solution at this point is also the solution for the BVODE. This procedure is implemented in R (an open source scientific programming system) and the programming is discussed in some detail. A series approximation to the solution is derived from which an estimate for the rate of convergence is obtained. This is compared to a fitted exponential model. Also, two linear approximations are derived, one of which leads to a closed form solution. Both provide solutions very close to that obtained from the full nonlinear model. An estimate for the cornea radius of curvature is also derived. The paper concludes with a discussion of the features of the solution to the ODE/PDE system.