Problems installing cfmesh / HISA over dependencies

A subforum specific to the development of the OpenFoam-based workbenches ( Cfd https://github.com/qingfengxia/Cfd and CfdOF https://github.com/jaheyns/CfdOF )

Moderator: oliveroxtoby

Post Reply
Sidemountyucatan
Posts: 114
Joined: Wed Apr 17, 2019 2:08 pm

Problems installing cfmesh / HISA over dependencies

Post by Sidemountyucatan »

Hi,

I know this or similar problem was posted before but I dind't get a clue how to solve. With Freecad 18 and 19 prel I have problems to install cfmesh for CfdOf WB over dependencies. My installed Freecad Versions are:

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22960 (Git)
Build type: Release
Branch: master
Hash: c5a4b01d2e4218bcc0eb6650337650a6c65ef0e4
Python version: 3.8.6
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: German/Switzerland (de_CH)

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.4 (GitTag)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 980bf9060e28555fecd9e3462f68ca74007b70f8
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Switzerland (de_CH)

Error-Code on Freecad 0.19.22960 when try to install cfmesh and HISA is:

Downloading cfMesh, please wait...
cfMesh downloaded to C:\Users\Admin\AppData\Local\Temp\tmplbbaabg1.zip
Command 'echo $WM_PROJECT_USER_DIR' returned non-zero exit status 1.
Download unsuccessful
Downloading HiSA, please wait...
HiSA downloaded to C:\Users\Admin\AppData\Local\Temp\tmp5906z_aw.zip
Command 'echo $WM_PROJECT_USER_DIR' returned non-zero exit status 1.
Download unsuccessful


Error-Code on Freecad 0.18.4 when try to install cfmesh and HISA is:

Downloading cfMesh, please wait...
cfMesh downloaded to C:\Users\Admin\AppData\Local\Temp\tmprwhwar1e.zip
Command 'echo $WM_PROJECT_USER_DIR' returned non-zero exit status 1.
Download unsuccessful
Downloading HiSA, please wait...
HiSA downloaded to C:\Users\Admin\AppData\Local\Temp\tmpku1osmtq.zip
Command 'echo $WM_PROJECT_USER_DIR' returned non-zero exit status 1.
Download unsuccessful


Its exactly the same. Starting in Safe Mode and execute Freecad as administrator didn't work. Thats very frustrating. Is there any meaningful solution for this problem ?

:?
User avatar
oliveroxtoby
Posts: 837
Joined: Fri Dec 23, 2016 9:43 am
Location: South Africa

Re: Problems installing cfmesh / HISA over dependencies

Post by oliveroxtoby »

Sidemountyucatan wrote: Fri Nov 20, 2020 12:16 pm Hi,

I know this or similar problem was posted before but I dind't get a clue how to solve. With Freecad 18 and 19 prel I have problems to install cfmesh for CfdOf WB over dependencies. My installed Freecad Versions are:

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22960 (Git)
Build type: Release
Branch: master
Hash: c5a4b01d2e4218bcc0eb6650337650a6c65ef0e4
Python version: 3.8.6
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: German/Switzerland (de_CH)

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.4 (GitTag)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 980bf9060e28555fecd9e3462f68ca74007b70f8
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Switzerland (de_CH)

Error-Code on Freecad 0.19.22960 when try to install cfmesh and HISA is:

Downloading cfMesh, please wait...
cfMesh downloaded to C:\Users\Admin\AppData\Local\Temp\tmplbbaabg1.zip
Command 'echo $WM_PROJECT_USER_DIR' returned non-zero exit status 1.
Download unsuccessful
Downloading HiSA, please wait...
HiSA downloaded to C:\Users\Admin\AppData\Local\Temp\tmp5906z_aw.zip
Command 'echo $WM_PROJECT_USER_DIR' returned non-zero exit status 1.
Download unsuccessful


Error-Code on Freecad 0.18.4 when try to install cfmesh and HISA is:

Downloading cfMesh, please wait...
cfMesh downloaded to C:\Users\Admin\AppData\Local\Temp\tmprwhwar1e.zip
Command 'echo $WM_PROJECT_USER_DIR' returned non-zero exit status 1.
Download unsuccessful
Downloading HiSA, please wait...
HiSA downloaded to C:\Users\Admin\AppData\Local\Temp\tmpku1osmtq.zip
Command 'echo $WM_PROJECT_USER_DIR' returned non-zero exit status 1.
Download unsuccessful


Its exactly the same. Starting in Safe Mode and execute Freecad as administrator didn't work. Thats very frustrating. Is there any meaningful solution for this problem ?

:?
My guess is there is a problem with the OpenFOAM Docker installation. Please follow the tips in the link below to make sure this is working properly before even starting FreeCAD. If you don't get any joy with that, you can try using blueCFD instead.
Please provide all the information requested in this post before reporting problems with CfdOF.
Sidemountyucatan
Posts: 114
Joined: Wed Apr 17, 2019 2:08 pm

Re: Problems installing cfmesh / HISA over dependencies

Post by Sidemountyucatan »

Thx for answer. you spoke about a link but there is none ?

If changing to bluecfd how is the procedure to install it ?


Thx for your feedback.
User avatar
oliveroxtoby
Posts: 837
Joined: Fri Dec 23, 2016 9:43 am
Location: South Africa

Re: Problems installing cfmesh / HISA over dependencies

Post by oliveroxtoby »

Sidemountyucatan wrote: Fri Nov 20, 2020 1:01 pm Thx for answer. you spoke about a link but there is none ?

If changing to bluecfd how is the procedure to install it ?


Thx for your feedback.
I was referring to the link in my signature at the bottom. Please read that carefully as well as the readme.

CfdOF tries to make the procedure of installing OpenFOAM convenient, but ultimately it is just a frontend to OpenFOAM and so, as a first step to debugging any problems with CfdOF, you do need to make sure your installation of OpenFOAM is actually working. It is extremely popular and there are plenty of resources on the internet that can help.
thschrader
Veteran
Posts: 3157
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: Problems installing cfmesh / HISA over dependencies

Post by thschrader »

Sidemountyucatan wrote: Fri Nov 20, 2020 1:01 pm If changing to bluecfd how is the procedure to install it ?
Download the 2017-2 version from
http://bluecfd.github.io/Core/Downloads/
Installation is easy, run setup.exe.
After installation, open FC and in preferences set all path and install the rest (hisa/cfmesh)
https://www.youtube.com/watch?v=DrD8eaIp1bQ

bluecfd is a little bit outdated, but for my purpose it fits very well.
simpleFoam-solver an k-omega turbulence.
Sidemountyucatan
Posts: 114
Joined: Wed Apr 17, 2019 2:08 pm

Re: Problems installing cfmesh / HISA over dependencies

Post by Sidemountyucatan »

Thx thschrader,

when you say "set all path and install the rest (hisa/cfmesh)" you mean set the path for blucfd - setup.exe to the URL: window for openfoam installation in the dependencies ?

The rest can be kept default right ?

Thx
thschrader
Veteran
Posts: 3157
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: Problems installing cfmesh / HISA over dependencies

Post by thschrader »

first install bluecfd
then set path to bluecfd/openfoam folder,
not to the setup exe.
you should do a new installation of cfmesh and hisa,
because they will be put into the bluecfd folder.
sorry, no pic, i am on cellphone...
Sidemountyucatan
Posts: 114
Joined: Wed Apr 17, 2019 2:08 pm

Re: Problems installing cfmesh / HISA over dependencies

Post by Sidemountyucatan »

@thschrader

I appreciate your support very much. I did as you mentioned but now I get the following message:

Downloading cfMesh, please wait...
cfMesh downloaded to C:\Users\Admin\AppData\Local\Temp\tmpmdejmlli.zip
Extracting cfMesh...
Download completed
Building cfMesh. Lengthy process - please wait...
Log file: C:/Program Files/blueCFD-Core-2017/OpenFOAM-5.x\..\ofuser-of5/cfmesh-cfdof/log.Allwmake
Install finished with error -1
Sidemountyucatan
Posts: 114
Joined: Wed Apr 17, 2019 2:08 pm

Re: Problems installing cfmesh / HISA over dependencies

Post by Sidemountyucatan »

thschrader wrote: Fri Nov 20, 2020 5:47 pm first install bluecfd
then set path to bluecfd/openfoam folder,
not to the setup exe.
you should do a new installation of cfmesh and hisa,
because they will be put into the bluecfd folder.
sorry, no pic, i am on cellphone...
Thx for your support. After installing bluecfd and all the other advices you gave the result is the following:

Downloading cfMesh, please wait...
cfMesh downloaded to C:\Users\Admin\AppData\Local\Temp\tmpmdejmlli.zip
Extracting cfMesh...
Download completed
Building cfMesh. Lengthy process - please wait...
Log file: C:/Program Files/blueCFD-Core-2017/OpenFOAM-5.x\..\ofuser-of5/cfmesh-cfdof/log.Allwmake
Install finished with error -1
Downloading HiSA, please wait...
HiSA downloaded to C:\Users\Admin\AppData\Local\Temp\tmp2zrwkylp.zip
Extracting HiSA...
Download completed
Building HiSA. Please wait...
Log file: C:/Program Files/blueCFD-Core-2017/OpenFOAM-5.x\..\ofuser-of5/hisa-master/log.Allwmake
Install finished with error -1
Checking dependencies...
cfMesh (CfdOF version) not found
HiSA not found
Post Reply