A General Symbolic PDE-Solver Generator: Explicit Schemes
2003 (English)In: Scientific Programming, ISSN 1058-9244, E-ISSN 1875-919X, Vol. 11, no 1, 39-55 p.Article in journal (Refereed) Published
A symbolic solver generator to deal with a system of partial differential equations (PDEs) in functions of an arbitrary number of variables is presented; it can also handle arbitrary domains (geometries) of the independent variables. Given a system of PDEs, the solver generates a set of explicit finite-difference methods to any specified order, and a Fourier stability criterion for each method. For a method that is stable, an iteration function is generated symbolically using the PDE and its initial and boundary conditions. This iteration function is dynamically generated for every PDE problem, and its evaluation provides a solution to the PDE problem. A C++/Fortran 90 code for the iteration function is generated using the MathCode system, which results in a performance gain of the order of a thousand over Mathematica, the language that has been used to code the solver generator. Examples of stability criteria are presented that agree with known criteria; examples that demonstrate the generality of the solver and the speed enhancement of the generated C++ and Fortran 90 codes are also presented.
Place, publisher, year, edition, pages
IOS Press, 2003. Vol. 11, no 1, 39-55 p.
Electrical Engineering, Electronic Engineering, Information Engineering
IdentifiersURN: urn:nbn:se:liu:diva-109752OAI: oai:DiVA.org:liu-109752DiVA: diva2:741172