This required the addition of the meshToMesh class in the sampling library from OpenFOAM-2.2.x which is now named meshToMesh0.
12 lines
372 B
C
12 lines
372 B
C
Info<< "\nCreate databases as time" << endl;
|
|
|
|
HashTable<string> srcOptions(args.options());
|
|
srcOptions.erase("case");
|
|
srcOptions.insert("case", fileName(rootDirSource/caseDirSource));
|
|
|
|
argList argsSrc(args, srcOptions, false, false, false);
|
|
|
|
Time runTimeSource(Time::controlDictName, argsSrc);
|
|
|
|
Time runTimeTarget(Time::controlDictName, args);
|