I want to use Cfd or CfdOf to run a couple of simulations of flow in a pipe. But I am struggling with the installation of the plugin. I am running Freecad as the AppImage version on Xubuntu:
OS: Ubuntu 19.04 (XFCE/xubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22960 (Git) AppImage
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/Germany (de_DE)
Ubuntu:
LSB Version: core-10.2019031300ubuntu1-noarch:printing-10.2019031300ubuntu1-noarch:security-10.2019031300ubuntu1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 19.04
Release: 19.04
Codename: disco
I followed the steps of the Cfdof manual:
1. Downloaded the Appimage
2. Installed the Plot workbench
3. Installed Cfod
When I do the dependency check, this the output:
Code: Select all
10:14:51 Checking CFD workbench dependencies...
10:14:51 Checking FreeCAD version
10:14:51 Checking for OpenFOAM:
10:14:51 OpenFOAM directory: /opt/openfoam7
10:14:51 System: Linux
10:14:51 Runtime: Posix
10:14:51 Running echo $WM_PROJECT_VERSION
10:14:51 Raw command: ['bash', '-c', 'source "/opt/openfoam7/etc/bashrc" && echo $WM_PROJECT_VERSION']
10:14:51 7
10:14:51 Running cartesianMesh -version
10:14:53 Raw command: ['bash', '-c', 'source "/opt/openfoam7/etc/bashrc" && cartesianMesh -version']
10:14:53 /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
Build : 7-1ff648926f77
Exec : cartesianMesh -version
Date : Nov 18 2020
Time : 10:14:53
Host : "host"
PID : 4308
10:14:53 I/O : uncollated
Case : /home/user
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
cfMesh-CfdOF (cfMesh 1.1.2) 1.7
10:14:53 Running hisa -version
10:14:54 Raw command: ['bash', '-c', 'source "/opt/openfoam7/etc/bashrc" && hisa -version']
10:14:54 /*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
Build : 7-1ff648926f77
Exec : hisa -version
Date : Nov 18 2020
Time : 10:14:54
Host : "host"
PID : 4850
10:14:54 I/O : uncollated
Case : /home/user
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
hisa 1.2.2
10:14:54 Checking for paraview:
10:14:54 Checking for Plot workbench:
10:14:54 Checking for gmsh:
10:14:54 gmsh is not installed
10:14:54 Completed CFD dependency check
10:14:57 Traceback (most recent call last):
File "/tmp/.mount_FreeCASntdoq/usr/lib/python3.8/site-packages/freecad/appimage/init_gui.py", line 22, in saveSettings
preference_tabel.SetBool("appimage_auto_update", bool(self.form.always_check_updates.isChecked()))
<class 'AttributeError'>: 'PySide2.QtWidgets.QWidget' object has no attribute 'always_check_updates'
10:14:59 Traceback (most recent call last):
File "/tmp/.mount_FreeCASntdoq/usr/lib/python3.8/site-packages/freecad/appimage/init_gui.py", line 22, in saveSettings
preference_tabel.SetBool("appimage_auto_update", bool(self.form.always_check_updates.isChecked()))
<class 'AttributeError'>: 'PySide2.QtWidgets.QWidget' object has no attribute 'always_check_updates'
Code: Select all
user@host:~$ gmsh --version
4.7.1
Openfoam install directory: /home/user/OpenFOAM/user-7
ParaView executable path: /usr/bin
Default output directory: /tmp
How can I fix the "gmsh is not installed" error?
Thanks for your help!