The fact is that when I change the tout from 60sec to 20sec, it can runs until 0.5hours, then the same error message comes out again. when the tout is 10 sec, the same error message is still there. What is the real problem under this? Is there any measures we can take? Thank you!
Regards,
Jingjing
________________________________
From: Wang Huidan <dan...@foxmail.com>
To: sundials-users <sundial...@llnl.gov>
Sent: Wednesday, March 18, 2009 9:39:49 PM
Subject: Re:[sundials-users] CVODE error
can you change the tout to very small value and try it again?
------------------
Best Regards,
Huidan
------------------ Original ------------------
From: "Jingjing Pei"<jpe...@yahoo.com>;
Date: Thu, Mar 19, 2009 06:40 AM
To: "sundials-users"<sundial...@llnl.gov>;
Subject: [sundials-users] CVODE error
Hi, there,
I get error message when using the CVODE:
"At t = 3608.89 and h = 6e-005, the error test failed repeatedly or with |h| = hmin".
The settings I used is:
double relTol = 1e-4; // Relative tolerance
double absTol = 1e-12; // Absolute tolerances
// set CVODE initial step size
CVodeSetInitStep(cvodeMem, 1e-4);
// set CVODE maximum step size
CVodeSetMaxStep(cvodeMem, simdata.max_sim_dt);
// set CVODE minimum step size
CVodeSetMinStep(cvodeMem, 1e-9);
What may be the problme and solution? Thank you!
Regards,
Jingjing