mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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.
14 lines
225 B
C
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();
|