59 int main(
int argc,
char *argv[])
68 scalar fullCycle = 360.0;
73 while (runTime.theta() > ca0)
79 while (
mag(runTime.theta() - ca0) > eps)
81 scalar t0 = runTime.userTimeToTime(ca0 - runTime.theta());
82 runTime.setDeltaT(t0);
84 Info<<
"CA = " << runTime.theta() <<
endl;
90 while (
mag(runTime.theta()-ca1) > eps)
92 scalar t1 = runTime.userTimeToTime(ca1-runTime.theta());
93 runTime.setDeltaT(t1);
95 Info<<
"CA = " << runTime.theta() <<
endl;
101 Info<<
"\nVmax = " << Vmax;
103 Info<<
"Vmax/Vmin = " << Vmax/Vmin <<
endl;