虚拟机双版本OpenFOAM怎么切换使用
-
在使用东岳老师提供的openfoam虚拟机时(OpenFOAM-9+OpenFOAM-v2106),发现其只能使用OpenFOAM-9进行相关编译,即使在OpenFOAM-v2106下编译其自带求解器,也会报错,所以想咨询一下各位老师,这种情况下想使用V2106应该如何操作?按照网上提供的重新安装编译OpenFoam-v2106的教程,也会报错如下,这个$WM_PROJECT_DIR代表的还是OpenFOAM-9
error (Allwmake) : not located in $WM_PROJECT_DIR Check your OpenFOAM environment and installation