FORTRAN 90 - DVERK? - initial condition solver

  • Thread starter FrogPad
  • Start date
  • #1
809
0

Main Question or Discussion Point

Hi,

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!
 

Answers and Replies

  • #2
Integral
Staff Emeritus
Science Advisor
Gold Member
7,198
55
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.
 
  • #3
809
0
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.
 
  • #4
809
0

Related Threads for: FORTRAN 90 - DVERK? - initial condition solver

Replies
1
Views
1K
  • Last Post
Replies
1
Views
6K
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
3
Views
5K
Replies
5
Views
3K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
3
Views
2K
Top