Algorithm 731: A moving-grid interface for systems of one-dimensional time-dependent partial differential equations
- 1 June 1994
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Mathematical Software
- Vol. 20 (2) , 194-214
- https://doi.org/10.1145/178365.178391
Abstract
In the last decade, several numerical techniques have been developed to solve time-dependent partial differential equations (PDEs) in one dimension having solutions with steep gradients in space and in time. One of these techniques, a moving-grid method based on a Lagrangian description of the PDE and a smoothed-equidistribution principle to define the grid positions at each time level, has been coupled with a spatial discretization method that automatically discreizes the spatial part of the user-defined PDE following the method of lines approach. We supply two FORTRAN subroutines, CWRESU and CWRESX, which compute the residuals of the differential algebraic equations (DAE) system obtained from semidiscretizing, respectively, the PDE and the set of moving-grid equations. These routines are combined in an enveloping routine SKMRES, which delivers the residuals of the complete DAE system. To solve this stiff, nonlinear DAE system, a robust and efficient time-integrator must be applied, for example, a BDF method such as implemented in the DAE solvers SPRINT [Berzins and Furzeland 1985; 1986; Berzins et al. 1989] and DASSL [Brenan et al. 1989; Petzold 1983]. Some numerical examples are shown to illustrate the simple and effective use of this software interface.Keywords
This publication has 10 references indexed in Scilit:
- An evaluation of the gradient-weighted moving-finite-element method in one space dimensionJournal of Computational Physics, 1992
- Application of a moving grid method to a class of 1D brine transport problems in porous mediaInternational Journal for Numerical Methods in Fluids, 1992
- A numerical study of three moving-grid methods for one-dimensional partial differential equations which are based on the method of linesJournal of Computational Physics, 1990
- A Method for the Spatial Discretization of Parabolic Equations in One Space VariableSIAM Journal on Scientific and Statistical Computing, 1990
- Developing software for time-dependent problems using the method of lines and differential-algebraic integratorsApplied Numerical Mathematics, 1989
- Algorithm 665: Machar: a subroutine to dynamically determined machine parametersACM Transactions on Mathematical Software, 1988
- Distribution of mathematical software via electronic mailCommunications of the ACM, 1987
- Simple adaptive grids for 1 - D initial value problemsJournal of Computational Physics, 1987
- LINPACK Users' GuidePublished by Society for Industrial & Applied Mathematics (SIAM) ,1979
- Software for Nonlinear Partial Differential EquationsACM Transactions on Mathematical Software, 1975