[SOLVED] - Problems when loading calculix frd file

About the development of the FEM module/workbench.

Moderator: bernd

Post Reply
EkaitzEsteban
Posts: 108
Joined: Wed Sep 12, 2018 1:31 pm

[SOLVED] - Problems when loading calculix frd file

Post by EkaitzEsteban »

Hello,

I have some problems when loading an .frd file in FreeCAD.

I create a simple frequency simulation (free-free conditions). The mesh is done by netgen algorithm using first order tetrahedron elements (C3D4).

In report view I check the following error:

Code: Select all

Traceback (most recent call last):
  File "C:\Program Files\FreeCAD 0.17\Mod\Fem\femguiobjects\_ViewProviderFemSolverCalculix.py", line 231, in calculixFinished
    fea.load_results()
  File "C:\Program Files\FreeCAD 0.17\Mod\Fem\femtools\ccxtools.py", line 771, in load_results
    self.load_results_ccxfrd()
  File "C:\Program Files\FreeCAD 0.17\Mod\Fem\femtools\ccxtools.py", line 782, in load_results_ccxfrd
    importCcxFrdResults.importFrd(frd_result_file, self.analysis, result_name_prefix)
  File "C:\Program Files\FreeCAD 0.17\Mod\Fem\feminout\importCcxFrdResults.py", line 94, in importFrd
    step_time = result_set['time']
KeyError: 'time'
KeyError: 'time' ??

I guess that FreeCAD is unable to read the calculix output because this one is different???

I attach the FreeCAD file.

best regards,
Ekaitz.

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13528 (Git)
Build type: Release
Branch: releases/FreeCAD-0-17
Hash: 5c3f7bf8ec51e2c7187789f7edba71a7aa82a88b
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: Spanish/Spain (es_ES)

EDIT: Change FreeCAD version because Version: 0.17.13528 (Git) is not longer supported.
Attachments
Tetrahedron_v5.FCStd
(97.89 KiB) Downloaded 54 times
Last edited by EkaitzEsteban on Mon May 06, 2019 9:42 am, edited 1 time in total.
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: [Help or bug] - Problems when loading calculix frd file

Post by bernd »

EkaitzEsteban wrote: Mon May 06, 2019 8:24 am Version: 0.17.13528 (Git)
is outdated and no longer supported.

Your file runs for me on ...

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16093 (Git)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 690774c0effe4fd7b8d2b5e2fb2b8c8d145e21ce
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)


But I would recomend to give 0.19 dev versions a try as long as there are no big merges. There have been no big merges so far. Means lots of small improvements and bug fixes already.
EkaitzEsteban
Posts: 108
Joined: Wed Sep 12, 2018 1:31 pm

Re: [Help or bug] - Problems when loading calculix frd file

Post by EkaitzEsteban »

Thank you bernd!
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: [SOLVED] - Problems when loading calculix frd file

Post by bernd »

BTW, interesting geometry. What is this used for?
EkaitzEsteban
Posts: 108
Joined: Wed Sep 12, 2018 1:31 pm

Re: [SOLVED] - Problems when loading calculix frd file

Post by EkaitzEsteban »

bernd wrote: Mon May 06, 2019 10:10 am BTW, interesting geometry. What is this used for?
Hello Bernd,

I am using a simple nonsymmetric tetraedron mesh for understanding all calculix outputs in *.dat and *.frd files when performing frequency analyses.

I am also analizing and modifiying the meshing (elements and nodes) using linear algebra.

best regards,
Ekaitz.
Post Reply