Mathematica 9 is now available

Wolfram Library Archive


Courseware Demos MathSource Technical Notes
All Collections Articles Books Conference Proceedings
Title

Transforming Systems of PDEs for Efficient Numerical Solution
Authors

Andreas Wrangsjö
Organization: Linköping University
Department: Department of Computer and Information Science
Peter Fritzson
Organization: Linköping University
Department: Department of Computer and Information Science
K. Sheshadri
Organization: Linköping University
Department: Department of Computer and Information Science
Conference

1999 International Mathematica Symposium
Description

A Mathematica package to deal with a system of partial differential equations (PDEs) is presented. This package uses explicit finite-difference schemes to handle equations in an arbitrary number of variables that are functions of one spatial variable and time. The code has the flexibility to incorporate any difference approximation specified by the user, and transforms the given system of PDEs into a system of difference equations that can be iteratively solved using the discretized forms of initial and boundary conditions. The iteration is made considerably faster by converting the Mathematica code into an optimized C++ code using the MathCode C++ compiler[1]. Examples are presented in which the generated C++ code runs about a thousand times faster than the Mathematica code.
Subjects

*Applied Mathematics > Numerical Methods
*Mathematica Technology > Application Packages > Applications from Independent Developers > MathCode C++
*Mathematics > Calculus and Analysis > Differential Equations
Keywords

PDE, partial differential equation, finite-difference, difference approximation, discrete initial conditions, discrete boundary conditions, MathCode C++
URL

http://www.internationalmathematicasymposium.org/IMS99/ims99papers/ims99papers.html