Im running 1.5.x.git version.
dont know if this counts as a bug, but it produces a sigFpe error.
I'm running engineCompRatio and when I reach TDC it crashes.
I traced the crash to the setDeltaT-line, when t1=0
But should there be some sort of warning/fix in setDeltaT when one tries to set the timestep to 0.
Is it possible for the first loop:
if (mag(ca - ca0) > eps)
while(mag(ca - ca0) > eps)
ca = runTime.theta();
scalar t0 = runTime.userTimeToTime(ca0 - ca);
Info << "CA = " << ca << endl;
to suffer from the same problem? Also wouldn't it be better to reorganize the loops so that the test is only required once?
Sorry for the bad naming of the topic, I tried to edit it afterwards, but that wasnt possible...
criteria at the entry of the while statement is always false.
just replace the ca-caX from the while (..) check and
use runTime.theta()-caX, then the if's can be removed.
Thanks for the fix, I have pushed it into 1.5.x.
|All times are GMT -4. The time now is 18:44.|