Software for the numerical solution of first-order partial differential equations
Journal: Discrete and Continuous Models and Applied Computational Science (Vol.27, No. 1)Publication Date: 2019-11-20
Authors : Yaroslav Kuziv;
Page : 42-48
Keywords : eikonal; partial differential equation; SymPy;
Abstract
Partial differential equations of the first order, arising in applied problems of optics and optoelectronics, often contain coefficients that are not defined by a single analytical expression in the entire considered domain. For example, the eikonal equation contains the refractive index, which is described by various expressions depending on the optical properties of the media that fill the domain under consideration. This type of equations cannot be analysed by standard tools built into modern computer algebra systems, including Maple.The paper deals with the adaptation of the classical Cauchy method of integrating partial differential equations of the first order to the case when the coefficients of the equation are given by various analytical expressions in the subdomains G1, . . . , Gk , into which the considered domain is divided. In this case, it is assumed that these subdomains are specified by inequalities. This integration method is implemented as a Python program using the SymPy library. The characteristics are calculatednumerically using the Runge-Kutta method, but taking into account the change in the expressions for the coefficients of the equation when passing from one subdomain to another. The main functions of the program are described, including those that can be used to illustrate the Cauchy method. The verification was carried out by comparison with the results obtained in the Maple computer algebra system.
Other Latest Articles
- The symbolic problems associated with Runge-Kutta methods and their solving in Sage
- Parallel algorithm for numerical solution of heat equation in complex cylindrical domain
- Heavy outgoing call asymptotics for retrial queue with two way communication and multiple types of outgoing calls
- Efficient computational scheme for ion dynamics in RF-field of Paul trap
- Numerical modeling of stationary pseudospin waves on a graphene monoatomic films
Last modified: 2020-08-31 19:27:45