Possible $PATH issue in V2212 windows mingw installation
I'm trying to get the cfdOF package in FreeCAD working. The recommended OpenFOAM install is the Windows mingw package, specifically version 2206.
I installed the latest 2212 version thinking the newer version should work. I also installed cfmesh and HISA. Unfortanately cfdOF cannot find either cfmesh or HISA to execute those commands externally. Thinking it might be a PATH issue with the external environment I executed the openfoam terminal command to check the environment $PATH variable. OpenFOAM-v2212-MSYS2-Terminal When I type $PATH I get the following output: $ $PATH bash: /home/ofuser/OpenFOAM/sstev-v2212/platforms/win64MingwDPInt32Opt/bin:/home/ofuser/OpenFOAM/OpenFOAM-v2212/site/2212/platforms/win64MingwDPInt32Opt/bin:/home/ofuser/OpenFOAM/OpenFOAM-v2212/platforms/win64MingwDPInt32Opt/bin:/home/ofuser/OpenFOAM/OpenFOAM-v2212/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/c/Program: No such file or directory Notice the last entry in the list "/c/Program: No such file or directory" Looking at the source, I think the script responsible for creating the environment $PATH is setEnvVariables-v2212.bat The last line in this script is: set PATH=%WM_PROJECT_DIR%\platforms\%TYPE%\bin\;%WM_PR OJECT_DIR%\platforms\%TYPE%\lib\mpi\;%WM_THIRD_PAR TY_DIR%\platforms\%TYPE_THIRDPARTY%\lib\;%PATH% You can see the last term "%PATH%" where it is applying the windows path. This is apparently not working. Can anyone help? How to I get all the needed PATH information into the OpenFOAM terminal environment? Thanks in advance. |
Nevermind
I'm not sure what the problem was but the PATH issue cleared itself up the next time I worked in this issue. I still cannot get cfdOF to recognize cfmesh, gmesh, or hisa, but that is a separate problem that I continue to work on.
|
All times are GMT -4. The time now is 09:34. |