cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Stiff ode solvers

JohnRudnicki
Amethyst

Stiff ode solvers

I previously posted a version of this question, but did not get any response. So I decided to rephrase and try again.

 

I have been trying to compare the solvers (BDF, Radua, Stiffr and Stiffb) for stiff odes. Could be doing something stupid but BDF is the only one that I can get to run consistently. For the others I get error messages I do not understand (in this context):

"The return value of this function must match the problem size"

"This value must be real"

(BTW. Documentation says Stiffb does not work for more than 8 equations, but it seems like it should be "8 or more". 7 worked. 8 did not.)

Thanks to anyone who chimes in. 

If you run the worksheet, be patient. It takes a while to calculate. 

 

Announcements