在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] ...);
请问改如何解决呀,谢谢您的解答!