添加超临界水物性计算方程IAPWS-IF97-OF时出现报错
-
按照OpenFOAM WIKI的教程http://openfoamwiki.net/index.php/Contrib/IAPWS-IF97-OF执行时,产生了libIAPWSRangeThermo .so和libfreesteam .so
但是按照教程在算例的controdict中添加了libs { "libIAPWSRangeThermo.so" "libfreesteam.so" }
之后,会报错:
"ill defined primitiveEntry starting at keyword 'libIAPWSRangeThermo.so' on line 49 and ending at line 56" file: /home/bobo/buoyantSimpleFoam/buoyantCavity/system/controlDict at line 56. From function primitiveEntry::readEntry(const dictionary&, Istream&) in file lnInclude/IOerror.C at line 132.
希望能够得到解答,万分感谢!
-
您好,请问您按照wiki上面编译IAPWS-IF97-OF时有遇到过下面这种错误吗?
invalid initialization of reference of type 'const Foam::species::thermo<Foam::hIAPWSThermo<Foam::eosIAPWS<Foam::specie>>, Foam::sensibleEnthalpy>&' from expression of type 'const double' psi[celli]=(this->cellMixture(celli). *psiMethod) (args[celli] ...);
谢谢您了!