mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: fixup test applications
This commit is contained in:
@ -31,6 +31,8 @@ Description
|
||||
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#include "argList.H"
|
||||
#include "Time.H"
|
||||
#include "rigidBodyMotion.H"
|
||||
#include "masslessBody.H"
|
||||
#include "sphere.H"
|
||||
@ -46,10 +48,14 @@ using namespace RBD;
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
#include "setRootCase.H"
|
||||
|
||||
autoPtr<Time> dummyTimePtr(Time::New(args));
|
||||
|
||||
dictionary springDict(IFstream("spring")());
|
||||
|
||||
// Create the spring model from dictionary
|
||||
rigidBodyMotion spring(springDict);
|
||||
rigidBodyMotion spring(dummyTimePtr(), springDict);
|
||||
|
||||
label nIter(springDict.get<label>("nIter"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user