Installation CfdOf / HiSA

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

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

Installation CfdOf / HiSA

Post by Sidemountyucatan »

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)


Why the heck I get this message (see below) -> cfmesh / HiSA Install completed -> run dependencies check -> cfmesh / HiSA not found ??!!!

Downloading cfMesh, please wait...
cfMesh downloaded to C:\Users\Admin\AppData\Local\Temp\tmpghwv21cg.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 completed
Downloading HiSA, please wait...
HiSA downloaded to C:\Users\Admin\AppData\Local\Temp\tmpzr7rzlfs.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 completed
Checking dependencies...
cfMesh (CfdOF version) not found
HiSA not found
thschrader
Veteran
Posts: 3157
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: Installation CfdOf / HiSA

Post by thschrader »

Yes.That sucks.
I am questioning myself why I wrote this:
https://www.forum.freecadweb.org/viewto ... 36&t=52381

My personal opinion:
The FEM/CFD workbenches are drifting away...
An endless stream of negative messages.
Sorry, german speaker.
WE must find a coherent solution.
calculix, elmer, openfoam, dualspysics, nastran and 100 other ideas.

But how to start?
Whats your opinion,guys?
User avatar
oliveroxtoby
Posts: 840
Joined: Fri Dec 23, 2016 9:43 am
Location: South Africa

Re: Installation CfdOf / HiSA

Post by oliveroxtoby »

Sidemountyucatan wrote: Wed Nov 25, 2020 2:44 pm
Why the heck I get this message (see below) -> cfmesh / HiSA Install completed -> run dependencies check -> cfmesh / HiSA not found ??!!!

Downloading cfMesh, please wait...
cfMesh downloaded to C:\Users\Admin\AppData\Local\Temp\tmpghwv21cg.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 completed
Downloading HiSA, please wait...
HiSA downloaded to C:\Users\Admin\AppData\Local\Temp\tmpzr7rzlfs.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 completed
Checking dependencies...
cfMesh (CfdOF version) not found
HiSA not found
This is the behaviour I get using the Conda installation of FreeCAD (instead of the LP one). Are you sure this is not the problem?
Sidemountyucatan
Posts: 114
Joined: Wed Apr 17, 2019 2:08 pm

Re: Installation CfdOf / HiSA

Post by Sidemountyucatan »

OK, well this could be the reason. But where so I get this other version ? I just found the Conda version.
thschrader
Veteran
Posts: 3157
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: Installation CfdOf / HiSA

Post by thschrader »

Sidemountyucatan wrote: Thu Nov 26, 2020 5:22 am OK, well this could be the reason. But where so I get this other version ? I just found the Conda version.
The LP-version is right below Conda. Hard to miss... ;)
https://github.com/FreeCAD/FreeCAD/rele ... g/0.19_pre
download_LP_version.JPG
download_LP_version.JPG (33.67 KiB) Viewed 3463 times
Syres
Veteran
Posts: 2901
Joined: Thu Aug 09, 2018 11:14 am

Re: Installation CfdOf / HiSA

Post by Syres »

oliveroxtoby wrote: Wed Nov 25, 2020 9:23 pm This is the behaviour I get using the Conda installation of FreeCAD (instead of the LP one). Are you sure this is not the problem?
Maybe I'm the only one who can use the Conda build with the latest version of CfdOF Wb, love to be proved wrong!!

There maybe more subtle differences to my setup than most Windows users but the main one that jumps to mind is that I never install FOSS into C:\Program Files or the x86 version, I personally always use E:\MyProgs and this includes blueCFD. The reason for this has been given before, please see https://forum.freecadweb.org/viewtopic. ... 42#p279025

The other difference in my setup is the TMP environment variable (not TEMP) is non-standard, it points to E:\Temp, this was done entirely due to the FreeCAD (and others) install process extracts to the TMP assigned folder and I hate my C: drive filling up unnecessary files that don't get properly tided up (I used to be a server support engineer in another time and you learn from your mistakes).

If someone wants to test initally by changing the TMP variable, retrying and then more likely to have a real impact by uninstalling blueCFD from C:\Program Files and reinstalling to any non-default folder that User Access Control doesn't interfere with, it would be of benefit to the community.

In the meantime, I've got access to a Windows 10 box with different hardware that doesn't have the Conda build yet but does have the same blueCFD installation folder as mine but hasn't yet been updated to the latest CfdOF Wb so I have something to verify as well. It'll be UK evening time tomorrow before I can get back to the forum with the results.

thschrader wrote: Wed Nov 25, 2020 8:33 pm I am questioning myself why I wrote this:
https://www.forum.freecadweb.org/viewto ... 36&t=52381
Your efforts are appreciated and once we get to the root cause it'll be a very useful doc, hopefully all Windows builds (including self compiled) will work just with some tweaks.
Sidemountyucatan
Posts: 114
Joined: Wed Apr 17, 2019 2:08 pm

Re: Installation CfdOf / HiSA

Post by Sidemountyucatan »

I tried LP Version but the same result :? :?
Oh man, thats really frustrating.
With https://sourceforge.net/projects/openfo ... e/download I get finally the error code:
cfMesh downloaded to C:\Users\Admin\AppData\Local\Temp\tmpiv8y4lq7.zip
Command 'echo $WM_PROJECT_USER_DIR' returned non-zero exit status 1.
Download unsuccessful

I will try with bluecfd but I supppose it will fail aswell.

That means no CfdOf in the future ?
Sidemountyucatan
Posts: 114
Joined: Wed Apr 17, 2019 2:08 pm

Re: Installation CfdOf / HiSA

Post by Sidemountyucatan »

:lol: Finally it worked with FC 019 LP and bluecfd !!
thschrader
Veteran
Posts: 3157
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: Installation CfdOf / HiSA

Post by thschrader »

Sidemountyucatan wrote: Fri Nov 27, 2020 12:31 pm :lol: Finally it worked with FC 019 LP and bluecfd !!
OK, nice to hear! :)
Do you have an idea why you got the errors above?
At the moment it seems everybody uses trial and error...
Would be cool to establish a valid and stable installation procedure.
Can we notify that the FC-Conda built does not (proper) work for bluecfd at the moment?
Sidemountyucatan
Posts: 114
Joined: Wed Apr 17, 2019 2:08 pm

Re: Installation CfdOf / HiSA

Post by Sidemountyucatan »

Honestly speaking: no clue. As you said just trial and error. In my opinion it should also work properly with the newest Open Foam Release. Bluecfd is mit the most actual one.
Post Reply