Algorithm 731: A moving-grid interface for systems of one-dimensional time-dependent partial differential equations

  • Authors:
  • J. G. Blom;P. A. Zegeling

  • Affiliations:
  • CWI, Amsterdam, The Netherlands;RUU, Mathematisch Institut, Utrecht, The Netherlands

  • Venue:
  • ACM Transactions on Mathematical Software (TOMS)
  • Year:
  • 1994

Quantified Score

Hi-index 0.01

Visualization

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.