1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

FORTRAN 90 - DVERK? - initial condition solver

  1. May 14, 2008 #1

    I am new to FORTRAN and am trying to work with a system of ODE's. Does someone know of a routine like DVERK for solving initial condition problems for FORTRAN 90?

    In MATLAB I would simply use ODE45. I just need something similar.

    Thank you!
  2. jcsd
  3. May 14, 2008 #2


    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    Your best bet would be to code your own. Start with a Eulers method, this is very simple though not so precise. A 4th order Runga Kutta routine is also easy to code and is quite accurate. Do a bit of web searching and have a go at it.
  4. May 14, 2008 #3
    Yeah both the Euler and the fixed step size Runge-Kutta are simple implementations. The DVERK and ode45 both use adaptive step-size routines, and it gets much more complicated there.
  5. May 16, 2008 #4
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook