Files
openfoam/src/engine/include/createEngineTime.H
Henry Weller 01efb2c85b ENH: engineTime: Generalized to provide run-time selection of piston-motion
Standard crank-connecting rod and the new free-piston kinematics motion options
are provides, others can easily be added.

Contributed by Francesco Contino and Nicolas Bourgeois, BURN Research Group.
2017-09-19 09:26:26 +01:00

14 lines
225 B
C

Info<< "Create engine time\n" << endl;
autoPtr<engineTime> runTimePtr
(
engineTime::New
(
Time::controlDictName,
args.rootPath(),
args.caseName()
)
);
engineTime& runTime = runTimePtr();