CfdOF icon indicating copy to clipboard operation
CfdOF copied to clipboard

Unable to install cfmesh/HISA

Open ripjohnbrown1859 opened this issue 11 months ago • 7 comments

I have been trying for 3 days to get freecad to work with cfdof. I have successfully installed openfoam and paraview, both of which i had to do manually, but whenever i try to install cfmesh or hisa the download takes an extremely long time and then either crashed or reports installing successfully and is not recognized by the dependency check. Is there a way to manually install them? I cannot find any output log files in the target output directory either.

ripjohnbrown1859 avatar Jan 26 '25 20:01 ripjohnbrown1859

Image

Image

ripjohnbrown1859 avatar Jan 26 '25 20:01 ripjohnbrown1859

Strange - I haven't seen it do this before. As a workaround, what you can do is download the files manually using the URLs displayed in the "URL:" text boxes and then use the "Choose Existing File..." buttons to point CfdOF to those downloaded files on your computer. It should then install from the local file when you choose "Install cfMesh/HiSA".

oliveroxtoby avatar Jan 27 '25 08:01 oliveroxtoby

Strange - I haven't seen it do this before. As a workaround, what you can do is download the files manually using the URLs displayed in the "URL:" text boxes and then use the "Choose Existing File..." buttons to point CfdOF to those downloaded files on your computer. It should then install from the local file when you choose "Install cfMesh/HiSA". when i do that it does the same thing.

ripjohnbrown1859 avatar Jan 27 '25 19:01 ripjohnbrown1859

i have since completely reinstalled it on WSL2 now and its doing the same exact thing

ripjohnbrown1859 avatar Jan 27 '25 21:01 ripjohnbrown1859

Image well now im getting a different error

ripjohnbrown1859 avatar Jan 27 '25 22:01 ripjohnbrown1859

i have since completely reinstalled it on WSL2 now and its doing the same exact thing

WSL is unfortunately not supported currently.

I can only suggest that you try running FreeCAD as administrator, and if that doesn't work try re-installing OpenFOAM somewhere outside the Program Files directory, so that there is no issue with write permissions to the folder.

The Forum is probably the place for futher discussion on this: https://forum.freecad.org/viewforum.php?f=37&sid=ba1670bb829341965e32fa407b022e17

The following introductory post may be of some use: https://forum.freecad.org/viewtopic.php?f=37&t=33492

oliveroxtoby avatar Jan 30 '25 20:01 oliveroxtoby

I had similar problems to ripjpohnbrown1895. I was following the readme and something that isn't mentioned is that you need to match the OF version to HiSA and gmsh executables. Since I got bamboozled between the two OF installers, I used the FC settings menu to download one. That points to v2212. The other dependencies point to the latest version, which are not necessarily v2212 compatible anymore.

Michkovy avatar May 04 '25 23:05 Michkovy

I had similar problems to ripjpohnbrown1895. I was following the readme and something that isn't mentioned is that you need to match the OF version to HiSA and gmsh executables. Since I got bamboozled between the two OF installers, I used the FC settings menu to download one. That points to v2212. The other dependencies point to the latest version, which are not necessarily v2212 compatible anymore.

The gmsh version is entirely independent of the OF version. The HiSA version has to be matched if you are running on Windows, but the preferences page should be doing this automatically.

As it's not clear exactly what the issue is here, could I request that we move further discussion to the forum (link in previous comment) and if a bug is clearly identified, we can re-open this issue.

oliveroxtoby avatar Jun 24 '25 08:06 oliveroxtoby