spacether / pycalculix

Python 3 library to automate and build finite element analysis (FEA) models in Calculix. Meshing uses Calculix or GMSH.
http://justinablack.com/pycalculix/
Apache License 2.0
170 stars 56 forks source link

Result file .frd cannot be found #2

Closed AVozelj closed 9 years ago

AVozelj commented 9 years ago

File "...\pycalculix\results_file.py", line 493, in get_data_dict res = self.results[self.__time][type_str]

KeyError: -1

After example run I got test.frd cannot be found. Problem was that POSIX Threading DLLs (pthreadGC2.dll) was mising in system directory. I download https://code.google.com/p/as3-arduino-connector/downloads/detail?name=pthreadGC2.zip&can=2&q= and paste dll into windows system folder or It helps also if you put dll to same dir as ccx.exe. So I suggest to put this dll to this folders permanently. As it is case in calculix win instalation.

spacether commented 9 years ago

Issue is closed. Added the DLL file to the project DLL File is LGPL v2.1 and may be included in GPL v2 work Pushed a new commit with the fix at: https://github.com/spacether/pycalculix/commit/a23c977643bf2c306fc14934d8c94805af01b272