在OpenFOAM7上编译IAPWS-IF97-OF报错



  • 老师,您好,我按照https://github.com/romansCode/IAPWS-IF97-OF上的方法,在OpenFOAM7上编译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] ...);
    

    请问改如何解决呀,谢谢您的解答!


  • 管理员

    代码声称Full installation of OpenFOAM >=2.2 (2.2.x, 2.3.x, 2.4.x),所以你在OpenFOAM-7上编译会出现很多问题



  • 好的,谢谢您了!


Log in to reply
 


CFD中文网 | 东岳流体学术 | 东岳流体商业 | 吉ICP备20003622号-1