[Solved] FEM problems

About the development of the FEM module/workbench.

Moderator: bernd

Post Reply
Gerard
Posts: 5
Joined: Sun Jan 26, 2020 12:06 pm

[Solved] FEM problems

Post by Gerard »

hi, I am trying to learn calculix. When I run a simple thermo calc on my (older) Xubuntu laptop, I get an error report when I press CCX_Results. With a delay I get an "Ubuntu 20.04 has experienced an internal error". However the calculix runs fine and the output seems to be correct. When I run the same file on my win10 laptop no errors occur. Any ideas? Many Thx!

Code: Select all

13:34:23  We will load the ccx frd and dat result file.
13:34:23  Read ccx results from frd file: /home/zorro/Documents/t1/SolverCcxTools/FEMMeshGmsh.frd
13:34:23  Read ccx results from dat file: /home/zorro/Documents/t1/SolverCcxTools/FEMMeshGmsh.dat
13:34:32  Traceback (most recent call last):
13:34:32    File "/usr/share/freecad-daily/Mod/Fem/femtaskpanels/task_result_mechanical.py", line 339, in temperature_selected
13:34:32      self.result_selected("Temp", self.result_obj.Temperature, "K")
13:34:32    File "/usr/share/freecad-daily/Mod/Fem/femtaskpanels/task_result_mechanical.py", line 491, in result_selected
13:34:32      fig_manager.window.setWindowFlags(QtCore.Qt.WindowStaysOnTopHint)    # stay ontop
13:34:32  TypeError: setWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType]): argument 1 has unexpected type 'PySide2.QtCore.Qt.WindowType'

Code: Select all

OS: Ubuntu 20.04.2 LTS (XFCE/xubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Branch: unknown
Hash: e8566f22bbeb0b7204e3c45519d0963e8881100b
Python version: 3.8.5
Qt version: 5.12.8
Coin version: 4.0.0
OCC version: 7.5.1
Locale: English/United States (en_US)
Last edited by Gerard on Tue Apr 27, 2021 5:55 pm, edited 1 time in total.
Syres
Veteran
Posts: 2900
Joined: Thu Aug 09, 2018 11:14 am

Re: FEM problems

Post by Syres »

It's been raised a few times that some of the Daily builds haven't worked for nearly two months, yours is from March 3rd. The fix went in on the 5th March see git commit f6863bd
So I'm assuming your Win10 build is more up-to-date hence error free.
Gerard
Posts: 5
Joined: Sun Jan 26, 2020 12:06 pm

Re: FEM problems

Post by Gerard »

Thx for your prompt reaction! I am new to Ubuntu (and freecad:-), how can I download/ install a specific version > March 5th? I believe I have added PPA to the repositories but I still struggle with the sudo apt .... commands. Many thx!!
Syres
Veteran
Posts: 2900
Joined: Thu Aug 09, 2018 11:14 am

Re: FEM problems

Post by Syres »

If you want stability with that fix in it then I would say the AppImage 0.19.1 available at https://www.freecadweb.org/downloads.php

If you want to be fully up-to-date then the latest AppImage (file ends in Linux-Conda_glibc2.12-x86_64.AppImage) available at https://github.com/FreeCAD/FreeCAD-Bund ... kly-builds
Remember with an AppImage you have to make it executable by right-clicking the file and selecting Properties, click the Permissions tab and tick Allow executing file as program
Gerard
Posts: 5
Joined: Sun Jan 26, 2020 12:06 pm

Re: FEM problems

Post by Gerard »

Thx, solved!
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: FEM problems

Post by Kunda1 »

Moved to FEM subforum. Please mark [Solved] by prepending it to 1st post title of this thread
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
Post Reply