MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Memory and NDSolve

  • To: mathgroup at
  • Subject: [mg85367] Re: Memory and NDSolve
  • From: Oliver Ruebenkoenig <ruebenko at>
  • Date: Thu, 7 Feb 2008 06:32:50 -0500 (EST)
  • References: <foek2h$i0m$>


To integrate systems of differential algebraic equations or polynomial 
equations look at the IMTEK Mathematica Supplement:

or a BDF solver:
(see example 4)

you might want to try a sub-space projection. this projects your original 
system of 1920 degrees of freedom to say 100 degrees of freedom, which of 
course are much faster to time integrate and use less memory.


On Thu, 7 Feb 2008, PV wrote:

> Hello All,
> This is a general question that has reared up its head following my
> earlier question and discussion,
> (for the interested::
> I have a large matrix (1920*1920), simple first order differential
> equation that I try to solve using NDSolve. I need the value of the
> solution at just one point. The Interpolating Function object
> generated by NDSolve progressively becomes messier and larger crashing
> my code for the lack of memory.
> I have tried to free the memory occupied by the solution but that does
> not happen at all. Is there a better way to circumvent this problem?
> Cheers
> Prasanna
> PS: I remember Mr.Jens Kuska having replied to a similar post long ago
> with a Runge-Kutta integrator that evaluates the soln at just one
> point. I downloaded that but that does not seem to work with Matrix
> DEs since it may have been written for an older Mathematica version!

Oliver Ruebenkoenig, <ruebenko AT>

  • Prev by Date: Re: Using NDSolve and Finding a specific Value
  • Next by Date: Re: Conditional Plotting
  • Previous by thread: Memory and NDSolve
  • Next by thread: Re: Memory and NDSolve