home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.fortran
- Path: sparky!uunet!cs.utexas.edu!torn!cunews!nrcnet0!cu23.crl.aecl.ca!wl.aecl.ca!harrisp
- From: harrisp@wl.aecl.ca
- Subject: Help! Partial Differential equation solvers
- Message-ID: <21JUL92.11592567@wl.aecl.ca>
- Sender: news@cu23.crl.aecl.ca (USENET News System)
- Nntp-Posting-Host: wc4.wl.aecl.ca
- Organization: AECL RESEARCH
- Date: Tue, 21 Jul 1992 17:59:25 GMT
- Lines: 44
-
- To: Greg Lampard
-
- From: HARRISP@WL.AECL.CA (Phil Harris)
- Date: 22-JUL-1992
- RE: Solving partial differential equations numerically
-
- Can anyone recommend a fortran callable package for solving pde's and systems
- of pde's. I really need the source code, preferably written as standard
- Fortran 77 as I want this to run on a PC (80486) using Lahey Fortran. Some
- documentation would be nice also. I'm looking for something that is fast,
- since the model I am developing has to run for several months of real time.
- I wrote a simple program to solve the equations using explicit
- finite differences which works just fine, but I need to use very small time
- steps for it to remain numerically stable, and takes almost a minute of
- execution time on my '486 to simulate the results of a minute of real time.
- I am currently working on a code using implicit (Crank-Nicholson) finite
- differencing, but am having some trouble getting it to execute correctly.
- I'm hoping that once I get this working, I will be able to use larger time
- steps.
-
- The equations I need to solve are fairly simple:
-
- dQ(z,t)
- ------- = a1*( Const1(z) - Q(z,t) )*C(z,t) - a2*Q(z,t)
- dt
-
- dC(z,t) dQ(z,t) dC(z,t)
- -------- = -Const2 * ( ------- + ------- )
- dt dt dz
-
- a1, a2, Const2 are independant of z and t
- Const1 independant of t, but dependant on z.
-
- Anybody have any suggestions. I've heard rumors of some NETLIB routines,
- but wouldn't know where to start in terms of which routines and where
- to get them from.
-
-
- Phil Harris | Imagination is more
- Whiteshell Laboratories | important than knowledge.
- Atomic Energy of Canada | Albert Einstein
- HARRISP@WL.AECL.CA |
-
-
-