CFD Workbench - instalation problem

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
User avatar
mzagozdzon
Posts: 14
Joined: Wed Feb 21, 2018 9:34 pm

CFD Workbench - instalation problem

Post by mzagozdzon »

Hi

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13541 (Git)
Build type: Release
Branch: releases/FreeCAD-0-17
Hash: 9948ee4f1570df9216862a79705afb367b2c6ffb
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: Polish/Poland (pl_PL)

I have problem with CFDWorkbench [not CfdOF]. After installation, when I turn on the program, I have report:

During initialization the error 'module' object has no attribute 'getModulePath' occurred in C:\Users\USER\AppData\Roaming\FreeCAD\Mod\Cfd\InitGui.py
Please look into the log file for further information
During initialization the error 'module' object has no attribute 'getModulePath' occurred in C:\Program Files\FreeCAD 0.17\Mod\Cfd-master\InitGui.py
Please look into the log file for further information


What happened ??????? What can I do ?


thx
Marek
User avatar
oliveroxtoby
Posts: 810
Joined: Fri Dec 23, 2016 9:43 am
Location: South Africa

Re: CFD Workbench - instalation problem

Post by oliveroxtoby »

mzagozdzon wrote: Mon Nov 05, 2018 12:06 am
I have problem with CFDWorkbench [not CfdOF]. After installation, when I turn on the program, I have report:

During initialization the error 'module' object has no attribute 'getModulePath' occurred in C:\Users\USER\AppData\Roaming\FreeCAD\Mod\Cfd\InitGui.py
Please look into the log file for further information
During initialization the error 'module' object has no attribute 'getModulePath' occurred in C:\Program Files\FreeCAD 0.17\Mod\Cfd-master\InitGui.py
Please look into the log file for further information


What happened ??????? What can I do ?
I think this is a current issue with the workbench, as others have mentioned it too. However I am not sure if anyone maintaining the CFD workbench checks this site. The last commit was in May.
Please provide all the information requested in this post before reporting problems with CfdOF.
Jee-Bee
Veteran
Posts: 2566
Joined: Tue Jun 16, 2015 10:32 am
Location: Netherlands

Re: CFD Workbench - instalation problem

Post by Jee-Bee »

oliveroxtoby wrote: Mon Nov 05, 2018 6:33 am I think this is a current issue with the workbench, as others have mentioned it too. However I am not sure if anyone maintaining the CFD workbench checks this site. The last commit was in May.
you forgot to add a link...
thschrader
Veteran
Posts: 3129
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: CFD Workbench - instalation problem

Post by thschrader »

Jee-Bee wrote: Mon Nov 05, 2018 12:44 pm you forgot to add a link...
here we go
https://github.com/qingfengxia/Cfd
This link is not supportet.
qingfeng.xia
Posts: 227
Joined: Tue Sep 22, 2015 1:47 pm
Location: Oxford UK/Shenzhen China
Contact:

Re: CFD Workbench - instalation problem

Post by qingfeng.xia »

mzagozdzon wrote: Mon Nov 05, 2018 12:06 am

it refers to a function in CfdTools.py, which should be there
import CfdTools
self.__class__.Icon = CfdTools.getModulePath()

Cfd workbench only works with WSL on win10. I have a brief test on win10, limited by my time
Ubuntu 18.04 LTS 64bit, python3, always work with latest FreeCAD daily build
Working on Cfd module for FreeCAD, FreeCAD_Module_Develop_Guide
https://github.com/ukaea/parallel-preprocessor/
https://github.com/qingfengxia/Cfd
User avatar
mzagozdzon
Posts: 14
Joined: Wed Feb 21, 2018 9:34 pm

Re: CFD Workbench - instalation problem

Post by mzagozdzon »

qingfeng.xia wrote: Sat Dec 29, 2018 11:13 pm
mzagozdzon wrote: Mon Nov 05, 2018 12:06 am

it refers to a function in CfdTools.py, which should be there
import CfdTools
self.__class__.Icon = CfdTools.getModulePath()

Cfd workbench only works with WSL on win10. I have a brief test on win10, limited by my time
Thank you
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: CFD Workbench - instalation problem

Post by Kunda1 »

mzagozdzon wrote: Sun Oct 11, 2020 12:18 am Thank you
That's a 2 year old thank you.
Better late than never :lol:
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
qingfeng.xia
Posts: 227
Joined: Tue Sep 22, 2015 1:47 pm
Location: Oxford UK/Shenzhen China
Contact:

Re: CFD Workbench - instalation problem

Post by qingfeng.xia »

FreeCAD 0.17 is not supported any longer for Cfd module. I only have time to maintain python3 version in the future that is at least freecad 0.18 +

Sorry for this inconvenience.


Recently PyFoam on windows 10 has broken, I have submit bug and fix, not sure it has been updated to PyPI
Ubuntu 18.04 LTS 64bit, python3, always work with latest FreeCAD daily build
Working on Cfd module for FreeCAD, FreeCAD_Module_Develop_Guide
https://github.com/ukaea/parallel-preprocessor/
https://github.com/qingfengxia/Cfd
Post Reply