使用sixDoFRigidBodyState这个functionObject报错
-
想要找一个可以输出物体运动状态的FunctionObejct,在src\functionObject 下发现了这个FunctionObejct,于是根据.H 文件的说明在controlDict中加入了这个FunctionObejct,然后测试,结果有警告,提示信息显示是打不开、找不到这个FunctionObejt对应的库,但是我去platforms相应的文件夹中找到了响应的文件,请教各位这是什么原因导致的,应该如何解决?错误信息如下:
Starting time loop --> FOAM Warning : From function void* Foam::dlOpen(const Foam::fileName&, bool) in file POSIX.C at line 1604 dlopen error : libsixDoFRigidBodyState.so: cannot open shared object file: No such file or directory --> FOAM Warning : From function bool Foam::dlLibraryTable::open(const Foam::fileName&, bool) in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 105 could not load "libsixDoFRigidBodyState.so" --> FOAM Warning : From function bool Foam::dlLibraryTable::open(const Foam::dictionary&, const Foam::word&, const TablePtr&) [with TablePtr = Foam::HashTable<Foam::autoPtr<Foam::functionObject> (*)(const Foam::word&, const Foam::Time&, const Foam::dictionary&), Foam::word, Foam::string::hash>*] in file lnInclude/dlLibraryTableTemplates.C at line 62 Could not open library "libsixDoFRigidBodyState.so" --> FOAM Warning : Unknown function type sixDoFRigidBodyState Valid function types : 9 ( forceCoeffs forces patchProbes probes psiReactionThermoMoleFractions rhoReactionThermoMoleFractions sets surfMeshes surfaces )
下图是我找到的编译好的库文件
万分感谢